Search Results for 'code'
-
Search Results
-
Topic: bbPress and jQuery UI
Is bbPress really loading bunch of jQuery UI files?
<script type="text/javascript" src="http://localdollars.ge/wp-includes/js/jquery/ui/jquery.ui.core.min.js?ver=1.10.3"></script> <script type="text/javascript" src="http://localdollars.ge/wp-includes/js/jquery/ui/jquery.ui.widget.min.js?ver=1.10.3"></script> <script type="text/javascript" src="http://localdollars.ge/wp-includes/js/jquery/ui/jquery.ui.mouse.min.js?ver=1.10.3"></script> <script type="text/javascript" src="http://localdollars.ge/wp-includes/js/jquery/ui/jquery.ui.resizable.min.js?ver=1.10.3"></script> <script type="text/javascript" src="http://localdollars.ge/wp-includes/js/jquery/ui/jquery.ui.draggable.min.js?ver=1.10.3"></script> <script type="text/javascript" src="http://localdollars.ge/wp-includes/js/jquery/ui/jquery.ui.button.min.js?ver=1.10.3"></script> <script type="text/javascript" src="http://localdollars.ge/wp-includes/js/jquery/ui/jquery.ui.position.min.js?ver=1.10.3"></script> <script type="text/javascript" src="http://localdollars.ge/wp-includes/js/jquery/ui/jquery.ui.dialog.min.js?ver=1.10.3"></script>I only see them loaded on bbPress boards.
Can somebody confirm this? Or do I need to continiue searching for this dependances in my theme?
Because bbPress now does not really have anything fancy and jQuery style to load so many libraries.In fact everything is done with PHP.
If this is true, can somebody also point me to places where it uses one.
I want to style the bbpress colors, but I am not seeing my changes when I add custom CSS to my Genesis child theme (Dynamik Website Builder).
It is odd because I am using Firebug to isolate which parameters need to be changed, I can alter them within the firebug window and see them change to what I’d like to happen… then when I put that code in Genesis>Dynamik Custom>CSS (my child theme’s area to add to the CSS) it does not display.
Things like this have no effect:
#bbpress-forums div.odd, #bbpress-forums ul.odd { background-color: #222222; } #bbpress-forums div.even, #bbpress-forums ul.even { background-color: #444444; }Any advice?
Topic: Recent forum posts???
Hi all,
I am currently trying to put together a home page that consists of the 20/30/50 recent posts in all forums (paginated).
I know that I can use the topic short code [bbp-topic-index], but this lists the whole topic rather than individual (single) posts.
The reason that I want to do this is that if someone posts a topic with images in I want those images to show on the home page to make it more interesting.
Can this be done with bbpress? I know that I can be done with IPS boards but not keen on their layouts.
Cheers,
Jayce
Topic: bbpress profile page broken
forums/user/test/
is rendering very weirdly:<div class="entry-content" itemprop="text"><p>Profile Topics Started Replies Created Favorites Subscriptions Edit Profile Forum Role: Keymaster Topics Started: 0 Replies Created: 1</p> </div>which looks obviously incorrect because it’s missing html tags in between things.
I tried putting a die; at the bottom of
templates\default\bbpress\user-profile.phpand the page rendered properly, but all the other profile type pages are still broken. Removing everything from my functions.php doesn’t help either.What could be going back and stripping out the html tags?
I am developing in a Genesis child theme and installed a bbPress Genesis Extend plugin.
Just wondering if this is possible – I am working on a live project at the moment which is requiring the addition of BuddyPress and bbPress functionality to a membership site running on Wishlist Member. Specs for the site as follows:
WP: 3.6.1
bbPress: 2.4
BuddyPress: 1.8.1
Wishlist Member: 2.71.1747
Site URL: http://www.thelawofattraction.comThe idea is that we are implementing a paid-for membership level managed by WLM and Infusionsoft. At the moment I have set auto role to ‘Blocked’ and reset the assigned bbPress user roles so that all existing (non-paying) members are set to this.
However, I’d like all new members registering as paid-for (Platinum+, platinumplus) to be assigned the Participant role.
I tried like so in my functions.php:
add_filter('bbp_get_user_role_map','custom_bbPress_role_map'); function custom_bbPress_role_map($role_map){ $role_map['platinumplus'] = bbp_get_participant_role(); return $role_map; }but although I can echo out the result of bbp_get_user_role_map() and see that this has worked in theory the Platinum+ members remain set as ‘Blocked’.
First time using bbPress so please forgive me if I’ve overlooked anything really obvious here, but any help would be appreciated.
Best,
IainTopic: forum url
I have bbpress loaded on my site and have already started creating forums…love it.
however, I created a page for the forum and put the shortcode there, but now my forum url is
http://www.nikkiinstitchescraftacademy.com/forums/forum/month-1-the-background-story/
is there any way to get rid of the double forum in there?
should i have put the shortcode someplace else?
thanks so much for your help!Wordpress version 3.6.1
bbPress version 2.4
http://www.NikkiInStitchesCraftAcademy.comHello guys!
I have a specific question about adding forums, threads and replies in Bbpress.
Some times ago i made a script that’s sending data to fill the DB in wordpress – i just send via POST: author, post, title etc via php script, that add it all to DB. It was simple.Now i have to make it in Bbpress, and there is a problem: besides the ‘wp_posts’ data i see many cells in ‘wp_post_meta’ when i create a forum, topic and a reply such as:
_bbp_topic_count _bbp_total_reply_count _bbp_forum_subforum_count _bbp_reply_count _bbp_last_active_time etcThe problem is that I want to do it in the future delayed (this future posts date). And the question is: how do I write this posts and Bbpress helps me and refreshes that data in ‘wp_post_meta’.
I googled my problem and found this functions in functions.php:
function bbp_update_topic_topic_id( $topic_id = 0 ) { $topic_id = bbp_get_topic_id( $topic_id ); update_post_meta( $topic_id, '_bbp_topic_id', (int) $topic_id ); return apply_filters( 'bbp_update_topic_topic_id', (int) $topic_id ); }That’s what I’m looking for? I will be happy if Bbpress has some API or xml-rpc method to add a topics and replies, but there is none 🙁
Thank you and sorry for my bad english.
Now I know this question has been asked every which way to sunday, but I just can’t figure it out for my particular setup. I’m a little annoyed at myself that i’ve been working w/ bbpress for a couple weeks and can’t figure it out on my own.
Now my home page url is simply mysite.com (id give you a link but its parked). So to clean up the breadcrumbs a bit I made the homepage static so I could use that as the archive/index page. That way breadcrumbs could just be “home > forum-name”.
Now a couple issues which I can’t seem to figure out. If my homepage is simply mysite.com what could I use as the forums slug? Based off of some previous semi-related topics posted here, I could just add the [bbp-topic-index] short code to the homepage in the high hopes it would redirect the “forums” breadcrumb to the homepage.
So the ultimate goal here, 2 breadcrumbs. Make homepage the archive/index page so the forum breadcrumbs would be home > forum-name”
Anyone got any ideas?