WordPress.org

Ready to get started?Download WordPress

Forums

Wp2BB
2 issues (13 posts)

  1. TAFT
    Member
    Posted 3 years ago #

    Hi, if the path of the forum is
    forum/mydomain
    what or how should I add the phpBB local path?

    2. how can i find the numeric id of the forum topic

    Thanks!!!

  2. bluedragonz
    Member
    Posted 3 years ago #

    Your path of the forum should be something like
    /xxx/public_html/forums

    What I don't get is how to configure
    #6 Put this <?php if (function_exists("wp2bb")) wp2bb(); ?> into your template.

    I read this post here
    http://wordpress.org/support/topic/wp2bb-installation-question#post-960770
    but I'm not using the theme "default" and I don't see any 'comments_popup_link'. Does anyone know where I'm suppose to put this at? Some places say you have to remove it while other places says to put it before or after. This is so confusing.

  3. elektrotiko
    Member
    Posted 3 years ago #

    Just put this

    <?php if (function_exists("wp2bb")) wp2bb(); ?>

    in the middle of your header.php in your current theme.

    Make sure to place the code above after the ?>

    code that is already put in your header.php file. offcourse you can also omit php brackets and just put the condition
    The ID number of the forum is acquired at the url, where f='number' for example f=3 pointing that the ID is 3

  4. bluedragonz
    Member
    Posted 3 years ago #

    Which part of the middle in header.php in wordpress do I put the code in? <?php if (function_exists("wp2bb")) wp2bb(); ?>

    Theres tons of ?>.

    Also why would I edit header.php??? Isn't the comments thing in the post?

    Thanks

  5. elektrotiko
    Member
    Posted 3 years ago #

    Yes man, you should edit your header.php file for the theme your'e using. In my case it is calotropis theme. I need to go to wp-content/themes/calotropis/header.php and then put the line as i pastebined here http://pastebin.com/S9YdWHxj

    [Code moderated as per the Forum Rules. Please use the pastebin]

  6. bluedragonz
    Member
    Posted 3 years ago #

    I don't see anything like that in my code. I use another theme and it has this code under header.php

    [Code moderated as per the Forum Rules. Please use the pastebin]

  7. elektrotiko
    Member
    Posted 3 years ago #

    Ok, put the code at the very beggining or at the and of the code you pasted!

  8. bluedragonz
    Member
    Posted 3 years ago #

    Just tried putting the code at the very top or the very bottom and I can see "0 Comments Add a Reply".

    However, it places it in a weird place. I want the "0 Comments Add a Reply" to replace the comments link where it shows right now as "Comments Off".

  9. bluedragonz
    Member
    Posted 3 years ago #

    So heres the comments section in single.php. Where would I put the code to show "0 Comments Add a Reply" to replace the comments link where it shows right now as "Comments Off"?

    [Code moderated as per the Forum Rules. Please use the pastebin]

  10. bluedragonz
    Member
    Posted 3 years ago #

    Ok after putting the code randomly throughout the spots, I managed to figure it out. Thanks for the help.

    But one question though, how can we still show the comments in the forums if we just want to post an article on the wordpress blog, but not in the forums?

    Thanks again.

  11. bluedragonz
    Member
    Posted 3 years ago #

    Never mind I managed to figure out this question.

    But one question though, how can we still show the comments in the forums if we just want to post an article on the wordpress blog, but not in the forums?

    I'm just confused why it shows up as "Actual number of messages in the forum" instead of "comments" sometimes. How can I make all of them called comments?

    Thanks

  12. bluedragonz
    Member
    Posted 3 years ago #

    Found it! You change it in the settings. Everything seems good. Only issue left is the widget.

    When I put wp2bb widget, it shows this error. Any idea whats going on?

    Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/site/public_html/home/wp-content/plugins/wp2bb/wp2bb.php on line 145

  13. TAFT
    Member
    Posted 3 years ago #

    Hi

    My blog is aaa.com (example)

    my forum address is:
    forum.aaa.com

    what will be my phpBB local path ?

    I am using 2 users (1 per installation)

    thanks!!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags