bbPress

Simple, Fast, Elegant

bbPress support forums » Plugins

BBLD problem

(3 posts)
  • Started 1 year ago by archasek
  • Latest reply from aharleygyrl
  • This topic is not resolved

No tags yet.

  1. archasek
    Member

    hi community,
    http://ram.org.pl/forum
    look at 'ostatnio na forum' section on the right. if you log in, the link works perfectly (e.g. http://ram.org.pl/forum/topic.php?id=7&page&replies= ). when you are logout it doesn't, but http://ram.org.pl/forum/topic.php?id=7&page works. the problem is:
    if you log in:
    &page doesn't work, &page&replies= works.
    if you logout:
    &page works, &page&replies= doesnt.
    what's wrong?

    Posted 1 year ago #
  2. archasek
    Member

    finally, i added this code to my script and it works perfectly. line 238:

    else {
    					get_currentuserinfo();
    					global $user_ID, $user_identity;
    
    					if ( $user_ID ) {
    echo '<li>&raquo; <a href="' . get_option('wpbb_path') . '/topic.php?id=' . $bbtopic->topic_id . '&page&replies=' . '">' . __("$title_text") . '</a>';
     }
    					else {
     echo '<li>&raquo; <a href="' . get_option('wpbb_path') . '/topic.php?id=' . $bbtopic->topic_id . '&page' . '">' . __("$title_text") . '</a>';
     }

    hope that'll help anybody.

    Posted 1 year ago #
  3. hi, looking for a forum script, but want threaded and more options than just text.

    Posted 1 year ago #

RSS feed for this topic

Reply

You must log in to post.

Code is Poetry.