Search Results for '\"wordpress\'
-
Search Results
-
I have a normal WordPress site with the bbPress Plugin installed.
Is there a hook or template tag I can use to run code when any type of front end bbPress page is displayed (forum/topic/reply etc.)?
I want to run some custom code, but only if the current page is a bbPress page. I don’t want code to run on every page on my site when it’s not needed (i.e. for non-bbPress pages).
Thanks.
Ever heard of Sorcerer’s Apprentice? It is a poem by Goethe, set to music by Paul Dukas, and visualized by Walt Disney in the Movie ‘Fantasia’. (See: http://www.youtube.com/watch?v=XChxLGnIwCU)
In the movie, Mickey Mouse, the apprentice, dons the Sorcerer’s cap to animate a broom so that it will do Mickey’s chores for him. The broom soon gets out of control, and Mickey is forced to hack up the broom with an axe. But then each of the splinters of the broom become a broom, and Mickey’s troubles intensify.What does this have to do with bbPress? An interesting bug. The subscribe (and Favorites) toggle don’t work properly in Topics. Click once, good, state and text go to ‘unsubscribe’. Click again, good, state and text go back to ‘subscribe’. Click again, and nothing *appears* to happen. I’m new to bbPress, but I thought I’d take a shot at troubleshooting. The implementation uses javascript, jquery, ajax, and a wordpress jquery plugin called wpList. In the bbpress file topic.js, the function subsLinkSetup() is passed as an event handler for a click on the ‘Subscribe’/’Unsubscribe’ link. But every time this event handler is called, it ‘delegates’ a new instance of itself, and each new instance delegates a new instance, and so on…
For each click, the number of event handlers grows as follows:
Click # of Event Handlers
1 1
2 2
3 4
4 8
5 16
6 32
n 2^(n-1)
So after the second click, there are two event handlers.
On the 3rd click, the two event handlers each delegate a new event handler(now there are 4), each toggle the subscription state, (essentially canceling each other out) and the state appears unchanged. Since the number of event handlers is always even, their collective execution will always return the subscription state to the same state as that before they were executed.Example: 3rd click, 4 event handlers, state: subscribed, Event handlers result in the following state chain: unsubscribed->subscribed->unsubscribed->subscribed, and were are right back where we started from.
This is a dangerous bug, because when nothing happens, users tend to click again and again, and 10 clicks (for example) = 2^9=512 event handlers.A fix that works, but might not be the correct one, because it breaks the encapsulation of wpList (we must peer inside wpList to know that the event handler is bound to the subscription link via .delegate()) is to do the following:
In topic.js, function ubsLinkSetup(), replace the line
subscriptionToggle.get(0).wpList.process( subscriptionToggle );
with
subscriptionToggle.get(0).wpList.process( subscriptionToggle.undelegate() );
This removes the event handler before adding it back.
Parallel fix for favorites.Hoping to see some fix in the next release
Mumbling
Hi there !
I installed the plugin bbPress, everything goes well, but I have the following problem:
1. TinyMCE is not available in Visual and in HTML no buttons are available.
2. In the headlines I often had multiple words, such as “Private: Private: Forum headline”(like this http://www.timewalks.de/projekte/probe/probe_02/forum2.jpg)
3. When I “Create New Topic” or answers a post I get an error message appears:
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘sc_save_post’ not found or invalid function name in /home/www/web468/html/wordpress/wp-includes/plugin.php on line 403
Warning: Cannot modify header information – headers already sent by (output started at /home/www/web468/html/wordpress/wp-includes/plugin.php:403) in /home/www/web468/html/wordpress/wp-includes/pluggable.php on line 881
When I go back and update the page, the text is available
I assume this has something to do with my theme, because in the theme “eleventwelv” there have been no problems. Can someone help me to get the theme compatible? Thank you!
The free theme is from antistar: http://www.screets.com/gp/projects/antistar_theme.html
Topic: User roles
I have a the latest wordpress installed and I am using a theme from themeforest called bounce.
BBPress 2.2 and Buddypress 1.6.1The question I have is about user roles. I have a user that is set up as a keymaster for the site as well as the forum. When logged in the edit member shows up in the admin bar at the top while viewing a members profile page.
When I click on edit profile or edit avatar or edit capability I get a sorry page not found. If I change the users site role from keymaster to admin all the above links work. The permalinks are the same when I roll over the edit links so I am confused as to why they show a page not found. If its being redirected because of the user rolls thats fine I just need a way to change it so a keymaster can edit a user. I would like a moderator or keymaster to be able to block a user and edit them without having admin rights.
Hope you understand what I am trying to do. Im a pretty much new to all of this.
I tried the user role editor plugin but was unable to get it to work.
I have a another post with another issue concerning the users replies created pages I could use help on also.
http://www.mohneyswebdesigns.com/billsdirtlatemodels
I would be grateful for any help on either of these issues.
Topic: Forums page not formatted
Hi, I’m having some issues with /forums/ page. It seems not formatted, and I don’t know how to modify it: http://taccuinodigaleazzo.altervista.org/forums/:
All other subforums seem to work properly (example: http://taccuinodigaleazzo.altervista.org/forums/forum/prova-2/)Is there any way to fix this? I’m using wordpress 3.4.2 and bbpress 2.2.2
Wordpress 3.4.2
bbPress 2.2.2I have a serious problem I haven\’t been able to find help for. When I post a topic or reply it doesn\’t show right away. I then check from another computer and it WILL show, but if I reply from that computer I don\’t see my reply. Sometimes I may or may not see the reply on Computer 1. No matter how many times I reload the page it doesn\’t show until I empty browser caches, login out and back in and then sometimes the new topic will appear but not the replies, or some replies but not others. Checking the dashboard I can see the items are all created, just not showing in the forum.
To recap, my topics or replies for bbPress don\’t show up when I or other forum users make them and I can\’t figure out why. Please please help.
I would love to keep all my website content in my native language.
I use a plugin “Simple Local Avatars” to allow my forum users to upload their avatars. I have translated the plugin myself and the translation works perfectly in ‘my profile’ section in WordPress’ dashboard.
However, on bbpress’ profile page the avatar upload section is still in English. Why doesn’t BBPress see the translation and how to make the BBPress see it?
Topic: bbPress forum BLANK pages
Hi, I installed bbPress on my WordPress site, but when I add forums, and try to open one of them, I get blank page?
How I can fix that?