Clivesmith (@clivesmith)

Forum Replies Created

Viewing 25 replies - 26 through 50 (of 110 total)
  • @clivesmith

    Participant

    I have added


    @media
    only screen and (max-width: 600px) {
    #new-topic-0.bbp-topic-form, .bbp-reply-form {
    width: 80%;
    }
    }

    back into to my style.css seems to have sorted it, but still leaves my reply to topic form over the edge of the screen on the mobile

    @clivesmith

    Participant

    Brilliant !! thank you, works perfectly 🙂 🙂

    @clivesmith

    Participant

    That’s it, great thank you.

    @clivesmith

    Participant

    yes I have bbress moderation tools by digital arm

    @clivesmith

    Participant

    I have tried it on my live site but I still just get the same as before, I will leave it there if you would like to try

    @clivesmith

    Participant

    I ran your code on my development site as a guest and it does not work it returns the same as on the live site as a guest.
    As I am the only member, I only moderate guests.

    @clivesmith

    Participant

    Just realized that even without your code it comes back as /topic/adelaide-airport-adl/?moderation_pending=7608 never noticed that before

    @clivesmith

    Participant

    Thanks, I am more than happy for it to work that way there is no missing what is happening which you can get with a small banner and it will give me chance to customize the page they go to.

    @clivesmith

    Participant

    Hi Robin,
    Thank you, I would like to echo Chuckle’s comment, you are really appreciated.

    The code above returns me to the topic page with address as /topic/ministro-pistarini-ezeiza-international-airport-eze/?moderation_pending=7364

    I added a { to the function line of the code above. I assume I did not need the original code as well.

    @clivesmith

    Participant

    OK thanks.

    @clivesmith

    Participant

    Hi Robin,

    Should this work for guests posters as well as members ?

    Clive

    @clivesmith

    Participant

    Has this thread gone off topic?
    The problem is that when a reply is sent and it goes to moderation it does not return a message to the user saying why the user cannot see their message.
    I don’t understand where url’s come into that. If the reply is just a simple “hello” where is the url ?

    In reply to: writing to contents

    @clivesmith

    Participant

    Just to update, all seems to be working so I thought I would share this. I am sure the coding is bad but it works !!
    I am the only one that can create topics, I moderate all replies and want to add to the end of each reply ‘#plasticfree’ and a custom metadata value for each topic that I put in when I create a topic.
    This means that the hashtag and twitter name goes out with the RSS feed to tiwtter etc.
    Thank you Robin for all your help.

    /***   
    To add #plasticfree and twitter name to reply
    ***/
    
    function waa_content( $content, $post_id ){
    	// get the topic id 		
    	$post_id = get_the_ID();
    	$reply_topic_id = bbp_get_reply_topic_id( $post_id );
    	// get value from table
        $twitname = get_post_meta( $reply_topic_id, 'bbp_twitname', true );
    	$twithash = '#plasticfree';
    
    	$post = get_post($id);
    
    if ($post->post_type =='reply'){
    $pos = strpos($content, '#plasticfree');
    
        if ($pos == false) {
    		$content .= '<br>'. $twithash .' ' .$twitname;
        } 
    }
    	return $content;
    }
    add_filter( 'content_edit_pre', 'waa_content', 10, 2 );
    
    In reply to: writing to contents

    @clivesmith

    Participant

    oops must have got the IF wrong, does not work with that

    In reply to: writing to contents

    @clivesmith

    Participant

    Many Thanks Robin

    I added $ to content on line 5 and it works but it also works on topics and forums, I will add a
    if ($post->post_type ==’reply’){

    around it, thanks again

    Clive

    In reply to: writing to contents

    @clivesmith

    Participant

    In dashboard I see in “all replies” a pending reply.
    When I click on edit, in the reply attributes box the status is Pending
    I have a publish button

    (this is when at the moment I add my text to the contents)

    When I publish the Status changes to Publish and the button changes to update

    In reply to: writing to contents

    @clivesmith

    Participant

    Sorry I lied, just found I do have a plugin bbpress moderation tools by digital arm

    In reply to: writing to contents

    @clivesmith

    Participant

    No, if I remember rightly, it is set up under settings / discussions to allow anyone to post comments and all go to moderation, no-one can join so all replies are all

    In reply to: writing to contents

    @clivesmith

    Participant

    Hi Robin,

    Thank you, if I add that to my functions file, it adds it to a new reply perfectly if I as admin create that new reply.
    But it does not work if a guest replies (it is normal for my replies to be from guests) all replies go to moderation and at the moment, before I approve the reply by publishing I add test at the end of each content. It is when I click publish that I want it to add the text.

    Regards

    Clive

    In reply to: Split up my Tags page

    @clivesmith

    Participant

    Thanks again, I have increased the size of the font but that is all.

    Regards

    Clive

    In reply to: Split up my Tags page

    @clivesmith

    Participant

    That is great, thank you very much, I have put it on my development site and it is exactly what I wanted. I have a few changes to make on something else on my live site and I will add it as soon as I have finished.
    Thanks again.
    Clive

    In reply to: Split up my Tags page

    @clivesmith

    Participant

    Hi,

    Yes, that is the sort of thing I want.

    In reply to: Split up my Tags page

    @clivesmith

    Participant

    That sounds a great idea, not sure how to do it, as you can see from above I can get all the tags but I don’t know how to add a filter.

    @clivesmith

    Participant

    Hi Nick,

    Thanks, but I assume this relates to divi themes, I am running twenty twelve.

    Clive

    @clivesmith

    Participant

    Hi Nick,
    No not solved it yet

    Clive

Viewing 25 replies - 26 through 50 (of 110 total)