-
AuthorPosts
-
January 9, 2014 at 12:47 am #207166
Hello,
how can i add a sidebar with the login widget to the bbPress forums, like you have it here?
I played around with it but can’t find the solution.
Thanks
January 9, 2014 at 12:54 am #207171Okay just found it. I had to create a page with this shortcode:
[bbp-forum-index]
And then select the sidebar.
Is this the correct way?
Edit 1: Okay yeah this is the correct way. I just wonder if the login widget that is used here, is included in the enfold theme? Seems like it’s called “avia_login_widget-2” but i can’t find something like this.
Edit 2: Well maybe not the correct way cause if i click on a forum or thread, i get redirected to the /forums page which does not have that sidebar. When i set the forum root to “support-forums” which is the name of the page i created with the bbPress shortcode, it just overwrites the page and therefore the sidebar is gone again.
Thanks
January 9, 2014 at 4:30 am #207201Hey!
This is a good getting started guide for setting up bbPress: http://www.wpbeginner.com/wp-tutorials/how-to-add-a-forum-in-wordpress-with-bbpress/
The theme really only styles bbPress and doesn’t actually modify its usage. The login widget is just a plugin that Kriesi added a bit of custom style to. I believe its this one: http://wordpress.org/plugins/sidebar-login/
Best regards,
DevinJanuary 9, 2014 at 6:42 pm #207563Thanks but that does not help me at all.
I know how to install bbPress.
As i said i created a own page and added the bbPress shortcode to it.
The problem is with the forum slug. If i set it up to the page with the shortcode then it will just overwrite the page and the sidebar is gone.
If i give it another slug then it will redirect to that if you click on a topic or forum and therefore the sidebar is gone aswell.
Thanks
January 9, 2014 at 7:10 pm #207575In Apperance> Widgets
Add the login widget to the forum sidebar option?
http://i.imgur.com/kms0lCC.png
Should do the trick (its what i’ve done).
January 9, 2014 at 7:20 pm #207581Yes as i said:
The problem is with the forum slug. If i set it up to the page with the shortcode then it will just overwrite the page and the sidebar is gone.
If i give it another slug then it will redirect to that if you click on a topic or forum and therefore the sidebar is gone aswell.
What have you defined as forum slug and what is the name (path) of your page?
January 9, 2014 at 7:32 pm #207585Do you have a link as an example?
January 9, 2014 at 7:56 pm #207600If you go here:
http://gewora.net/support-forums1/
Yuou will see it fine with the sidebar.
If you now click on a forum, the sidebar will disappear because it redirects to
http://gewora.net/support-forums/XX (cause the forum slug is set to “support-forums” in the bbPress settings)
If i change the slug from the page to the slug which is sett in the bbPress settings (support-forums) it will overwrite the page and the sidebar is not here anymore.
January 10, 2014 at 12:39 am #207707I just looked at the forum.php.
There is this function call at the bottom
get_sidebar()
Should that function return something? Cause if i do a
var_dump(get_sidebar());
i get a
NULL
as return.# Edit: Okay as far as i understand it (not experienced with wordpress development) it just calls the sidebar.php which finally should load the desired sidebar.
I really need help there. No idea why it does not work.
January 10, 2014 at 7:26 am #207840Hey!
Please refer to this link: https://kriesi.at/support/topic/bbpres-no-sidebar-in-topics/
Cheers!
IsmaelJanuary 10, 2014 at 5:27 pm #208077Thank you very much.
Finally :D
-
AuthorPosts
- The topic ‘Add sidebar to bbPress’ is closed to new replies.