Search Results for '+.+default+.+'
-
Search Results
-
Hi there — I’m running WP 3.4.2, bbPress 2.2.2 & buddypress 1.6.1.  Overall, I’m quite happy with the installation, and I’ve done a fair amount of customization on my site  to give it a nice L&F.  I’ve been using a child theme to do all customization, and it’s been reasonably straightforward, but not trivial.  That said, many thanks to all the bbPress folks who are putting lots of time in on this plugin — it’s a great platform.
Onto my question: Â How is the main forum archive page generated? Â I want to create my own template to generate this page, and I’ve been stumped trying to trace the sequence of files/calls used to create it.
For context, I have the Forums Base set to “member-area/forums” in Settings -> Forums. I can go to http://mysite/member-area/forums and see the standard listing of all the forums in a table. Â Perfect, just what I want.
That said, how exactly is this page created? Â Which files & calls in the plugin create it? Â I’ve found loop-forums.php in …/plugins/bbpress/templates/default/bbpress/which is used to create the table within the page (apparently called as the_content() somewhere), but I can’t find the code blocks that create the header, footer, etc. Â Is there a single template page used to create the Archive Base page?
Apparently this page is generated regardless of whether there is an existing page (permalink) to the same permalink used as Archive Base. Â Nifty, but I want to use my own template (the whole thing) for creating the Archive Base page.
Even when I create a page with a permalink address the same as Archive Base and insert a  [bbp-forum-index] in the post content, I can’t seem to select a Template from the Page Attribute pull down that has any effect on the creation of the Archive Base page.  It’s like it’s hard wired to use a very specific template — that I can’t find in the directory tree.
Long winded, but I hope that conveys what I’m trying to do. Â In short, I just want to create my own template for creating the Archive Base page. Â Any pointers are appreciated.
Cheers,
Michael
Topic: My forum looks like crap
Look at this link. It looks weird and why is that ? Its just the default theme and v2.2 and where can I change theme now? I don’t see the option anywhere anymore!
In case a user change his display name to be diffrent from his username, you cannot use @someusername to mention someone since you do not know what the users username is.
Would be nice to be able to optionally include an
@someusername
just below the link to a reply or topic authors profile.Perhaps the best way of doing this would be to add an extra argument to the args array for the bbp_get_reply_author_link function. The current args are:
$defaults = array (
'post_id' => 0,
'link_title' => '',
'type' => 'both',
'size' => 80,
'sep' => 'Â ',
'show_role' => false
);But could be changed to:
$defaults = array (
'post_id' => 0,
'link_title' => '',
'type' => 'both',
'size' => 80,
'sep' => 'Â ',
'show_role' => false,
'show_mention' => true,
);I know having the user name visible is kind of a security issue, but since the user name already is visible in the profile URL…
Also, a setting for this in the backend would be nice.
Once can check “Use the fancy WordPress editor to create and edit topics and replies”, yes.
However, the problem is such editor confuses people.
(I don’t suppose majority of my audience recognise, not to mention knowing how to use HTML)1) “Visual” and “HTML” what the heck?
2) They don’t intuitively know that they need to switch to the “HTML” editor to insert images.The editor used here is not fantastic but it is much better than the default WordPress one, for forums.
Topic: User registration
I cannot get user registration to work. I tried t ocreate a page and apply the bbPress – User Registration template, but there is not a single bbPress template in my drop-down menu. All there is is “Default” and “Contact Info”
Does anyone know what could be causing this? Or is there some other good way to create a user registration page/section/widget?
Thanks for any leads.
I’ve been working on a MMORPG guild site with 3 distinct levels of Membership with posting rights:
– guests/potential members who can post on PUBLIC forums
– full member who can post of the guild’s PRIVATE forums
– officer/moderators who can post of HIDDEN forums.I chose to use WordPress and bbPress instead of a dedicated guild-hosting solution to make the site different from most other guild sites, taking advantage of WordPress’s theming and bbPress’s simplicity.
bbPress 2.2.1 only seem to expect only 2 levels of membership – there is no option to have a “guest/registered” user who can post on public forums. However, I did manage to create 3 levels of member by making a small change to a core file, found here:
bbpress\includes\core\capabilities.phpGo to where the Spectator role is defined (lines 134 to 169) and change them to have the same capabilities as for the participant role (lines 225-260). Then change line 146 ‘read_private_forums’ back to ‘false’.
The problem with this approach: Your “spectator” role is now no longer merely a spectator. And, of course, this amendment would be overwritten by updating bbPress. Alternatively, you could create another role here (would be good addition for bbPress 2.3) but you need to edit other parts of the file to do so…
Another issue: I wanted custom titles to appear on topic posts beside member’s avatars. To do this, I had to create new WordPress roles using Justin Tadlock’s Member plugin. I copied the WordPress default permissions for the “Subscriber” role and gave it the name “Guest”. I did the same for the “Member” role, and I copied the default Editor roles for the guild “Officer” role – because I wanted them to be able to edit pages and posts too.
The solution seems to work although it is not ideal… I thought I’d pass it on in case there were other people in a similar position who wanted more flexibility in terms of roles. Please, please, please could making it possible to change forum roles and titles a priority update for the next major update to bbPress.
Thanks,
Andy