Search Results for 'code'
-
Search Results
-
Hi,
I just used this shortcode [bbp-topic-tags] in widget and also in template file and its showing the tags but with <br> tag after each …. tag. Its means all tag clouds are displaying in a long list style and not displaying like wordpress default Tag cloud are displaying.
Is this bug or please help to fix thanks
I am integrating bbpress files into my own wordpress theme. But, I don’t get why there is so many loop files?
“content-archive-forum.php” links to “loop-forums.php”, and inside that, it links to “single-forum.php”.
Why on earth is there one loop linked to another, and then another, and then another? It sees confusing to me…Can’t I just leave out files like “loop-forums.php” and add that code directly in “content-archive-forum.php and do the same with the other files? Or is it necessary to keep them broken up?
i want to add some custom fields inside
<div class="bbp-reply-author"> </div>.I can do this inside user-profile.php using this code:
<div> <?php if ( bbp_get_displayed_user_field( 'twitter' ) ) : ?> <a class="tooltip" href="http://twitter.com/<?php bbp_displayed_user_field( 'twitter' ); ?>" title="<?php bbp_displayed_user_field( 'display_name' ); ?><?php _e( ' on Twitter', 'todo' ); ?>"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/socialicons/twitter.png" alt="" /></a> <?php endif ?> <?php if ( bbp_get_displayed_user_field( 'facebook' ) ) : ?> <a class="tooltip" href="<?php bbp_displayed_user_field( 'facebook' ); ?>" title="<?php bbp_displayed_user_field( 'display_name' ); ?><?php _e( ' on Facebook', 'todo' ); ?>"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/socialicons/facebook.png" alt="" /></a> <?php endif ?> <?php if ( bbp_get_displayed_user_field( 'google' ) ) : ?> <a class="tooltip" href="<?php bbp_displayed_user_field( 'google' ); ?>" title="<?php bbp_displayed_user_field( 'display_name' ); ?><?php _e( ' on Google+', 'todo' ); ?>"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/socialicons/google_plus.png" alt="" /></a> <?php endif ?> <?php if ( bbp_get_displayed_user_field( 'linkedin' ) ) : ?> <a class="tooltip" href="<?php bbp_displayed_user_field( 'linkedin' ); ?>" title="<?php bbp_displayed_user_field( 'display_name' ); ?><?php _e( ' on Linkedin', 'todo' ); ?>"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/socialicons/linkedin.png" alt="" /></a> <?php endif ?> <?php if ( bbp_get_displayed_user_field( 'flickr' ) ) : ?> <a class="tooltip" href="<?php bbp_displayed_user_field( 'flickr' ); ?>" title="<?php bbp_displayed_user_field( 'display_name' ); ?><?php _e( ' on Flickr', 'todo' ); ?>"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/socialicons/flickr.png" alt="" /></a> <?php endif ?> <?php if ( bbp_get_displayed_user_field( 'youtube' ) ) : ?> <a class="tooltip" href="<?php bbp_displayed_user_field( 'youtube' ); ?>" title="<?php bbp_displayed_user_field( 'display_name' ); ?><?php _e( ' on YouTube', 'todo' ); ?>"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/socialicons/youtube.png" alt="" /></a> <?php endif ?> <?php if ( bbp_get_displayed_user_field( 'pinterest' ) ) : ?> <a class="tooltip" href="<?php bbp_displayed_user_field( 'pinterest' ); ?>" title="<?php bbp_displayed_user_field( 'display_name' ); ?><?php _e( ' on Pinterest', 'todo' ); ?>"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/socialicons/pinterest.png" alt="" /></a> <?php endif ?> <?php if ( bbp_get_displayed_user_field( 'user_url' ) ) : ?> <a class="tooltip" href="<?php bbp_displayed_user_field( 'user_url' ); ?>" title="<?php bbp_displayed_user_field( 'display_name' ); ?><?php _e( " 's site", 'todo' ); ?>"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/socialicons/site.png" alt="" /></a> <?php endif ?> </div>But for some reason this didn’t work at loop-single-reply.php, there’s something i’m missing? ty
Hi there!
Just yesterday I went ahead and updated our bbPress to 2.4 and missed out on validating the search functionality β which actually broke!
Right now I get a 404 when using the search functionality. It somehow cannot handle the new pretty URLs introduced with 2.4.
Instead of
http://bbpress.org/forums/search/my-query/I get
http://mydomain.info/searchmy-queryI already tried:
– Disabling affiliated bbPress-plugins (got one German string replacement active)
– Saving the Permalinks again
– Checking .htaccess for any possible Rewrite-Rules which might conflictNone of those worked.
Any hints on how to tackle the error? It obviously was introduced with 2.4 and I couldn’t even say where to look first after checking up upon the obvious…
I got a bbpress.php in place at /wp-content/themes/my-theme/ in order to wrap bbPress in style but even there I double checked the code and essentially there is nothing possibly conflicting (at least from what I see).
Looking forward to you guys helping out.
Thanks & Regards!Topic: Quote adding div tags
When someone uses the quote option, it’s adding div tags in the code, so that when they submit, they show in the forum.
<div class=βd4p-bbp-quote-titleβ>The WarBlogler wrote:</div>Example? Was it just the quote HTML text?
Example:
http://www.warblogle.com/forums/topic/feedback-issues-suggestions-etc/#post-43162Any ideas?
I am modifying a site to enable this simple snippet of code to the bbPress login Widget. Once a user is logged in, I would like to check the user’s role (WordPress Role: admin, editor, author) and allow only those three access to the site’s dashboard by simply displaying the link there. I do not know how to translate the bbPress roles to the WordPress roles.
Any insight would be most appreciated.
Thank you in advance.
Hi all,
here is a problem that one of my members ran into whilst testing out the different tags available in the text editor. As he was unfamiliar with html tags he didn’t realise that a list tag would need to be nested within a ul/ol. Anyway, the problem occurs whenever someone posts a reply which contains an unnested list item (
<li>list item</li>). Once the post is published the list tag is rendered underneath the unordered list class=”forums bbp-replies”. This causes styling issues for anything being displayed underneath the post.I thought this may of just been my forum, but i briefly tested it on this forum and it also causes styling issues.
You can find a screenshot comparison of how my forum looks normally and how it looks with the tag breaking the style.
The image doesn’t show the severity of the issue, but you can see how a simple tag that any user can post can effect styles which are outside of the text editor.
I tried searching but couldn’t find anyone else reporting a similar issue. Has anyone else run into this before? are the bbpress developers aware?
hello..
i like to offer my users an extra (costum) profilepage where they can see an overview of their own posts… like in the profile. is this with a shortcode possible ?
thanks
Topic: Forums Index Issue
Hi there —
I’ve searched the forums and think I’ve tried all suggested solutions.
I have this forum and it works fine: http://realworldsupplychain.com/forums/discussion/certified-supply-chain-professional/
But then when I go to the “forums” slug, I get an error page like this: http://realworldsupplychain.com/forums/
I tried different permutations. I tried creating a /forums Page and entered the [bbp-forum-index] shortcode. That didn’t work too. I’ve tried deleting/reinstalling bbPress, still no joy.
I don’t have any existing pages with /forums off my domain.
Any help would by much appreciated. Thanks in advance!
Hello
On the site I am working on (not yet live) we are using BBpress Forums integrated with a Buddypress installation. Both the Buddypress Group and associated BBPress Forums are marked Hidden.
Users with Group Role as Member can properly see the Forums when viewing directly.
The issue comes to when we try to have users view the Forums via Short Code.
Only those with a Group Role of Moderator or higher can see the forum via Short Code.
WP is 3.6, bbPress 2.4, BuddyPress 1.8.1
