Search Results for 'code'
-
Search Results
-
Topic: bbpress template tags in wp
How do I call bbpress template tags inside of the wordpress theme files? For example, I’m in header.php of my wordpress theme, and would like to list the forums in the header. I found this code: bbp_list_forums(); but I’m not sure how to get it to work?
I understand I can use widgets or use the admin with various slugs… but I’m wondering how to do this on the backend with code.
I’m trying to make my forum look better on mobile devices. As it stands, if you look at a topic and it’s replies, the avatars of the authors take up about half of the screen and the text is all scrunched over to the right.
I’ve switched the sizing to be 20% for the “bbp-reply-author” div and 80% for the bbp-reply-content div. (this is in loop-single-reply.php)
Anyways, the percentage spacing works great except that the avatars aren’t responsive and don’t shrink.
This is the line of code that controls it:
‘<?php bbp_reply_author_link( array( ‘sep’ => ‘<br />’, ‘show_role’ => true ) ); ?>’
I can code a little, but this is beyond me. Any ideas on how to make the avatar responsive?
Or, probably easier, anybody know how I can tweak the above code for use on mobile devices where it will call the avatar in a smaller size?
Here is a link to a forum:Â http://www.bayarearealestatetrends.com/question/when-will-we-start-to-get-more-inventory/
Topic: HTML not showing in posts
Recently installed this plugin. As admin it says Your account has the ability to post unrestricted HTML content, however, after saving the post the html content doesn’t appear. I’ve been trying to save a link in a post using the html code buttons. If I just enter the link without html it appears, however, I want to use html to have the link open in a new page. What to do? My site is and the link to the plug in is in the Main Menu called Tech Support
I just installed the latest trunk of both to continue my testing. I like a lot of the improvements, but I’ve been discovering some bugs here and there. Not sure if this is the place to post it, but here it goes.
First off, the 2 work well together now, except when you try to mix the site-wide forums with group forums. If you click on a group and look at the forum tab, it shows posts from the next group-forum or site-wide forums. What I’m attempting to do is create groups, with a top-level forum for each group, and then sub-sitewide forums underneath, which I nest using the backend bbpress admin. These sub-forums don’t have a group all their own they just belong underneath and listed in forums top of the master group they are part of. It looks like this functionality is somewhat coded into the newest branch of buddypress 1.7 and bbpress 2.3, and if fixed it would be perfect. I know there is a plugin called buddypress group hierarchy or something, but it’s not really what I’m looking for, because it assumes I want full group buddypress functionality surrounding the sub-forums. I just want more granular control over the topics on each group.
@johnjamesjacoby – hear our plea. Allow us to create sub-forums in bbpress for the top-level forum in buddypress groups. When you click on the group, the sub-forums that belong to it will show underneath. When posting to the group forum, maybe even an option to move the topic to the top level group forum or sub-forums for the user? Just a thought. Thanks for all the great work on this, it’s getting much better now.Hello everyone.
I would like to know if its possible to provide custom information with shortcodes.
For example i made a static homepage with [bbp-forum-index] shortcode in there,
is it possible to provide only the Topics & Posts counts and not the Freshness information?
Thank you in advance.
Topic: Still can't get a forum tab
Clean wordpress, buddypress and bbpress install (again) and I still can’t get a ‘forums’ tab on the site.
I know this is an extremely basic step, and I’ve spent hours and several re-installs to attempt the ‘forums’ or ‘forum’ or ‘board’ or anything tab to link to a sitewide forum.
I’ve never understood the heirarchy of wordpress (obviously) but I seem to always manage. This one is really has me. I can directly navigate to it in the browser but all I can ever get is a blank page when any tab might appear.
I’m also aware that this isn’t listed in the bbpress codex since I’m sure it’s on page 2 of beginning wordpress.
Any help? Many thanks in advance.