Robin W (@robin-w)

Forum Replies Created

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

    Moderator
    In reply to: Custom Fields

    @robin-w

    Moderator

    ok, you’d do it with a metabox in the backend topic and reply custom post types

    this should get you started

    Creating Custom Post Meta Boxes in WordPress

    @robin-w

    Moderator

    cannot see the Trash Admin Link referenced for deleting topics from the frontend.

    when you are in a topic or reply, if the admin hovers the mouse in the content part a series of admin options (admin links) appear typically edit|move|split|trash|spam| the ‘trash’ is the ‘trash admin link’ referred to

    @robin-w

    Moderator

    I can’t immediately think of any existing code.

    Option 1 is the quick answer, but more manual.

    It could be coded, a simple way would be to stop replies on the front end if a reply didn’t exist unless an admin.

    you would need to amend form-reply.php – do you

    1. have a child theme and
    2. know how to ftp files to and from your PC?

    If so contact me via my website

    http://www.rewweb.co.uk

    @robin-w

    Moderator

    lots of ways to do this, you might want to have a think about the best for you

    I have a plugin called

    Private groups

    which lets you set up groups and may be the best solution

    alternately

    if you are able to ftp and edit files the message is held in

    wp-content/plugins/bbpress/templates/default/bbpress/feedback-no-forums.php

    so

    create a directory on your theme called ‘bbpress’
    ie wp-content/themes/%your-theme-name%/bbpress

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

    find
    wp-content/plugins/bbpress/templates/default/bbpress/feedback-no-forums.php
    Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
    wp-content/themes/%your-theme-name%/bbpress/feedback-no-forums.php
    bbPress will now use this template instead of the original
    and you can amend this

    so go into it and amend the message to what you desire.

    You could instead put this in your functions file or put it in a code plugin such as

    PHP code snippets (Insert PHP)

    function rew_change_text( $translated_text, $text, $domain ) {
    	if ( $text == 'Oh bother! No forums were found here!' ) {
    	$translated_text = 'whatever you want it to say in here!' ;
    	}
    	return $translated_text;
    }
    
    add_filter( 'gettext', 'rew_change_text', 20, 3 );
    
    In reply to: phpBB import (again)

    @robin-w

    Moderator

    ow !

    @robin-w

    Moderator

    yes crack that code open it is in includes/widgets, you should find a good place to filter – probably change 159-161 – set the ‘post_parent__in’ to the forum of the current buddypress group, and the settings in the widget will be ignored.

    In reply to: Custom Fields

    @robin-w

    Moderator

    are these tags the same for every reply?

    In reply to: phpBB import (again)

    @robin-w

    Moderator

    sorry, I know nothing of imports, so can’t help.

    Unfortunately open foundation software relies on either the authors or users (such as myself) to support for free. I try and help as much as I can.

    What I would ask though, is that if you fix it then

    1. post the solutions(s) here to help others
    2. Dip in once a month/quarterly/once on a blue moon to see if you can help someone else – after all it is someone else’s help you are now seeking.

    @robin-w

    Moderator

    If I understand it, my ‘recent activity widget’ does that

    you can find it in

    bbp style pack

    once activated you’ll find a new widget called

    (style pack) latest activity

    @robin-w

    Moderator

    great – glad you are fixed

    @robin-w

    Moderator

    ok, do let us know how you get on

    @robin-w

    Moderator

    not tested as going out soon, but this should work

    add_action ( 'bbp_new_topic', 'myprefix_assign_tag_to_post', 10, 4 );
    add_action ( 'bbp_edit_topic', 'myprefix_assign_tag_to_post', 10, 4 );
    
    function myprefix_assign_tag_to_post($topic_id, $forum_id, $anonymous_data, $topic_author) {
    if( $forum_id == '168'  && bbp_current_user_can_publish_topics() ) {
    	wp_set_post_terms( $topic_id, 'introductions', 'topic-tag', true );
    }
    
    elseif($forum_id == '1343' && bbp_current_user_can_publish_topics() ) {
    		wp_set_post_terms( $topic_id, 'discovery', 'topic-tag', true );
    
    }
    }

    @robin-w

    Moderator

    what is this ‘link’ ? please clarify – what link are you talking about?

    @robin-w

    Moderator

    @domeboys I have remove the error code as it looked like it contained the card details of one of your customers.

    I can only repeat that you had a working site a week or so ago, and something changed to create the issues you have now. bbpress has not changed, but something has caused an error.

    This could be down to many issues, including updates you have done, or database corruption.

    I appreciate that you are feeling very frustrated.

    In your position, I would be asking HostGator to revert my site to before the issue and see if that fixes. I would also suggest you turn on debug to see if that reveals a site error.

    bbpress runs on over 300,000 websites worldwide, but there are infinite combinations of themes, plugins and data that make it impossible to say that bbpress will work in all circumstances, but the fact that your was, should mean that it could be again.

    I wish you luck in resolving.

    @robin-w

    Moderator

    @robin-w

    Moderator

    no problem

    @robin-w

    Moderator

    @haddly I can’t see any easy way to reassign content, given that you have already assigned it to yourself

    @robin-w

    Moderator

    There is no standard

    I just set up a user called ‘deleted user’ with a fictitious email address, and assign content to that

    @robin-w

    Moderator

    @frendeliko https://bbpress.trac.wordpress.org/ticket/3198

    it is sitting waiting for 2.5.15 or 2.6

    @robin-w

    Moderator

    great – glad you are fixed

    @robin-w

    Moderator

    no problem, glad you are fixed

    @robin-w

    Moderator

    this seems to be some custom code the function vvd is not a bbpress one. I presume you have added this to your functions file, or a plugin has it ?

    I googled and got this thread where the snippet is mentioned

    http://bbpress37.rssing.com/chan-7465926/all_p128.html

    function vvd_no_view_ip( $author_ip, $r, $args ){
    	return __return_empty_string();
    }
    add_filter('bbp_get_author_ip','vvd_no_view_ip', 10, 3 );

    is this the code you are using ?

    @robin-w

    Moderator

    subscribing to a forum just gets you notifications of new topics, you then need to subscribe to the topic to get replies.

    This plugin changes that so you are automatically subscribed.

    topic subscribe

    @robin-w

    Moderator

    ok, this is beyond any help I can give – sorry but it is a bit like asking me to fix your car by email.

    What I would say is that a week ago you had a fully working site. You/HostGator changed something and now it is not working. It is that change that caused the issue, and where you should look for a resolution.

    Reverting back to a copy of your site before the problems would seem a logical first step.

Viewing 25 replies - 7,526 through 7,550 (of 14,260 total)