Search Results for 'code'
-
AuthorSearch Results
-
July 17, 2012 at 8:13 am #115287
In reply to: bbpress rate post plugin
crazy-nomce
ParticipantBump, anyone?
Btw, I fixed half of the hooks (I added the corresponding hooks into the bbpress theme on my own, and it works), but I have problem with the remaining three hooks which I didn’t fixed, and they are:
add_filter( 'bp_get_the_topic_post_content', 'rfp_filter_rating_link', 3 ); add_filter( 'bp_get_the_topic_post_css_class', 'rfp_alter_post_based_on_rating', 1, 1 ); add_filter( 'bp_get_the_topic_post_poster_name', 'rfp_filter_poster_karma', 3 );Also, I cannot find anything for the variable $bbp,and the corresponding variables in bbpress which exist in buddypress: $topic_template and $forum_template.
Thanks in advance!
Edit: I forgot to mention that bbpress is updated to version 2.1. 🙂
-
This reply was modified 13 years, 12 months ago by
crazy-nomce.
July 17, 2012 at 4:20 am #115282In reply to: Forum Title
Superhearing
Memberoo nice, thanks, I got around it but creating a page named forum and adding the shortcode [bbp-forum-index]
Will look into your fix when when I have time, thanks 🙂
July 17, 2012 at 4:13 am #115280In reply to: Forum Title
Lynq
ParticipantThis is probably because you have something like: the_title() inside your title tag in your theme?
I had to have conditional title tags based on what post type I was looking at, check this out:
I am still having an issue with the code syntax highlighter, so I used pastebin.
Good luck!
July 17, 2012 at 3:25 am #115277In reply to: Weird permissions issue with admin panel.
chuseestn
ParticipantLes professionnels de formation adizero tissus intelligents ClimAdapt et accessoires très légers à créer de la lumière ou pas d’expérience d’équipements sportifs. Coupe Formotion CP et un design ergonomique, les vêtements et plus de confort. adizero miCoach système intelligent peut aussi être compatible avec l’usage commun peut être accélérée afin d’améliorer la performance sportive [url=http://www.addidasjeremyscottwings.com/chaussures-femme-adidas-adicolor-c-2_26.html]adicolor superstar[/url].
Spinning produits de classe en tenant compte des changements climatiques extérieures, veste coupe-vent, chemise, pantalons et shorts et diverses avec des Adidas CLIMAPROOF veste coupe-vent du vent et de tissus a une protection UV + UPF50 fonction manches courtes T-shirt en tissu double, utilisez le maillage 3D et l'intérieur, la perméabilité serré, mais excellente. Deux utilisation de la couleur audacieuse de couleurs vives et appuyez sur la conception de la couleur et l'attention à un détail, la conception la poitrine unique de fermetures à glissière de ventilation, le dos des vêtements au fond de la conception de bord paquet avec une bande élastique spéciale, élastique interne contenant les détails du silicium de haute technologie . La conception collants à proximité de l'ajout de la qualité appropriée de la charge à protéger. 2 en 1 short en utilisant les principes de conception d'ingénierie, c?té amovible de la commodité de la multi-sport besoins [url=http://www.addidasjeremyscottwings.com/chaussures-femme-adidas-adicolor-c-2_26.html]adicolor adidas[/url]. Produits d'entra?nement fitness de Escalade coupé les manches du traitement spécial con?u pour prévenir le soulèvement du bras sur l'ascenseur alors que le reste des plis du corps. L'utilisation des matériaux et CLIMALITE FlowMapping du corps aérodynamique de la lumière et a une perméabilité à l'air à 360 °. Tous doublée de polyester recyclé à 100%, et à travers le maillage 3D pour augmenter les performances de respirabilité. Série sur la formation Adidas, y compris une série de formation des hommes, des séries de formation des femmes, série pour enfants, et le adidas by Stella McCartney. Adidas s'est engagé à l'intérieur de remise en forme, de la danse, le yoga et une variété de vêtements de sport, chaussures et accessoires, non seulement l'intégration de nombreux éléments de la mode et Adidas pour améliorer la performance athlétique spécialement développé une technologie de pointe [url=http://www.addidasjeremyscottwings.com/chaussures-femme-adidas-adicolor-c-2_26.html]adidas superstar skate[/url].[url=http://www.addidasjeremyscottwings.com/basket-adidas-gazelle-2-034581-p-186.html][img]http://www.addidasjeremyscottwings.com/images/20120702191035/Basket-adidas-gazelle-2-034581_a_3_1.jpg[/img][/url]
July 16, 2012 at 11:04 pm #115267In reply to: Modifying Page Title in Forums Archive
Stephen Edgar
KeymasterThe theme you are using ‘Nexus’ thinks that /forums is a WordPress page when in fact it is not and is reading the ‘subheader’ in this case ‘Suggestions’ from the last custom post type.
If you create a new WordPress page called ‘Forum’ and add the shortcode [bbp-forum-index] to this page and replace ‘Forums’ on your nav menu with the newly created ‘Forum’ page you should see the title now as ‘Forum’
You could also ask for help over at the Nexus support forum http://wpadaptive.com/forum/categories/nexus
July 16, 2012 at 9:46 pm #115259In reply to: 2.1 questions
Stephen Edgar
Keymaster— ‘Topics Replied To’ User Profile Empty?
I don’t have or see a ‘Topics Replied To’ section under eg. /users/username, only ‘Subscribed Forum Topics’, ‘Favorite Forum Topics’ & ‘Forum Topics Created’…
— The ‘recent replies’ widget indeed in the old version did include recent topics in its output. Much of the widget query code has been rewritten so I would say now that the widget works as per design 🙂
I have created a ticket to enhance some of the widget options, if you have anything to add, please do.
July 16, 2012 at 4:39 pm #115245In reply to: Full Width bbPress – A Simple Solution
pimarts
ParticipantOk, a litle more info:
I run a bbPress + BuddyPress installation. And I put that function in the functions.php file of my WordPress theme.
It would remove the widgets inside. If needed you could remove the rest of the / entire sidebar with CSS. The advantage over a simple CSS hide is the fact that less code gets written to the browser / less code to download for the user.
Aside from that I use it to put the login widget at the top of the forums (with CSS) and remove all the other widgets.
July 16, 2012 at 2:40 am #115206In reply to: Trouble with shortcode layout
Bookkus
MemberDoes anyone have any ideas?
July 15, 2012 at 5:11 pm #115192In reply to: Full Width bbPress – A Simple Solution
pimarts
ParticipantI posted this in another topic, this works for me:
function disable_all_widgets( $sidebars_widgets ) { if ( function_exists('is_bbpress') ) { if (is_bbpress()) { $sidebars_widgets = array(false); remove_all_actions('bp_register_widgets'); unregister_sidebar( 'bp_core_widgets' ); } } return $sidebars_widgets; } add_filter('sidebars_widgets', 'disable_all_widgets', 1, 1);But that’s because I haven’t looked into custom themes yet. Did everything with functions and CSS at the moment.
July 15, 2012 at 11:58 am #115168In reply to: Theme Compatibility (2)
Parker
MemberOh! I was able to figure out what was wrong. All I needed to do was move:
?>to the bottom of the bbPress settings.
July 15, 2012 at 8:02 am #115152In reply to: Trouble with shortcode layout
Bookkus
MemberIt’s just the shortcode forum when I post it into a page: http://www.bookkus.com/test-forum/
If I use the other forum it looks like this: http://www.bookkus.com/forums-2/
July 15, 2012 at 5:23 am #115150In reply to: Trouble with shortcode layout
Lynq
ParticipantOh wow umm,
It looks as though there isn’t a lot of styling going on for your forum.
Where did you get your bbpress.css file from? It looks really short compared the one I got originally.
July 15, 2012 at 5:13 am #115149In reply to: Weird permissions issue with admin panel.
Lynq
ParticipantHi there,
I actually had this issue with my custom plugin, it turned out that a recent version of wordpress has tightened the security on plugins I believe, so if the plugins are not coded correctly then it will cause the issue you are describing.
Have you updated all the plugins aswell?
July 15, 2012 at 12:57 am #115146Topic: Display a notice type of box
in forum ThemesMartin
ParticipantHi all,
To help promote anonymous posters to post questions, I’d like to put up some sort of permanent notice information box above the forums to display said message.
Any ideas what file/code I need to be playing with, as a start?July 14, 2012 at 9:21 pm #115139Topic: Trouble with shortcode layout
in forum TroubleshootingBookkus
MemberI am having some trouble with the layout of my forum. Once I add the shortcode to a new page the layout goes very strange. I have tried going to full-width with no result.
I am using custom community theme. My buddypress, wordpress, and bbpress are fully updated.http://www.bookkus.com/test-forum/
Thanks in advance for your help.
July 14, 2012 at 7:37 pm #115135In reply to: [GD BBpress tools] Quoting feature not working
DNBrawler
ParticipantIt’s calling JQuery scripts–the only one I could find is this one:
wp_enqueue_script( 'bp-js', BP_PLUGIN_URL . '/bp-themes/bp-default/_inc/global.js', array( 'jquery' ) );
I tried to implement the topic.js many times It’s just not working :/July 14, 2012 at 6:15 am #115113In reply to: [GD BBpress tools] Quoting feature not working
DNBrawler
ParticipantI’m stumped. lol
Do I have to call the script? :L I have no idea.. what to do.
I found this:
if ( bbp_is_single_topic() ) wp_enqueue_script( 'bbp_topic', $this->url . 'js/topic.js', array( 'wp-lists' ), $this->version, true );Am I close ? :/
Okay now I do believe that my theme is causing the problem since I switched themes and it started to work. I have more work to do.July 14, 2012 at 6:03 am #115112In reply to: BBpress Customizing The Number of Topics
Lynq
ParticipantIt did the same again, I have had a couple of issues with the code button too!
It is kind of a tricky to pick out a specific forum, you would need to do a little bit of coding to try and change the way your loop-topics loop works.
You would need to be able to pass in an argument of something like $limit and then set the limit based on the forum id. Feels like a lot of work to me, but someone else might have a better idea.
Sorry!
July 14, 2012 at 5:53 am #115109In reply to: BBpress Customizing The Number of Topics
DNBrawler
ParticipantSorry must not have worked. Here it is again:
'_bbp_reply_count', 'meta_value' => '1', 'meta_compare' => ' 'date', 'show_stickies' => false ) ) ) : ?> <!-- #topics-front -->“ EDIT: Now it’s deleting the content of the code sample. Here’s the link from pastebin. http://pastebin.com/3TLgVni2
July 14, 2012 at 5:43 am #115102In reply to: BBpress Customizing The Number of Topics
Lynq
ParticipantHey DNBrawler,
Your code got cut off 🙁 can you try posting it again and using the code button?
July 14, 2012 at 5:26 am #115100Topic: BBpress Customizing The Number of Topics
in forum TroubleshootingDNBrawler
ParticipantI’m using a template to customize the number of posts on one of my pages. My default number of forum posts on one single page is 6. I want 15 to appear on a page so after noticing in the statistics template that the popular topics can show more than than the default setting I ventured to apply it to a single forum called from the forum id. Here’s the code:
15, ‘post_parent’ => bbp_get_forum_id(568), ‘show_stickies’ => false ) ) ) : ?>
My problem: The forums are only showing 16 unfortunately. My question: How do I limit the number of posts on individual pages?
July 14, 2012 at 4:28 am #115097In reply to: Reply Truncation
Lynq
ParticipantYou have the following CSS on your site which is restricting the height of the replies.
div.reply { height: 32px; }I didn’t search heavily, but it looks like it is coming directly from the page, I can’t find the stylesheet where that is coming from, good luck hunting!
July 13, 2012 at 3:59 pm #115069In reply to: How do I edit bbPress breadcrumbs?
Lynq
ParticipantBy the way this code snippet works for me:
function custom_bbp_breadcrumb() { $args['sep'] = ' | '; return $args; } add_filter('bbp_before_get_breadcrumb_parse_args', 'custom_bbp_breadcrumb' );-
This reply was modified 13 years, 12 months ago by
Lynq.
July 13, 2012 at 3:29 pm #115065In reply to: How do I edit bbPress breadcrumbs?
Clay
MemberSo, using the code example several posts above, from manuelmasia — let’s say that I wrap that in php tags and drop it into a
functions.phpfile in my child theme directory. Is there anything else that I would need to do in order to get the breadcrumbs to display differently?-
This reply was modified 13 years, 12 months ago by
Clay.
July 13, 2012 at 11:57 am #114999In reply to: bbPress content re-organization
Erlend
ParticipantYesterday I offered to help write some copy for bbPress.org, so this is the first of many such posts in a series of sorts as I work my way through the pages and contents in question.
Today I’ve been looking at the examples page. This page is not linked to yet, but we’ll sort that out once we’re happy with the page itself.
Also, down the line bbPress should simply have its own “flavor” on the WordPress Showcase site, coupled with a custom page on bbpress.org that pulls information from there, much like how the BuddyPress showcase probably already works. But since that might take a while (all I know is it’s beyond my capabilities) I figured a static page would serve as a good substitute in the meantime.
Styling
I realized that a common question that’s going to be popping up as I work on these pages is “Changes to bbpress.org vs Changes to my article formatting“. So when I give this feedback, know that I probably have a reasonable workaround for it in mind already if you don’t agree with the proposed changes.
- Page headers – Either make them take charge of the page (more prominent than h1) or don’t show them at all. One of my favorite examples of a beautifully dominant page title is WooThemes’ Optimize.
- On my test site (also where my images are currently loaded from because I don’t have that privilege here yet) I used captions to achieve some simple compartmentalization. It seems the bbpress.org theme doesn’t have any styling for captions yet. Furthermore, on hover they expand slightly instead of highlighting in some other way (e.g. a shadow overlay), making the content below shift downwards slightly, which looks weird.
- The showcase codex page should be retired.
Your input is most welcome, including my choice of “featured” items.
-
This reply was modified 13 years, 12 months ago by
-
AuthorSearch Results