Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 12,426 through 12,450 (of 14,299 total)
  • In reply to: EDIT TOPIC in BBPRESS

    @robin-w

    Moderator

    I don’t know either of the two plugins, but essentially I don’t let anyone have access to the backend of my site – it jars with the front end.

    https://codex.bbpress.org/bbpress-user-roles-and-capabilities/

    contains a list of the capabilities, and most restriction plugins should list these, and you hopefully should be able to find or see edit_topics as a capability that you can restrict.

    It may well be that one plugin is conflicting with the other as they both sound like they are trying to do the same job.

    @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.

    @robin-w

    Moderator

    Could be a number of things.

    1. check that you are not present on multiple screens in the same browser, sometimes leaving yourself logged in on one screen whilst logged out on others can do funny things.

    then 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.

    @robin-w

    Moderator

    yes wordpress will overwrite your current site.

    Most host providers allow you to create subdomains, so if you have

    http://www.mysite.com

    your can create

    test.mysite.com

    I’d suggest you create a test site, and install wordpress on there, keeping your existing site as is.

    Then you can create wordpress pages, and copy/paste text and upload pictures to the test site to make it look like (or better than!) your current site.

    When you are happy, you can then wipe your live site, install worpress (your host provider should help you to do this if you don’t know how).

    You can then export and import the pages and posts from your test site to your live site very easily using the built in exporter/importer.

    pic

    @robin-w

    Moderator

    In fact took a look today and done !

    bbp additional shortcodes

    You now have a template of ‘short’ which just does the titles and topics, no search or other stuff.

    see the web for full details on how to do this, but for example

    [bbp-display-topic-index show=’5′ forum=’29’ template=’short’ ]

    @robin-w

    Moderator

    Which file is used to built this ? I hope this is not the same as [bbp-single-forum id=$forum_id] because I need them both.

    No both use functions not files, so they are separate.

    Also a pagination is there now. How could I remove it ?

    That should be quite doable, I’ll take a look in the next few days !

    @robin-w

    Moderator

    just updated this to do a particular forum as well !

    bbp additional shortcodes

    @robin-w

    Moderator

    @crushdg

    I doubt that would be possible.

    This script reverses the logic

    so normally the database would have a list of forums you have manually subscribed to.

    This changes it to have a list of forums you have manually unsubscribed to, thus you are subscribed by default.

    So the code would not work to just have one forum.

    @robin-w

    Moderator

    if you want to get rid of the breadcrumb use

    Layout and functionality – Examples you can use

    what else do you want to achieve?

    @robin-w

    Moderator

    hmm, can you post a link or some screenshots?

    @robin-w

    Moderator

    Not sure why you only want editing in the backend. Indeed I’m not sure why you want anyone to have access to the backend at all, apart from admins !

    However presuming that you actually just want no-one to change their profiles

    You will need to modify
    wp-content/plugins/bbpress/templates/default/bbpress/user-details.php

    make a copy of this file, and put in in a directory called bbpress within your theme, so you end up with
    wp-content/%your-theme-name%/bbpress/user-details.php

    The take out lines 63-69

    <li class="<?php if ( bbp_is_single_user_edit() ) :?>current<?php endif; ?>">
    						<span class="bbp-user-edit-link">
    							<a href="<?php bbp_user_profile_edit_url(); ?>" title="<?php printf( esc_attr__( "Edit %s's Profile", 'bbpress' ), bbp_get_displayed_user_field( 'display_name' ) ); ?>"><?php _e( 'Edit', 'bbpress' ); ?></a>
    						</span>
    					</li>
    
    				<?php endif; ?>
    
    

    This will stop any front end editing

    @robin-w

    Moderator

    this is interesting…

    Your link

    Philosophical Movies – I want them

    only shows that the coder has changed the lines
    ‘You must be logged in to reply to this topic’
    in
    form-reply.php

    form-reply.php is called by

    content.single.topic.php

    on line 44.

    Now you could change line 44, BUT and here’s the issue, we are talking php, which is a pre-processor, so by the time it creates the page, you can’t have a conditional and it has processed, so a ‘click to do reply form’ from this .php is not simple.

    There’s loads on the net about this eg

    http://stackoverflow.com/questions/20738329/how-to-call-a-php-function-on-the-click-of-a-button

    google something like php click link to do function

    All of it talks about using ajax – soemting that is entirely alien to me, and I can’t find an example to use, they all lose me in jargon I don’t know.

    It’s definitely do-able, but I don’t know how !!

    @robin-w

    Moderator

    I’ve just recut my topics shortcode to allow you to do just that

    bbp additional shortcodes

    In reply to: Hide author/admin

    @robin-w

    Moderator

    I think the first fix works. Would you recommend just leaving it, or changing it up.

    if you mean robkk’s suggestion, then if it works leave it.

    Otherwise come back if I have not understood

    In reply to: Hide author/admin

    @robin-w

    Moderator

    @robin-w

    Moderator

    I’m afraid I don’t have time at the moment to do lots of coding for others

    @robin-w

    Moderator

    @cybarmitzvah

    Sorry you and I are on different planets – I duck out of this

    @robin-w

    Moderator

    Apologioes if I’m being thick, but line 29 of bbpress/templates/default/bbpress/form-reply.php says

    <legend><?php printf( __( 'Reply To: %s', 'bbpress' ), bbp_get_topic_title() ); ?></legend>
    

    Is that not the line you want to get rid of/change?

    @robin-w

    Moderator

    @cybarmitzvah

    You seem top be mistaking a product that is free, has cost you nothing and is supported by volunteers for a paid forum which will wrote bespoke code.

    I don’t know what else in your life you get for free, that gives you lightening fast support for free by volunteers who have day jobs, that writes enhancements for you for free – perhaps you can give me an example of ANYTHING that does this for you???

    @robin-w

    Moderator

    you’re welcome !

    In reply to: Comment to Unlock!!

    @robin-w

    Moderator

    @desiamerican26
    sorry but comments relate to posts not forums. Many spammers hide spam in questions !

    So can you describe what you are doing in a forum and what you would like to happen eg

    I create a new topic with a link to http://www.mysite.com
    The I want the following to happen….

    Thanks

    In reply to: Comment to Unlock!!

    @robin-w

    Moderator

    not sure is this is spam or a genuine request for forum help – perhaps you could come back with a more detailed questions related to forums

    In reply to: My impressions so far

    @robin-w

    Moderator

    That’s a pretty selfish way to look at the situation Robin

    Nah, just get a bit tired of people coming on here and whinging that the product is not what they want, and how bad everyone who is involved must be to not have written for free an all signing all dancing forum 🙂

    In reply to: My impressions so far

    @robin-w

    Moderator

    I do hope that BBPress will eventually cater to everyone’s needs

    I do hope it won’t 🙂

    bbpress suits many many thousands of forum providers, by being simple and easy, which is what many want.

    Complex forums with loads of features that I’ll never use is not what I’m after. There are lots of bb’s out there for those that want all signing all dancing, and just as wordpress is not for all, so is bbpress.

    @robin-w

    Moderator

    glad you’re fixed, but sorry can’t answer php question but would be very surprised if wosdpress/bbpress had any reliance on older php versions

Viewing 25 replies - 12,426 through 12,450 (of 14,299 total)