ardentfrost (@ardentfrost)

Forum Replies Created

Viewing 25 replies - 126 through 150 (of 225 total)
  • @ardentfrost

    Member

    can you reach http://www.rayd.org/ ?

    How about http://faq.rayd.org/ ?

    In reply to: Lyceum

    @ardentfrost

    Member

    anything is possible… I highly doubt it’d be easy though (I’ve never used Lyceum, but it’d need the exact same table layout as bbpress to be easy, and I doubt that’s the case)

    @ardentfrost

    Member

    Table creation is automatic. It should install if you navigate to your domain/pm.php or put the message code on your front page.

    In reply to: ajax killed?!

    @ardentfrost

    Member

    Oh dang man, did you make a login on my forums and I delete you? I recognize that URL. If you want to remake, try making a post so I know that you’re not a spam bot :)

    @ardentfrost

    Member

    @ardentfrost

    Member

    you can look in bb-memberlist.php and bb-privatemessages.php in my-plugins and take out the part that looks for $bb->mod_rewrite. Of course, then it would just try to use mlist.php and pm.php

    @ardentfrost

    Member

    Look in post-form.php in bb-templates directyr. Copy the file, change it, and put the changed file into my-templates directory. It’s pretty obvious which section it is.

    @ardentfrost

    Member

    I know all the memberlist and pm links check for is if $bb->mod_rewrite is set to true… that’s in your config file.

    When you do the thing to make the rest of the forum work, does going to mlist.php work?

    @ardentfrost

    Member

    If the forum is new, maybe they just haven’t gotten around to indexing it yet?

    @ardentfrost

    Member

    Look through the css file, there’s existing code on adjusting the h2 size. Copy it and make it h1

    @ardentfrost

    Member

    Other threads talk about this. There is no current way to do it. A plugin needs to be made

    @ardentfrost

    Member

    Do you have an h1 listing in your css?

    @ardentfrost

    Member

    Don’t ever change a core file ever.

    Put it in a new file in your my-plugins directory.

    @ardentfrost

    Member

    It sounds like what you need is to overload the bb_get_location function. This is easy to do in bbpress. You need to make a set of functions like this:

    is_home() {

    if( 'home-page' == get_bb_location() )

    return true;

    else

    return false;

    }

    get_home_location() {

    if ( bb_find_filename($_SERVER['PHP_SELF']) == 'home.php' )

    return 'home-page';

    }

    apply_filter( 'get_bb_location', 'get_home_location' );

    That’s untested, but I think that should work. Basically what you want to do is add in your locational test when bb_location is called. Then you can just call is_home() and it’ll do what you want. Of course, if you don’t want any other part of the forum to care if it’s on the home or not, you can take out all that stuff at the end that integrates it with get_bb_location, and just do this:

    is_home() {

    if( 'home-page' == get_home_location() )

    return true;

    else

    return false;

    }

    get_home_location() {

    if ( bb_find_filename($_SERVER['PHP_SELF']) == 'home.php' )

    return 'home-page';

    }

    Whichever you want to do. The second is easier, the first is more versatile.

    @ardentfrost

    Member

    What does it matter that what bbpress sees at “front-page” isn’t the actual front page of your site? It’s just a moniker used throughout the program, it doesn’t have to mean anything to you.

    Not a lot needs to change when adding a new page. Make a file in your forums root directory call it whatever, like null.php. set it up like this:

    <?php

    require_once('./bb-load.php');

    ***[if you need any code, put it here]***

    if ( file_exists(BBPATH . 'my-templates/nullsfile.php') ) {

    require( BBPATH . 'my-templates/nullsfile.php' );

    } else {

    echo "File does not exist in my-templates folder";

    }

    ?>

    Then make a file in your my-templates folder called nullsfile.php and make it look like an html file, but be sure to set it up like this:

    <?php bb_get_header(); ?>

    ***[put all your html code here with calls to php functions]***

    <?php bb_get_footer(); ?>

    At that point, you have a page integrated into bbpress. What you do in those two files is up to you. To access the file, you just go to forumsroot/null.php (if you have pretty links turned on, you don’t need the .php part). If you need called functions, standard is to put them into a file in the my-plugins folder.

    In some of the plugins I’ve made, my main file does stuff like detects if something is set in the address line by checking the $_GET[] variable, or it pulls information needed by the required my-templates file by running a database query…

    That all make sense?

    @ardentfrost

    Member

    what do you think calls “is_home()”?

    Look, do what I told you originally. Change everything back to how it was, and JUST change home.php in the function bb_get_location() in template-functions.php.

    @ardentfrost

    Member

    because of the function is_front(). It returns true if bb_get_location returns front-page.php.

    @ardentfrost

    Member

    why would you have it return home-page when everything is expecting front-page?

    @ardentfrost

    Member

    because of the function bb_get_location() in template-functions.php it returns front-page if $_SERVER['PHP_SELF'] is index.php

    @ardentfrost

    Member

    add position: absolute; in there

    @ardentfrost

    Member

    I sent you a pm on your board, check it

    @ardentfrost

    Member

    Also remember that you can go to postmsg.php and uncomment the lines for post count and/or avatar if you have those plugins I made installed :)

    @ardentfrost

    Member

    are you integrated spencer? I added a fix where it would detect whether you are or not and change the table from bb users to wp users. Yours says bb_users, so you might need to redownload .73a (try refreshing the download page before you download it).

    In reply to: Plugin – Member List

    @ardentfrost

    Member

    Good point, I’ll see what I can do. It’ll probably be a css fix (can set table widths in there).

    @ardentfrost

    Member

    just find the h2 line in your css file and set the width the same as the view part.

Viewing 25 replies - 126 through 150 (of 225 total)