Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 16,501 through 16,525 (of 32,503 total)
  • Author
    Search Results
  • #112424
    LabSecrets
    Participant

    HI there,

    sounds to me that you have missed a couple simple but necessary steps:

    1) You need to ensure that the sitewide forums have been installed as well as the buddypress group forum. Both are installed from the “forums” tab of the buddypress setup menu;

    2) You need to be sure to delete AND empty the trash, of any page slug that was created which has “forums” as its name. This is necessary to allow the sitewide forums to use that slug.

    3) Be sure that you create a new page for buddypress group forums that is anything other than “forums” (call it “group-forums” for example)

    4) Be sure to go to Settings/Permalinks and hit “save” one time after all of this is setup.

    We’ve done a little tutorial video to show how you can setup either a BuddyPress Group Forum, a SiteWide bbPress 2.0 Forum, or a custom hybrid forum page using shortcodes. You can have all three at one time. Hope this helps ;-)

    http://labsecrets.com/2012/01/23/buddypress-and-bbpress-forums-made-easy/

    Cheers!

    Spence

    http://labsecrets.com

    #111150
    nax_89
    Member

    Do you find a way to disable tags?? Im looking for the same :/

    #112256
    highexistence
    Participant

    @johnjamesjacoby – Here is the error, verbatim:

    WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'http://hethens.com/people/jordan/' rel='nofollow'>@jordan</a>, <a href='http://h' at line 1]
    SELECT ID FROM wp_posts WHERE post_type = 'reply' AND post_status != 'trash' AND post_author = 2382 AND post_content = '<a href='http://hethens.com/people/jordan/' rel='nofollow'>@jordan</a>, <a href='http://hethens.com/people/jaygran7/' rel='nofollow'>@jaygran7</a>, hello!' AND post_parent = '60294' LIMIT 1

    Looks like an issue with using @replies?

    Thanks for your response.

    I’m going to take a look at that plugin and see why it’s not working and see if I can fix it.

    I’ll try to get the author to updated the plugin with a fix, if not I’ll fork the plugin.

    Anyways thanks for the kind works and I’m glad you are taking a fancy to the bbPress project :)

    Please let us know whenever you have any questions and we will do our best to help!

    chuckingit
    Participant

    Hi Jaredatch – thank you for looping back to me and your links … i did indeed read in a post by John James Jacoby about security issue(s) so i can appreciate that … i also tested the plugin you mention but it kicked out errors which i posted in the WP forums so perhaps the plugin author will have info or fix down the road ..??..

    in a bit of thinking outloud and in the for-whatever-its-worth depts … the first time i saw shortcodes work in a WP forum solution was with Simple:Press plugin … i was actually suprised that shortcodes did work and then i got excited about using them – e.g., wrapping some forum content so that it was public, while other forum content reserved to be private and require login … also, the audio shortcode to play clips within forum posts, all of which was cool … thus not sure if Simple:Press introduces security issues by allowing shortcodes or not ..??..

    my only problem with Simple:Press was / is that it was too much configuration (in turning off stuff) and i liked the clean, minimalism inherent in bbPress … and now that it is plugin and works within WP, means i’m throwing my hat in this bbPress forum ring and look forward to seeing it’s ongoing growth …

    in the meantime, i’ve had to rethink my shortcode issue – namely media files … e.g., where do i put these files in WP if i don’t want to create a post for them, but have them referenced from within forum posts … which lead me to discover a really cool program, open source, and share as fyi in case others might be interested …

    the program = http://ajaxplorer.info … it comes with a bridge for WP so user accounts can be shared by both … it is a file manager of sorts for your web site that makes it pretty easy to keep files private or make them shareable … i’m almost done testing this and i’m pretty sure at this point that it will be my go to tool to upload media files*, then create the shared-encrypted links, then put those links into my bbPress forum posts … thus keeping my forums to mostly text, yet linking out to media files as need be via using Ajaxplorer …

    lastly, i just wanted to go on record with BIG gratitude for all the hard work your bbPress team does in helping the rest of us in the WP worlds have really nice forum solution – Kudos to you and your seed – and i hope the Divine blesses you all for i certainly feel blessed / lucky to have tools like bbPress and forums like this for knowledge sharing – THANK YOU!

    cordially, chuck scott

    *yes i know that i could use WP Media Gallery but that gets a bit unruley since uploads are stored in blog-id-year-month folders … thus if i had ten pop tunes i wanted to upload to server, easier to create a dedicate library system with folder called music and subfolders under that … then it is easier to add new files to those folder collections versus having to track down different folders and try to remember what is in the 2011 folder vs 2012 let alone what blog-id it might have been uploaded under but i digress …

    #110620
    DELETE ME
    Member

    Ok, for someone who is NEW to ‘how to do’ this .. that did not help much. Just saying.

    Does anyone know how I can Change the Forum Background Colour, Text Colour, Font Type? I am not very CCS friendly or do not know much coding .. would be helpful if you can either provide a code or a plugin/fix that can do this for me.

    The website I am trying this on right now is http://revivechallenge.com – please check the forum it is ‘WHITE and text is invisible’ because the entire font is white too and the website theme is black/dark.

    Please help.

    Thanks

    SzebastianOne

    #43502
    gsp
    Member

    Hi

    We installed bbpress in our wordpress site

    We created some forms using bbpress

    Also we created some posts inside the created forms using bbpress

    From this link http://bbpress.org/forums/topic/bbpress-20-shortcodes we found short codes.

    We used

    [bbp-topic-index] – this is listing forms

    [bbp-topic-index] – this is listing topics.

    Is there any way to list form wise topics that is we need to list first form name then all topics in that then second form name then all topics in that etc. Please advise.

    In some sample bbpress sites we could able to see all form names listing and then if we click on any one form name all topics in that form will be listed like http://singletrackworld.com/forum/forum/classifieds-wanted Please advise how to achieve this.

    Thanks

    #112517

    It’s an issue with your theme.

    In your style.css it looks like you need to add something similar to:

    #content { width: 100%; }

    #43494
    The Newb
    Member

    Welp, I really liked the way this plug in looked but after 2 weeks (part time) of messing with this thing, I give up.

    And all I see on these boards is complaining and unanswered questions including mine.

    The nerve to call this simple lolol.. no offence but geeeez, c’mon ..if you dont want to give instructions on how to set this up then why bother?

    It’s anything but easy.

    I would love to hand you guys a milk crate with a ripped apart transmission and say …”no worries, its easy, just bolt it all together” and walk away.

    just because its easy for me!!

    This is not to say I dont appreciate the work that goes into this stuff..but surely you guys can get someone to write a manual, I cant find a single answer to anything..just a few stupid YT videos made from someone with a mouth full of marbles on a laptop in a cave! great!

    gonna go cry in my beer now, thanks :(

    #112502

    Unfortunately we don’t get paid to help out here, we are purely volunteers.

    There is one of two things going on here – A) a plugin/theme is conflicting with something or B) your install is doing something weird (eg are you on multisite).

    I would start from bottom and see if you can figure out what is throwing a wrench in everything.

    It literally could be about anything, which is hard for my to give you solid instructions on what to do next :(

    #112501
    areaphoto
    Member

    I know this isn’t your fault but this is frustrating. I’m trying the new theme and giving it another go. I have installed the plugin, created some forums and topics. As soon as I login it shoots me out to the site’s homepage. As soon as I navigate back to the forum it auto logs me out!?! At this point, I’m wondering if I should start the site from scratch and install 1 thing at a time to see what seems to be the problem. This is where code geniuses get paid for helping idiots like me! :D What do you think? I will put more time into the TwentyTen theme. I really like everything we have done already with the current theme which would suck if I lost it all.

    #112496

    By simply going that page, your permalinks are automatically flushed. So once you pull it up that’s all you needed to do :)

    #112506

    From bbp-common-template.php:

    * Display all of the allowed tags in HTML format with attributes.
    *
    * This is useful for displaying in the post area, which elements and
    * attributes are supported. As well as any plugins which want to display it.

    The filter you are hooking into doesn’t do anything but show the user what tags are available.

    Check out http://ottopress.com/2010/wp-quickie-kses/

    #43493
    Adam
    Participant

    I found that I had to add these to the kses.php file in wordpress include, which you should NEVER do in order for them to show up. can some one tell me why this code isnt working and adding these tags to the available tags usable for non admin based users?

    I have tried with the add_filter above and or bellow, like you see it now, the function.

    I have this in my themes function.php file. Not in the bbpress theme function file because I am using my current wordpress theme as the theme for the bbpress theme (if that makes sense)

    Thoughts?

    function extraTags($tags)
    {
    $tags['a'] = array(
    'href' => array(),
    'title' => array(),
    'class' => array()
    );

    $tags['div'] = array(
    'class' => array()
    );

    $tags['img'] = array(
    'src' => array(),
    'width' => array(),
    'height' => array(),
    'alt' => array(),
    'title' => array()
    );

    $tags['ol'] = array();
    $tags['ul'] = array();
    $tags['li'] = array();
    $tags['pre'] = array(
    'class' => array()
    );

    $tags['h1'] = array();
    $tags['h2'] = array();

    return $tags;
    }

    //Add a new filter.
    add_filter('bbp_allowed_tags', 'extraTags');

    Canned as spam, carry on :)

    #43491

    I’m fairly certain this is disabled because it’s a big security issue. You wouldn’t want users to have access to all your shortcodes.

    Similar thread https://bbpress.org/forums/topic/shortcodes-from-other-plugins

    This is mentioned in that thread and is probably what you will want https://wordpress.org/extend/plugins/bbpress2-shortcode-whitelist/

    #112492

    Reading through the code is actually a great way to learn.

    Having a giant list of functions doesn’t help explain what they do or where they are called.

    If you happen to be using bbP 2.1 beta then you can use this plugin and it will neatly show you all the hooks available.

    https://wordpress.org/extend/plugins/bbpress-visual-hooks/

    #112419

    Use a plugin like Members to lock the forum to members only. Works fine :D

    #112491
    cookiebear
    Member

    so frustrating working blind.

    am having to resort to hook sniffer plugin.

    please just put a link to functions somewhere on this site

    should not have to read thru all the code to use it.

    #112456
    Millen
    Participant

    I might have been a bit unclear with what my question’s was…

    Is there something wrong with the code I added to my functions.php file?

    Is this the reason why some of my css simply wont stick?

    Should the css be added/edited in my-theme/css/bbpress.css?

    Or should I copy all the css form my-theme/css/bbpress.css to my own themes style.css?

    I’m having a hard time finding any sort of documentation on how to do this. If anyone got some information or links on how I can continue from here I would be very glad.

    Thanks guys!

    #112437

    If you don’t have a forum yet, now isn’t the time to worry about if it will scale.

    Scaling is about spreading the pain around. As you outgrow one technology (or set of technologies) you upgrade to another as needed, not as predicted or as planned.

    This isn’t to say you shouldn’t have a plan, but it’s awful early to know if it’s worth the time spent worrying about.

    If you’re 100% certain that you’ll have +1million posts a year with billions of hits a month, then you wouldn’t be asking this question because you’d already know the answer: no, it won’t scale out of the box; you’ll need caching, memcached, and countless servers and data centers to manage it all.

    The short answer, don’t be afraid to start out small. When it’s time to grow, you can pretty easily export specific post types with WordPress’s export tool and shard it across multiple multi-site blogs if you wanted; shard the database(s) across multiple servers; whatever you need to do to get by.

    If your forums grow quickly and you find performance gains, it’d be great to have them contributed back to the project. It’s true that moving from bbPress standalone to plugin traded some performance for convenience, but it’s been the # 1 most requested feature since it’s introduction.

    Also, there’s nothing *wrong* with bbPress 1.1. If you’re more comfortable using something purpose built from the ground up as a simple forum, you can still use it. Just know that nothing but fairly significant code changes or bug fixes are actively going in.

    #112469

    You should be able to filter the login form using bbp_wp_login_action.

    Check out bbp-common-template.php starting at line 837. bbp_wp_login_action is what the login/registration forms use.

    #112466
    jamieskella
    Member

    Yeah, I am using the bbPress register shortcode on a page.

    #112476

    In reply to: Change forum color

    Unfortunatly I can’t give you a 100% complete answer, but what you are trying to do is definitely the right direction.

    Here is something to get you started:

    .forum a { color: white !important; }

    .bbp-forum-info { color: black !important; }

    .bbp-forum-topic-count { color: black !important; }

    .bbp-forum-reply-count { color: black !important; }

    .bbp-forum-freshness { color: black !important; }

    .bbp-forums,

    .bbp-topics {

    border: 1px solid rgba(125, 125, 125, .5);

    color: white !important;}

    .bbp-forums a { color: white !important; }

    table.bbp-forums th, table.bbp-topics th, table.bbp-topic th, table.bbp-replies th {

    background-color:black;

    color: white !important;

    }

    table.bbp-forums thead tr {

    border-top: 1px solid rgba(125, 125, 125, .5);

    }

    #content table tbody tr.odd td {

    background-color:#222;

    color: white !important;

    }

    #content table tbody tr.even td {

    color: white !important;

    background: #111;

    }

    #content table.bbp-forums tfoot td, #content table.bbp-topics tfoot td, #content table.bbp-topic tfoot td, #content table.bbp-replies tfoot td, #content table.bbp-replies tr.bbp-reply-header td, #content table.bbp-topic tr.bbp-topic-header td {

    background: black;

    color: #fff !important;

    }

Viewing 25 results - 16,501 through 16,525 (of 32,503 total)
Skip to toolbar