Search Results for 'code'
-
Search Results
-
Topic: Getting error
I have installed Buddypress and enabled Forums feature in my wordpress website (using NEWS child theme).
I’m getting following error:
Fatal error: Allowed memory size of 50331648 bytes exhausted (tried to allocate 122880 bytes) in /home/travels/public_html/wp-content/plugins/buddypress/bp-forums/bbpress/bb-admin/includes/functions.bb-admin.php on line 922
— SoundManager 2 failed to load (security/load error) —
soundManager.disable(): Shutting down
soundManager: Failed to initialise.
soundManager: Verify that ./soundmanager2_debug.swf is a valid path.
soundManager: No Flash response within expected time. Likely causes: Loading soundmanager2_debug.swf may have failed (and/or Flash 8+ not present?), Flash blocked or JS-Flash security error.
soundManager: Getting impatient, still waiting for Flash…
soundManager::initMovie(): Waiting for ExternalInterface call from Flash..
soundManager::initMovie(): Got EMBED element (created via JS)
soundManager::createMovie(): Trying to load ./soundmanager2_debug.swf
— SoundManager 2 V2.97a.20110123 (AS2/Flash
, normal polling —Can any1 help by this??
Regards,
Ankur
When I look at the topics page in the backend word press page, the only data column that shows up is “Freshness”. I tried to make some modifications to the code, and I must have messed it up. Does anybody know what file controls this page?
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!!!