magace
Forum Replies Created
-
Forum: Plugins
In reply to: [Donations Made Easy - Smart Donations] Donation button no longer working.Latest error:
Checking if it is valid
Payal response:INVALID
Transaction is not validLast error
Forum: Plugins
In reply to: [Donations Made Easy - Smart Donations] Donation button no longer working.This issue still has not been fixed any updates?
Forum: Plugins
In reply to: [Donations Made Easy - Smart Donations] Donation button no longer working.Good to see I am not alone I was starting to think I was crazy!
Forum: Plugins
In reply to: [Donations Made Easy - Smart Donations] Donation button no longer working.I enabled debug last week and this morning it gave me this:
Latest error:
Checking if it is valid
Payal response:INVALID
Transaction is not validForum: Themes and Templates
In reply to: [Twenty Fourteen] page layout looks funkyThanks:
.site-header { max-width: 2000px; } .site-header img { width: 100%; } .site { max-width: 2000px; }
Seems to make things look better however now the header img is blown out now. The img doesn’t center/fill in whole header section now.
Thanks for the help!
Forum: Themes and Templates
In reply to: [Twenty Fourteen] page layout looks funkyIt seems taht there is a huge gray margin on the right side. Does anyone else see this?
Forum: Themes and Templates
In reply to: [Twenty Fourteen] Delete blank area on the right side of siteAs you can see there is a bunch of gray section to the right. Am I the only one that can see this?
Thanks.
Forum: Themes and Templates
In reply to: [raindrops] Wordwrap QuestionHello I am confused on what you are saying.
Archive.txt looks like this:08/20/2014: Free Account #1 Account Name: ofmulesasda1 08/21/2014: Free Account #2 Account Name: 9nNsoXSY551 08/22/2014: Free Account #2 Account Name: r7cGRe5gDd1
When I display the data I get this:
08/20/2014: Free Account #1 Account Name: ofmulesasda1 08/21/2014: Free Account #2 Account Name: 9nNsoXSY551 08/22/2014: Free Account #2 Account Name: r7cGRe5gDd1
I switched to the twentyfourteen theme and it displays the data correctly.
Is there no way to edit the default template to display the data correctly?twentyfourteen default page template:
<?php /** * The template for displaying all pages * * This is the template that displays all pages by default. * Please note that this is the WordPress construct of pages and that * other 'pages' on your WordPress site will use a different template. * * @package WordPress * @subpackage Twenty_Fourteen * @since Twenty Fourteen 1.0 */ get_header(); ?> <div id="main-content" class="main-content"> <?php if ( is_front_page() && twentyfourteen_has_featured_posts() ) { // Include the featured content template. get_template_part( 'featured-content' ); } ?> <div id="primary" class="content-area"> <div id="content" class="site-content" role="main"> <?php // Start the Loop. while ( have_posts() ) : the_post(); // Include the page content template. get_template_part( 'content', 'page' ); // If comments are open or we have at least one comment, load up the comment template. if ( comments_open() || get_comments_number() ) { comments_template(); } endwhile; ?> </div><!-- #content --> </div><!-- #primary --> <?php get_sidebar( 'content' ); ?> </div><!-- #main-content --> <?php get_sidebar(); get_footer();
Raindrops default page:
<?php /** * Template for display page * * * @package Raindrops * @since Raindrops 0.1 * * @uses raindrops_show_one_column( ) * @uses add_filter( ) * @uses get_header( ) * @uses raindrops_yui_class_modify( ) * @uses have_posts( ) * @uses the_post( ) * @uses the_ID( ) * @uses raindrops_post_class( ) * @uses the_title_attribute( ) * @uses raindrops_entry_title( ) * @uses raindrops_entry_content( ) * @uses wp_link_pages( ) * @uses the_category( ', ' ) * @uses edit_post_link( ) * @uses raindrops_delete_post_link( ) * @uses comments_template( '', true ) * @uses next_posts_link( ) * @uses previous_posts_link( ) * @uses get_sidebar( 'extra' ) * @uses get_sidebar( 'default' ) * @uses get_footer( $raindrops_document_type ) * @uses raindrops_prepend_default_sidebar( ) * @uses raindrops_append_default_sidebar( ) * @uses the_post_thumbnail( ) */ if ( !defined( 'ABSPATH' ) ) { exit; } do_action( 'raindrops_' . basename( __FILE__ ) ); $raindrops_current_column = raindrops_show_one_column(); if ( $raindrops_current_column !== false ) { add_filter( "raindrops_theme_settings__raindrops_indv_css", "raindrops_color_type_custom" ); } get_header( $raindrops_document_type ); do_action( 'raindrops_pre_' . basename( __FILE__ ) ); raindrops_debug_navitation( __FILE__ ); ?> <div id="yui-main"> <div class="yui-b <?php raindrops_add_class( 'yui-b' ); ?>"> <?php get_template_part( 'widget', 'sticky' ); ?> <div class="<?php echo raindrops_yui_class_modify(); ?>" id="container"> <div class="yui-u first<?php raindrops_add_class( 'yui-u first', true ); ?>" <?php raindrops_doctype_elements( '', 'role="main"' ); ?>> <?php if ( have_posts() ) { while ( have_posts() ) { the_post(); printf( '<!--%1$s-->', $raindrops_document_type ); ?> <div class="entry page"> <<?php raindrops_doctype_elements( 'div', 'article' ); ?> id="post-<?php the_ID(); ?>" <?php raindrops_post_class(); ?>> <?php raindrops_entry_title(); ?> <div class="entry-content"> <?php raindrops_prepend_entry_content(); the_post_thumbnail( 'full', 'class=page-featured-image' ); raindrops_entry_content(); ?> <br class="clear" /> <?php raindrops_append_entry_content(); ?> </div> <div class="linkpage clearfix"> <?php wp_link_pages( 'before=<p class="pagenate">&after=</p>&next_or_number=number&pagelink=<span>%</span>' ); ?> </div> <br class="clear" /> <div class="postmetadata"> <?php the_category( ', ' ); echo " "; edit_post_link( esc_html__( 'Edit', 'Raindrops' ) . raindrops_link_unique( 'Post', $post->ID ), '<span class="edit-link">', '</span>' ); raindrops_delete_post_link( esc_html__( 'Trash', 'Raindrops' ) . raindrops_link_unique( 'Post', $post->ID ), '<span class="edit-link">', '</span>' ); ?> </div> <?php comments_template( '', true ); ?> </<?php raindrops_doctype_elements( 'div', 'article' ); ?>> </div> <?php } //endwhile raindrops_next_prev_links( "nav-below" ); } //end have post ?> </div> <?php if ( 3 == raindrops_show_one_column() ) { ?> <div class="yui-u"> <?php raindrops_prepend_extra_sidebar(); get_sidebar( 'extra' ); raindrops_append_extra_sidebar(); ?> </div> <?php } elseif ( $rsidebar_show && false == $raindrops_current_column ) { ?> <div class="yui-u"> <?php raindrops_prepend_extra_sidebar(); get_sidebar( 'extra' ); raindrops_append_extra_sidebar(); ?> </div> <?php } ?> </div> </div> </div> <?php if ( raindrops_show_one_column() !== '1' || false == $raindrops_current_column ) { ?> <div class="yui-b"> <?php //lsidebar start raindrops_prepend_default_sidebar(); get_sidebar( 'default' ); raindrops_append_default_sidebar(); ?> </div> <?php } ?> </div> <?php get_footer( $raindrops_document_type ); ?>
Plugin used to retrive data:
<?php /* Plugin Name: Retrieve Data Plugin URI: https://www.dagondesign.com/articles/retrieve-data-plugin-for-wordpress Description: Import data files into posts and pages Author: Dagon Design Version: 1.0 Author URI: https://www.dagondesign.com */ $ddrd_version = '1.0'; // Setup defaults if options do not exist add_option('ddrd_data', '<!-- trigger1 -->*%*DELIM*%*data/test.txt*%*DELIM*%*<!-- trigger2 -->*%*DELIM*%*https://example.com/test.txt'); function ddrd_arr($i) { } function ddrd_add_option_pages() { if (function_exists('add_options_page')) { add_options_page('Retrieve Data', 'DDRetrieveData', 8, __FILE__, 'ddrd_options_page'); } } function ddrd_options_page() { $extra_fields = 3; global $ddrd_version; if (isset($_POST['set_defaults'])) { echo '<div id="message" class="updated fade"><p><strong>'; update_option('ddrd_data', '<!-- trigger1 -->*%*DELIM*%*data/test.txt*%*DELIM*%*<!-- trigger2 -->*%*DELIM*%*https://example.com/test.txt'); echo 'Default Options Loaded!'; echo '</strong></p></div>'; } else if (isset($_POST['info_update'])) { echo '<div id="message" class="updated fade"><p><strong>'; $tmp_data = array(); foreach ($_POST as $k => $v) { if (strpos($k, 'ddrd_data') === 0) { $tmp_data[] = $v; } } $new_data = array(); for ($i = 0; $i < count($tmp_data); $i += 2) { $d1 = ''; if (isset($tmp_data[$i])) $d1 = trim($tmp_data[$i]); $d2 = ''; if (isset($tmp_data[$i+1])) $d2 = trim($tmp_data[$i+1]); if (($d1 != '') || ($d2 != '')) { $new_data[] = $d1; $new_data[] = $d2; } } $ddrd_data = implode('*%*DELIM*%*', $new_data); update_option('ddrd_data', (string)$ddrd_data); echo 'Configuration Updated!'; echo '</strong></p></div>'; } ?> <div class=wrap> <h2>Retrieve Data v<?php echo $ddrd_version; ?></h2> <p>For information and updates, please visit:<br /> <a href="https://www.dagondesign.com/articles/retrieve-data-plugin-for-wordpress/">https://www.dagondesign.com/articles/retrieve-data-plugin-for-wordpress/</a></p> <p><strong>Note:</strong> If you need more fields, click 'Update Options' after making your changes, and more will be shown.</p> <form method="post" action="<?php echo $_SERVER["REQUEST_URI"]; ?>"> <input type="hidden" name="info_update" id="info_update" value="true" /> <fieldset class="options"> <hr /> <table width="100%" border="0" cellspacing="0" cellpadding="6"> <?php $ddrd_data = stripslashes(htmlspecialchars(get_option('ddrd_data'))); $ddrd_data = (array)explode('*%*DELIM*%*', $ddrd_data); echo '<tr valign="top"> <td width="15%"> <strong>Trigger Text</strong> </td> <td align="left"> <strong>Data File</strong> (file relative to base WP path, or remote URL) </td></tr>'; for ($i = 0; $i < count($ddrd_data) + ($extra_fields * 2); $i+=2) { $d1 = ''; if (isset($ddrd_data[$i])) $d1 = trim($ddrd_data[$i]); $d2 = ''; if (isset($ddrd_data[$i+1])) $d2 = trim($ddrd_data[$i+1]); ?> <tr valign="top"> <td width="15%"> <input name="ddrd_data<?php echo $d1; ?>" type="text" size="18" value="<?php echo $d1; ?>"/> </td> <td align="left"> <input name="ddrd_data<?php echo $d2; ?>" type="text" size="70" value="<?php echo $d2; ?>"/> </td> </tr> <?php } ?> </table> </fieldset> <div class="submit"> <input type="submit" name="set_defaults" value="<?php _e('Load Default Options'); ?> »" /> <input type="submit" name="info_update" value="<?php _e('Update options'); ?> »" /> </div> </form> </div><?php } function ddrd_fetch_data($url) { return htmlspecialchars(file_get_contents($url)); } function ddrd_check($content) { $ddrd_data = (array)explode('*%*DELIM*%*', get_option('ddrd_data')); for ($i = 0; $i < count($ddrd_data); $i += 2) { if (isset($ddrd_data[$i]) && isset($ddrd_data[$i+1])) { if ((trim($ddrd_data[$i]) != '') && (trim($ddrd_data[$i+1]) != '')) { if (strpos($content, $ddrd_data[$i]) !== FALSE) { $content = str_replace($ddrd_data[$i], ddrd_fetch_data($ddrd_data[$i + 1]), $content); } } } } return $content; } add_action('admin_menu', 'ddrd_add_option_pages'); add_filter('the_content', 'ddrd_check'); ?>
Thanks for having a look!
Forum: Themes and Templates
In reply to: [raindrops] Wordwrap QuestionI tried using breaks in the archive.txt to force a new line however that did not work.
Resolved:
https://wpaam.com/forum/viewtopic.php?f=4&t=29 //this didn’t work
and
https://wpaam.com/tutorials/aam-super-admin/ //This did work!if others are having similar issues.
It sends to the paypal email address from what I have seen. Be sure to check spam too. Or all mail.
This is who sent me mine:
WP AAM [email protected] via gator3008.hostgator.comHere is the email you can try searching for some of the words too:
Your payment processed successfully!
You have been purchased AAM Plugin Manager extension for AAM 2.x. Your license key:sdfsdaf34tsdfgsdfasdfgf3g3g35ghsdf32tgy325y
In case of any issues, please contact us via email [email protected] or check the official forum.
Yes I believe so. In the ConfigPress tab under AAM I put this to change the back end access denied msg probably just change to [frontend]
[backend]
access.deny.message = “Access Denied… Are you a full member? Or just a subscriber? Follow this link to request full membership: https://fapros.net/forums/forum/general/guild-rank-request/”Perhaps you can add the login shortcode idk.
Hope that helps!
Forum: Fixing WordPress
In reply to: Recent update messed a few things up?No I have determined it is the Advanced Access Manager plugin. I tried on a different install and it still showed the “administrator role” so it must be a plugin interfering. I guess I should contact them on the support page thanks!
Resolved going to contact plugin developer.