Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 26,101 through 26,125 (of 32,481 total)
  • Author
    Search Results
  • #70623
    salemw
    Member

    yes, i did went to that topic earlier, I searched the whole forum but I just don’t get how i should use it I tried : global $topic_id, $forum_id; include(‘../nav/’.$forum_id.’.php’);

    it works fine but only on forum pages. not on topics. The same with an earlier post asking for different stylesheets:

    <link rel="stylesheet" href="<?php if ($forum_id == 1) bb_stylesheet_uri(); elseif ($forum_id == 2) echo '/my-templates/kakumei-blue/style.css'; ?>" type="text/css" />

    It”s ok on forum but not on topics.

    So in my header if I do the routine:

    global $topic; echo “$topic->topic_title”; I get the topic title ok but nothing with

    global $bb_post; echo “$bb_post->forum_id”;

    #4522
    feastoffools
    Member

    Hi there everyone, right now we’re trying to restructure our wordpress blog and bbpress forums to allow blog entries to appear in the forums via Bbsync.

    http://bbpress.org/plugins/topic/bbsync/

    Because of this need to have our blog entries appear in the forums, we’re restructuring our forums to tie into the blog entries.

    Check it out here: http://www.feastoffools.net/community

    Wondering if there is a way for parent forums to show all the entries in their subforums instead of showing entries specifically intended for the top parent category. Am I making sense?

    Or is there a way to lock out people from making an entry on a top level forum (allow only subforum

    Is there a way to have the top level forums count the entries in the subforums? Any feedback would be greatly appreciated. Thanks.

    <hr>

    Right now this is the structure we’re looking at:

    Feast of Fools

    – Podcast (Gay Fun Show) PODCAST

    – Video (Our original videos) VIDEO

    – Photos (Our original Photos) PHOTOS

    – Mini Bites (Audio clips and songs from the podcast) MINI BITES

    – One on One (Video Blogs) VIDEO BLOGS

    Topics

    – About Us (Press, Appearances, Announcements)

    – Animals (Our furry and not so furry friends)

    – News & Rumors (What’s the Buzz)

    – Trends & Tech (How we are changing, technology & the environment)

    – Culture & Style (Media, Ideas, Recipies, Looks & Things that are hot)

    – Gender & Sexuality (Gay, Lesbian, Straight, Trans, Male, Female, Bi, Trans & Everything Else)

    – Health & Wellness (AIDS/HIV, Fitness, STDs, Diet, Nutrition, Mental Health)

    – People (Celebrities, Guests, Hotties & You)

    – Politics & Activism (Creating Change and the people and ideas behind it)

    – Travel & Tourism (where to go, what to see)

    Fans & Friends

    – Ask for Advice (questions)

    – Promote Your Work (links and samples of: Photos, Video, Blog, Podcasts, Designs)

    – Your Thoughts (statements)

    Support

    – Site News (Changes, Upgrades & News About the Site)

    – Listening to Shows

    – How to Post (Tips and tricks on posting in the forums)

    – New Listeners

    – Questions

    Feedback

    – Bugs (Report problems for the site)

    – Show Ideas

    – Favorite Moment (Time and Episode in a podcast you found fabulous)


    #4518
    salemw
    Member

    Hello,

    I recently transfered my forum from phpbb3 to bbpress and i really enjoy it

    there is only one thing I cannot reproduce with bbpress. I used to have a different style for each category or forums and an image include on top of each. I can do it with forum_id but the variable do not follow in topics

    ex:

    if ($forum_id == 1) echo 'blabla';

    How could I keep it in topics ?

    Thank you

    #70617
    sbouazza
    Member

    The typical forum layout comes from catering to new visitors that want descriptions of each category, and from repeat visitors wanting to check if there are updates to that category without having to click into that category.

    Of course, my goal is to break that “tradition” and create something newer and, as you said, wik-ish .

    Tags also are really great for moderating topics, you can immediately find duplicate topics and close them .

    The forum will be managed BY the community, so using tags for navigation and giving the users the right to create them freely will not be a problem ( tags spam ? the spammer will get a kick in the ass :P ), and the moderation team will do its best to prevent tags abuse.

    If tags could visually signify if there are new posts for the visitor inside of them, maybe with emphasis or italics or reordering them to the front of the cloud, that would be a neat idea.

    Good idea, noted .

    Well, thank you all for your responses, I’ll try to finish the template then I’ll invite users to test it and give me their feedbacks .

    I didn’t see someone else using tag navigation on his forum, so maybe I will be the first to use it :-) ( or to loose )

    #70621
    dirge2000
    Member

    Well what do you know – it *was* in the bb-config.php file. I *knew* it wasn’t anything I’d done to the templates, ’cause I’d checked them a thousand times, plus it showed up even when I reverted to the original templates.

    Thanks for your help! :)

    #70520

    In reply to: Members can add tags

    chrishajer
    Participant

    Ignoring the debate over whether it’s a feature or a bug, good or bad, you could just remove the capability from the member role. It’s coded in bb-includes/functions.bb-capabilities.php line 170, “edit_tags”. You could delete that line and members would not be able to edit tags any longer. I’m not sure if that means they can’t add tags to their own post or not though.

    Also, instead of modifying a core file like that, you could probably use a plugin to remove that capability from the member role. Or you could create a whole new role that does not have that capability. I think there was a plugin related to custom roles:

    https://bbpress.org/forums/topic/disable-posting-and-registration#post-11696

    #70620
    chrishajer
    Participant

    That’s not really that weird or random. I suspect it’s in one of the template files that was edited. Since it doesn’t occur anywhere other than the front page (that I could see anyway) it’s probably in the front-page.php template file. Just search that file, or all template files for the string “ousep”. It should be pretty apparent.

    It could also be in the bb-config.php but I doubt it since that would probably throw a syntax error.

    Could be from “houseplant” or “mousepad” I suppose :-P

    #4517
    dirge2000
    Member

    Dunno what’s going on, but I’ve just installed bbpress at http://www.corvidaid.org/forum/ and for some reason extra characters are being added into the page just at the start. View the source code and you see “ousep” just being spat out at random. I have no idea where it’s coming from or what to do about it. Help! :)

    #55950

    In reply to: Show off your Forum !!

    Fernando Tellado
    Participant

    I’m finishing my new forum (latest was made with SMF). I’m using bbPress 1.0 alpha 4 with the default theme (in blue and customized) and several plugins (a lot):

    – Akismet

    – Attachments

    – Favourites notification

    – Registration notification

    – Temporal Ban

    – bbcode buttons

    – smileys buttons

    – Related topics

    – Signatures

    – bbcode lite

    – bbvideo

    – post count plus

    – support forum

    – mass edit

    – hidden forums

    – active users

    – bbpress karma

    – terms of service

    – human test

    – report post

    I’ve made the translation of bbPress 1.0 to spanish ( http://ayudawordpress.com/bbpress-espanol-alpha-104/ ) and the forum URL is …

    htp://foro.ayudawordpress.com

    #70614
    myu
    Member

    It would work fine. :)

    I hacked mine so users would tick on tags that are pre-defined, using only one forum. I thought it would be more suited for the target users who might not be familiar with the whole concept of “tags”, and I think it is working as expected.

    The way I could think of in how to enter tags in the first place is pretty silly but ah well…

    You’d be letting users enter the tags themselves, so it’ll be logically nicer.

    #70613
    1496013
    Inactive

    sbouazza, send a screenshot of your forum :)

    I think is a best idea.

    #70609
    ganzua
    Member

    Hi Istelie! Thanks for your answer :)

    I came across before the post that is suggested in your thread;

    https://bbpress.org/forums/topic/permanently-deleting-topocs-and-posts

    but it is not exactly what I want because I can edit myself the database using phpmyadmin, I don’t need any script.

    What I want is to substitute topic_delete_link() function in my template for a new function that can permanently delete a post.

    I can’t believe there isn’t any. Can’t you use bb_delete_posts() to do this?

    #70608
    lstelie
    Member

    Hello,

    It’s a classic :)

    Have a look here : https://bbpress.org/forums/topic/10-trunk-1806-how-to-delete-deleted-messages

    BBPress has a very nice frontend, a fantastic engine, but no real admin (alpha level so work in progress..), hopefully, Santa got us PhPMyAdmin….

    Luc

    #70618
    TechGnome
    Member

    Well smother me with some butter and call me a biscuit! I figured it out. I mis-read how the get_location function works. The answer to my problem was to add a filter like so:

    add_filter( 'bb_get_location', 'my_set_forums_location' );

    And then add a function thusly:

    function my_set_forums_location () { return 'front-page'; }

    to my new forums.php file… and viola! Everything worked like it should! Woot!

    #55949

    In reply to: Show off your Forum !!

    uv777bk
    Member

    I’m using the popular iNove theme for both bbPress and WordPress here…

    Barack Obama UFO

    http://www.barackobamaufo.com/bbpress/

    Plugins:

    bbPress Smilies

    BBcode Lite

    Cheers!

    #70610
    johnhiler
    Member

    Is there a link we can look at? :-)

    #4510
    Fernando Tellado
    Participant

    Buenas :)

    Acabo de traducir bbPress 1.0.4 Alpha al Español. Si queréis descargar tanto el .MO como el .PO los tenéis en mi blog.

    ¡Feliz Navidad!

    #49967

    In reply to: En español

    Fernando Tellado
    Participant

    Buenas :)

    Acabo de traducir bbPress 1.0.4 Alpha al Español. Si queréis descargar tanto el .MO como el .PO los tenéis en mi blog.

    ¡Feliz Navidad!

    #70595
    chrishajer
    Participant

    Marina, in the front-page.php template file, you can change topic_page_links() to topic_pages($topic->ID) and get the topic page links with the … in the middle (shows just beginning and ending pages.)

    You still have a problem when there is a long topic title that fills the space for that table cell. You could put a new row beneath the topic, on the front page, so all the topic page links are in a row beneath the topic title. In fact you could do that with the topic_page_links() as well and not use the other function. You might want to test if there *are* topic page links before creating a new row, otherwise you’d have a blank row if there are no page links.

    You could also do this in your CSS:

    #front-page #discussions td {
    white-space: nowrap;
    }

    But that would just make the cell not wrap, which will just break the layout further.

    You could do this:

    #front-page #discussions td {
    overflow-x: hidden;
    }

    But that just hides whatever won’t fit. That’s not a good solution.

    #70600
    displayname
    Member

    All I need to do is change the link for the topic as the first post’s content.

    Here is the original in the topics table on front-page.php

    <td><?php bb_topic_labels(); ?> <a>"><?php topic_title(); ?></a><?php topic_page_links(); ?></td>

    It needs to become

    <td><?php bb_topic_labels(); ?> <a>"><?php topic_title(); ?></a><?php topic_page_links(); ?></td>

    (saying I put a url in the post’s content) but post_text doesn’t work. Any way to get around this?

    #4505

    Topic: Codex linking?

    in forum Plugins

    So I’m reading this blog post, all about bbPress and WordPress and I realize something. You can link on the WP forums to their wiki.

    3. Link to Codex article by using the wiki code of two beginning and ending brackets. Template Hierarchy will create a link to that article in Codex.

    I have bbPress. I have a MediaWiki. How did they do that!? I’d like to implement that!

    #4504
    Malice
    Member

    Hi all,

    I recently installed the bbpress forum (http://www.holysh1t.net/forum) on the one month old gaming blog http://www.holysh1t.net. The integration with wordpress went nearly flawless, the speed is amazing even on shared hosting and I find many joy in all the plugins! I am definitely amazed at all the work _ck_ has put in to them… he seems to have created atleast half of all the plugins available… kudos :)

    What this post is about is a request to have a custom field in registration, which could be edited in the profile and published as a seperate field in the user info, next to each post. I’ve been looking if such a plugin exists, but could not immediately find it!

    Would be great if it could be a feature to be considered, or if someone could show how it could be done (if it’s not too much time of course).

    Either way, I love bbpress! Thank you for this great piece of software!

    Happy holidays,

    Greetings,

    Nico

    http://www.holysh1t.net/forum

    #70284

    @bryan868 – the other thing to do is re-replace all your AUTH/SECURE etc keys in BBpress with the ones from WP. ALL of them. Every last one. Then purge your cookies and log back in.

    @johnjamesjacoby – it’s just in a subfolder :) http://www.amfproductions.com/a/wp-login.php

    #70518

    In reply to: Members can add tags

    @chrishajer – If I get bored enough this week I may make a plugin to show all the tags a person makes (list it on their profile page maybe) or even on mouse-over for admins…. Actually the later sounds smarter. Mouseover the tags and the ‘alt’ is the person who added them. You’d still need a bit of brains to sort out that ‘Gee, JimBob there made these tags in a lot of posts’ Dunno, I can think of a few approaches and none appeal to me past common sense :)

    @wiseacre If you really want to remove the ability of non-mods to add tags, just edit topic-tags.php in your template.

    Wrap <?php tag_form(); ?> with an ‘if mod’ sort of deal. Call it a day.

    #70581
    Buca
    Member

    I cut out a lot of code from the original template to get things looking the way I wanted. Any ideas as to what I removed that is causing this, or at least which file I should restore?

Viewing 25 results - 26,101 through 26,125 (of 32,481 total)
Skip to toolbar