Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 21,901 through 21,925 (of 32,481 total)
  • Author
    Search Results
  • #33447

    Topic: RSS Feeds

    in forum Troubleshooting
    thelobbyist
    Member

    Just doing some searching and see that RSS feeds for forums were broken. I discovered this myself when I tried to load my forum feeds for my new site into Google Reader today and it couldn’t find the feed. I have updated my code with the patch update and feed validator says my feed is fine, but it still won’t load in Google Reader.

    From what I’ve read on the forums there was a wide spread problem, but I can’t seem to locate if there was ever a definite solution. I am running the latest WP with BBpress 1.0.2 with deep integration.

    Anything I can do to fix this? RSS feeds for my forums are pretty vital because this particular site won’t have posts, just pages for research content, and forums for feedback and discussion.

    Thanks

    #83588

    Cause I have no knowledge on how to recode the php.

    It’s JavaScript.

    You didn’t want to edit PHP files.

    #83587
    Marius-
    Member

    Hi, forgot this was my problem.

    Where should I put that php code?

    #85473

    Nevermind. I found it. You can do it like this:

    <?php echo forum_name($forum->forum_parent); ?>

    #85470

    In reply to: new to BBpress

    cary1221
    Member

    I second that Marius! :) But looks/feel apart haven’t really had a problem with php BB. I want to shift but am skeptical of other internet forums, functionality-wise. Any suggestions ?

    #33442
    cary1221
    Member

    hey guys!

    I’m using php BB forums currently, why should I shift to BBpress? Pls help!

    Thanks ! :)

    #85169

    Hi,

    I tried contacting you by email but had no success (it says it has been delayed).

    I can work for you.

    Email me – ashishsainiashfame[at]gmail<<<dot>>>com

    OK, I think I got it working. I hired someone to code it for me–now I have to figure out how he did it!

    Thanks.

    #84733

    In reply to: Plugins You Want !!!

    toniperdew
    Member

    An avatar plugin that works when just installed/activated, without needing to modify php code would be great! :-)

    Please, don’t say that I have said things that i have not. Feel free to quote me, but don’t make things up or wrongly generalise and attribute them to me.

    That said, i apprecaite you finally getting round to being polite to the people who have helped you out thus far. Finally finding manners to Thank people like John who went out of their way to help you was the decent thing to do :)

    Either way, don’t think it really matters.

    Personally i’ve found that pointing my post form towards WP is better because if something is going to change/break in a future version it will happen in WordPress long before bbPress. People are patching/plugins/writing-guides on how ot make bbPress work with WordPress not the other way around, so i stick with the strongest/most stable software as my login base. But really, thats just me being careful; i shouldn’t matter :)

    #85443
    lynx13
    Member

    Okay, I think I solved it myself.

    The working code is as follows:

    # BEGIN bbPress

    #Options +MultiViews

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /forum/

    RewriteRule ^page/([0-9]+)/?$ /forum/index.php?page=$1 [L,QSA]
    RewriteRule ^forum/([^/]+)/page/([0-9]+)/?$ /forum/forum.php?id=$1&page=$2 [L,QSA]
    RewriteRule ^forum/([^/]+)/?$ /forum/forum.php?id=$1 [L,QSA]
    RewriteRule ^forum/?$ /forum/ [R=302,L,QSA]
    RewriteRule ^topic/([^/]+)/page/([0-9]+)/?$ /forum/topic.php?id=$1&page=$2 [L,QSA]
    RewriteRule ^topic/([^/]+)/?$ /forum/topic.php?id=$1 [L,QSA]
    RewriteRule ^topic/?$ /forum/ [R=302,L,QSA]
    RewriteRule ^tags/([^/]+)/page/([0-9]+)/?$ /forum/tags.php?tag=$1&page=$2 [L,QSA]
    RewriteRule ^tags/([^/]+)/?$ /forum/tags.php?tag=$1 [L,QSA]
    RewriteRule ^tags/?$ /forum/tags.php [L,QSA]
    RewriteRule ^profile/([^/]+)/page/([0-9]+)/?$ /forum/profile.php?id=$1&page=$2 [L,QSA]
    RewriteRule ^profile/([^/]+)/([^/]+)/?$ /forum/profile.php?id=$1&tab=$2 [L,QSA]
    RewriteRule ^profile/([^/]+)/([^/]+)/page/([0-9]+)/?$ /forum/profile.php?id=$1&tab=$2&page=$3 [L,QSA]
    RewriteRule ^profile/([^/]+)/?$ /forum/profile.php?id=$1 [L,QSA]
    RewriteRule ^profile/?$ /forum/profile.php [L,QSA]
    RewriteRule ^view/([^/]+)/page/([0-9]+)/?$ /forum/view.php?view=$1&page=$2 [L,QSA]
    RewriteRule ^view/([^/]+)/?$ /forum/view.php?view=$1 [L,QSA]
    RewriteRule ^rss/?$ /forum/rss.php [L,QSA]
    RewriteRule ^rss/topics/?$ /forum/rss.php?topics=1 [L,QSA]
    RewriteRule ^rss/forum/([^/]+)/?$ /forum/rss.php?forum=$1 [L,QSA]
    RewriteRule ^rss/forum/([^/]+)/topics/?$ /forum/rss.php?forum=$1&topics=1 [L,QSA]
    RewriteRule ^rss/topic/([^/]+)/?$ /forum/rss.php?topic=$1 [L,QSA]
    RewriteRule ^rss/tags/([^/]+)/?$ /forum/rss.php?tag=$1 [L,QSA]
    RewriteRule ^rss/tags/([^/]+)/topics/?$ /forum/rss.php?tag=$1&topics=1 [L,QSA]
    RewriteRule ^rss/profile/([^/]+)/?$ /forum/rss.php?profile=$1 [L,QSA]
    RewriteRule ^rss/view/([^/]+)/?$ /forum/rss.php?view=$1 [L,QSA]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^.*$ /forum/index.php [L]
    </IfModule>

    # END bbPress

    As you can see, I commented the Options +MultiViews out and let the bbpress-generated .htaccess do the rest.

    I was just lucky and experimenting with different .htaccess in this subfolder for hours.

    Thanks anyway!

    #85451

    I say it’s not likely to happen becuase we only have 2 or 3 plugin developers left, and your requirements are very specific. We’ve seen from all the other plugins that you’re unhappy with about how you want something that fits your needs exactly, and you never say please or thank you. I told you days ago where you could get one, and you didn’t like it even though it does everything you said you wanted.

    I’m not your enemy mate, everytime you ask for help i step up. You’ve still not thanked me for the code i sent last week to solve your issues you could have googles (they weren’t bbPress issues).

    I dont think a simple chatbox is something thats specific to me and my needs alone. I think its a perfectly logical thing to make in context with the philisophy of BBPress.

    Cool, then go make it :)

    #85448
    Marius-
    Member

    I want a box on the side of the forum, with two fields.

    One field of posted messages, and one input-field to write them in.

    I dont want tabs, smileys, list of users, links to php-shit, bubbles-background, different colors in text or bb code buttons at all.

    Just a simple simple SIMPLE chatbox.

    Look at my _shout_box on http://www.michaeljackson.no. Thats a plugin called WP-Wall, and its great.

    I want something similar to that, just optimised for chatting.

    When I say optimised, I mean = room for more comments with better readability, and live refreshing.

    #85442

    Ok, i’m coding on my iPhone – expect errors.

    function kjg_custom_feed_rewrite($wp_rewrite)

    {

    $feed_rules = array

    (

    ‘forum/(.+)/(.+)’ => ‘/bbpress_folder/index.php?variable1=’ . $wp_rewrite->preg_index(1) . ‘&variable2=’ . $wp_rewrite->preg_index(2),

    );

    $wp_rewrite->rules = $feed_rules + $wp_rewrite->rules;

    }

    add_filter(‘generate_rewrite_rules’, ‘kjg_custom_feed_rewrite’);

    function kjg_add_custom_page_variables( $public_query_vars )

    {

    $public_query_vars[] = ‘variable1’;

    return $public_query_vars;

    }

    add_filter( ‘query_vars’, ‘kjg_add_custom_page_variables’ );

    Basically, whenever you try and load “domain.com/forum” the .htaccess file would load wordpress. WordPress then hits it’s own htaccess rules (how it does permalinks etc), which it stores as an array you can manipulate and it then loads the page you tell it with the $_GET variables you can also maipulate. The thing is, WordPress does this AFTER it’s loaded it’s variables and plugins, but obviously before it’s done any form of outputting to the screen… so in theory you could just tell it to load the bbpress index instead, and as it’s already got wp-load.php processed, all of the user-ids/logins/permissions etc should be already generated – not to mention, you could call WP functions etc.

    Basically, it’s deep integration but form the WordPress side rather than the bbpress side. There might be some BackPress function un-compatability (i can think of a few right now that would be iffy) – but it basically looking at the problem from a different viewpoint.

    Instead of trying to bridge WordPress and bbpress, why not have WordPress load bbPress as a “plugin”, and then we could take advantage of plugins like WP-Role-manager and facebook connect etc.

    Ok, my code may be very very wrong, give me a day to hack out something :)

    #85447

    Can you define what it is you want your chatbox to do please?

    As you’ve already said you don’t want a shoutbox, and now you don’t want the above linked AJAX chat. If you gave us strict definitions of what you’re after we could help :)

    chrishajer
    Participant

    The fact that functions.bb-pluggable.php is listed leads me to believe it’s a conflict with a plugin. What plugins are you running?

    Sabuntu
    Member

    When I tried to delete one of my posts i get this error

    Database error: [Column ‘topic_last_poster_name’ cannot be null]

    UPDATE bb_topics SET topic_time = ‘2010-02-25 00:46:31’, topic_last_poster = ‘1’, topic_last_poster_name = NULL, topic_last_post_id = ’10’ WHERE topic_id = ‘3’

    Caller: bb_delete_post, bb_topic_set_last_post

    Warning: Cannot modify header information – headers already sent by (output started at /home/ssmmid/public_html/forums/bb-includes/backpress/class.bpdb.php:569) in /home/root/public_html/forums/bb-includes/functions.bb-pluggable.php on line 232

    Can any body please tell what’s going on ??

    lynx13
    Member

    Hey!

    I finally setup bbpress inside http://example.com/forum/

    Of course I would like to use permalinks, because they are already working with my WordPress-Blog http://example.com

    I am not a specialist in setting up .htaccess, so I would like to request your help.

    The “main” .htacess reads as follows:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress
    Redirect permanent /zsblog http://example.com
    Redirect permanent /zsblog/feed/ http://example.com/feed/

    As you can see my blog runs inside /zsblog which is located in / on my server.

    bbpress runs inside /zsblog/forum

    Here the .htaccess of “bbpress”:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /forum
    RewriteRule ^forum/([^/]+)/page/([0-9]+)/?$ /forum.php?id=$1&page=$2 [L,QSA]
    RewriteRule ^forum/([^/]+)/?$ /forum.php?id=$1 [L,QSA]
    RewriteRule ^topic/([^/]+)/page/([0-9]+)/?$ /topic.php?id=$1&page=$2 [L,QSA]
    RewriteRule ^topic/([^/]+)/?$ /topic.php?id=$1 [L,QSA]
    RewriteRule ^tags/([^/]+)/page/([0-9]+)/?$ /tags.php?tag=$1&page=$2 [L,QSA]
    RewriteRule ^tags/([^/]+)/?$ /tags.php?tag=$1 [L,QSA]
    RewriteRule ^tags/?$ /tags.php [L,QSA]
    RewriteRule ^profile/([^/]+)/page/([0-9]+)/?$ /profile.php?id=$1&page=$2 [L,QSA]
    RewriteRule ^profile/([^/]+)/([^/]+)/?$ /profile.php?id=$1&tab=$2 [L,QSA]
    RewriteRule ^profile/([^/]+)/([^/]+)/page/([0-9]+)/?$ /profile.php?id=$1&tab=$2&page=$3 [L,QSA]
    RewriteRule ^profile/([^/]+)/?$ /profile.php?id=$1 [L,QSA]
    RewriteRule ^view/([^/]+)/page/([0-9]+)/?$ /view.php?view=$1&page=$2 [L,QSA]
    RewriteRule ^view/([^/]+)/?$ /view.php?view=$1 [L,QSA]
    RewriteRule ^rss/?$ /rss.php [L,QSA]
    RewriteRule ^rss/forum/([^/]+)/?$ /rss.php?forum=$1 [L,QSA]
    RewriteRule ^rss/topic/([^/]+)/?$ /rss.php?topic=$1 [L,QSA]
    RewriteRule ^rss/tags/([^/]+)/?$ /rss.php?tag=$1 [L,QSA]
    RewriteRule ^rss/profile/([^/]+)/?$ /rss.php?profile=$1 [L,QSA]
    </IfModule>

    Unfortunately, when clicking on a new created forum or on a topic I get redirects to random(?) articles inside my WordPress-Blog.

    Any ideas how I can fix that?

    BTW.: Option +MultiViews didn’t work for me. Need to set it up separately.

    Thanks in advance!

    All the best,

    lynx

    Its good to have people like Kevin here. :)

    People don’t need to shell out money for small fixes.

    P.S. - I am going home tomorrow (for a small vacation) or else I would have left my email ID here :P

    Hi Robert,

    I’m guessing really but i’d suggest:

    in style.css

    Line 31:

    #header, #posts {

    width:760px;

    }

    should read:

    #header, #posts {

    width:[input new width];

    }

    in style.css

    Line 45:

    #header h1 {

    background:url(“images/jillijheader4.jpg”) no-repeat scroll center top #999999;

    border-bottom:1px solid #999999;

    font-size:2em;

    height:182px;

    line-height:80px;

    width:760px;

    }

    should read:

    #header h1 {

    background:url(“images/jillijheader4.jpg”) no-repeat scroll center top #999999;

    border-bottom:1px solid #999999;

    font-size:2em;

    height:182px;

    line-height:80px;

    width:[input new width];

    }

    replace [input new width] with either a fixed width (1000px) or a percentage (100%).

    Good luck :)

    #33276
    Juan
    Member

    Line 1508:

    $defaults = array( ‘id’ => 0, ‘before’ => ” );

    really disrupts the layout. Changing to:

    $defaults = array( ‘id’ => 0, ‘before’ => NULL, ‘after’ => NULL );

    Fixes the nasty template issue.

    Can this line of code be modified in the core code for distribution?

    Thanks

    #85337

    In reply to: bbPress Simple?

    JimJiber,

    I, we, all feel your pain – but you’re confusing two issues here; because you’re viewing bbPress as a WP plugin. It’s not, it’s a standalone forum, and there is a “bridge” that connects the logins/users to wordpress.

    1) bbpress is very very simple to set up and use if you have basic technical knowledge (ability to edit a file and FTP).

    2) bbPress is not simple to integrate into WordPress.

    It is random, annoying, and requires you to know so much it’s unreal, and most of the information you’re meant to know is buried inside forum threads you’ll struggle to find. If you want to stick with it, shoot us over the steps you took, linking which of the guides on here you followed would be great if possible, and we’ll try and sort you out.

    The forum appears to be a completely seperate entity to my WP site

    It is, and will be.

    Seems like no-one can make a decent forum for wordpress.

    You’re kinda right. This is actually really good, but WordPress has a tendancy to change it’s securty protocols quite randomly and often. 2.1, 2.5 and 2.7 all had major changes and whenever that comes we’re all playing catch up. Sadly automattic took the decison to integrate bbPress into BackPress and then decided not to integrate WordPress into BackPress, so we’re left in the state of limbo you now see.

    this has been a total waste of an afternoonand I needed to vent.

    Thats ok, i cant think of one person that has come to bbpress and gotten integration working on their first day, let alone afternoon. Matt (head of automattic) annouced that Integration was the highest priority to get working back in December, but then decided we should work on anonymous posting instead, so we’re all a tad confused.

    Before deciding on forum software or swapping to joomla, i’d spent the time doing a bit of research on them all. There are positives and negatives for many of these – but on the plus side you now know the 2nd biggest flaw of bbPress :)

    Hardly intuitive is it?

    No, but then it’s not trying to be :(

    My suggestion is to get your forums working first, without trying integration. Then once you know it’s all working you can follow one of the countless integration guides here, and shout us when things go wrong. Sadly, it’s the best that can happen.

    Ashfame,

    Thanks. I tried that but to no avail.

    I would be willing to hire someone to fix this. If anyone is interested, I can send them the code.

    rlebowitz AT yahoo.com

    Thank you!

    #82419

    @Meraj

    I can work with you! Email me – ashishsainiashfameatgmail<<dot>>com

    {Edit – My bbPress design matching with WordPress >> NAP}

    @pondering

    Great buddy! Looking forward to it.

Viewing 25 results - 21,901 through 21,925 (of 32,481 total)
Skip to toolbar