Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 11,726 through 11,750 (of 14,270 total)
  • @robin-w

    Moderator

    ok, the post count is being out in by something called the bbps ranking system

    the line in the browser comes out as

    <div class=”bbps-post-count”>Post count: 0</div>

    The only reference I can find to this is in this topic

    (CSS Review Needed) Switching poster picture and link to UserPro

    where the plugin author talks about adding different bbpress templates, which add this line – in the example in the link above it shows as

    <div class="bbps-post-count"><?php printf( __( 'Post count: %s', 'Avada' ), bbp_get_user_reply_count_raw(bbp_get_reply_author_id()) ); ?></div>
    
    

    which of course references the avada theme !!!

    If Avada hasn’t asked you to change bbpress files, then I suspect that they might be using the same hook I use to make this appear – suggest you refer Avada back to this post, and ask then if they have a hook to

    do_action (‘bbp_theme_after_reply_author_details’) or can explain why that line appears

    @robin-w

    Moderator

    no it isn’t a default, I have a plugin that does this

    https://wordpress.org/plugins/bbp-topic-count/

    what other plugins are you using?

    @robin-w

    Moderator

    @j0n4h – what are you using to show the post count?

    @robin-w

    Moderator

    sorry what does that mean?

    @robin-w

    Moderator

    and…..?????

    @robin-w

    Moderator

    ok, can’t immediately see what it is unhappy with

    need to work out if it is position or what I added

    try

    moving it to where it was
    putting the previous code into the new position

    that should tell us which

    @robin-w

    Moderator

    can you post lines 108-114 here please

    @robin-w

    Moderator

    Nota stupid question

    Essentially you set up registration using super socializer.

    Then in dashboard>settings>forums

    make sure anonymous posting is not ticked, and auto role is ticked and set to participant

    Users will then register for your site, and the first time users log on they are given participant access to the forums.
    Make sure your forums are set to visibility open, and non-logged in users can see, but only logged in users can write, which achieves all you want.

    @robin-w

    Moderator

    @robin-w

    Moderator

    ok, I’d do two things

    1. move the code to above </form> line
    2. Try it with the following to force bbpress to take the id

    <p class=”bbp-user-topic-count”><?php printf( __( ‘Topics Started: %s’, ‘bbpress’ ), bbp_get_user_topic_count_raw($user_id) ); ?></p>
     <p class=”bbp-user-reply-count”><?php printf( __( ‘Replies Created: %s’, ‘bbpress’ ), bbp_get_user_reply_count_raw($user_id) ); ?></p>

    `

    @robin-w

    Moderator

    It could be a theme or plugin issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentytwelve, and see if this fixes.

    then come back

    @robin-w

    Moderator

    ok, many try and get links here by posing questions !

    It could be a theme or plugin issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentytwelve, and see if this fixes.

    then come back

    @robin-w

    Moderator

    can you post the view.php template with your added code here please

    @robin-w

    Moderator

    This just goes to a domain selling company.

    either this is spam, or come back with a working link

    In reply to: BBPress

    @robin-w

    Moderator

    ok, it is just a warning – see https://bbpress.trac.wordpress.org/ticket/2309

    @robin-w

    Moderator

    ok, the function needs the existence of a variable called $user_id (being the wordpress usreid of the profile user.

    How/where are you adding this code?

    In reply to: BBPress

    @robin-w

    Moderator

    so you have the fault with just bbpress as the only plugin and a default theme?

    @robin-w

    Moderator

    That is what the original code does in profile – what happens when you click the links?

    @robin-w

    Moderator

    bbpress works with 4.1

    Do you still have an issue?

    In reply to: New Topic/Reply button

    @robin-w

    Moderator

    you can call the page using an html button

    Just get the permalink for the new topic page (at the top of the dit screen for that page)

    the where you want it put

    <button type="button" onclick="window.location.href='http://www.mysite.com/page1'">Read More</button>
    

    with the correct url

    @robin-w

    Moderator

    the code that profile uses is

    <p class="bbp-user-topic-count"><?php printf( __( 'Topics Started: %s',  'bbpress' ), bbp_get_user_topic_count_raw() ); ?></p>
    			<p class="bbp-user-reply-count"><?php printf( __( 'Replies Created: %s', 'bbpress' ), bbp_get_user_reply_count_raw() ); ?></p>

    The function is expecting the profile user to be in a variable called $user_id

    Suggest you refer to the userpro support site for how to integrate this

    In reply to: BBPress

    @robin-w

    Moderator

    It is probably a theme or plugin issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentytwelve, and see if this fixes.

    In reply to: Question & Answer

    @robin-w

    Moderator

    Not quite sure what you are asking – these seem incompatible plugins, so suspect the answer is no

    In reply to: ssl

    @robin-w

    Moderator

    great – glad you’re fixed !

    @robin-w

    Moderator

    yes.

    First you’ll need to know the topic number of the topic you want to move it to :

    this is normally on the top right of the topic when displaying or

    Dashboard>topics>all topics and hover over edit of the topic, and you’ll see the url of the topic in the bottom left of your screen, with the post number

    then

    Dashboard>replies>all replies and go into edit for the reply you wish to move

    On the right hand side you’ll see the topic number, change this to the desired topic number

Viewing 25 replies - 11,726 through 11,750 (of 14,270 total)