Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'codes'

Viewing 25 results - 651 through 675 (of 1,687 total)
  • Author
    Search Results
  • #156562

    In reply to: Custom Forum Layout

    Robin W
    Moderator

    this plugin might be what you need

    bbp additional shortcodes

    #156398
    Robkk
    Moderator

    the way bbPress outputs the login page bugs me, a lot. What I am trying to do is add a login box to my layout, when I did – I found it added a list and a horrible fieldset around the whole thing. This doesn’t work with my design at all.

    are you using the shortcode [bbp-login] ??

    you should use that shortcode if not.

    more shortcodes supplied with bbPress that you can use.

    https://codex.bbpress.org/shortcodes/

    I found there is no template readily available to just change. Really?

    yes there is its called form-user-login.php

    So, it seems all I can do is hack away at the core code, which will all be reverted once a new version comes around.

    dont do that

    #156203
    siddardha
    Participant

    hello,

    i am using a plugin “user pro for social login”

    with custom css the profile of bbpress is changed into user pro profile page, you can have a look at cahive.com/profile/siddardha

    i want to insert the “topics and replies posted” by the user using shortcodes or any other method possible on the users profile page.

    thank you for your help.

    #156155
    yarashicr
    Participant

    And I also want to know whether these shortcodes work on a wordpress widget.

    #156154
    yarashicr
    Participant

    Thanks a lot Robin. I tried the shortcodes as mentioned in the above page after installing and activating the plugin. It did not work for me. I used putting respective forum ID as well. Can you kindly help me on this. I am stuck fixing this for a long time now.

    #156133
    Robin W
    Moderator

    just use shortcodes

    https://codex.bbpress.org/shortcodes/

    in particular

    [bbp-single-forum id=$forum_id]
    
    #156073
    Robin W
    Moderator

    try my plugin

    bbp additional shortcodes

    I think it will fit what you request

    #155971
    cyclesha
    Participant

    I tried using the short codes and they work on the backend.

    My problem is now getting rid of the 404 error on my front end. From the back end all seemswell.

    Lets focus on that error message. How do we eliminate it so when a person clicks forums the get forums?

    #155945
    Bob1nz
    Participant

    Next one is on the shortcodes you mentioned. https://codex.wordpress.org/Shortcode
    The bbpress codes work in a similar fashion to wordpress’s shortcodes and there are a few examples on that page as to how they work.
    While they are useful I’m not entirely convinced you need them at this stage.

    They can be used to put features of the forums on other pages that are not your main forums such as login, one category of your forums, tag clouds etc. You can use the [bbp-forum-index] on a page if you have created one but I’m pretty sure you shouldn’t need to unless that what you want.

    I believe that plugin would still be fine with your current version of WP and bbP.

    Had to split the reply as I don’t seem to be able to post more than one link per reply

    #155939
    cyclesha
    Participant

    First, I believe I do have permalinks enabled, however, I’m such a novice I don’t know where to look.

    4.1 isn’t much different than 4.0.1 and 4.0 wasn’t much different than 4.0.1. I’ve had all of them and everything else worked. Oh well, I research it further.

    I definitely want forums. I just need to clear (approve) topics before they appear and approve replies as well. Other so called motorcycle websites have real problems with their forums and and have found themselves deleting a lot of what users put in. It’s all about approval.

    I found bbPress shortcodes: https://codex.bbpress.org/shortcodes/ Would any of these help? and where would I put them?

    Between the two of us we’ll get this straightened out.

    #155929
    cyclesha
    Participant

    I also found the bbPress short codes: https://codex.bbpress.org/shortcodes/ . Would any of these help and where do I put them?

    #155923
    Hephaestus_Xii
    Participant

    Hi, I would like to know how to change the “forum” link in the breadcrumbs to link to another page I built the forums using the shortcodes and the “forum” link in the breadcrumbs takes me to the default forum page.

    I would like it to go to the page I created.

    #155911
    Skisma
    Participant

    @robin-w Ahh ok I see, so basically they are only used for actual pages. That’s what I didn’t get before, I was wondering how I’d accomplish that using the shortcode for a widget. Now I understand this isn’t possible and shortcodes are only used for pages. Thanks man!

    #155867
    Robin W
    Moderator

    @skisma

    The shortcodes can be used on any wordpress page

    so if fro instance you wanted a menu item that display the most recent 15 topics across all your forums, so that when people selected this menu item that what they saw, then you would

    1. create a page – maybe called ‘latest topics’
    2. put the shortcode into the content section in this case

    [bbp-topic-index]
    

    3. add that page to the menu

    #155789

    In reply to: Import Hung?

    Robkk
    Moderator

    we are not dead :/


    @netweb
    is the bbPress community’s import specialist

    the guy is most likely asleep now because he was working on some bbPress tickets all night… or all day depending on Aussie time??

    as for bbcodes bbcodes is not a default feature for bbPress you would need an additional plugin for that.

    https://wordpress.org/plugins/gd-bbpress-tools/ this plugin comes with a quote feature and more.

    there is another plugin called bbpress 2 bbcode which would also need the whitelist plugin by the same developer.

    #155786
    Skisma
    Participant

    Sorry to ask such a silly question, but I cannot seem to find info on them other than the http://codex.bbpress.org/shortcodes/ page. I have an idea of what they are, I’m just not sure how exactly to use them. It explains on that page that I just insert them into my desired page, but does not elaborate on that. I was hoping to find an article somewhere that goes over them in detail, but have yet to find it. So, I’ve decided to make a noob post here the bbpress forums.

    #155773
    Angelo Rocha
    Participant

    I need create a query to bring the list of forums and subforums on the homepage of my website, i woudn’t like to use shortcodes cuz i want create a custom style. I did a wp-query but i can’t use functions to show the topic, replies and posts quantity.

    <?php
    	$args = array(
    		'post_type' => 'forum',
    		'order' => 'DESC',
    		'orderby' => 'date'
    	);
    	$query = new WP_Query($args);
    ?>
    Foruns|
    Posts
    <?php if( $query -> have_posts() ): ?>
    	<?php while ($query -> have_posts() ) : $query -> the_post(); ?>
    		<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
    			<?php the_title(); ?>
    		</a>
    		
    		<?php $value = bbp_get_forum_post_count(); echo $value; ?>
    		
    	<?php endwhile; ?>
    	
    	<?php wp_reset_postdata(); ?>
    	
    <?php else: ?>
    	Nothing yet...
    <?php endif; ?>

    Thanks for help.

    #155614

    Topic: Import Hung?

    in forum Troubleshooting
    Chad
    Participant

    I was importing from my Vbulletin 4 and it went through converting topics, then it started converting tags and hung about 12,900. Is this a known bug? What’s the best way to do this over without losing the imported content and without taking risks of missing content not being imported initially on the hang up? Any ideas why it would hang up like that? It took a pretty long time just to do the topics. It didn’t start the users yet either. You’d think it would import users first?

    Side note, I don’t see any area to set up bbcodes? Is bbcode not a default feature?

    #155517
    Talabrina
    Participant

    O M G !
    Thank you so much, both of you!

    The codes were not working, but when I change the border to 0, it worked !

    (@jmodine Yes, I got a child theme already :3)

    #155411
    xprt007
    Participant

    Hi

    The recipe plugin seems to have had separate issue in addition as its links where not accessible at the expected urls according to default settings.
    That was dealt with.
    Around that same time as I was first using that plugin & also setting up the bbpress forum is when I noted something wrong with bbforum forum at /forums.
    That is when I turned to bbpress.
    It seems to be the case as I found after repeated testing the other day as I now need to finish the site & hence visiting the issue again, that if you install bbpress first & use default settings, and later after activating recipepress reloaded,the recipe plugin links do not work.
    I also discovered that if on the other side you deactivate bbpress, the existing recipe plugin links work.

    So to sum it up, this specific issue is still there, as described above.
    If it was possible to use the short code method you suggested & still be able access bbforum settings from its admin page, etc, I would settle for that, but the time I last tried settting up a forum, I got the impression one has to use shortcodes all thru, with no equivalent centralized settings page, which made it rather complicated to administer the forums & have an overview.

    Of course better would be if there was no apparent conflict.

    Regards

    #155400
    xprt007
    Participant

    Hi

    I’m back after a while. 😉
    After a lot of research, enabling, disabling this & that, I discovered this issue only comes up if the recipepress reloaded plugin is activated.

    It is recommended for the main recipe page to be at /recipes.
    If you first install this, then whatever you do, bbpress will not be accessible at the recommended & preferred /forums.
    Instead as explained above, if you try to access the forums at /forums, whereas the url remains correct & pointing to /forums, the content of the blog front page is loaded & if I remember well, any latest forum content appears listed as one of the normal blog posts!

    I tried however to uninstall bbpress & disabled all other plugins, including the recipe plugin, then re-installed bbpress. The set up run normally & the forums were accessible at /forums. When I reactivated recipepress reloaded, all its links, including /recipes returned a page not found error. It is only when bbpress is disabled that the recipe pages are accessible again.

    Conclusion: both plugins cannot run together, at least with default settings (?).

    Quite perplexed regarding what to do next since the site has to shortly go online & both the recipe & forum sections are integral partS. I cannot put off the issue any longer.

    In suggestion above, you suggested an alternative solution of using shortcodes.
    I discovered at the that the forum I created, or at least it seemed works independent of the settings on the bbpress settings & admin pages & everything had to be done with shortcodes(?), or is there a possibility of an equivalent central admin area?
    Or am I mistaken?

    Ideally, a solution to the apparent conflict between the 2 plugins would be great, but if it cannot be gotten (any time soon/at all), is there any equally easy way to manage forums created via shortcodes?

    Some further guidance would be very much appreciated.

    Regards

    #155211
    hassebasse
    Participant

    Hi, I havn’t notices your answer earlier.

    I installed bbPress as a try, but when I noteiced that it screwed up the roles I took it away, but to no use, and that is the situation today.

    Configuration:

    4.01
    Responsive by CyberChimps

    Plugins
    Advanced Access Manager
    Aksimet
    Clef (i just took it awy but not differnce)
    Contact Form
    Download Monitor
    Exportez les données utilisateurs.
    Facebook
    FooBox Free Image Lightbox
    iFeature Slider Free
    MailPoet Newsletters
    Photo Gallery
    Responsive Add Ons
    Shortcodes Ultimate
    Spreadsheet
    TablePress
    The Events Calendar
    UpdraftPlus – Backup/Restore
    WP Super Cache

    I am 100%sure that the problems arrived with bbPress.

    Today I am the only with admin rights, but I the user list I am given the role as Keymaster but as said, I am defacto an Administrator.

    NOte that Administrator does not exisit in the list !!!

    For the others, I can give them the roles as keymasters but defacto they rights will not be higher than Editors.

    NOTE that bbPress is not intalled but the roles availbel are (a mix of English and French):

    Keymaster
    Participant
    Moderator
    Blocked
    Spectator
    Abonné (French)
    Contributeur (French)
    Auteur (French)
    Editeur (French)

    Thankful for all help because I really must give the roles as editors to some more peoples.

    Hans

    #155181

    In reply to: Import from vBulletin

    Stephen Edgar
    Keymaster

    1. Custom vBulletin BBCodes are not supported eg. [youtube] – You will have to manually change these yourself either before importing in vBulletin or after importing into bbPress using phpMyAdmin.

    Indeed this is now fixed to work with vBulletin’s default YouTube BBCodes:
    Specifically the two following BBCodes are the only ones supported (many vB forums used to use custom BBCodes and this was primarily the main issue here)

    
    // Replace '[video=youtube;$1]$2[/video]' with '$2"
    // Replace '[video=youtube_share;$1]$2[/video]' with '$2"
    

    For example [video=youtube;eOUq4Z6R7xI]http://www.youtube.com/watch?v=MfW2UJMIQvQ[/video] will be replaced with just the YouTube link http://www.youtube.com/watch?v=MfW2UJMIQvQ, bbPress (and WordPress) will automatically embed the video using the direct URL.

    2. All ‘Ordered Lists’ will be displayed as numerical lists.

    This is also fixed

    3. You may find extra page breaks <br> and paragraph <p> elements in topics and replies and is less than ideal and is from the way the BBCodes are converted during the forum import conversion. You will find these primarily around ‘blockquotes’ and ‘lists’

    This is fixed also 🙂

    #1 If I create the exact bbcodes in BBPress prior to the import, I assume this would rectify this area correct?

    Yes, modify your custom BBCodes to either a) Match the supported vBulletin BBCode above or b) completely strip the vBulletin BBCode so just the YouTube link remains 🙂

    I have updated the codex article and removed quite a few things that were listed there that are now fixed including full support to convert user passwords and the items in red in this image are fixed and/or supported 🙂

    With that said “some” of these features are not in the currently shipped bbPress 2.5.4 such as Forum and Topic subscriptions and guest/anonymous topic and reply support, I’m going to post an announcement here on the site in the coming day or two on the improvements and where and how to get this test release.

    #155031
    SatanicDogooder
    Participant

    Hi those codes worked great on the bbpress forum paage! However they did not translate to the topics section. I added them to my child Css.styles.
    http://satanicdogooder.com/forums/topic/a-good-deed-aric-u/#new-post
    Any idea why the background of these pages did not take to the CSS change?
    Thx,
    The DoGooder

    #154852

    In reply to: Photo in Latest posts

    Icaroferreira
    Participant

    Thank you.

    So, Please, where exactly I should enter these codes above, within my code I have in the folder: loop-single-topic.php

    see:

    <?php

    /**
    * Topics Loop – Single
    *
    * @package bbPress
    * @subpackage Theme
    */

    ?>

    <ul id=”bbp-topic-<?php bbp_topic_id(); ?>” <?php bbp_topic_class(); ?>>

    <li class=”bbp-topic-title”>

    <?php if ( bbp_is_user_home() ) : ?>

    <?php if ( bbp_is_favorites() ) : ?>

    <span class=”bbp-row-actions”>

    <?php do_action( ‘bbp_theme_before_topic_favorites_action’ ); ?>

    <?php bbp_topic_favorite_link( array( ‘before’ => ”, ‘favorite’ => ‘+’, ‘favorited’ => ‘×’ ) ); ?>

    <?php do_action( ‘bbp_theme_after_topic_favorites_action’ ); ?>

    </span>

    <?php elseif ( bbp_is_subscriptions() ) : ?>

    <span class=”bbp-row-actions”>

    <?php do_action( ‘bbp_theme_before_topic_subscription_action’ ); ?>

    <?php bbp_topic_subscription_link( array( ‘before’ => ”, ‘subscribe’ => ‘+’, ‘unsubscribe’ => ‘×’ ) ); ?>

    <?php do_action( ‘bbp_theme_after_topic_subscription_action’ ); ?>

    </span>

    <?php endif; ?>

    <?php endif; ?>

    <?php do_action( ‘bbp_theme_before_topic_title’ ); ?>

    “><?php bbp_topic_title(); ?>

    <?php do_action( ‘bbp_theme_after_topic_title’ ); ?>

    <?php bbp_topic_pagination(); ?>

    <?php do_action( ‘bbp_theme_before_topic_meta’ ); ?>

    <p class=”bbp-topic-meta”>

    <?php do_action( ‘bbp_theme_before_topic_started_by’ ); ?>

    <?php
    if (class_exists(‘userpro_api’)) {
    /* Integrating UserPro */
    global $userpro;
    $link = preg_replace(“/(?<=href=(\”|’))[^\”‘]+(?=(\”|’))/”, $userpro->permalink( bbp_get_topic_author_id() ),
    bbp_get_topic_author_link( array( ‘size’ => 14 ) ) );
    } else {
    $link = bbp_get_topic_author_link( array( ‘size’ => ’14’ ) );
    }
    ?>

    <span class=”bbp-topic-started-by”><?php printf( __( ‘Started by: %1$s’, ‘bbpress’ ), $link ); ?></span>

    <?php do_action( ‘bbp_theme_after_topic_started_by’ ); ?>

    <?php if ( !bbp_is_single_forum() || ( bbp_get_topic_forum_id() !== bbp_get_forum_id() ) ) : ?>

    <?php do_action( ‘bbp_theme_before_topic_started_in’ ); ?>

    <span class=”bbp-topic-started-in”><?php printf( __( ‘in: %2$s‘, ‘bbpress’ ), bbp_get_forum_permalink( bbp_get_topic_forum_id() ), bbp_get_forum_title( bbp_get_topic_forum_id() ) ); ?></span>

    <?php do_action( ‘bbp_theme_after_topic_started_in’ ); ?>

    <?php endif; ?>

    </p>

    <?php do_action( ‘bbp_theme_after_topic_meta’ ); ?>

    <?php bbp_topic_row_actions(); ?>

    <li class=”bbp-topic-voice-count”><?php bbp_topic_voice_count(); ?>

    <li class=”bbp-topic-reply-count”><?php bbp_show_lead_topic() ? bbp_topic_reply_count() : bbp_topic_post_count(); ?>

    <li class=”bbp-topic-freshness”>

    <?php //bbp_topic_freshness_link(); ?>

    <p class=”bbp-topic-meta”>

    <?php do_action( ‘bbp_theme_before_topic_freshness_author’ ); ?>
    <?php
    if (class_exists(‘userpro_api’)) {
    global $userpro;
    $link = preg_replace(“/(?<=href=(\”|’))[^\”‘]+(?=(\”|’))/”, $userpro->permalink( bbp_get_topic_author_id( bbp_get_topic_last_active_id() ) ), bbp_get_author_link( array( ‘post_id’ => bbp_get_topic_last_active_id(), ‘size’ => 30 ) ) );
    } else {
    $link = bbp_get_author_link( array( ‘post_id’ => bbp_get_topic_last_active_id(), ‘size’ => 14 ) );
    }
    ?>

    <span class=”bbp-topic-freshness-author”><?php echo $link; ?></span>

    <?php do_action( ‘bbp_theme_after_topic_freshness_author’ ); ?>

    </p>

    <!– #bbp-topic-<?php bbp_topic_id(); ?> –>

Viewing 25 results - 651 through 675 (of 1,687 total)
Skip to toolbar