Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 17,401 through 17,425 (of 32,500 total)
  • Author
    Search Results
  • #109637
    travis.hill
    Participant

    Pass some $args through bbp_list_forums.

    If your using custom templates, locate the loop-single-forum.php file. Somewhere around line 25 you should find the bbp_list_forums function. Pass it some $args like so:

    <?php bbp_list_forums(array('separator' => '','show_topic_count' => false, 'show_reply_count' => false)); ?>

    That should get you going in the right direction.

    #109191
    bobbyh44
    Member

    “After I installed it the first time it took me a couple of hours to find my forums page.” – good that you persevered and got it working Patrick.

    Suspect that for every user that manages finally to find the solution, have half a dozen that just think – Sod it, doesn’t work, waste of time, delete.

    Maybe it’s some kind of elitist coder thing? If you can’t fill in the missing technical details you can’t join the club?

    I’ve gone over to SMF, Simple Machines Forum purely because they do indeed have clear documentation and installation instructions. I have confidence in the team behind the script because they are thinking of the end user and not just the code. I suggest that if you want this excellent addition to wordpres to be the roaring success it deserves to be, you do the same.

    Good luck with the project.

    #109636

    Forum Name | Topics | Posts | Last Post

    and in the # of topics and # of posts column, it adds the word “threads” and “posts” after the number.

    Main Footer

    <script type=”text/javascript”>

    <!–

    /* remove Forum Name | Topics | Posts…

    and add thread & post info by california */

    var td=document.getElementsByTagName(“td”);

    if(location.href.match(//?((index.cgi)???(action=(ma.+ad|logout|home))?(#.+)?)?$/)){

    for(i=0;i<td.length;i++){

    if(td.width==”1%” && td.innerHTML.match(/d/)){

    if(td[i+1].width.match(/^(1|7)%$/)){

    td.innerHTML+=”
    threads”;

    td.width=”8%”;

    }else{

    td.innerHTML+=”
    posts”;

    td.width=”7%”;

    }

    }

    if(td.width==”8%” && !td.innerHTML.match(/thread/)){

    td.width=”4%”;

    }

    if(td.className==”titlebg” && td.innerHTML.match(/Forum Name/i)){

    td.parentNode.style.display=”none”;

    }

    }

    }

    //–>

    </script>

    It will say “1 threads” if you only have one topic or post. The solution: post another thread.

    If you are using a “Divide/Seperate Categories” code then this code should be placed below that code.

    If for some reason you don’t want the words “threads” and “posts”, leave out the blue part. I wouldn’t really recommend this as the numbers in those two columns become completely meaningless and the column widths get all screwed up, but people still keep asking for it for some reason.

    #109719

    In reply to: Anonymous Posting

    jam09
    Member

    where do i put the modified code?

    #109718

    In reply to: Anonymous Posting

    master5o1
    Participant

    Assuming bbPress 2.0:

    You can modify this file (https://plugins.trac.wordpress.org/browser/bbpress/tags/2.0/bbp-themes/bbp-twentyten/bbpress/form-anonymous.php)

    Modify the <input> tags such that they’re type="hidden". Also make the value="Anonymous" for name and something like value="anonymous@example.com" for email.

    There is _probably_ a better way but this is the first that comes to mind for me.

    #108308

    In reply to: bbPress Language Files

    ModdeyDo
    Member

    Hi Vaju,

    I have now searched the internet (yes all of it I think) and it seems there is a lot of confusion about bbpress and how to change languages.

    Has anyone got this to work in version 2.0 (Plugin) ?

    Here is what I have tried so far :

    1: mo and po files uploaded to /wp-content/plugins/bbpress/bbp-languages

    2: Looked in and edited a lot of php files.

    3. Checked nearly every file in my themes folder (Suffusion).

    4. Have been in discussion with Suffusion theme forum.

    None of the above has helped in any way :-(

    My wordpress is showing the correct language, which is great. A major problem is the Forum is not. I currently have the site offline for now. But it should be up again before the start of next week (well thats what I have told the users) :-)

    #106306
    kai920
    Member

    Thanks anointed, I might follow your approach as I want to keep the forums somewhat separated from the rest of the site. Am sure I will learn many things along the way also, as an added bonus :)

    #40212

    I have installed bbpress 2.0 at allaboutfocus.com on the Genesis Framework. Before I knew that shortcodes existed I create a single free forum with some test posts. You can see that here: http://allaboutfocus.com/forums/forum/free-forums/#

    Now I’ve discovered shortcodes. I created a new empty page called /mojo-forums. I edit that page and add a couple of simple shortcodes. When I save the new page I am instantly directed back to edit session for page http://allaboutfocus.com/forums/forum/free-forums/ . This is bizarre. That is not the page I was editing. Keep in mind this is all happening in the admin area. When I click on view to view the page /mojo-forums it shows me page /forums which has no edit options.

    Also – when I post a new test post it is showing the freshest post as 4 hours ago. But when you drill down to the post it has the correct time that I saved the post.

    Help.

    Thanks,

    Patrick

    #40211

    Topic: User Signup

    in forum Troubleshooting
    bobodisco
    Member

    How do I allow people to sign up to my forum, Currently I have a page set up with the sign up short code and when one attempts to sign up the WP login page is displayed with a message stating “User registration is currently not allowed.” Is this a setting that needs changing in the admin section of my site?

    Thanks

    #108307

    In reply to: bbPress Language Files

    Vayu Robins
    Member

    Hi Moddey.

    I am not sure if what I did is correct. I can’t seem to do this in all my themes. And I can’t seem to find out why.

    I am also interested in finding a solution that actually works. :-)

    #108306

    In reply to: bbPress Language Files

    ModdeyDo
    Member

    I would like to know how this is done, BBpress 2.0. I have uploaded the .mo and .po files all over the place :-) Only thing I have not done is what Vayu said:

    add_action(‘after_setup_theme’, ‘my_theme_setup’);

    function my_theme_setup(){

    load_theme_textdomain(‘bbpress’, get_template_directory() . ‘/languages’);

    }

    Do I have to do that ?

    TIA

    Moddey

    #100700

    In reply to: bbPress 2.0 – FAQ

    Is there any word on when bbpress will support more extensive forum like features? Ex: Image posting, youtube video posting, bbcode?

    I’m sorry if this question was already covered and I missed it. Congrats on the release and the success with the plugin thus far.

    #105800

    In reply to: bbPress 2.0 – FAQ

    Is there any word on when bbpress will support more extensive forum like features? Ex: Image posting, youtube video posting, bbcode?

    I’m sorry if this question was already covered and I missed it. Congrats on the release and the success with the plugin thus far.

    #106305
    Anointed
    Participant

    @kai920

    I ended up going an entirely different route in order to get forum specific sidebars on the pages. JJ’s answer would have been the easiest to achieve by using widget context, but I wanted full control.

    Very long story short…

    I started by registering a custom sidebar just for the forums.

    I then took all of the bbpress templates and rewrite them from scratch to include my custom code and forum sidebar.

    *Keep in mind that bbPress templates are nothing more than WordPress templates, so all rules that you follow when building a custom theme also apply to bbPress. Trying to explain how to build custom templates is WAY outside the scope of what I can provide. There are numerous tutorials all over the internet to get you started.

    **If you are not comfortable writing template code, then widget context is definitely the way to go.

    #109650
    binarymoon
    Participant

    Thanks for the tip off – I found the rogue code!

    #109185
    bobbyh44
    Member

    Ah – awesome. Thanks Andre, really appreciate it.

    Hopefully they’ll add that link into the bottom of the instructions so it reads:

    == Installation ==

    1. Place the ‘bbpress’ folder in your ‘/wp-content/plugins/’ directory.

    2. Activate bbPress.

    3. Visit ‘Settings > Forums’ and adjust your configuration.

    4. Create some forums.

    5. View your site.

    6. Adjust the CSS of your theme as needed, to make everything pretty.

    7. Create a page and add one or more of these short codes into it to display your forum: https://bbpress.org/forums/topic/bbpress-20-shortcodes

    All the best.

    Bob

    #109184
    Andre
    Participant

    You’d probably want to use one of these:

    [bbp-forum-index] – Show the forum index/archive

    [bbp-single-forum id=$forum_id] – Show a single forums topics

    Here is the thread listing the shortcodes – https://bbpress.org/forums/topic/bbpress-20-shortcodes

    #40204
    unfettered
    Member

    So I’m brand new to WordPress and old hat to programming. I’m trying to piece together a word press site for a friend that he can easily manager and expand. I’ve got most everything up and running with buddy press now save for the forums (without actually having to touch code, craziness!) . My issue is with the forums (I’ve installed the site wide variant).

    The issue I’m running into is that the individual forums seem to be rendering as a page and not getting the specific forum templates added to them. I’m using the custom community theme, but this problem is repeatable if i switch to the base buddy press theme. This problem is not present if i switch to the bbpress theme. Each forum listing shows up only showing the forums tagline as if it was page data. I had to do a bit of hackery to get the forum to render at all (deleted the forum page and made a link to /forums in the menu).

    My forums are at:

    http://unfettereddesigns.net/forums/

    Any sage advice?

    My forums options:

    Archive Slugs

    Forums base : forums

    Single Slugs

    Forum slug: forum

    #109639

    In reply to: bbp_shortcodes

    pjeurien
    Member

    this works:

    add_action( ‘bbp_get_reply_content’, ‘do_shortcode’);

    but it does allow every shortcode.

    #109183
    bobbyh44
    Member

    Hi Again,

    Ahh thanks tgiokdi, getting closer to knowing how to get this working.

    So you install it.

    Then you make a wordpress page.

    Then you add a shortcode tag to that page.

    I’m guessing you add it into the HTML view of the page or a post and it would look something like:

    [bbpress(testforum)]

    Where the name of the forum is ‘testforum’.

    I haven’t tried this but maybe its a step in the right direction. Can anyone tell me what the tag looks like to get the forum to show up… or is it a secret ;)

    #95759
    QuickCat
    Member

    I am very new to bbpress plugin for wordpress. How do I get a plugin within the bbpress plugin for wordpress? I want to use BBcode, BBVideo, UserApprove and Allow Images. Are there any plugins in for this? How does one install a plugin when bbpress is a plugin itself? Can you automatically download or do you have to install manually?

    Will the plugins for the old software work for this bbpress plugin?

    Per Carlen
    Member

    Hi!

    I run a blog on which I’d like to have a BBPress forum alongside the regular blog and some other pages. But I have ran into a few problems.

    Step-by-step background:

    1. Installed WP

    2. Installed Mingleforum

    3. Created a page called “forum” for Mingleforum (myblog.com/forum)

    4. Set the forum up and people started posting stuff on it

    5. Concluded that Mingleforum lacked several features

    6. Installed BBPress but did NOT uninstall Mingleforum or delete the page “forum”

    7. Did NOT chose any template for BBPress because I don’t know how

    8. Created a paged called “new forum” on which i simply wrote [bbp-forum-index]

    9. Created what I like to call categories, but I guess really are different “forums”

    Problem 1:

    After working on my BBPress forum for a couple of days and looking thru tutorials, I realis that there’s supposed to be an admin panel for BBPress!? I can’t find it.

    Within the regular WP admin panel I do have a menus called “Forums”, “Topics” and “Replies”. And under “Settings” in the regular WP admin panel I’ve got another menu called “Forums”. In these menus there’s really not that much to do. From what I have understood there’s a admin panel specifically for BBpress, which I can’t find.

    Problem 2:

    If I get the admin panel for BBPress to work, I will probably want to install a theme since the forum looks like crap when I just add [bbp-forum-index] to the page “new forum”. Can I use a theme specifically for BBPress or will that theme also affect my main blog and all the other pages? When I change to Twentyten under Appearance->Themes (Not sure if it’s called that in the EN version of WP. I use the swedish version) in the regular WP admin panel, my whole blog get that theme.

    Problem 3:

    Since the old forum, Mingleforum, has about 100 posts in it, I’d like to transfer these posts and their respective categories etc to my new BBPress forum. Is that possible?

    I can not express how much I would appreciate it if someone helped me with this. It’s almost 1:00 at night here and I’ve spent yesterday and the whole day today trying to get this stuff to work. I’m going crazy here, so please help me :)

    Thanks!

    #40198
    tindalos
    Member

    I have a new installation of bbPress 2.0 working great, and it’s really nice.

    However, I’m trying to migrate data from a plugin called WP-Forum 1.7 which apparently is listed as ForumPress. I can’t find much detail about this at all.

    It looks like this may be a fork off WP-Forum-Server, but I can’t find much help online anywhere on how to migrate this. SimplePress has a WP-Forum 2.2 converter, but it doesn’t appear to be online. The WP-Forum plugin creates a different structure of tables:

    INSERT INTO wp_forum_posts (id, text, parent_id, date, author_id, subject, views) VALUES

    and

    INSERT INTO wp_forum_threads (id, parent_id, views, subject, date, status, closed, mngl_id, starter, last_post) VALUES

    for example.

    Although I’m somewhat familiar with the database, I haven’t found an EASY way to manually export/import to the bbPress use of Posts, etc.

    Anyone know more about this or have any pointers? Thanks!

    Brandon

    #107346

    Both [bbp-single-forum id=ID] and [bbp-single-topic id=ID] include a reply form at the bottom.

    The code wasn’t that hard, but there doesn’t seem to be a need, since you’d really want context to your ‘make a new post in the forum’ in that thread, wouldn’t you?

    #109673
    Per Carlen
    Member

    I just wasted an hour of experimenting with turning my homepage/blogpage into a static page, creating categories etc. Then I realised that the setting amount of sidebars on blogpage was just underneath the setting you just reffered to…..

    Thanks again man! Things are just like I want them! :)

Viewing 25 results - 17,401 through 17,425 (of 32,500 total)
Skip to toolbar