Robkk (@robkk)

Forum Replies Created

Viewing 25 replies - 3,551 through 3,575 (of 3,784 total)
  • In reply to: Text Color and Font

    Robkk
    Moderator

    @robkk

    but then the emoticon don’t show up. Well, emoticon is the least of the worries….please help me figure out how to get normal users HTML access so that they won’t get this issue.

    i dont have any clue what could cause a problem with your emoticons, maybe your other emoticon plugin is causing issues, deactivate it see if it fixes that.

    Yes sir, it do look like it’s restricted to to normal users. I just posted from the admin side and it works well

    ok now your going to have to allow certain html tags, other than just allowing html to everyone. people might abuse that and add something malicious to your site.

    heres a good topic to read about this. https://bbpress.org/forums/topic/allow-html-from-users/

    heres a function that allows the common html tags already in bbpress.

    you can take it from here , or until someone else helps you on this, i have no idea how to do this haha .

    add_filter( 'bbp_kses_allowed_tags', 'ntwb_bbpress_custom_kses_allowed_tags' );
     
    function ntwb_bbpress_custom_kses_allowed_tags() {
    	return array(
     
    		// Links
    		'a'          => array(
    			'class'    => true,
    			'href'     => true,
    			'title'    => true,
    			'rel'      => true,
    			'class'    => true,
    			'target'    => true,
    		),
     
    		// Quotes
    		'blockquote' => array(
    			'cite'     => true,
    		),
     
    		// Span
    		'span'             => array(
    			'class'     => true,
    		),
    		
    		// Code
    		'code'       => array(),
    		'pre'        => array(
    			'class'  => true,
    		),
     
    		// Formatting
    		'em'         => array(),
    		'strong'     => array(),
    		'del'        => array(
    			'datetime' => true,
    		),
     
    		// Lists
    		'ul'         => array(),
    		'ol'         => array(
    			'start'    => true,
    		),
    		'li'         => array(),
     
    		// Images
    		'img'        => array(
    			'class'    => true,
    			'src'      => true,
    			'border'   => true,
    			'alt'      => true,
    			'height'   => true,
    			'width'    => true,
    		),
     
    		// Tables
    		'table'      => array(
    			'align'    => true,
    			'bgcolor'  => true,
    			'border'   => true,
    		),
    		'tbody'      => array(
    			'align'    => true,
    			'valign'   => true,
    		),
    		'td'         => array(
    			'align'    => true,
    			'valign'   => true,
    		),
    		'tfoot'      => array(
    			'align'    => true,
    			'valign'   => true,
    		),
    		'th'         => array(
    			'align'    => true,
    			'valign'   => true,
    		),
    		'thead'      => array(
    			'align'    => true,
    			'valign'   => true,
    		),
    		'tr'         => array(
    			'align'    => true,
    			'valign'   => true,
    		)
    	);
    }
    
    In reply to: Text Color and Font

    Robkk
    Moderator

    @robkk

    This is the Image of forum. Right above the emoticons there is a letter “p”. I am not too sure what that is for:

    i dont really know either, but i think it indicates what heading style you are on , you see that list box that says paragraph click Heading 2 , now your p symbol should show h2

    This is the image of what user posted on the forum and ended up with all the codes showing up:

    it might be because participants cant post any other html tags than what bbpress allows, im not for sure though.

    easy way to test it is for keymaster to post using span style, if it works then its allowing participants to use restricted html.

    The user just replied that once he highlight any part of the content, that’s when it shows with all the codes.

    how??

    link me to your site ,give me some demo login details and ill sign up and try it out??


    Robkk
    Moderator

    @robkk

    yeah ILL just do 1. because all i add is just two letters , no big deal haha

    In reply to: Text Color and Font

    Robkk
    Moderator

    @robkk

    @desiamerican26 do the new buttons show up on topic and reply forms??

    if it does , you can uninstall and try to find a different way to display video galleries , i guess.

    i dont know this is a decision you more have to make now.


    Robkk
    Moderator

    @robkk

    never mind ill just edit the plugin

    In reply to: Text Color and Font

    Robkk
    Moderator

    @robkk

    Thanks a bunch for your help. You help big time….Thanx a lot again


    @desiamerican26
    yes i do help big time, haha your welcome 🙂


    Robkk
    Moderator

    @robkk

    @robin-w is there a filter i could use to output a different template

    i dont want certain items to be seen when i add this shortcode somewhere, and the easiest is copying a template and renaming it and just removing the unwanted code.

    i want to basically just edit this

    // Output template
    bbp_get_template_part( 'content', 'archive-topic' );

    is there a way to change it to

    // Output template
    bbp_get_template_part( 'content', 'archive-topicno' );
    In reply to: Profile page link hook

    Robkk
    Moderator

    @robkk

    because otherwise you can just make a custom bbpress theme

    Step by step guide to setting up a bbPress forum – part 3

    In reply to: Profile page link hook

    Robkk
    Moderator

    @robkk

    Sorry I don’t understand.

    Is this functionality already built in?

    no its really a question

    is all of this that you are working on suppose to modify the backend profile in wordpress??

    In reply to: Text Color and Font

    Robkk
    Moderator

    @robkk

    @desiamerican26 ok enable the visual editor

    install this

    https://wordpress.org/plugins/bbpress-enable-tinymce-visual-tab/

    to add font-size and font-color install tinymce advanced also

    https://wordpress.org/plugins/tinymce-advanced/

    heres some screenshots of tinymce advanced

    TinyMCE Advanced

    In reply to: Profile page link hook

    Robkk
    Moderator

    @robkk

    this is all backend in wordpress??


    Robkk
    Moderator

    @robkk

    I’m glad I don’t have to look at my face anymore haha.

    haha no problem


    Robkk
    Moderator

    @robkk

    yehhhh your theme is acting weird..

    make sure you added it correctly, other than that try this css code

    div.bbp-template-notice.info {
    display: none;
    }

    Robkk
    Moderator

    @robkk

    place this inside your child themes functions.php

    add_filter( 'bbp_get_single_forum_description', 'ja_return_blank' );
    
    add_filter( 'bbp_get_single_topic_description', 'ja_return_blank' );
    
    function ja_return_blank() {
    
        return '';
    
    }

    Robkk
    Moderator

    @robkk

    the last is pretty hard. because i never found a template where you can edit the notices.

    do you want these notices at all??


    Robkk
    Moderator

    @robkk

    mann your bbpress is acting weird….

    try

    span.bbp-topic-freshness-author img {
    width:20px;
    height:20px;
    }

    Robkk
    Moderator

    @robkk

    okay on loop-single-topic.php in your child theme

    look for

    <span class="bbp-topic-freshness-author"><?php bbp_author_link( array( 'post_id' => bbp_get_topic_last_active_id(), 'size' => 14 ) ); ?></span>

    does it show 14 on your theme??, to remove it replace with this

    <span class="bbp-topic-freshness-author"><?php bbp_author_link( array( 'post_id' => bbp_get_topic_last_active_id()) ); ?></span>

    did it work??


    Robkk
    Moderator

    @robkk

    when you edited the template , did you just remove the array( 'size' => '14' )

    because when i look at http://revlanka.com/forums/forum/automotive-news/local-news/

    it doesnt even show started by: Admin anymore, just remove the array code and that should remove the avatar and thats it.

    In reply to: Full Width Forum Help

    Robkk
    Moderator

    @robkk

    i have bbpress and i dont have a forum specific sidebar

    so it must be something else. Do you have this plugin??

    https://wordpress.org/plugins/bbpress-wp-tweaks/

    if your just using it for a forum specific sidebar, custom sidebars plugin can do that??
    you just create a sidebar and only place it on forums, replies, topics then just throw those widgets in there.


    Robkk
    Moderator

    @robkk

    @tonydes i just forgot about this, do this first

    pay attention to the started by image on the link to your forums in the above post.

    add this for custom css ,

    span.bbp-topic-started-by img {
    width:20px;
    height:20px;
    }

    does that change the size??

    In reply to: Full Width Forum Help

    Robkk
    Moderator

    @robkk

    @aussiestar14

    ok what should be on this bbpress sidebar??

    is it a plugin, did you make it out of the plugin custom sidebars??

    tell me as much information that you can about it.


    Robkk
    Moderator

    @robkk

    first one more question , do you have custom css rules that you added already that include modifying images?

    I don’t have a bbpress custom theme

    okay create a bbpress custom theme now, add all the templates into your child theme.

    more info here https://codex.bbpress.org/step-by-step-guide-to-setting-up-a-bbpress-forum-part-3/

    lets work on this first http://revlanka.com/forums/forum/automotive-news/local-news/

    since it has the issue on the notice , started by and freshness authors

    now go to loop-single-topic.php and find

    <span class="bbp-topic-started-by"><?php printf( __( 'Started by: %1$s', 'bbpress' ), bbp_get_topic_author_link( array( 'size' => '14' ) ) ); ?></span>

    does it say 14 ?

    if you dont want the started by author image remove make it where its like this

    <span class="bbp-topic-started-by"><?php printf( __( 'Started by: %1$s', 'bbpress' ), bbp_get_topic_author_link() ); ?></span>

    tell me if that works

    I’m pretty novice at this, but does this mean that I have to edit from the style sheet?

    all of the images that have issues (started by, notice, freshness), are sized in the templates in php rather than css .


    Robkk
    Moderator

    @robkk

    @tonydes

    what is your theme?? (you should link to it if you can)
    what are all your plugins??
    are you making a bbpress custom theme?? (did you copy the templates into your child theme??)

    a work around for displaying some avatars, is copy the templates in the child theme, look for the specific call of an avatar and wrapping a class around it then include certain css for that class and image,css display:none; the rest and see if that works.

    other than that it might be cdns , or it could be where you have to contact your theme developer.

    In reply to: Full Width Forum Help

    Robkk
    Moderator

    @robkk

    Didn’t know that it is that complicated… -.-

    i hate messing with your theme but ILL try to fix it.

    okay Full width vs bbpress sidebar , choose one now.

    what is creating this bbpress sidebar??

    ILL work on getting the footer back first, but yeah its going to be some time later, so try to be patient.


    Robkk
    Moderator

    @robkk

    @tonydes you dont know how much im laughing, its like your forum is bombarded with a gallery of your self portrait. xD

    do you want the started by and freshness authors still if they were just a smaller size??

    and also the notice author image if it was a smaller size??

    but first try this if you dont want any of those avatars, see if this code works.

    .avatar-14 { display: none !important; }

Viewing 25 replies - 3,551 through 3,575 (of 3,784 total)