Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'codes'

Viewing 25 results - 576 through 600 (of 1,687 total)
  • Author
    Search Results
  • #161597
    Estellka
    Participant

    Hello everyone,
    first, I would like to apologize if my writting is not very good, but I’m french and I’m not used in english phrases. And that’s why I dont’ understand some explainations on the blog. so please be soft with me.

    I would like to create a page wich gives a view of the last replies of my forum. I tried to create a new page with the short code [bbp-single-view id="last-replies"] but it does’n work when I clik on that page I have a notice “Aucun sujet n’a été trouvé ici!” which means “no topic has been found here!”

    I have others questions about short-codes meaning, but I’m going to ask it in another topics.

    thanks for your answers.

    here my forum: http://revonssavons.fr/WordPress/forums/Forum/accueil/

    #161410

    In reply to: having problem

    Robin W
    Moderator

    bbpress uses wordpress registration and assigns the default role set in settings>forums upon first user login.

    so any wordpress registration will work

    bbpress has a shortcodes

    [bbp-login] – Display the login screen.
    [bbp-register] – Display the register screen.

    or you can use sidebar widgets also

    #161346
    Robkk
    Moderator

    what is your full function of echoing the shortcode and where are you putting it??

    in an actual page you would not need to echo a shortcode you would just place it.

    you echo shortcodes in templates if you want though.

    #161065
    Robkk
    Moderator

    @snecz

    i gave you two shortcodes for each instead

    place the two functions into your child themes functions.php or add the snippets to a functionality plugin.

    [bbp-topic-stats]

    function rk_bbp_topic_stats() {
        $stats = bbp_get_statistics();
        echo "<dl role='main'><dt>Topics</dt><dd><strong>";
        echo esc_html( $stats['topic_count'] );
        echo "</strong></dd></dl>";
    }
    
    add_shortcode('bbp-topic-stats', 'rk_bbp_topic_stats'); 

    [bbp-reply-stats]

    function rk_bbp_reply_stats() {
        $stats = bbp_get_statistics();
        echo "<dl role='main'><dt>Replies</dt><dd><strong>";
        echo esc_html( $stats['reply_count'] );
        echo "</strong></dd></dl>";
    }
    
    add_shortcode('bbp-reply-stats', 'rk_bbp_reply_stats');  
    #161004
    Robkk
    Moderator

    @katootje Robin forgot he already had this type of functionality in one of his other plugins.

    bbp additional shortcodes

    #160912
    Robin W
    Moderator

    ok, so is it the same with plugins disabled and default theme as per

    Before Posting

    and how is your forums page constructed – eg shortcodes, bbpress.php file etc.

    katootje
    Participant

    I am looking for a shortcode or code (so I can make my own shortcode) to add the latest x topics from a specific forum. Like the recent topic widgets does. But in this case I can’t use the widget – so I am looking for a code to get the output of that widget somewhere in the text. I hope that is possible. I looked at the shortcodes on the website, but none of them is useful in my case.
    It needs to say show x recent topics of forum with ID=… and then only give the titles with link

    #160834
    Robin W
    Moderator

    either install this

    https://wordpress.org/support/plugin/bbp-style-pack

    or if you’re into php/css, download the plugin and crack open /css/styles.php which has the codes documented within it

    #160636
    jayd94
    Participant

    I tried with twentyfifteen and it still looks the same. Im not sure if i understand it clearly, but if yes, then: If i set it not equal then in the breadcrump it will show the bbpress’s virtual page for the forum root-and in the url also, and not my real wordpress forum page i created with shortcodes.

    #160632
    jayd94
    Participant

    yes, like so shortcodes

    And this is how it looks on the page now page view

    But setting the forum root to be the wordpress page clearly makes the problem, before it looks just perfect.
    (down below if images dont appear)

    #160631
    Robin W
    Moderator

    i have my forum built up by [bbp-single-forum id=xxx]-shortcodes

    and these are one under each other in the forum name page?

    #160628
    jayd94
    Participant

    Yes exactly, forum named page with the slug foforum, but on the page i dont have any [bbp-forum-index], i have my forum built up by [bbp-single-forum id=xxx]-shortcodes-tho momentally because of the break these shortcodes gives the result as if i had [bbp-forum-index] instead of [bbp-single-forum id=xxx]. so if i have 3 of [bbp-single-forum id=xxx] shortocdes under eachother, then it results as if i had 3 of [bbp-forum-index] shortcodes.

    #160626
    jayd94
    Participant

    Sorry if i wasn’t clear. So my problem basically is: BBpress has the forum root option, that i set the same as my wp page’s slug. It works, forum is shown on the wordpress page, and the url is okay, and the breadcrump is also okay.–>but setting the root to show forum on my wp page also breaks my [bbp-single-forum id=xxx]-shortcodes—-it seems to now show up on the page as if it was this shortcode:[bbp-forum-index] instead of each and every one of my[bbp-single-forum id=xxx] shortcodes.

    #160604
    jayd94
    Participant

    [bbp-single-forum id=460] im using this momentally, but i`ve tried more codes that did the same.
    The link works good as i rewrote the forum root to the wp page`s slug-http://rohamjelvenyek.com/foforum/kategoriak/altalanos/regi-penzek-foruma-az-okortol-napjainkig/

    #160592
    jayd94
    Participant

    Hello!
    My problem is :
    I set my forum root matching with the wp page slug i created for main forum page, named it: ´foforum`.

    It works, the root is now the wp page, but it breaks all the bbp shortcodes that i am using on the page, it seems to display forum index instead of each single forum displayed, so everywhere there is [bbp-single-forum id=xxx], it shows all the forums-as ifd it was the forum index shortcode.
    Thanks,
    Daniel

    #160585
    jayd94
    Participant

    hey!
    It wokrs for me also, root is good, but it somehow breaks my shortcodes, instead of displaying single forum, all my single forum shortcode shows forum index shortcode.

    #160434
    Chad R. Schulz
    Participant

    I’m building a discussion board site that won’t use the standard bbpress forum interface. Forums will be embedded in individual post/pages with shortcodes. And all forum-type URLs will redirect to the appropriate post/page.

    So no one will have access to the normal forum structure/hierarchy. Will I still need to create categories/sub-categories/forums for the individual forums?

    This site may eventually have hundreds of forums and I’m looking to provide the best possible performance.

    Any help welcome, Thanks.
    Chad

    #160128
    64scramble
    Participant

    As the title says, moderators of our forum can’t edit any posts, not even their own. When they try, they get:

    Reply To: Uneducated game shop staff

    Welcome to Grownups Gaming › Forums › Grownups Gaming › PC Gaming › Uneducated game shop staff › Reply To: Uneducated game shop staff Reply To: Uneducated game shop staff You can use BBCodes to format your content. It’s just a test, a game for us to play Add / Edit SignatureUpdate Signature Tags: Notify…

    Continue Reading

    The Feed Them Social Plugin offers system info as follows:
    Feed Them Social plugin version 1.7.3
    WordPress version WP 4.1.1
    Installed plugins
    Advanced Custom Fields by Elliot Condon version 4.4.1,
    bbPress Notices by Pippin Williamson version 1.0.1,
    bbPress – Report Content by Josh Eaton version 1.0.5,
    bbPress WP Tweaks by veppa version 1.3.1,
    bbPress by The bbPress Community version 2.5.6,
    Better bbPress Signature by Arun Singh version 1.2.0,
    BP Registration Options by Brian Messenlehner and Michael Beckwith of WebDevStudios, Jibbius version 4.2.5,
    BuddyPress by The BuddyPress Community version 2.2.1,
    Export User Data by Q Studio version 1.2.0,
    Feed Them Social (Facebook, Instagram, Twitter, etc) by SlickRemix version 1.7.3,
    GD bbPress Tools by Milan Petrovic version 1.7,
    Invite Anyone by Boone Gorges version 1.3.7,
    Quick Chat by Marko Martinović version 4.13,
    Simple eCommerce by Niaz Showket version 2.2.3,
    Twitch TV Embed Suite by Plumeria Web Design version 2.0.7,
    Twitter by Twitter version 1.0.1,
    WP Hide Admin Bar by Web Outsourcing Team version 2.0,
    WP Mobile Edition by Fabrix DoRoMo version 2.2.5

    Server Environment
    PHP Version 5.5.20
    Server Software Apache/2.4.9 (Unix)
    WP Max Upload Size 64 MB
    WP Debug Mode No
    fsockopen fsockopen is ON
    cURL cURL is installed on this server

    The website is http://www.grownupsgaming.net

    If you need access to the Forum, or anywhere else on the site, email me and I will give you the test login I’ve been using. I’ve tried all combinations of site permissions with forum moderator, but all get the same result.

    Thanks in advance

    #159971
    Robkk
    Moderator

    they use the regular WordPress registration

    which is http://example.com/wp-login.php?action=register

    or you can put the bbPress shortcode [bbp-register] into a page for a frontend form

    here is the rest of the supplied shortcodes

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

    #159897
    Robkk
    Moderator

    why did you use echo do shortcode on these two lines , they are not shortcodes , its just header text.

    <?php if (!is_user_logged_in()) echo do_shortcode ('<h2 class="mve-form-title">Zo te zien is hierover nog niets geschreven...<br><br>Geregistreerde leden kunnen een vraag stellen aan de community.</h2>') ; ?>

    <?php if (is_user_logged_in()) echo do_shortcode ('<h2 class="mve-form-title">Zo te zien is hierover nog niets geschreven. Stel je vraag aan de community.</h2>') ; ?>

    but the topic you lead to there was a fix , i just edited for your search results page.

    i did test everything out , saw the issue , and resolved it with this function.

    add_filter( 'bbp_current_user_can_access_create_topic_form', 'custom_bbp_access_topic_form' );
    function custom_bbp_access_topic_form( $retval ) {
    
    	if ( bbp_is_search_results() ) {
    		$retval = bbp_current_user_can_publish_topics();
    	}
    
    	return $retval;
    
    }
    #159890

    In reply to: couple of questions

    Robkk
    Moderator

    you have a link to your dissuasion board already in your menu

    i mean if you didnt put the shortcode into that page already , the forums should show up every time you hit it.

    use this shortcode

    [bbp-forum-index]

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

    other than putting the shortcode

    usually when visiting a site the forums archive is usually yoursite.com/forums.

    so use the links part in the menus section and add a custom link

    #159888
    Robkk
    Moderator

    here is the list of all bbPress shortcodes

    codex.bbpress.org/shortcodes/

    you could develop/hire a developer to use something like this

    <?php wp_get_current_user(); ?>

    codex.wordpress.org/Function_Reference/wp_get_current_user

    an alternative would be to use #3

    codex.bbpress.org/layout-and-functionality-examples-you-can-use/

    #159879
    Robkk
    Moderator

    there is a topic form shortcode which is listed here, it does as you describe.

    [bbp-topic-form]

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

    for the button , search through the forums im sure ive said this before

    its somewhere in this topic

    How to make similar bbpress forum to QuicSprout one?

    #159839
    sharlene_c
    Participant

    Like Dropbox https://www.dropboxforum.com/hc/communities/public/questions
    we would like to include a button at top right of forum page to post a question or idea.

    Topic options would be provided as a dropdown list for the user to select from.

    The user would provide title of question or idea and more details if required.
    Title and topic would be required fields, more details would be optional.

    Like this: https://www.dropboxforum.com/hc/communities/public/questions/new

    Is this possible with shortcodes or can some tell me how to accomplish this. Our wordpress version 4.1.1 and bbPress version is 2.5.6

    Thanking you in advance for any help

    #159812
    Robkk
    Moderator

    @drsarf

    sorry i forgot about your topic

    in page is kind of hard to do since there is usually multiple forums.

    the only thing i can think of is maybe outputting the shortcode in a template

    like so <?php echo do_shortcode("[shortcode]"); ?>

    but then since there is multiple forums you will need multiple shortcodes for each slider.

    which would require you to use a bunch of if statements for each forum.

    i suggest go to http://jobs.wordpress.net/ and see if a developer can do this for you.

Viewing 25 results - 576 through 600 (of 1,687 total)
Skip to toolbar