Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'codes'

Viewing 25 results - 526 through 550 (of 1,687 total)
  • Author
    Search Results
  • #165381

    In reply to: several forum

    Robkk
    Moderator

    You might need to look into using LearnPress and this plugin. I think it should do what you want, but you may need to leave a support topic on the plugin’s below support forum just to make sure.

    https://wordpress.org/plugins/learnpress-bbpress/

    Or this might be custom development for a plugin.

    But what you can do is at the bottom of each post just insert one of the single forum shortcodes.

    Like this.

    [bbp-single-forum id=$forum_id]

    You can find the forum id by using a plugin like Reveal IDs to make life easier, and all you have to do is go to Forums > All Forums in the WordPress backend to see all of your forums ids.

    Shortcodes

    Same thing with topics if you to assign topics for each post.

    #165344

    In reply to: bbPress Shortcode

    Robin W
    Moderator
    #165297
    Robkk
    Moderator

    You can show the topic index on your home page using this shortcode.

    [bbp-topic-index]

    Shortcodes

    #165215
    Jake Hall
    Participant

    Good Morning all,

    This is an issue I have had present on my bbPress forum ever since I moved away from Apache, and onto lighttpd. The difference is, I have to add the rules manually to get them to work. Anyway, here is what I currently have in my .htaccess equivalent:

    # This is mainly a fix for bbPress and its functions
    url.rewrite = (
        "^//(wp-admin|wp-includes|wp-content|gallery2)/(.*)" => "$0",
        "^//(.*)\.(.+)$" => "$0",
        "^//(.+)/?$" => "/index.php/$1"
      )
    }

    Unfortunately, whenever I try to perform an action on a post (e.g anything that utilises the “?action” URL argument), it redirects back to the post. E.g:

    http://rockstarwire.net/community/thread/yrs/edit/?action=merge – Will navigate to the edit post page.
    http://rockstarwire.net/community/thread/bbcodes-have-been-temporarily-disabled/?action=bbp_toggle_topic_close&topic_id=983 – Will navigate to the post again. (and won’t close the topic)

    Now I am pretty sure this is going to be something to do with the URL redirects, infact, I am almost positive that will be the case.

    Could anyone assist with this one?

    Thanks

    #165201
    Robkk
    Moderator

    Sorry for the late reply, there are a couple of ways to do this.

    Easiest way to do this, might be to install this plugin. And use the supplied shortcodes in the plugin.

    https://wordpress.org/plugins/voter-plugin/

    The supplied shortcode are one for custom post types, which you can use for bbPress’s custom post types, (topic)

    [voter_plugin_top_voted type=topic num=15]

    #165017

    In reply to: link admin bar change

    cocolabombe0
    Participant

    Oh yes, this is what plugin that added this option.
    But I think I have to change the file after a shot on the admin bar file to separate the two codes.
    But I do not know too so it’ll be tough.

    ainoha_vs
    Participant

    Hi everybody! I need to change some “titles” and “invalid” some actions of BBPress so I can use it for my blog. Anybody who could help me with some codes, please?
    Than you! šŸ˜€
    Cheers!

    #164557
    killer_x10
    Participant

    Hello there everyone, I have searched all over the Forum and many Sites but I had no luck finding any bbcode Editor. The only thing that I found was the “bbpress Post Toolbar” Plugin which wasn’t maintained anymore, I took the risk and tried it out. But then I found out that it was actually coded to work with HTML and as many of you already know, your participants cannot use all the HTML tags. It used some Codes used that was not allowed for a participant to use. When I was searching I came up with the Idea to edit the Toolbar so that it uses bbcode. But for WordPress to support bbcode I had to install another Plugin, “GD bbpress Tools”. Everything is working except the “Close HTML Tags”, where I really don’t know how to do it, I was hoping any of you guys could help me.

    You can download the Edited Plugin here: http://bit.ly/1KramlM

    I used 2 Plugins:
    bbpress Post Toolbar
    GD bbpress Tools

    Thank you šŸ™‚

    #164774
    Robkk
    Moderator

    The close tags function closed my last bbcode opening tag. You can also just close the bbcode by hitting the button again. it should show a little / that shows that it needs to be closed.

    Other than that, I explain how to use some (not all) bbcodes to the quicktags here if that helps any.

    BBCode Buttons?

    #164551
    Robkk
    Moderator

    @killer_x10

    This topic was way back in bbPress v1, so nothing is good for this current version.

    There is a way to use shortcodes (bbcode) as long as they are whitelisted for users in the quicktags toolbar but this would require some editing of some javascript.

    You can also use the TinyMCE toolbar, adding bbcode to this would be more difficult then editing the quicktags toolbar.

    Robkk
    Moderator

    Because I see potentioal and how WordPress self can make bbPress powerfull. Or buddyPress, I install it all the time together.

    I know a lot of users who ask for more features like other forum solutions are like this because they all do see potential.

    But, one thing is very specific for bbPress. I would not dare to touch it as average User, who installs and setup phpbb or SMF forum without big problems. It is extremely hard for beginners

    In what ways is it difficult? Is it anything about user experience, or from just going from one to another?? Any ideas to improve it for beginners?

    At least take those 10-12 plugins from Github and put them in WP repository. Dont ask developer, it is GPL. Developer had 2-3 years or more to decide to do it byself, and he did not wanted it.
    Problem there is notification about updates.
    Just one example, lost many hours to see why Live preview stoped to word and by chance checked on Github versions. If it was in WP repository I would be notificated directly there is an update for it.

    There is some plugins on Github but that doesn’t mean everybody should use them. Some plugins on github were made from developers from jobs they did for people(might contain specific db table names for a specific site), are just some custom plugins they use on their site(might contain several referances to a site), custom projects for themselves(just playing with stuff/learning development). There is a difference between building a plugin for yourself, and building a plugin for everybody to use. When you begin to build one for everybody to use, you definitely take into consideration some plugin conflicts that might happen(I think GD bbPress attachments and bbp live preview comes to mind). There are some plugins on there that actually should be considered to be on WordPress.org, so I will keep that in mind.

    Just to not be missunderstood. I personally dont have any problem whatsoever with this list above. Implemented with help of code tweaking and those plugins all of this. And much, much more. All except proper Polls. For this I cannot find a solution.

    The polka polls plugin is the best plugin for polls for bbPress. It does require use of shortcodes, I do not think you have to whitelist the shortcode or anything, I think it just works. I guess it could get inspired from some ideas of the bbPress polls plugin for v1 that _ck_ made.

    I am not telling about design, despite this too is hard for Users beginners to tweak.

    Please say any issues you might have on this, I have ideas for users to make design for theme compatibility easier.

    Github should never be primary source of plugins. Additional OK, but only and one never.
    I know there is a plugin that makes updates from Github possible, but demands some lines added by author in plugin self.

    It isn’t, any plugins listed on the featured plugins list are really just plugins that might have functionality similar to what might be suggested to core. Github was never really a plugin repository for WordPress, mostly development. Some of the information why some plugins might not be in what I already said above. Plus some plugins were pretty neat not to leave in.

    Something like Jetpack for bbPress would be a killer, perfect. But I do understand when you say there are not many developers of bbPress. Wish just you start discussion about it and report back to us how it went. Jetpack probably started with few developers, and with years come to number of 46. It doesnt have to start great, developers are attracted later to all good staff by itself.
    Do you know what all those names behind Jetpack say to me ? Not in the first hand anything about code quality, but about security. I know it will flow huge amount of years before this plugin is abandoned. And with all new WP versions they adapt code before new version get out.

    If we are talking about Jetpack as a plugin full of features, then BuddyPress could be something like that. There is also another plugin but it is paid (has minimized free version) that has several other features like bbcode, attachments, quotes. Creating another plugin like that I will keep in mind.

    #164398
    InquisitiveReader
    Participant

    I forgot to say in the previous reply that you also need to uncheck the “strip shortcodes” and “the content” boxes in the advanced excerpt plugin. See http://inquisitivereader.com/discussion-forum/

    #164393
    Stagger Lee
    Participant

    It cant work with shortcodes in a forum. Forget about it.

    #164280
    Robkk
    Moderator

    The activate component I think you are talking about is part of BuddyPress.

    I canā€™t find any documentation that details if there needs to be a shortcode on that page but mine is blank…This is the downside so far. In the Docs there should be a description of each of the required pages and what they do as well as what I need to do with them

    When BuddyPress is installed you will have a register page usually at yoursite.com/register/, and also an activate page so after you register you are required to activate your account usually here yoursite.com/activate/.

    All documentation for the activate page would be on BuddyPress, in their codex.

    Register and Activation Pages

    There might be more documentation on the activate page, but I can’t find them if you want more information about it contact BuddyPress in their forums.

    https://buddypress.org/support/

    bbPress does allow shortcodes for registration, lost-password, and also for login, but none for users to activate their account. bbPress relies on how WordPress sets up registered users.

    #164036
    Robkk
    Moderator

    There is no shortcode for an edit profile page.

    Shortcodes

    #163984
    stardrive
    Participant

    Please, what are the shortcodes for Edit Profile, Change Password?

    Regards,

    Stardrive

    #163774
    Stagger Lee
    Participant

    It is not problem to hardcode WP-Polls function inside specific bbPress custom template, to bypass activating shortcodes in topics and replies.

    https://wordpress.org/plugins/wp-polls/installation/

    But main problem is User interaction. Shame, WP-Polls is very nice Polls plugin.
    It would be needed one modal popup where User opening topic can add new poll. believe Roles and permissions are not problem to fix with plugin filters, but other doesnt exist.

    It is not acceptable to send Users to separate page (backend) just to make poll for topic they opening.

    #163747

    In reply to: BBCode Buttons?

    Robkk
    Moderator

    if you have the pro version they give you an editor for the bbcode/shortcode buttons.

    If you are messing with the bbPress default quicktags you can change the buttons output display to bbcode/shortcodes instead of html.

    If you look at this you can see that it says you can copy the Javsacript from bbPress to your custom child theme.

    https://codex.bbpress.org/theme-compatibility/

    So you can copy the editor.js file from bbPress and created custom buttons for your bbPress installation from there. You can see an example to change the output of the code button to just use quote marks.

    /* Use backticks instead of <code> for the Code button in the editor */
    	if ( typeof( edButtons ) !== 'undefined' ) {
    		edButtons[110] = new QTags.TagButton( 'code', 'code', '<code>', '</code>', 'c' );
    		QTags._buttonsInit();
    	}

    This will I think use the bold, italics , and lists format that they use in the plugin.

    /* Use some bbcode outputs for the quicktags editor in bbPress */
    	if ( typeof( edButtons ) !== 'undefined' ) {
    		edButtons[10] = new QTags.TagButton( 'strong', 'b', '[b]', '[/b]', 'b' );
    		edButtons[20] = new QTags.TagButton( 'em', 'i', '[i]', '[/i]', 'i' );
    		edButtons[80] = new QTags.TagButton( 'ul', 'ul', '[ul]', '[/ul]', 'u' );
    		edButtons[90] = new QTags.TagButton( 'ol', 'ol', '[ol]', '[/ol]', 'o' );
    		edButtons[100] = new QTags.TagButton( 'li', 'li', '[li]', '[/li]', 'l' );
    		QTags._buttonsInit();
    	}
    #163744

    Topic: BBCode Buttons?

    in forum Showcase
    Moobs
    Participant

    I’m looking for a way to get bbcode buttons for users. I have the gd bbpress toolbox, but I’d like to have buttons for those codes on the toolbar. Any suggestions?

    nmschaller
    Participant

    Hello robkk,

    Thank you very much for your answers. They helps me get started.

    I have found a way to hide most notices by CSS. Question is, can I keep it that way, or will there be any important notices not showing up later when the user is interacting with the form:

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

    The bbpress pages cause me headaches. The original bbpress pages for forum index and user page all come out unformatted in my theme, practically useless. I have created a forums page by using shortcodes for forum index and topics index. That is well formatted and informative. But only with one level of hierarchy.

    The users plugin you suggest is from 2 years ago; I would not install that. I am told again and again by my hoster and main plugin providers that old plugins are one of the greatest vulnerabilities. Isn’t there a way to block all access to pages containing mysite/forums/users/* in .htaccess or something like that?

    And then I had to turn off the buttons for html because they are badly formatted, barely legible in white text on light-grey background.

    I also would like to offer my clients a possibility to create a profile page with some background on themselves and the business project they are working on. I have tried BuddyPress but it is not for me. I cannot code and this seems to be necessary to effectively use BuddyPress. So, I have not found a good solution for that yet. For the moment I have chosen to go with the wordpress.com/gravatar profiles and encourage people to introduce themselves and their project in the forum.

    Nicole

    #163701
    Nuchaz
    Participant

    I am having the same issue right now and was wondering if a solution was ever found? I tried the bbpress-do-short-codes plugin and it seems to work for google chrome, but not firefox. I would ok to just disable image captions from the tinymce editor too. I’ve been trying to figure out the css code so I could just slap it with a display:none, but haven’t had any luck.

    I’m using WP v4.2.2 and BB Press 2.5.4.

    #163605
    Robkk
    Moderator

    use the topic form shortcode.

    [bbp-topic-form]

    Shortcodes

    It would be supper nice to be able to put a general ā€œStart a Discussionā€ button on various pages

    Ive explained to users bunches of times how to do this kind of functionality. Search the forums and search “new topic button”

    #163591
    peppecol
    Participant

    I have the same problem I can not put a file to download.
    The shordcode I should put it: [wpdm_package id = ‘12529’]
    How can I do?
    I also installed
    https://wordpress.org/plugins/bbpress-do-short-codes/ but nothing has changed I could explain what I do?
    Thanks!

    #163438

    In reply to: Menu link to Profile

    crzyhrse
    Participant

    Hi Robin,

    This thread is a bit old, but hoping it is still a place to pursue this..

    The WP Exec PHP plugin that was suggested above to enable this has not been updated in over two years, but in trying to use two different current well reviewed plugins that enable placing php in pages via shortcodes, Shortcode Exec PHP and PHP Code For Posts, I get the following same error with your last offered php snippet above…

    Parse error: syntax error, unexpected ‘<‘ in /home/spirawake/public_html/wp-content/plugins/shortcode-exec-php/shortcode-exec-php-class.php(895) : eval()’d code on line 1

    In both cases I created the shortcode using this, as per above;

    <meta http-equiv="refresh" content="0;URL=http://mysite.com/forums/users/<?php global $current_user;
          get_currentuserinfo();
    
         echo  sanitize_file_name($current_user->user_login). "";
          
    ?>/edit/">

    I’ve often used shortcodes in other ways, and am hoping that maybe there is something that needs to be changed in this code because it is being inserted into the page via a shortcode…?

    Kind regards…

    #163299
    project_subdomain
    Participant

    thanks, sam. tried several codes, nothing worked unfortunately (blank page):(

    add_action( 'loop_start', 'divs_only_when_logged_in' );
    
    function divs_only_when_logged_in() {
    
    <?php if ( is_user_logged_in() ) {?>
     
        <div class="new-reply-link">
    
    	<a href="<?php bbp_topic_permalink(); ?>#new-post
    "class="reply-link-text">Reply</a> 
        </div></br>
    
    <ul id="bbp-topic-<?php bbp_topic_id(); ?>-lead" class="bbp-lead-topic">
    
    	<li class="bbp-header">
    
    		<div class="bbp-topic-author"><?php  _e( 'Author',  'bbpress' ); ?>
    </div>
    
    <?php endif; ?>
    }  
    ?>
Viewing 25 results - 526 through 550 (of 1,687 total)
Skip to toolbar