Forum Replies Created
-
In reply to: Plugin – Private Messages
can you reach http://www.rayd.org/ ?
How about http://faq.rayd.org/ ?
In reply to: Lyceumanything 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)
In reply to: Plugin – Private MessagesTable 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?!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
In reply to: Plugin – Private MessagesWebsite is not down.
In reply to: Weird permalink problem..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
In reply to: Removing “Pick a section” menu in post-form.phpLook 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.
In reply to: Weird permalink problem..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?
In reply to: Google is ignoring all posts in my forumIf the forum is new, maybe they just haven’t gotten around to indexing it yet?
In reply to: Possible bug: H1 fonts different in every browserLook through the css file, there’s existing code on adjusting the h2 size. Copy it and make it h1
In reply to: How to allow guest to post?Other threads talk about this. There is no current way to do it. A plugin needs to be made
In reply to: Possible bug: H1 fonts different in every browserDo you have an h1 listing in your css?
In reply to: renaming index.php messes up lay-out?Don’t ever change a core file ever.
Put it in a new file in your my-plugins directory.
In reply to: renaming index.php messes up lay-out?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.
In reply to: renaming index.php messes up lay-out?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?
In reply to: renaming index.php messes up lay-out?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.
In reply to: renaming index.php messes up lay-out?because of the function
is_front()
. It returns true ifbb_get_location
returnsfront-page.php
.In reply to: renaming index.php messes up lay-out?why would you have it return
home-page
when everything is expectingfront-page
?In reply to: renaming index.php messes up lay-out?because of the function
bb_get_location()
intemplate-functions.php
it returnsfront-page
if$_SERVER['PHP_SELF']
isindex.php
In reply to: Adding a right sidebar at front pageadd
position: absolute;
in thereIn reply to: Plugin – Private MessagesI sent you a pm on your board, check it
In reply to: Plugin – Private MessagesAlso 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
In reply to: Plugin – Private Messagesare 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 ListGood point, I’ll see what I can do. It’ll probably be a css fix (can set table widths in there).
In reply to: Found an error in the layout already. Have a look.just find the h2 line in your css file and set the width the same as the view part.