Search Results for 'code'
-
Search Results
-
Hi guys. I am using the forum list widget to display the different forums. Can anyone help me with some code so that the number of topics under each forum is listed as well in the sidebar?
Hi. Is there a way to add mandatory custom fields in the BBPress registering process? I did get someone to add a text field for the location but it wasn’t mandatory and for the UK, they were adding variations like England, Britain etc so in my user directory and search, people looking for people in the UK would only find people in the UK and not in England or the United Kingdom etc. So I had to go and edit their profiles to say United Kindom so they would come up in the search. Sooo…what I really need is not a text field but a drop down or other thingy where new members have to choose where they are from from the options they are given. So I need a list of all countries and then for now, a list for US states and UK counties. I have a coder to do this for me (Ive not got a clue)….is it possible to do this by configuring BBpress or is a custom code thingy needed? If I can do it, I will show it here maybe so others can see?
It has been about two weeks since I converted my vBulletin forum over to BBPress. The existing forum has been around since 2008 and since the conversion, we have been receiving emails over entire history of the site that topics have been replied to. These are notifications that have been sent non-stop since the conversion.
I installed Buddypress and BBPress at the same time, so I’m not sure exactly what is causing all of these emails to continue to be sent out. How do I stop these notification emails from going out? I’ve already attempted to add the following code to my site specific plug-in, but it does not seem to have helped much. I guess it helped with mentions but not the replies.
remove_action( ‘bp_activity_posted_update’, ‘bp_activity_at_message_notification’, 10, 3 );
remove_action( ‘bp_groups_posted_update’, ‘groups_at_message_notification’, 10, 4 );What are the BBPress hooks to stop reply notifications? I just want them to stop for awhile without disabling email site wide.
Hello!
I’ve searched the forums for a topic that has the same issues as I’m having, to no avail. I have created a website using wordpress.org (http://meechanchronicles.com/Install), and installed bbPress version 2.53. I’ve been able to create the forum, and using wordpress, I’ve created a couple of forums and one topic.
I followed the bbPress codex for adding Login/Register pages, as well as a Lost Password page. Whenever I try and access the forum from the outside (ie not logged into WordPress), I seem to be stick in a circular link that never actually does anything.
In addition, neither the Register/Lost Password pages work, returning a 404 error. I’ve double checked the shortcode links as well as made sure that the permalink addresses are spelled correctly and match the shortcodes.
I am totally new to creating forums, but I feel that I’m missing something simple. Any help is greatly appreciated.
Thanks!
AdamJust curious if there is an easy way to check if a user has been subscribed to a topic or not..
I’ve looked inside the Core templates and found the bbp_user_subscribe_link() function so I ported it over to my own functions file and changed it a little bit, now it works on the topics index page but for some reason it breaks at my topic-replies index page while they use the same default topics loop.
This is my code I’ve changed around a little and what it does is, it prints an is-subscribed text to the page if a user is subscribed to an topic or not. IF not is doesn’t do anything – this is-subscribed text I placed inside a HTML class so I can catch him by some CSS.
Visual, the 1px colored borders on the right indicate if a topic is-subscribed (blue), is-closed (black) or is-sticky (yellow).
It’s a very small feature but I believe very effective, maybe it’s possible to hook those is-values into the bbp_topic_class() by default because BuddyPress has this feature out of the box. If you’re a member of a group it also prints is-member inside the groups-list-class.

Anybody ideas about how we could make this more smooth and simple?
When I installed BBpress I was able to add a topic and a form and the Forums entry was visible to the administrator account.
Now if I log in as administrator or any account the forums are not visible or available.
You can see a basic list but as soon as you click on anything page not found 404 comes up
The shortcodes do produce an output from the forum if put in a new page or in the footer but
the url
http://racingpigeon.com/forums/ is blocked whereas the same shortcode in
a new page added at http://racingpigeon.com/forumsx/ produces outputIf I log out then I see the output at
http://racingpigeon.com/forums/
I have tried all different levels of forum access but none lets me see it.bbPress Version 2.5.3
Wordpress Ver WordPress 3.8.1 Maintenance Release January 23, 2014Thanks Ian
I am using WordPress-bbpress at the my site.
When many messages were contributed to a topic and it became 10 pages or more, the link to 10th page had broken.The following code is the cause.
It will replace from “&paged=10” to “0”.bbpress.2.5.3
C:\xampp\htdocs\bb\wp-content\plugins\bbpress\includes\topics\template.php
895 line// Remove first page from pagination if ( $wp_rewrite->using_permalinks() ) { $pagination_links = str_replace( $wp_rewrite->pagination_base . '/1/', '', $pagination_links ); } else { $pagination_links = str_replace( '&paged=1', '', $pagination_links ); }One solution for correcting this is the following. (Insert “if($pagination[‘total’] == 1)”)
// Remove first page from pagination if ( $wp_rewrite->using_permalinks() ) { $pagination_links = str_replace( $wp_rewrite->pagination_base . '/1/', '', $pagination_links ); } else if($pagination['total'] == 1) { $pagination_links = str_replace( '&paged=1', '', $pagination_links ); }


