because of the function bb_get_location()
in template-functions.php
it returns front-page
if $_SERVER['PHP_SELF']
is index.php
Anonymous User 133554Inactive
Hi,
Have you checked if FILENAME (line 85) is writeable by the server? If it is, try switching EXPORT_TO_FILE to false and AUTO_IMPORT_EXPORTED_DATA to true. As usual, please do always a database backup before.
Hope it helps
Well, I’ve already been working on the layout, going by phpBB’s layout in general.. http://vindictivebastard.net/images/forumlayout.jpg
I’m just in need of some PHP professionals, to maybe make up a plugin, or a way to hard code the front-page.php file. To assign each specific forum, to the category..?
I was thinking of, maybe some how skipping the “loop” for the current forum “database calls”.. and just hard code it into the front-page, by calling in the forum’s [id’s].. bare in mind, I’m no PHP Pro here.. lol
Anyone think something like that will work, or..?
spencerp
/And yes, my english grammar sucks too! Whee~
Hi,
Was just playing around and renamed index.php to home.php. The funny thing is, this simple rename effects the lay-out. Why is that? I mean no coding is touched, the file is just renamed!
Also <?php new_topic(); ?>
doesn’t display anymore and the underlining of the <h2> tags is gone as well.
I am kinda noob, so why does this happen? no css or template is touched, it should work even if index.php is renamed….. not?
What do I need to change so the lay-out and <?php new_topic(); ?>
will NOT be effected when renaming index.php to home.php?
Thx
Okay almost there. I now have:
#hottags {
float: left;
width: 150px;
overflow-x: hidden;
position: absolute;
}
#discussions {
margin-left: 170px;
width: 420px;
position: absolute;
}
#rightbar {
margin-left: 610px;
width: 150px;
overflow-x: hidden;
position: absolute;
}
The right bar is alligned properly now, BUT the footer is moved up also. So the footer crosses the 3 collumns. All is mixed now, how to get the footer back down again?
Thx
<– Need this answer too, it’s really important! Please
add position: absolute;
in there
Got this now:
#leftbar {
float: left;
width: 150px;
overflow-x: hidden;
}
#discussions {
margin-left: 170px;
width: 420px;
}
#rightbar {
margin-left: 610px;
width: 150px;
overflow-x: hidden;
}
Total width = 760 px just like the header. This should work, but the right column is still displayed underneeth the discussion div (though the rightbar is aligned to the right and there is enough space left for the rightbar to move up :S
I’ve narrowed it down the exact problem. Well, I don’t know why, but it seems to be the source. In “header.php” I include with php a file called “menu.php.” Inside of “menu.php” I have my “recent entries” from my wordpress blog. When I delete this particular bit of code everything works fine.
<div class="menu3">
<h3 class="menuHeader">Recent Reviews</h3>
<ul class="list">
<?php $temp_query = $wp_query; ?>
<?php query_posts('cat=3&showposts=10&order=ABC'); ?>
<?php while (have_posts()) : the_post(); ?>
<li>
<a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a>
<br />Review by <?php the_author_posts_link(); ?>
</li>
<?php endwhile; ?>
<?php $wp_query = $temp_query; ?>
</ul>
</div> <!-- menu3 -->
When the post limit exceeds 15, is the only time this seems to be a problem. This runs fine on all the other pages, or when the post limit is 15 or below.
Personally, I have had issues with this as well. I would suggest creating a .htaccess file and place it in your bbpress root directory and only adding the following to it:
Options +MultiViews
That seems to work for most people. Try that first maybe? If not, maybe check what format you have in your WP .htaccess and try a combination of either the previous code or what rewrite-rules.php spits out for you.
Thanks,
Trent
Got a bit further, this is my menu code now:
<div id="navigation">
<ul id="menu">
<!-- To show "current" on the home page -->
<li<?php
if ( is_front())
{
echo " id="current">";
?>
<a href="about.php">About</a>
<?php
}
?></li>
<!-- To show "current" on the forum page -->
<li<?php
if ( is_front())
{
echo " id="current">";
?>
<a href="<?php option('uri'); ?>">Forums</a>
<?php
}
?></li>
</ul>
</div>
I know with if ( is_front())
i determine that I am on the front-page, but how to call my About page? It’s called about.php.
Sec when I am on the front page the Forums button is highlighted, but as soon as i go read a topic, the whole menu disappears. Why is that? the menu should stay and the forums button highlighted (cause I am still in tjhe forum)
Some help plz
You should be able to change your style.css to reflect how you want your blockquote to work. I changed mine and see no problems with it. Take a look at:
http://forum.trentadams.ca/topic.php?id=313&replies=1#post-483
Used:
blockquote {
border-left: 1px solid #c00;
border-right: 1px solid #c00;
border-top: 1px solid #c00;
border-bottom: 1px solid #c00;
background: #fff;
width: 300px;
margin-left: 1.5em;
padding: 5 5 5 5px;
}
Is that what you mean or could you give an example?
Trent
there are some SQL syntax errors. it works if u change the SQL query to this one:
ALTER TABLE bb_users ADD user_icq VARCHAR( 255 ) NOT NULL AFTER user_email ;
ALTER TABLE bb_users ADD user_aim VARCHAR( 255 ) NOT NULL AFTER user_icq ;
ALTER TABLE bb_users ADD user_msn VARCHAR( 255 ) NOT NULL AFTER user_aim ;
ALTER TABLE bb_users ADD user_yahoo VARCHAR( 255 ) NOT NULL AFTER user_msn ;
ALTER TABLE bb_users ADD user_gtalk VARCHAR( 255 ) NOT NULL AFTER user_yahoo ;
ALTER TABLE bb_users ADD user_jabber VARCHAR( 255 ) NOT NULL AFTER user_gtalk ;
ALTER TABLE bb_users ADD user_skype VARCHAR( 255 ) NOT NULL AFTER user_jabber ;
I don’t know if I’m missing something here or what, but when replying or posting, I see no difference if when I surround a block of text with <blockquote>
or not…
It’s a pain because there is no way to create line separation when posting… you can’t use <br> .. is there a way to customize the ‘Allowed tags’? Please help & thx in advance.
-BHensley
-http://Bakedlog.com
Was wondering if someone wouldn’t mind making up a plugin for Forum Catagory (blocks)..? Like phpBB has..
Example:
General (forum cat block 1) >
–Latest news (forum under general cat)
–General Discussions (forum under general cat)
–Site Feedback (forum under general cat)
Website Design (forum cat block 2) >
–HTML Basics (forum under website design cat)
–PHP Coding (forum under website design cat)
–CSS (forum under website design cat)
Is anyone up for doing this maybe? I think it would be nice to have this option though, rather then having ALL the forums listed under ONE Section only..

spencerp
ardentfrost, you’re awesome! Thanks so much for getting that fixed for me! 

spencerp
Close but still not there. I had to add get_ infront of it in order to work. Now this works AS LONG AS you have no replies on your topic. I wanted to get the authors profile link and not all authors of every reply….
I am making a list of posts on the front page that looks like this:
Topic title – author – postst – last reply by
To get the authors name i use: get_topic_author() this works and if i use:
<?php printf(__('<a href="%2$s">%3$s</a>'), get_user_profile_link($topic->topic_last_poster), get_topic_author()) ?>
it works and I get the authors profile link. But as soon as I get a reply, it will show the profile link of the last poster and not the author (while the author name stays correct).
Things like: get_user_profile_link($topic->topic_author), get_topic_author()
doesn’t work.
So the author is the topic starter, not the last topic poster
Null
Actually the h2 is the first place I went.
I changed
.topictitle{
font-size: 26px;
font-weight: normal;
display: inline;
}
to
.topictitle h2{
font-size: 26px;
font-weight: normal;
display: inline; width:50%; min-width:300px;
}
This sort of fixed it, but then I lost control of the size for h2.
Using the above code, the title fits, but the size of it was shrunk down too much. Adjusting the size back up didn’t resolve the issue. No matter what size I chose, the font for the title remained the same. This was a puzzling development. Anyone know why this would happen?
Hmm, first time I downloaded it, I was in Firefox, I just went there in IE6 this time, downloaded .73a, deleted the original PM files, uploaded fresh ones.. Still the same thing.. 
To see what I mean, maybe try registering on my board quick, and then try PM-ing Trent here?
http://spencerp.net/forums/message?user=4
spencerp
/Again, all those other problems which were mentioned above, are gone, it’s just that database error showing yet..
Yeppers, I uncommented out for the Post Count thingy.. 

I also did a hard clear of cache too. CTRL + F5
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
are you integrated spencer?
Yuppers!
(Sorry, forgot to add that in here..)
Oh, ok. I will do that, and try again! 
I’ll report back here real soon..
spencerp
YES! Thank you so much fixing this.
Everything seems to be fixed, however, I’m still getting this database error message above the forum header..
When in a thread, and clicking the “PM This User” link, it spits out this database error message:
bbPress database error: [Table ‘mydatabase_name.bb_users’ doesn’t exist] SELECT * FROM bb_users WHERE ID = 2
I’ve tried both versions of the plugin, redownloaded the original one, and then tried the .73a one.. same error message.. 
spencerp
==================SOLUTION====================
wow yes thank you I was having the same problem off of a fresh install. “browse tags” wouldn’t work.
Added to .htaccess:
AddType x-mapp-php5 .php
Thank You!
==================SOLUTION====================
Yeah, thanks for helping me work through those few problems Trent (esp with your legacy version of php
).
WP Integration support is a big update for .73a, as well as the double header/footer fix.
So, download away BBPress users!
This works on front-page.php:
<a href="<?php user_profile_link($topic->topic_last_poster) ?>"><?php topic_last_poster(); ?></a>
Trent