Search Results for 'code'
-
Search Results
-
On this page http://codex.bbpress.org/shortcodes/ they say “To use any of the shortcodes simply insert the desired shortcode into any WordPress page.”
So far I’ve tried these three
[bbp-forum-index] [bbp-single-forum id=1] [bbp-topic-index]nothing happens except they show up as text. Why?
Howdy everyone,
I want to migrate an old bbPress forum 1 to bbPress 2.3.2. I used the importer tool to import the old topics an so on. But I am missing the attachments and the user-avatars. The attachments shortcode is shown, but not the image and no avatar. Can anyone help me please?
Wordpress 3.5.1 and bbPress 2.3.2
Kind regards,
iGorasHey guys
i am using one bbp theme and it uses “search-topics.php” file for searching among topics but unfortunately is shows private message as results as well.
any idea of how i can achieve this by changing the code ?thanks for your help
Hello,
I am having an issue with the forum. The original posts are fine, but any replies made to the OP and the avatar is small, and misaligned along with the username not being formatted correctly either.
See for yourself here: http://www.amazing-auroras.eu/forums/topic/moved-reply-to-hi/
I use WP User Avatar, but I de-activated it, deleted it, de-activated BBP, all made zero difference, so I am not sure it is related, especially as the original post in forums displays everything correctly, it is only replies that have the issue.
I have searched through this support forum for days without finding a fix.
I have also gone through most code that I think might affect it but have not found anything.
I cannot find the code that says the avatar should be smaller in replies, is this normal for BBP or is my theme making this happen?
So any ideas even if you can tell me if it is a theme issue, BBP issue, or whatever. I am totally at a loss where to look now.
Topic: Gravatar
I want to have users host their avatar at Gravatar. How do I link to my avatar there via my line of code? I did an md5 hash for my avatar to test. Which plugin do I use to link that line of code?
Topic: How can I change the colors?
Hey
maybe this question is repeated and I read like 2-3 topics about this but I didn’t find that helpful for my case. I just wanna change the colors like the header border instead of being grey I want it to become blue. I am not so bad with css so I may be able to do it but I just need to know which file should I work with and what code should be changed
Thanks!
Topic: Getting strange new users!
Hey
I am facing an problem which is everyday around 2 new users register to my forum and they are with weird names like wisjidyyus and jwjteeasa and many other names. The problem is that I have statcounter and histats and google analytics and the new users are not counted or seen by the stats and the registration page is in my website and not WP and has the stats code. so how can the users register to my website without visiting it? is it a bug or what?
Thanks
Hey guys!
I’ve added a custom role to BBpress with this piece of code in a functions.php file in my theme:
function add_custom_role( $bbp_roles ) {
$bbp_roles[‘my_custom_role’] = array(
‘name’ => ‘ACN Lid’,
‘capabilities’ => bbp_get_caps_for_role(bbp_get_participant_role()) // i just want them to have the same capabilities as moderators);
I also have a private forum that only this member can access. Right now it works through a member groups plug-in that shields it. But it still let the off limits posts show up in search results.
So I want to try and work within the BBpress system of private and hidden forums. Making the forums private won’t solve a thing, because for some weird reason, participants can also view that… Why is that?
But oh well! I’d like to include the list of capabilities found in the capabilities.php file with this custom role. Instead of the custom role taking the capabilities from the participant. I want to make the members only forums hidden, and make the ACN lid role be able to see the hidden forums.
How do I change the above code, to make it use the following capabilities:
$caps = array(// Primary caps
‘spectate’ => true,
‘participate’ => true,
‘moderate’ => false,
‘throttle’ => false,
‘view_trash’ => false,// Forum caps
‘publish_forums’ => false,
‘edit_forums’ => false,
‘edit_others_forums’ => false,
‘delete_forums’ => false,
‘delete_others_forums’ => false,
‘read_private_forums’ => true,
‘read_hidden_forums’ => true,// Topic caps
‘publish_topics’ => true,
‘edit_topics’ => true,
‘edit_others_topics’ => false,
‘delete_topics’ => false,
‘delete_others_topics’ => false,
‘read_private_topics’ => false,// Reply caps
‘publish_replies’ => true,
‘edit_replies’ => true,
‘edit_others_replies’ => false,
‘delete_replies’ => false,
‘delete_others_replies’ => false,
‘read_private_replies’ => false,// Topic tag caps
‘manage_topic_tags’ => false,
‘edit_topic_tags’ => false,
‘delete_topic_tags’ => false,
‘assign_topic_tags’ => true,
);bbPress Version 2.3.2 & WP 3.6
Hello! Sorry for the newbie question 🙂 I’d like to customize the registration experience for my instance of bbpress. Specifically, I’d like to specify the content:
1. In addition to the username and password fields on the sign-up page
2. In the “you are now registered email” users get
3. In the forgot your password page
4. In the forgot your password emailIs this possible? If so, how? Thanks again!
Note: I know we can specify custom URI’s…but using the registration short code creates a page with the following content…I’d like to change that text etc. “Your username must be unique, and cannot be changed later. We use your email address to email you a secure password and verify your account.”
Topic: Shortcode for user role?
Hey guys!
I have an agenda plug-in where users can show they are attending a certain event. I’d like to display the user role (member, aspiring member) behind the name.
But I can’t seem to find the short code for a users role? Is there any? If not, is there a way to display them?
Hello All,
I am trying to hide all the replies for anonymous or public. I added the following code:
function custom_bbp_show_lead_topic( $show_lead ) { $show_lead[] = 'true'; return $show_lead; } add_filter('bbp_show_lead_topic', 'custom_bbp_show_lead_topic' ); function remove_forum_replies_guest() { if ( !is_user_logged_in() ) { remove_action('bbp_before_has_replies_parse_args', 'bbp_replies') ; } } add_filter('bbp_has_replies_query', 'remove_forum_replies_guest');It removes all the replies not only for public (non-logged in visitors) but also from logged in users.
Any help will be appreciated.