Search Results for 'code'
-
Search Results
-
I’m trying to follow this tutorial to create a child theme, but I’m having trouble on Step 6, where it asks me to copy the default theme from wp-content > plugins > bbpress > bbp-themes > bbp-twentyten.
There is no bbp-themes folder anywhere in the bbpress directory. The closest thing I found to a themes folder is the templates folder, which does contain some default styling. Could someone please explain to me how I can make Step 6 work? Or could you perhaps link me to an up-to-date tutorial?
Thanks!
Hello
I’m trying to modify the latest topics widget with CSS. I want to show the widget like the IMAGE 1, but with my poor knowledge of CSS i can obtain only the IMAGE 2.

I’m using the following:
float: left; height: 30px; width: 30px; }What can I add to show my widget similar to IMAGE 1? Only the image and text, not the comments and likes icon.
Thanks
Hello,
please how to show a button “Create New Forum” inside the widget? any shortcode?
Thank you,
SimoneEdit – Sorry, the latter error was because I missed part of my functions.php code to comment out. Editing accordingly.
I’ve been using the following code, originally found in my functions.php to change “Key Master” to “Administrator”:`function my_custom_roles( $role, $user_id, $user_role ) {
if( $role == ‘Key Master’ )
return ‘Administrator’;return $role;
}add_filter( ‘bbp_get_user_display_role’, ‘my_custom_roles’, 10, 3 );`
Which returns the error: “Warning: Missing argument 3 for my_custom_roles() in /home/kaenim/public_html/test/wp-content/themes/bsky/functions.php on line 216” above my avatar.
Does anyone know what this “argument 3” is, or how I could modify this code to work in 2.3.1? I’d ask in the original discussion, but it’s several months old and to be honest, I’m simply not aware of what bbPress’ forum policy is regarding reviving old topics; I figured making a new topic would be best.
Topic: New editor ??
Hey all,
Just noticed a new update and also noticed that this update removes the new editor.. Ive added the code to my custom functions file to make the new editor display..
Was there a reason the new editor was removed ?? I hadn’t had any issues with it as of yet and am not sure if i should revert back to the old one or not.
Regards, Darren
Topic: Promoting extensions?
Hi
Is there a time / place location where I can promote extensions that have been written for bbPress (including discount codes?).
Is this the time and place? can anyone suggest an alternative?
Topic: bbPress 2.3.1 now available!
Drop feedback about bbPress 2.3.1 here!
See the 2.3.1 milestone on Trac for changes.
From the blog post:
Also in bbPress 2.3.1, we’ve disabled the use of WordPress’s visual editor (aka TinyMCE.) The HTML editor is still available, and works extremely well. If you want to enable the visual editor again, we’ve added a code snippet to the codex that will turn it back on for you.
Topic: Display username ?
How do I display the username on every forum page. Like:
You are logged in as [USERNAME] or You are logged in as [Guest]
Also,
Is there a shortcode for displaying the username ?
Topic: how to add video bbpress 2.3
WordPress Version: 3.5
BBpress Version: 2.3I know this question has been asked alot on how to embed video and add youtube videos, I know how to do this by simply posting the link in the topic…. and it will automatically insert the youtube video…
But my problem is i want to have a few video tutorials that i want to insert and the mp3 or mp4 files are located on my server, i dont want to upload them to youtube…
so i was wondering if their was a way to use my own videos, i have already tried inserting the link that points to my server http://mysite.com/video.mp3 and it will not work that way..
So i tried creating a topic from the admin and use the insert media and it did not work that way , then i tried using a plugin to allow jw player shortcode and it did not work that way either… this is one of the plugins i tried using http://wordpress.org/extend/plugins/bbpress2-shortcode-whitelist/ with no sucess…
Then i tried adding this code to my functions.php
add_filter(‘bbp_reply_content’, ‘jwplayer_tag_callback’);
add_filter(‘entry_content’, ‘jwplayer_tag_callback’);
add_filter(‘bbp-reply-content’, ‘jwplayer_tag_callback’);
add_filter(‘entry-content’, ‘jwplayer_tag_callback’);this method did not work, it seems almost impossible to add my own video from my server, most the topics are super old 3 to 4 yrs old which really doesnt apply to the latest version of bbpress since so much of the code has changed, if someone could help me out or point me in the right direction i would appreciate it…
I am not trying to let my users be able to use shortcodes as i read they are a security risk and i am not trying to let my users be able to upload or use their own videos from a strange server..
I just want to be able to use my own videos instead of using youtube.
Topic: Search doesn't work
I recently installed bbpress on my site (great plug-in, by the way). I’m currently working out the kinks.
One of my biggest problems is that the search function doesn’t work. See http://www.churchofficehelpdesk.com/test where I’m using the shortcode. I’ve used words that I know are on the site. Not only do they not show up, but “sorry, no results were found appears multiple times on the results page.”
Thanks for any help!
Hello,
I recently upgraded from the old version of bbPress that comes with BuddyPress to the bbPress plugin, and I’m using version 2.3 of the bbPress plugin.
Previously when using BuddyPress and the old version of bbPress, from the topics page (which showed all the topics across all groups), I could see a Create New Topic form at the bottom of the page which would allow me to select a group from the list of groups that are available to me and create a new topic in that group.
Unfortunately, since upgrading to the bbPress plugin, this form is now gone.
I was told that I could add the form back by adding a shortcode to the topics page in my theme, but it’s not clear to me which particular page I need to change. Note that I only want this form to appear on the topics page.
Can anyone help me get this Create New Topic form back?
Topic: Quotes escaped in 2.3
I haven’t dug deep enough yet, but on my support forum, I use the quicktags solution from the legacy bbPress, including the filters to allow regular users to post code. That is, the functions that were named bbp_code_trick, bbp_code_trick_reverse, bbp_encodeit, bbp_decodeit.
However, since the 2.3 upgrade, all code users post has the quotes (possibly other things) escaped in both the topic body and the editable text area.
Any ideas what changed, so that I don’t have to dig through?