Forum Replies Created

Viewing 15 replies - 31 through 45 (of 80 total)
  • Thread Starter jabbamonkey

    (@jabbamonkey)

    Any update? As I mentioned, this problem only occurs when the plugin is activated, and since the last update. The space shouldn’t be an issue…

    Is there a way to disable the session request? (on line 158 of BaseController.php). Or place a conditional statement (if there is no space, don’t do the session_start()?

    Thread Starter jabbamonkey

    (@jabbamonkey)

    We had the webhost clear the temp folder. They said…

    “We have corrected this. We have also setup a cron to clear /tmp folder.”

    However, the problem came back 20 minutes later. This error only occurs when your plugin is activated, and since the last update.

    This sounds like more of an email issue, than a support problem.

    I sent over a support request to the developer, and got a response within 24 hours. Not only that, there was a bug with the registration link that I found, and they troubleshot how to fix the issue (back and forth, very fast). It was fixed very fast.

    If you don’t get a response – check and see that your email address, domain name, or ip address isn’t marked as spam (as some blockers will immediately block emails in those cases). Also make sure your email doesn’t contain alot of spam keywords, also a signal that the email isn’t going through.

    tvahlsing says “buyer beware” – but, as a consumer of the pro version, with no affiliate to the developer, I say the buyer is safe.

    Thread Starter jabbamonkey

    (@jabbamonkey)

    Thanks. Please let me know when this is fixed. We had some brute force attacks in the past, and are trying to protect ourselves as much as we can – your plugin is definitely needed!

    Thread Starter jabbamonkey

    (@jabbamonkey)

    It just happened again…. Here is what it JUST did to my htaccess file. See how it rewrites to my htaccess file, but doesn’t finish it:

    # Use PHP5 Single php.ini as default
    
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress
    index.php [L]
    </IfModule>
    
    # END WordPress
    
    Redirect /category/experts/ /the-preferred-list/
    Redirect /category/real-estate/ /real-estate/
    # BEGIN Brute Force Login Protection
    #<Files "*">

    Note: It STARTS the brute force login protection … but never ends the tag.

    Thread Starter jabbamonkey

    (@jabbamonkey)

    I have custom fields on the homepage. Other than that, it’s pretty basic.

    Thread Starter jabbamonkey

    (@jabbamonkey)

    Ah, got it. Got to watch those comment tags. Thanks!

    Thread Starter jabbamonkey

    (@jabbamonkey)

    Think that I may have solved this….

    <?php
    // Get Parent ID of current CAT
    $parentobj = get_category($cat);
    $ParentCatId = $parentobj->parent; 
    
    // Get Grandparent ID
    $grandparentobj = get_category($ParentCatId);
    $GrandparentCatId = $grandparentobj->parent;
    
    // If the Grandparent ID is 299 ...
    if($GrandparentCatId=='299') { 
    
    }
    ?>
    Thread Starter jabbamonkey

    (@jabbamonkey)

    That only gives the title of the FIRST post in that category….

    <?php
    	$grandparent = $parent->post_parent;
    	$grandparent_title = get_the_title($grandparent);
    	echo "<!-- Grandparent: ".$grandparent_title." -->";
    ?>
    Thread Starter jabbamonkey

    (@jabbamonkey)

    Since noone has answered in the last week, can someone help me figure out an alternative way to find a solution to this problem?

    Is there a way to check if the page is in a main parent category (i.e. Professions), and if so, then check and see if it’s any sub category of the parent (i.e. like Home & Garden). If it is, then keep doing what its doing. But, if not, then it must be one of the sub categories children (i.e. Gardeners).

    I know there is no is_child function, but if there was, here is something that might work… (and I need something that actual works with actual functions)

    if(in_category('professions') {
       if(!is_child('professions)) {
       }
    }

    This sounds simpler (but not ideal) and should solve the problem I am having.

    Thread Starter jabbamonkey

    (@jabbamonkey)

    Since noone has answered in the last week, can someone help me figure out an alternative way to find a solution to this problem?

    Is there a way to check if the page is in a main parent category (i.e. Professions), and if so, then check and see if it’s any sub category of the parent (i.e. like Home & Garden). If it is, then keep doing what its doing. But, if not, then it must be one of the sub categories children (i.e. Gardeners).

    I know there is no is_child function, but if there was, here is something that might work… (and I need something that actual works with actual functions)

    if(in_category('professions') {
       if(!is_child('professions)) {
       }
    }

    This sounds simpler (but not ideal) and should solve the problem I am having.

    Thread Starter jabbamonkey

    (@jabbamonkey)

    Awesome. That worked great. Thanks for the help!

    Situation fixed and resolved!

    Thread Starter jabbamonkey

    (@jabbamonkey)

    Ok, that worked for the pagination… and the posts are showing up, and the OLDER POSTS is pointing to the homepage with the next 5 posts…

    But I still have a problem…
    In my theme, I have content on homepage that should ONLY appear on the homepage. When I click the OLDER POSTS link, it KEEPS that content on top of the homepage.

    Is there an IF-ELSE condition that I can use to only show this homepage content?

    Note, this doesn’t seem to work: if(is_front_page() || is_home()) { } else { }

    Thread Starter jabbamonkey

    (@jabbamonkey)

    That didn’t work. It added the OLDER POSTS LINK, and when you click it, it takes you to https://www.website.com/page/2/ …. BUT, it just returns me to the homepage with the same initial 5 posts.

    <?php
    $numposts = get_field('blogroll');
    $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
    $postsarg = array (
    		'cat' => '-2222,-2223,-2224,-299,-2231',
    		'posts_per_page' => $numposts,      //for testing purposes
    		'paged' => $paged
      );
    $the_query = new WP_Query( $postsarg );
    while ($the_query -> have_posts()) : $the_query -> the_post();
    	get_template_part( 'excerpts' );
    endwhile;
    ?>
    <!-- End BLOG ROLL -->
    
    <?php next_posts_link( 'Older Entries', $the_query->max_num_pages ); ?>
    Thread Starter jabbamonkey

    (@jabbamonkey)

    Huh? Not sure what you are asking.

    I created a post, and I clicked the ADD MEDIA button. And, through that, I inserted an image INTO the post content area.

    I’ve also included the same image as a features image (but clicking the “featured image” link at the bottom of the right column.

    And, now, when I VIEW these posts, the $get_children_array does not have a value. Isn’t the purpose of the code that I used to get the first attachment from within the content of the post?

Viewing 15 replies - 31 through 45 (of 80 total)