bbPress

Simple, Fast, Elegant

bbPress support forums » Troubleshooting

Can someone please take a look at this...

(5 posts)
  • Started 1 year ago by master5o1
  • Latest reply from Trent
  • This topic is resolved
  1. Can someone please take a look at this and tell me what i did wrong...

    I tried upgrading form 0.75 (or whatever bix is) ...but was confusing so just deleted all tables but bb_users (so no one needs to re-register).

    Now I have no idea what is happening but there is no theme being shown and only text. ARGH!

    Posted 1 year ago #
  2. Somehow it just suddenly started working...---very weird!

    Posted 1 year ago #
  3. oh and the link was my forum

    Posted 1 year ago #
  4. OK...I've figured that in the <link> for stylesheet it only has http:/forum5o1 ( http:/ not http:// )

    yet in config.php it has http://forum5o1.awardspace.com not http:/
    and all the links have http:// ...

    So I have no idea :S

    This only happens when a deisgn is "activated" so i will cause it to go to default (which is what i did before to make me think that it got fixed).

    Posted 1 year ago #
  5. Sorry to get back to you late. Copy this into a file and call it path-to-url.php and drop it into your /my-plugins/ folder. If you don't have one, create it and drop that file into it.

    <?php
    
    function fix_bb_path_to_url( $url ) {
    	return preg_replace( '|:/([^/])|', '://$1', $url );
    }
    
    add_filter( 'bb_path_to_url', 'fix_bb_path_to_url', 1, -1 );
    
    ?>

    It is an error that mdawaffe created that patch for at:

    http://trac.bbpress.org/attachment/ticket/575/path-to-url.php

    Trent

    Posted 1 year ago #

RSS feed for this topic

Reply

You must log in to post.

Code is Poetry.