Title: [Plugin: Wp2BB] 2 issues
Last modified: August 19, 2016

---

# [Plugin: Wp2BB] 2 issues

 *  [TAFT](https://wordpress.org/support/users/taft/)
 * (@taft)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-wp2bb-2-issues/)
 * 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!!!

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

 *  [bluedragonz](https://wordpress.org/support/users/bluedragonz/)
 * (@bluedragonz)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-wp2bb-2-issues/#post-1898063)
 * 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](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.
 *  [elektrotiko](https://wordpress.org/support/users/elektrotiko/)
 * (@elektrotiko)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp2bb-2-issues/#post-1898068)
 * 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**
 *  [bluedragonz](https://wordpress.org/support/users/bluedragonz/)
 * (@bluedragonz)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp2bb-2-issues/#post-1898069)
 * 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
 *  [elektrotiko](https://wordpress.org/support/users/elektrotiko/)
 * (@elektrotiko)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp2bb-2-issues/#post-1898070)
 * 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 ](http://pastebin.com/S9YdWHxj)
 * _[Code moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome).
   Please use the [pastebin](http://wordpress.pastebin.com/)]_
 *  [bluedragonz](https://wordpress.org/support/users/bluedragonz/)
 * (@bluedragonz)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp2bb-2-issues/#post-1898071)
 * 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](http://codex.wordpress.org/Forum_Welcome).
   Please use the [pastebin](http://wordpress.pastebin.com/)]_
 *  [elektrotiko](https://wordpress.org/support/users/elektrotiko/)
 * (@elektrotiko)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp2bb-2-issues/#post-1898072)
 * **Ok, put the code at the very beggining or at the and of the code you pasted!**
 *  [bluedragonz](https://wordpress.org/support/users/bluedragonz/)
 * (@bluedragonz)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp2bb-2-issues/#post-1898073)
 * 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”.
 *  [bluedragonz](https://wordpress.org/support/users/bluedragonz/)
 * (@bluedragonz)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp2bb-2-issues/#post-1898074)
 * 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](http://codex.wordpress.org/Forum_Welcome).
   Please use the [pastebin](http://wordpress.pastebin.com/)]_
 *  [bluedragonz](https://wordpress.org/support/users/bluedragonz/)
 * (@bluedragonz)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp2bb-2-issues/#post-1898075)
 * 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.
 *  [bluedragonz](https://wordpress.org/support/users/bluedragonz/)
 * (@bluedragonz)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp2bb-2-issues/#post-1898076)
 * 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
 *  [bluedragonz](https://wordpress.org/support/users/bluedragonz/)
 * (@bluedragonz)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp2bb-2-issues/#post-1898077)
 * 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
 *  Thread Starter [TAFT](https://wordpress.org/support/users/taft/)
 * (@taft)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp2bb-2-issues/#post-1898078)
 * 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!!

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

The topic ‘[Plugin: Wp2BB] 2 issues’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp2bb.svg)
 * [Wp2BB](https://wordpress.org/plugins/wp2bb/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp2bb/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp2bb/)
 * [Active Topics](https://wordpress.org/support/plugin/wp2bb/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp2bb/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp2bb/reviews/)

 * 12 replies
 * 3 participants
 * Last reply from: [TAFT](https://wordpress.org/support/users/taft/)
 * Last activity: [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp2bb-2-issues/#post-1898078)
 * Status: not resolved