Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 17,776 through 17,800 (of 32,506 total)
  • Author
    Search Results
  • #107803
    David Decker
    Participant

    Hi there!

    I had the same problems as Jared posted – also working with Genesis latest version. I test for a few weeks now and thought it was all my fault until I saw this thread here finally!

    @Jared Atchison:

    Any news on this what to change? – I saw your forum index and such all displaying properly – want that too :-)

    Thanx for any help!

    -dave :)

    #106072
    woodwardmatt
    Member

    That would make sense. I think the key message is for myself (or anyone else reading this afterwards) is that the templating for bbpress is not intended to follow the same structure / approach as wordpress – that’s definitely where my confusion started to creep in.

    For the time being I’m likely to opt for overriding the CSS to provide the branding I require and stick with the current layouts in the default theme until the plugin’s had chance to settle in and some of the examples you mention have had chance to come about. I’d be interested to see more on the “bbPress Pack” approach in good time :)

    Thanks for all the insight, most useful!

    #106069

    @woodwardmatt: Thanks for the kudos. :)

    The theme layer is complicated because there is no easy way to create a new type of content in WordPress without the theme supporting it.

    Originally you *had* to use a bbPress theme (bbp-twentyten) but that was only so I could build something out of nothing. Once I had a theme, I made shortcodes that use individual template parts so things could live anywhere and still look the way the theme looks. Lastly, I built the whole abstraction layer that used the shortcodes to output content where it belongs without you needing to do anything about it.

    The thing is, there is only one bbPress 2.0 theme in the world right now, and it’s the one that comes with bbPress 2.0. I’m not opposed to including more theme’s in core, but I think it’s someone else’s turn to make the next one.

    To your request: Currently impossible. :) Plugin updates delete the parent folder and recreate it with new contents. No way to avoid it getting wiped out. :/

    To your reason: Makes sense, and if we want to make more bbPress themes for core, we can. Then you can pick which “style” of bbPress you want inside your existing theme. Advanced developers still get the flexibility they desire. Win/Win.

    Payment: Delicious :)

    #108475

    You’ll want to get familiar with how template parts work. The reason there are so many is bbPress uses them to make the shortcodes work correctly.

    The file names themselves are fairly verbose, and at the top of each file is the name of the file, which is a fairly clear indication of what it does.

    When we get some documentation setup here, I’ll post up a list of the files and what they do and why.

    #106068
    woodwardmatt
    Member

    @John – First of all, can I say what an awesome move to having bbpress as a plugin is! For the average user wishing to get forums up and running, you couldn’t ask for better! Nicely done!

    On more of a developer level I, the same as many of the guys posting, are probably a little thrown on the templating side of things. Just to clarify, I’ve joyfully created my fair share of wordpress themes and was looking forwarding to getting to grips with bbpress to do similar. At this point I can’t help but feel the templating side of things seems a little crazy (read awkward and unintuitive) unless i’m misunderstanding.

    By means of throwing my two pence into the discussion, I’d love to see the same approach for bbpress as was undertaken for wordpress. Namely the opposite of the following:

    DO NOT put any custom themes in “/bbpress/bbp-themes/” as they will get wiped out when you update bbPress.

    I love that bbpress has picked up the overall theme from wordpress but having the theme for the bbpress UI elements self-contained and separate from the wordpress theme would most likely clear up a fair bit of the confusion / frustrations. I know such a comment is easily made outside of understanding the full intricacies of the platform and that making such a change would no doubt have greater implications. However and to be honest, that was the approach I was expecting – most likely given the approach I was used to with wordpress. I know a similar comment has already been made, I’d just like to tip my hat to it, and raise it again for your consideration.

    Request: Custom bbpress themes to reside in “/bbpress/bbp-themes/” without risk of removal upon updates.

    Reason: To retain better / cleaner organisation of theme files and reduce complexity of theme development. (The replies / questions above are testimony to this)

    Payment: Pizza of your choice! ;)

    Once again awesome job, and hugely appreciate all the hard work!

    #108408

    In reply to: permalinks?

    ChrisCGray
    Member

    It sure looks silly. :(

    That second problem of yours can be fixed by making a page called Forums, and making manual links to your different forums on that exactly how you want them.

    #108474
    rayv
    Member

    same :(

    #108494
    rayv
    Member

    ok i think i found a way to get the page formatted again. i edited some lines in the gantrybodylayout.class.php file and it shows the page formatted now.

    BBUUUUTTTT, it doesnt show anything on the page. it shows a page alright, but theres no content on the profile page. like none at all. no username, no details about the user etc. :(

    #108407

    In reply to: permalinks?

    rayv
    Member

    mine does this too… the breadcrumbs are:

    Site Home › Forums › Forums › News & Announcements › Topic Title

    when i click on the first forums, it gives me not a list of forums, but a plain, unlinked text list of forums without any links or anything. its bizarre, not sure whats wrong. :s

    #39744
    rayv
    Member

    hi there guys,

    i’m using a rockettheme wordpress template and seem to be having issues with the beta 2 profile pages. whenever i click a username on the forums to visit the bbpress profile page of that user, it is a completely unformatted page consisting of:

    >

    Home

    About Us

    Page 3

    Page 4

    Forums

    Logout

    Fatal error: Call to undefined function get_query_type() in /wp-content/plugins/gantry/core/gantrybodylayout.class.php on line 94

    I don’t know what to do. That’s all that appears on the page. That first “>” is indicating to me that there’s something wrong in a code somewhere, maybe thats an extra “>” or there’s another missing “>” or something. im not too experienced with php or wordpress, but im comfortable editing it if given instructions. if anybody could help me on this issue, i would be extremely grateful – i’ve been trying to fix it for a few days now.

    thanks, i hope somebody can lend a helping hand!

    (by the way, this exact same thing happens, with the same error too, when i click ‘EDIT’ to edit a post other than the first post in a topic.)

    #108493
    War82
    Member

    THank you :)

    #39745
    thomseddon
    Member

    Evening,

    Although the code is well documented within, I am having trouble getting my head round all the files/locations in the first place!

    I wanted to hide my forum by default (as oppose to having to choose public/private), achieved this by getting down and dirty with all keys that feed into the “post__not_in” field in the main forum query.

    Having achieved this, my question: Where in earth do I change the friendly “Oh bother! No forums were found here!” message???? Can’t find it anywhere!

    Thanks in advance

    #39743
    War82
    Member

    Im new to both wordpress and bbPress forum, however i got it to work and both the website and forum are up and running.

    The only problem i have is: I cant seem to figure out how to link my forum to one of the menu bar buttons. Lets say i have a menu button called ” Community Forum “, when someone klicks that menu button i want the forum to show.

    How do i link the forum page to the Community Forum menu bar button? Ive pulled my hair for hours trying to figure this out. :D

    Oh, one more thing. What file should i edit to fix the background and text on the forum?

    Thats all, thanks for a lovely plugin!

    #108466
    Gautam Gupta
    Participant

    This can be easily done with plugins which do it for WordPress like this one. :)

    #107801
    WebEndev
    Member

    Hi Jared,

    I have also been beating my head against the wall on this, and was thrilled to find your post above.

    May I ask what the bug is in Genesis?

    What do you think are the odds core will be updated?

    I’ll release a plugin that should prevent this issue from happening for others who are looking to run bbPress with Genesis.

    Any chance you have the plugin done? :)

    I am working on a pro-bono site for a not-for-profit, and trying to use BuddyPress 1.5 and bbpress 2.0. Been going ok, other than this issue.

    Thanks!

    #108454
    MartinM60
    Member

    I have resolved this by editing the bbp-template.php file.

    Anyone else with the issue should look to the function: bbp-list-forums and replace the separator ',' with '<br />'

    Hope this helps

    #108471
    Kimma
    Member

    Excellent. Thanks for the fast response. :)

    #108447

    In reply to: forums list

    MartinM60
    Member

    I had this problem, and resolved it by editing the bbp-forum-template.php file.

    You need the bbp_list_forums function at about line 637..

    Find:

    // Defaults and arguments

    $defaults = array (

    ‘before’ => ‘<ul class=”bbp-forums”>’,

    ‘after’ => ”,

    ‘link_before’ => ‘<li class=”bbp-forum”>’,

    ‘link_after’ => ”,

    ‘count_before’ => ‘ (‘,

    ‘count_after’ => ‘)’,

    ‘count_sep’ => ‘, ‘,

    ‘separator’ => ‘,’,

    ‘forum_id’ => ”,

    ‘show_topic_count’ => true,

    ‘show_reply_count’ => true,

    );

    If you edit the ‘seperator line, replacing ‘,’ with '<br />'

    Then you will list your forums as required.

    #39732
    centrius
    Member

    bbPress Signatures:

    i tried to change the bb-attachments.php and the line:

    ‘.signature {clear:both;border-top:1px solid #222; font-size:85%; color:#777;padding:1em;}’ <


    the font-size:0.87em;

    but the changes wont show in main page. if i check via the chrome developer tool i see this when i target the div:

    .signature {

    padding: 1em;

    border-top: 1px solid #CCC;

    font-size: 0.87em;

    color: #444;

    its unchanged even after i changed the php file. do you know if i need to update some other file? cant see anything in the style.css file atleast.

    cheers

    #107946
    mixlplex2
    Member

    @JohnJamesJacoby – First off, excellent work. Beautiful system. However, sorry to disagree with you, but I believe Anthony is right that there’s a problem with the plugin with both logging in and logging out (particularly when using the sidebar widget). Here’s why…

    I’m testing with the bbPress RC4 installed in a WP 3.2.1 Network config using sub-directory instead of sub-domain (no BuddyPress installed, just bbPress … no other plugins installed. – I have also tested with another sidebar login plugin and everything worked fine, but I’ve uninstalled it, and when I use the bbPress login widget I get problems.) If I use the bbPress login widget and enter the right credentials it logs me in and redirects me to [site]/[site]/ which obviously a problem.

    When I inspect the Login button element for the bbPress login widget I see:

    <div class="bbp-submit-wrapper">
    <input class="user-submit" type="submit" tabindex="104" value="Log In" name="user-submit">
    <input type="hidden" value="1" name="user-cookie">
    <input type="hidden" value="http://[host]/[site]/[site]/" name="redirect_to">
    <input id="_wpnonce" type="hidden" value="299cce3d83" name="_wpnonce">
    <input type="hidden" value="/[site]/" name="_wp_http_referer">
    </div>

    Since the problem is with the redirect_to hidden value, my guess is that there’s a problem with either

    $redirect_to = apply_filters( ‘bbp_user_login_redirect_to’, ” );

    or

    bbp_redirect_to_field( $redirect_to );

    which are called from bbp_user_login_fields() in the bbp-user-template.php file.

    ….

    Moving on to Log out

    If you correct the URL so that you’re back a the page for your site, you can now see the Gravitar, your name, and the log out link.

    Again, inspecting the log out element we get:

    <a href="http://[host]/[site]/wp-login.php?action=logout&_wpnonce=c08ad91218&redirect_to=http%3A%2F%2F[host]%2F[site]%2F[site]%2F%3Floggedout%3Dtrue">Log Out</a>

    Again, the link to the wp-login.php is fine… it’s the redirect_to afterwards that has the site name twice that’s the problem.

    I’ve also noticed that if the bbPress plugins is activated the WordPress meta for log out includes the redirect_to [site]/[site]/

    If the bbPress plugin is deactivated the native WordPress meta for log out reverts back to normal (without the redirect_to).

    With bbPress installed:

    <a href="http://[host]/[site]/wp-login.php?action=logout&_wpnonce=07d2823a80&redirect_to=http%3A%2F%2F[host]%2F[site]%2F[site]%2F%3Floggedout%3Dtrue">Log out</a>

    Without bbPress installed:

    <a href="http://[host]/[site]/wp-login.php?action=logout&_wpnonce=07d2823a80">Log out</a>

    How is it possible to change or replace the “You must log in to post” text that appears on the Forum.php and Topic.php pages? It appears that changing it directly in the “functions.bb-template.php” file doesn’t work. Can anyone provide any help, searching the forums and web has brought up very little, which makes me wonder if I am doing something wrong. :P

    Thanks in advance for any help!

    #108462

    In reply to: SuperBold avatar

    ja_santacruz
    Member

    Managed to add it. But now the title underneath overlaps it ;)

    #39728
    ja_santacruz
    Member

    http://www.retrobola.com/forum/topic.php?id=3&replies=1#post-6

    See how the poll appears on the right hand side? I wouldn’t mind but you can’t see all of it. Can I change it to appear above the first topic response.

    This is the CSS code within the plugin;

    #bb_polls {list-style: none; width:35em; line-height:120%; margin:5px 0; padding:5px; border:1px solid #ADADAD; font-size:90%; color:#000; background:#eee; }

    #bb_polls .submit {cursor: pointer; cursor: hand; text-align:center; padding:2px 5px;}

    #bb_polls .nowrap {white-space:nowrap;}

    #bb_polls p {margin:15px 0;padding:0;}

    #bb_polls .poll_question, #bb_polls .poll_footer {font-weight:bold; text-align:center; color:#2E6E15;}

    #bb_polls .poll_label {font-weight:bold; margin:1em 0 1em 1em;}

    #bb_polls .poll_option {overflow:hidden; white-space:nowrap; margin:2px 0 -2px 0; text-align:center; font-size:11px; line-height:9px; padding:1px 0 0 0; border:1px solid #303030; color:#fff; }

    #bb_polls .poll_option1 {background:red;}

    #bb_polls .poll_option2 {background:green;}

    #bb_polls .poll_option3 {background:blue;}

    #bb_polls .poll_option4 {background:orange;}

    #bb_polls .poll_option5 {background:purple;}

    #bb_polls .poll_option6 {background:pink;}

    #bb_polls .poll_option7 {background:olive;}

    #bb_polls .poll_option8 {background:navy;}

    #bb_polls .poll_option9 {background:teal;}

    #bb_polls .poll_option10 {background:aqua;}

    #bb_polls .poll_option11 {background:maroon;}

    #bb_polls .poll_option12 {background:fuchsia;}

    It is the blank 3 column theme. I am using bbpress 1.0.3

    #108331
    Dan Milward
    Member

    Cool. I’m game and have some cash to burn so if you want this or if somebody else wants this then please reply :)

    #39715
    honustudios
    Member

    I’m running the latest dev version of the plugin, version 3476, in hopes that it would have solved my issue, but no luck.

    I was getting the error mentioned in this thread http://bbpress.org/forums/topic/tags-archives-page-are-broken-in-bbp-20-rc2-and-rc3#post-90903

    I downloaded the branch code after reading the above issue and it’s resolution. Then, I started getting the WordPress “Hands off, partner!” error which is a 500 Internal Server error in Firebug.

    Any ideas about what could be causing the page to not display correctly?

    Thanks so much for your help and the great plugin.

    Bret

Viewing 25 results - 17,776 through 17,800 (of 32,506 total)
Skip to toolbar