Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 12,526 through 12,550 (of 14,219 total)
  • @robin-w

    Moderator

    Thanks for posting this, I’ll raise a trac ticket when I get a moment

    @robin-w

    Moderator

    hmmm… presume if you turn off s2member for a moment it’s all fine?

    If so, the sorry this is an s2 member issue, and unless someone else with s2 member knowledge steps in, you should raise it with them.

    @robin-w

    Moderator

    glad you like it – I’ve done a small amendment – download it again

    Shortened search Results

    @robin-w

    Moderator

    @robkk – help out all you like 🙂 🙂

    In reply to: User Groups and Forums

    @robin-w

    Moderator

    user belong to a single group
    forums can belong to multiple groups

    so a user can have multiple forums, and you can build users into any that you want

    @robin-w

    Moderator

    Ok, I’ve put the three files that I’ve amended on my site, and you can download them from there

    You may want to play with the final layout.

    Come back if you need further help !

    Shortened search Results

    @robin-w

    Moderator

    can you explain further?

    Do you have the changes but all over the site, or do you not have the changes anywhere?

    @robin-w

    Moderator

    great – glad you’re fixed for this one.

    Don’t forget to close off your questions in the stargazer support forum, so that the author doesn’t waste time trying to answer them !

    @robin-w

    Moderator

    ok, so do you want this on just the main index, or on each category or all forums?

    this gets increasingly complicated, as then I’d presume you’d want only the most popular and my posts to only relate to the forum shown ?

    just on the main index I could probably show you, the rest would probably be beyond free help !

    @robin-w

    Moderator

    no problem !

    @robin-w

    Moderator

    ok so if your code savvy, two approaches

    1. the hack

    I haven’t tried this, but it should work fine

    go into

    wp-content/plugins/bbpress/includes/common/shortcodes.php

    and look at line

    355 which says

    bbp_get_template_part( 'content', 'single-topic' );
    

    change that to

    bbp_get_template_part( 'content', 'single-topicb' );
    
    

    That will then get bbpress looking for a php file called ‘content-single-topicb.php’

    so then you can use the method in my first post to create that file in your theme ie as per first post, but just rename the file with a b at the end.

    YOU WILL need to change this each time bbpress upgrades as it will overwrite – hence why it is the hack ! But that’s hardly difficult !

    2. the proper way

    Would be to create your own version of the shortcode, by copying all that particular shortcode into your themes functions file, BUT renaming it (or you’ll get already loaded errors), and then lots of editing to get it to work.

    Personally I’d go route 1, and just make a note to change that file each time bbpress upgrades

    @robin-w

    Moderator

    Ideally I would show them above the bhp-header li

    Can you gibe a link page and say where on it you would like it to go

    @robin-w

    Moderator

    ok, I’ve worked out that error

    You have two issues

    1. the code is slightly wrong, I’ve corrected it in the documentation, but you need to change your line 168 from

    function add_new roles( $bbp_roles )
    

    to

    function add_new_roles( $bbp_roles )

    ie an underline between ‘new’ and ‘roles’

    BUT MORE IMPORTANTLY

    2. you have now put the code in a core functions file of bbpress, and it cannot run there as it calls code that has not yet been loaded.

    The code needs to go into your THEME’s functions.php file, not any functions file with the PLUGIN bbpress.

    Please read again

    Functions files and child themes – explained !

    @robin-w

    Moderator

    [ignore this post]

    @robin-w

    Moderator

    ok the template you are after is

    wp-content/bbpress/templates/default/bbpress/content-single-topic.php

    this will alter it wherever this template is used.

    make a copy of this template and put it in a directory called bbpress in the root of your theme, so you end up with

    wp-content/themes/%your-theme-name%/bbpress/content-single-topic.php

    where %your-theme-name% is the name of your theme

    Then modify this file

    to remove breadcrumbs take out line 14 which says

    <?php bbp_breadcrumb(); ?>

    then move line 44 (will probably be line 43 if you’ve taken out then breadcrumb!) which says

    <?php bbp_get_template_part( 'form', 'reply' ); ?>
    
    

    You may need to play with where to put it 9i haven’t tried it) , but after lines 21 & 22

    <?php bbp_get_template_part( 'form', 'protected' ); ?>
    
    	<?php else : ?>
    

    looks a good start, if not just keep moving it til you get what you want.

    If you only want it to look like this for the shortcode, then that is doable but a lot more complicated !

    @robin-w

    Moderator

    where would you like to show these?

    @robin-w

    Moderator

    ok, not sure if you meant get back the stuff about the author etc, or rthe width of the copyright or both !

    So I’ve put a copy on my website, as like you copying form here seems to lose bits.

    If you don’t want the about author bit, then take out the line 52 as shown in the file

    Hopefully we are there now, but come back if not !

    @robin-w

    Moderator

    You might be able to so something with multi-site, but beyond my knowledge

    I’d just install wordpress and my theme in the sub-domain and add the bbress plugin, and have maybe a coupe of menu items, eg forums and login

    @robin-w

    Moderator

    what do you want in your summary from this list

    topic/reply author
    avatar
    role
    link to user profile
    title
    content
    link to other replies

    @robin-w

    Moderator

    not that easy of the top of my head, I’ll try and take a look when I get a chance, but may be a while !

    @robin-w

    Moderator

    Best way to find out if it is their plugin is to deactivate it and do a test post to see if that goes through.

    Email is at best a shaky medium, and many things from host provider, server, links, wordpress, plugins and just plain complexity can make something that worked stop. Switch it off and on again can fix quite a lot, so even deactivating a plugin and reactivating it can fix.

    good luck !

    @robin-w

    Moderator

    Don’t know ay plugin that restricts wordpress based on bbpress roles.

    I use the plugin ‘restrict content’ to limit wordpress pages and then my plugin ‘bbp private groups’ to limit forum access.

    On one site I then use manual registration to give users wordpress ‘subscriber’ and bbpress ‘participant’ roles, and on another automatic registration that does the same

    In reply to: User Groups and Forums

    @robin-w

    Moderator

    do come back and let us know if it worked for you !

    @robin-w

    Moderator

    presume you’ve put a support call in their forum?

    @robin-w

    Moderator

    Can’t you just go into

    Dashboard>replies and work through that, or am I missing something?

Viewing 25 replies - 12,526 through 12,550 (of 14,219 total)