Search Results for 'code'
-
Search Results
-
In my profile page bbpress states:
“This is how your profile appears to a logged in member.”
<b>You don’t have to be logged in to see a user profile page.</b> I’ve tried this with other member names in the forums in different browsers with cleared out caches. You can see any member profile with the direct URL: http://bbpress.org/forums/profile/username (Try this with any valid user name)
(Could it be that this security hole causes a lot of spam attacks?)
On my site, until I did some tweaking with a membership plugin you could not only access the bbpress profile, but also edit the user profile, change the password, whatever. Now that this is more secure I can give an example:
http://kyebay.ca/forums/admin/Fritzi (styles fall apart)
I want to redirect author links to a custom bbpress profile page with proper site styles applied and separate the user profile from the bbpress profile.
How can that be done? Can you point me to the code I need to use? I could really use some help with this. I’ve posted on this matter in another topic, which had no response, because I may not have described the problem properly. Using WP 3.4 with updated Twenty Eleven theme. Please advise.
Topic: Removing user capabilities
I’m trying to remove the publish_topics capability from the subscriber role when using the bbpress wordpress plugin.
I checked here for reference, but it may not apply to the plugin version.
http://codex.bbpress.org/bbpress-user-roles-and-capabilities/
here’s the code I am using in my theme’s function.php
function bbp_remove_subscriber_caps(){
$role_object = get_role( 'subscriber' );
$role_object->remove_cap( 'publish_topics' );
}
add_action( 'init', 'bbp_remove_subscriber_caps' );
When I print the $role_object it shows:
[capabilities] => Array
(
[read] => 1
[level_0] => 1
[edit_topics] => 1
[publish_replies] => 1
[edit_replies] => 1
[assign_topic_tags] => 1
)
Which should mean that subscribers can’t create new topics… but the option still shows up on their dashboard. It does however say “You cannot create new topics at this time.” on the forum page within the site. So it seems to be partially working…
Is this a bug or am I just doing it wrong?
Hi
On my bbPress (& buddypress) enabled blog I have a forum page that is blank (no sourcecode-html or css)-why/how is this?
The page link on my blog is http://richard-dickinson.com/forums/
(theme is a bbPress child theme)-grateful for helpful advice/replies-thanks
Hi everyone, I have this page here:
http://www.complianceupdater.com/mortgage-compliance-checklist-questions/
It is running off BBpress plugin. Right now, you’ll see that the new topic form does not work. If you submit, it asks ‘Are You Sure You Want To Do This?’. That form is hardcoded in, however as the encryption codes change frequently, I need that to be ‘soft coded’ in via PHP. How would I do this? Please write back if I’m not being clear, I’ll explain more. Thanks!!!
Hello,
I am almost finished configuring bbPress and I just notice trying to publish a page with the URL mydomain.com/forums that it shows the default forums template and not the page that I have created with the shotcodes. There is anyway to fix this? I would like to have my own custom /forums page display.
Thanks for the help!
