Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'codes'

Viewing 25 results - 751 through 775 (of 1,687 total)
  • Author
    Search Results
  • #149062

    In reply to: BBPress advise wanted

    Stephen Edgar
    Keymaster

    Cool, most of things you mention can be done, some are ready to go, others need a few tweaks and custom PHP code to achieve the results.

    1. create login in the wp home page for BBpress

    Create a WordPress page, set that as your home page, add the bbPress login/register shortcodes

    2. allow only offline registered members to be registered as BBpress users

    Not quite sure what you mean here, you can set your forums to ‘private’ so only logged in registered members can see or use the forums.

    3. enable/disable users, and hence their profiles

    This is more of a WordPress question than bbPress, if the member has an active and valid WordPress account then they can login. If you want to remove the user and their associated profile then you’d delete the actual WordPress user which inherently flows down to bbPress.

    4. allow users to create profiles with their filmography and perhaps a vimeo embed or two

    With a few minor tweaks/customisations you could achieve this, you may also want to take a look at BuddyPress’ Extended profiles which will let you do this also.

    5. can users have simple URLs for their profiles, like perhaps example.com/username?

    Yep, this is built in, here’s yours here on bbpress.org https://bbpress.org/forums/profile/parambyte/

    #149043
    Stephen Edgar
    Keymaster

    Create a page or two and use the bbPress shortcodes

    https://codex.bbpress.org/shortcodes/
    https://codex.bbpress.org/widgets/

    #148987
    Leonyipa
    Participant

    How to allow all users to use HTML codes, because at the moment, only keymaster can have access to all HTML tags.

    I would like to allow user to use this code:
    //<span style=”font-size: 36pt; font-family: impact, chicago;”>Pademelon</span>

    <span style=”font-size: 36pt; font-family: impact, chicago;”>Pademelon</span>

    #148931
    Robkk
    Moderator

    @leonyipa ok great on the youtube video width , at least the code is doing something

    there is probably another function on the web that i can direct you to if i find something that works on both height and width, so wait til i come back with a function that works for both

    if i give you a new function delete the old one

    paste codes into a child themes functions.php and style.css so that the code wont disappear during theme upgrades

    and dont edit the core files inside of bbpress
    copy those files into your child theme so you can be safe on bbpress plugin upgrades

    so copy bbpress.css to your child theme, if you dont have a child theme , make one they are great for customizing your bbpress install

    for more about customizing bbpress with css , plugins, and functions read this

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

    #148891
    Robkk
    Moderator

    not sure but you probably have to set a max width for oembed embeds

    http://www.wpbeginner.com/wp-themes/how-to-set-oembed-max-width-in-wordpress-3-5-with-content_width/

    add the code to your functions.php in your child theme.

    change 600 to whatever number you want as the width, im sure you could copy the function to width to height and also do the height to.

    if the code doesnt work , look at the comments and try that user posted code. (i havent tried any of these codes so i dont know if they work really, if they dont just delete the function from your child functions.php)

    for images (using img quicktag) i think you can use css

    #bbpress-forums div.bbp-reply-content img, #bbpress-forums div.bbp-topic-content img {
    max-width: 100%;
    height: auto;
    }

    for images (posted by link using oembed , imgur , flickr picture, instagram picture) the oembed code that i linked to should do the same for these.

    #148882

    In reply to: Topic Index Shortcode

    Robin W
    Moderator

    yes, I’ve started a plugin that does some different shortcodes, and at the moment one that does just that is all that’s in there

    bbp additional shortcodes

    #148852
    mattmatt88
    Participant

    I already have a multisite with subdomains:

    myurl.com
    page1.myurl.com
    page2.myurl.com
    page3.myurl.com

    Now I want, that the same forum content is used for every page.
    So the same forum should be available for every page:

    myurl.com/forum
    page1.myurl.com/forum

    For example, I’ve got a points system plugin that is multisite compatible (mycred).
    I just have to set it on the main page (myurl.com) and the points logs are the same on every page. That’s what I would need for the forum.

    Why I need it on every page and I’m not just linking to the main page forum:
    e.g. because I want to use shortcodes/widgets to show the user the most recent forum topics, doesn’t matter if he is on a subsite (e.g. page2.myurl.com/forum).

    Thanks a lot

    #148549
    pazis
    Participant

    After upgrading to bbPress 2.5.4, none of my topic contents are being showed anymore! The topic page loads and everything is visible but the topic content and replies! I use WordPress 3.9.1 and here are the list of my active plugins:

    All In One SEO Pack 2.1.7
    BackWPup 3.1.2
    bbPress 2.5.4
    bbPress Enable TinyMCE Visual Tab 1.0.1
    BuddyPress 2.0.1
    Capability Manager Enhanced 1.5.1
    CloudFlare 1.3.14
    Disable Feeds 1.3.1
    Dynamic Widgets 1.5.8
    iQ Block Country 1.1.10
    Membership 3.4.4.1
    myCRED 1.4.7
    Paid Memberships Pro 1.7.11
    Quick Chat 4.13
    Register IP 0.1
    Share Buttons by AddToAny 1.3.3
    Shortcodes Pro 1.1.5
    Shortcodes Ultimate 4.9.0
    Sidebar Login 2.6.0
    Sweet Captcha 3.0.8
    WordPress Google +1 Button – Advanced Plugin, Includes Redirection 1.9
    WordPress Importer 0.6.1
    Wordpress Poll 35.0
    WP-Ban 1.62
    WP Admin No Show 1.4.3
    wpMandrill 1.33
    WP SlimStat 3.6.4

    I tried disabling and enabling bbpress plugin and resubmitting settings, but none fixed the issue. I don’t know how to fix it!

    #148377

    In reply to: Forum index

    Robkk
    Moderator

    @dottedpixel

    could you highlight what you want exactly

    cause im not sure what you want , the way the forums itself display?

    or the links above the forum that display each forum name? <–thats really easy

    you could probably do the other thing with shortcodes

    #148369
    Stephen Edgar
    Keymaster

    Do you know why this fixes the pagination issue when using shortcodes and partnering with a page?

    No πŸ˜‰

    I’m not sure what is going on there, I’ll dig around a bit further and see what I can come up with, it should work for any combination of use cases though once you start adding two shortcodes per page it looks like bbPress may have an issue deciding which shortcode to honour the pagination for.

    #148368
    Jamie Marsland
    Participant

    Hi Stephen,

    Thanks for the in-depth reply πŸ™‚

    It looks like I’ve fixed it by selecting “Forum root should show – Topics by freshness”

    Do you know why this fixes the pagination issue when using shortcodes and partnering with a page?

    Thanks very much for your help!

    Jamie

    Jamie Marsland
    Participant

    When using shortcodes for topic index the pagination breaks

    Tested on 2 separate sites..the following one with 2014 theme

    http://www.pootle-band.co.uk/support/

    Any ideas?

    Jamie

    #148280
    Stephen Edgar
    Keymaster

    I’ve not looked at doing do that personally, I saw something recently on adding short codes to WordPress quicktags so you could explore that option (WordPress’ quicktags are the buttons you see here ‘b’, ‘i’ etc)

    Also take a look at the source of bbPress Shortcode Whitelist plugin to see their implementation, and see if you can adapt it for your own needs.

    #148278
    greenhoe
    Participant

    Thanks Stephan, is there a way to whitelist them manually? I code all the shortcodes myself and I prefer to not use plugins when possible and this seems like something I could do with out a plugin.

    Thanks

    #148269
    Stephen Edgar
    Keymaster

    No, you cannot use shortcodes within bbPress.

    This is more of a security issue than a technical issue, you don’t want users adding login shortcodes and the like into the content.

    There is a ‘bbPress Shortcode Whitelist’ plugin (It’s in the wordpress.org plugins repo) that will allow you to ‘whitelist’ a list of short codes so you can use the ones you approve.

    greenhoe
    Participant

    I was wondering can I use my normal worpdress shortcodes in bbpress? So my users could take say a certain query shortcode and post in the forums and allow it to work?

    #148142
    Lumartist
    Participant

    Okay, I have to add another reply here, sorry.

    Strange thing is, that I am having the same effect as with the Tehnik plugin. As soon as I add your plugin, bbp-private-groups, and I subscribe to a forum, I am subscribed to all forums. As soon as I disable the plugin everything works fine. It also happens with a standard theme like twenty fourteen.

    I am not sure where this coming from. Very strange…

    Here’s a list of installed plugins:

    • Advanced Custom Fiels
    • bbP private groups
    • bbPress
    • bbPress Pencil Unread
    • Breadcrumb NavXT
    • Buddypress
    • CodeStyling Localization
    • iThemes Security
    • Members
    • Radio Buttons for Taxonomies
    • Regenerate Thumbnails
    • Require Featured Image
    • WP Smush.it

    All Plugins are up to date!

    May it be a conflict with iThemes Security or Members? But why? And why does it just happen if a plugin for forum access is used?

    This is like a closed book to me, as I am a designer and css-coder, but not a php-coder, which makes it realy hard…

    Morgensonne
    Participant

    Hi again,

    shortly before I can finally go online with my WP+bbpress, there is a problem with the shortcode in a widget: The tag cloud in sidebar widget is not displayed.

    Here in the forum I found the following tip:

    To allow shortcodes in sidebar widgets, write in an empty functions.php file the following code und put this file into your child-theme-folder:

    <?php
    add_filter('widget_text', 'do_shortcode');
    ?>

    After saving the file, you can now add the shortcode [bbp-topic-tags] in sidebar widgets.

    Unfortunately the tag cloud is not shown.
    What did I do wrong?

    Thank you very much for help says
    Morgensonne

    #148004

    In reply to: Add forum to post

    TheLamb
    Participant

    Don’t worry, I found the shortcodes and that told me how to do it. For anyone else who needs this use the shortcode below where the id is the id of the forum you want to display.

    [bbp-single-forum id=10]

    more help on the shortcodes is at https://codex.bbpress.org/shortcodes/

    Robin W
    Moderator

    yes, start with

    bbp additional shortcodes

    This list the last 5 topics across all the forums, and your friend should be able to crack it open

    the end function

    function rw_display_topic_index_query( $args = array() ) {
    		global $show ;
    		$args['author']        = 0;
    		$args['show_stickies'] = true;
    		$args['order']         = 'DESC';
    		$args['posts_per_page'] = $show ;
    		return $args;
    	}

    just needs an extra parameter to get the right forum,

    If you get him to also look at

    wp-content/plugins/bbpress/includes/common/shortcodes

    he’ll find some useful code to do that

    #147872
    Robin W
    Moderator

    Is there any way to completely skip the forums index? I don’t see why I would need multiple forums when I can have 1 main forum with different topics.

    Yes you can skip the forum index, just create a page and put one of the shortcodes on it

    https://codex.bbpress.org/shortcodes/

    In your case you’d use

    [bbp-single-forum id=$forum_id] – Display a single forums topics. eg. [bbp-single-forum id=32]

    rsg2
    Participant

    hello

    i have a wordpress site with bbpress installed. i have 3 subforums in bbpress. on the homepage of my wordpress site, i would like to list out those 3 forums with the lastest 5 posts from each.

    please take a look at this image:

    the styling doesn’t have to look like the attached as long as i can list out the individual subforums and 5 of its most recent posts.

    i have setup 3 columns with ability to put shortcodes.

    i tried using some of the shortcodes provided by bbpress with no luck.

    SOS please!!! i’m running out of options…lol

    thanks in advance,

    chris

    #147671
    Killerrabbit2
    Participant

    WP V. 3.9.1
    bbPress v 2.5.4

    I’ve been banging my head against the wall on this one.

    Here is what I need to do:

    I have users who need to register for different forums. Each specific forum has restrictions. I am using the S2Member plugin. I can with their shortcodes restrict content within a page. I then can restrict a forum listing when I use a bbPress short code within a page.

    The problem is that bbPress dynamically creates topic pages, thus I can not put any shortcode logic in to restrict who sees the topics.

    S2Member has some code that works to restrict content with a function. However, using bbPress conditional tags don’t work. I can use the native conditional tags which do.

    Below is my code that I can’t seem to get working:

    add_action ("wp", "my_custom_capabilities");
    
    function my_custom_capabilities ()
    	{
    	if(bbp_is_topic_tag('Global'))
    		{
    		header ("Location: ".S2MEMBER_MEMBERSHIP_OPTIONS_PAGE_URL);
    		exit();
    		}
    	}

    Ideas?!

    #147650

    In reply to: Latest 5 Topics?

    Robin W
    Moderator

    I’ve just started working on a plugin that will have some additional shortcodes in it

    the only functional one so far is the ability to show the latest xx topics

    you can download it from here

    bbp additional shortcodes

    you use the shortcode

    [bbp_display_topic_index show=’5′]

    #147588
    BackpackersUnion
    Participant

    Two ideas.

    1. If using a multi-site, start a subdomain for bbPress and activate it on that site alone.

    2. Using a plugin called – https://wordpress.org/plugins/plugin-organizer/ As Diphda mentioned, bbPress loads on every page. This plugin can block any plugin from loading on pages where it is not required (for bbPress where there are no short codes or forums).

    The only draw back is your Admin panel will still be sluggish for those who are experiencing a similar lag, but visitors will experience faster load times.

    Hope this helps.

Viewing 25 results - 751 through 775 (of 1,687 total)
Skip to toolbar