Search Results for 'code'
-
Search Results
-
I’ve noticed there is a serious problem with the way the CSS works for the default Kakumei theme (and any other theme based on it).
As you add information to the post author field on the left, it will start to vertically overflow and start to overlap the next post. This is because the designer unfortunately decided to use a shortcut via
position:absolutemaking it impossible toclear:bothcolumns.Here’s how to easily fix it by appending two simple lines to the very bottom of the
style.cssand no need to search for and edit/replace other lines..threadauthor {position:relative; float:left; margin:0 -110px 0 0; right:110px; }
.poststuff {clear:both;}If you don’t want to edit any core files, simply put this into a plugin (make a new one or any existing one)
function fix_kakumei_css() { echo '<style type="text/css">.threadauthor {position:relative; float:left; margin:0 -110px 0 0; right:110px; } .poststuff {clear:both;} </style>';}
add_action('bb_head', 'fix_kakumei_css');Tested working in Internet Explorer, Firefox, Opera and Safari for Windows. Would appreciate MAC browser feedback?
(I will attempt to automatically include this hack in my plugins to help avoid edits since it’s usually my plugins that add so much info to the left but the new gravatar in 0.9 will also cause the overflow)
Should actually be a core fix now that I think about it.
I know there’s a way to hide a certain part of the front page by using this:
<?php if ( bb_is_user_logged_in() ) : ?>
INSERT HIDDEN CODE HERE
<?php endif; else : // $forums ?>but I was wondering if you could have a section that only nonregistered users can view. This will make more sense after visiting my site:
http://tapestry.endless-sonata.net
At the bottom, I have a table that contains Hot Tags, Views, Users Online, and Top Posters. What I want is for that view to be only visible to registered users. Then, when a nonregistered user views this site, I want just the Hot tags to show in an expanded version, not off to the left. Is there a way to do this? I tried entering the alternate code after this:
<?php endif; else : // $forums ?>but it didn’t display anything.
Topic: RSS Feed Page is all Code?!!
Alright, I will fully admit I am a complete newbie to RSS feeds and while I’m trying to learn more… I have a weird error I think.
When you have an active RSS feed on my forums it just shows a page with a white background and expandable/collasping script.
Forums: http://forums.hooligans-gaming.net
Help a brother out!

