Forum Replies Created

Viewing 14 replies - 1 through 14 (of 14 total)
  • Ran the PHP 7 Compatibility checker today and BackWPup has Warnings:2 Errors:33.

    So to date the latest update is still not PHP 7 compatible according to this test.

    Thread Starter rixtertrader

    (@rixtertrader)

    Thanks Steven Stern. Wish I had tried that before going around my site and manually changing the URL’s to the default permalinks just to get my pages to show. I’ll have to remember this next time.

    Thread Starter rixtertrader

    (@rixtertrader)

    Thanks Tara. Hopefully one of these will fit the bill if it can take existing subscribers.

    Thread Starter rixtertrader

    (@rixtertrader)

    Well, I guess I have to answer my own question as there were no replies or suggestions. Hmmm.

    I figured out a way to do this and am posting it here just in case someone else with limited WP and PHP experience may find a need for it.

    1. I came across a plug-in called Exec PHP that allows me to place PHP code directly into my pages via the WP text editor.

    2. By looking at the page path that is shown at the top when in page editing mode (via the Dashboard), I was able to figure out where my files were located in relation to the page path so I reference my files correctly.

    3. Using PHP within my page, I assigned the full relative path to a variable ($filename = ‘/wp-content/etc/etc/’) and then passed that variable for display via the ECHO command using the Date() and filemtime() funtions.

    Example:

    <?php
    $filename = ‘./wp-content/uploads/2013/Cycles/MyFile.gif’;

    date_default_timezone_set(‘America/Chicago’);

    if (file_exists($filename)) {
    $timecode = filemtime($filename);

    echo “Last updated on:   ” . date(“F d Y”, $timecode);
    }
    ?>

    Now every time I over-write my file MyFile.gif (modify it), the page will show the new ‘updated’ date on the page so my readers would know that it has been updated.

    ??

    Thread Starter rixtertrader

    (@rixtertrader)

    Just an additional note.

    After I posted my original message, it displays with my username, an icon, other info on the left and my message down the middle.

    At the bottom is a text editor with the word “Reply” to the left.

    This is exactly what I’d like to mimic for pages I create manually to do this.

    Only difference is that the editor won’t be labeled “reply” but simply “Post” or similar, and when the user does so it will show up at the TOP pushing the older messages down.

    Hope this makes it clear.

    I know this is a bbPress forum setup. I’m not needing all the bells and whistles. I just want to go to PAGES, ADD PAGE, and give it this ability.

    Thanks.

    Thread Starter rixtertrader

    (@rixtertrader)

    That’s disappointing. I’m surprised that it’s locked up, since it appears to work just fine. If it ain’t going to be open-source, then make it available for purchase. Bummer.

    As for becoming a ‘major’ part of the WP dev, unfortunately I don’t qualify for a ‘minor’ part at my current level of experience.

    Thanks.

    Thread Starter rixtertrader

    (@rixtertrader)

    As posted prior, you simply need to be sure there are no empty lines at the end of the file.

    All is good now. Thx.

    Thread Starter rixtertrader

    (@rixtertrader)

    Yes, everything works when the functions.php file is deleted.

    The problem, as it turns out, is that you cannot have any blank lines at the end of the functions.php file. This apparently confuses the redirect, resulting in the blank page.

    It’s working now, and I’ve been able to put my functions back in the file (without blank lines follwing the last code line).

    Works good.

    Thanks.

    Thread Starter rixtertrader

    (@rixtertrader)

    The problem is if there are any blank lines in the functions.php file.

    Make sure there are no blank (empty) lines following the last line of code.

    ??

    Thread Starter rixtertrader

    (@rixtertrader)

    Oh bother…

    Thread Starter rixtertrader

    (@rixtertrader)

    Okay, running into a brick wall. :-b

    It looks like what I need to do is have TWO menus defined. I’ve created MEMBERSHIP and LOGIN as my two menus.

    Only one can be the Primary menu for the Twenty-ten theme.

    So what I guess I need to do is to programically change the Primary Menu for when LOGGED IN or LOGGED OUT.

    Can I do this? So far I’m not sure.

    I figure this all have to be done BEFORE the code in header.php is reached…

    <?php wp_nav_menu( array( ‘container_class’ => ‘menu-header’, ‘theme_location’ => ‘primary’ ) ); ?>)

    Anyone? Anyone?

    Thread Starter rixtertrader

    (@rixtertrader)

    I’m using the Twenty-ten/bbPress theme and in its header.php I found this line that appears related to the menu.

    <?php wp_nav_menu( array( ‘container_class’ => ‘menu-header’, ‘theme_location’ => ‘primary’ ) ); ?>

    At this point, until I learn more about PHP, I have to assume this holds all the menu items in this ‘array’. So if I wrap this code inside the function is_user_logged_in(), then I suppose it won’t display the array items if not logged in, etc.

    But in my case, there is ONE menu item, not the whole menu, that needs to go away. I need the LOGOUT menu item to remain.

    Anyway, I tested this out and sure enough when I go to my site the whole menu is not there because I’m not logged in. Can’t log in without the menu, so I’ve got to figure out how to filter out a single menu item from the whole menu.

    While I attempt to figure this out, if anyone happens to pass by here and can give me a quick hint as to where to go, I would appreciate.

    Love this stuff. A whole new world. lol. ??

    Thanks again.

    Thread Starter rixtertrader

    (@rixtertrader)

    Hello justingreerbbi,

    Thanks for your comment.

    I’ve not seen that suggested or done that at this point.

    Again, I’m ‘brand new’ to all this so getting around PHP files and knowing exactly where to place/remove/edit things is a bit tricky without exact directions.

    However, perhaps I can figure this out now that you have mentioned this function.

    Thanks.

    I’ll post my results shortly. ??

    Thread Starter rixtertrader

    (@rixtertrader)

    I guess I cannot delete or edit a post already made. So this is an addendum.

    EXAMPLE: I have a CATEGORY called FREQUENTLY ASKED QUESTIONS.

    I created one post for each question asked/answered.

    Since all these POSTS are in the same CATEGORY, they show up one below the next. Not exactly what I wanted.

    Instead, when I go to FREQUENTLY ASKED QUESTIONS, I would like to see a LIST of the TOPICS answered, allowing the user to ‘click’ on the one they want to open up and read.

    Apparently, making each POST belong to the FREQUENTLY ASKED QUESTIONS category was not the right way to do this. I guess I should create a static page for the category and place a link on it for each separate post?

    Is this right?
    Thanks.

Viewing 14 replies - 1 through 14 (of 14 total)