Search Results for 'code'
-
Search Results
-
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.
We have bbpress forums installed on our website http://www.hphe.net The forums look great, but when I want to click on a paritulcar user’s profile, the text of the information is overlapping–as if everything is being crammed into the left side of the page. It looks like the screen view needs to expand, but I don’t know how to do that for profile pages.
I am very much in the beginning stages of learning about code…using WordPress so I wouldn’t really have to deal with any code, but I’m seeing that it would be handy in a number of instances. Any help needs to be explained to me in the most basic of terms. :\
Thanks for any help.