vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   forum home coloums are way off (https://vborg.vbsupport.ru/showthread.php?t=85148)

imported_cono 10-30-2002 06:01 PM

forum home coloums are way off
 
i am working on a style for my default board stlye. the problem is the collums do not match? i am a total newb and need some help with this.

i also added the moderator dropdown mod and now the black that was on the catagory background disappered?

thanks for the help.

Cypher720 10-30-2002 10:03 PM

screenshot please......try making the table width a certain perrcent or width, as opposed to 100%

imported_cono 10-30-2002 10:55 PM

1 Attachment(s)
some of the other forums down futher into the board are way off. but here is a example.

i have some serious issuses going on with my forum home. i am trying to find the mod witch lets you centers the text of the catagories but i can find it?

Burning_Ice 10-31-2002 12:30 AM

I guess you like VB.org's style?

Tony G 10-31-2002 03:20 AM

For centered categories, use this mod:

http://www.vbulletintemplates.com/mo...light=Centered

imported_cono 10-31-2002 06:34 AM

i used that and it was still the same thing? i am going to mess around with the templates a little at a time to see if i can get it right?

Tony G 10-31-2002 07:22 AM

Should work, don't see how such a simple mod wouldn't work.

Hmm, are you editing the right code properly?

Brad 10-31-2002 07:55 AM

Its due to the fact that you have split the colums from the forum tables. there was a topic about this awhile ago lemme find it for you.

Brad 10-31-2002 07:58 AM

<a href="http://www.vbulletintemplates.com/mods/showthread.php?s=&threadid=1533&highlight=forumhom e" target="_blank">http://www.vbulletintemplates.com/mo...ight=forumhome</a>

use the fix and posted in that thread and report back.

imported_cono 10-31-2002 10:55 PM

i must have used a updated txt file? it seems like this was allready done to my templates. i still have the problem, though its not as bad. my major problem is my moderators colum is way off?

you can view it at. http://www.nbguy.com/vbb/

thanks, i dont know how to work with these templates to well. i am just going by what the instructions are telling me. so i am pretty much lost when it comes to trouble shooting.

Rufus69 10-31-2002 11:08 PM

hmm that looks like you forgot to add a </td> either that or maybe you dont have the width set right...

I'm kind new to VB so I might be wrong

imported_cono 10-31-2002 11:12 PM

witch template? its worth a shot.

Rufus69 10-31-2002 11:19 PM

hmm I would think forumhome but I dont have my cp open right now.

Brad 11-01-2002 01:50 AM

Post your forumhome_forumbit_level2_post and forumhome_forumbit_level1_nopost templates.

imported_cono 11-01-2002 03:46 AM

<tr>
<td bgcolor="{secondaltcolor}" valign="middle" align="center"><img src="{imagesfolder}/$forum[onoff].gif" border="0" alt=""></td>
<td bgcolor="{firstaltcolor}" align="left"
onMouseOver="this.style.backgroundColor='{secondal tcolor}';
this.style.cursor='hand';"
onMouseOut="this.style.backgroundColor='{firstaltc olor}';"
onClick="window.location.href='forumdisplay.php?s= $session[sessionhash]&forumid=$forum[forumid]'">
<table width="100%">

<tr>
<td valign="top"><b><a href="forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]"><normalfont>$forum[title]</normalfont></a></b></td>
<td width="35%" align="right" valign="top"><a href="search.php?s=$session[sessionhash]&action=getnew&forumid=$forum[forumid]"><img src="{imagesfolder}/sm_search.gif" border="0" width="11" height="11" hspace="2" alt="Read New Posts in $forum[title]"></a><a href="newthread.php?s=$session[sessionhash]&action=newthread&forumid=$forum[forumid]"><img src="{imagesfolder}/sm_newthread.gif" border="0" width="11" height="11" hspace=2" alt="Create a New Thread in $forum[title]"></a><a href="member2.php?s=$session[sessionhash]&action=addsubscription&forumid=$forum[forumid]"><img src="{imagesfolder}/sm_subscribe.gif" border="0" width="13" height="11" hspace="2" alt="Subscribe to $forum[title]"></a></td>
</tr><tr><td colspan="2"><smallfont>$forum[description]</smallfont></tr></table>
</td>
<td bgcolor="{secondaltcolor}"><center><normalfont>$fo rum[replycount]</normalfont></center></td>
<td bgcolor="{firstaltcolor}"><center><normalfont>$for um[threadcount]</normalfont></center></td>
<td bgcolor="{secondaltcolor}" onMouseOver="this.style.backgroundColor='{firstalt color}';
this.style.cursor='hand';"
onMouseOut="this.style.backgroundColor='{secondalt color}';"
onClick="window.location.href='showthread.php?s=$s ession[sessionhash]&goto=lastpost&forumid=$forum[forumid]'"><center><smallfont>$forum[lastpostinfo]</smallfont></center></td>
<td bgcolor="{firstaltcolor}" onMouseOver="this.style.backgroundColor='{secondal tcolor}';
this.style.cursor='hand';"
onMouseOut="this.style.backgroundColor='{firstaltc olor}';"
onClick="window.location.href='showgroups.php?s=$s ession[sessionhash]'"><form><td bgcolor="{firstaltcolor}" valign="middle" align="right" nowrap>
<IMG align="absmiddle" SRC="{imagesfolder}/team.gif">
<SELECT NAME="newLoc" onChange="jumpPage(this.form.newLoc)" style="font-size: 7pt; background-color: #dfdfdf; font-family: Arial, Tahoma;" maxlength="20">
<OPTION VALUE="#">moderators</OPTION>
<OPTION VALUE="#">---------------------</OPTION>
$forum[moderators]</select></td></form></tr>
</tr>

imported_cono 11-01-2002 03:47 AM

</table>
</td></tr></table><br>
<table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td>
<table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%">
<tr id="cat">
<td align="center" bgcolor="{categorybackcolor}" colspan="6">
<a href="forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]"><normalfont color="{categoryfontcolor}"><b>$forum[title]</b></normalfont></a>
<br><smallfont color="{categoryfontcolor}">$forum[description]</smallfont></td>
</tr>
<tr align="center">
<td bgcolor="{tableheadbgcolor}"><smallfont> </smallfont></td>
<td bgcolor="{tableheadbgcolor}" width="80%" align="left"><smallfont color="{tableheadtextcolor}"><b>Forum</b></smallfont></td>
<td bgcolor="{tableheadbgcolor}"><smallfont color="{tableheadtextcolor}"><b>Posts</b></smallfont></td>
<td bgcolor="{tableheadbgcolor}"><smallfont color="{tableheadtextcolor}"><b>Threads</b></smallfont></td>
<td bgcolor="{tableheadbgcolor}" nowrap><smallfont color="{tableheadtextcolor}"><b>Last Post</b></smallfont></td>
<td bgcolor="{tableheadbgcolor}" width="20%"><smallfont color="{tableheadtextcolor}"><b>Moderator</b></smallfont></td>
</tr>

Rufus69 11-01-2002 12:28 PM

erm on that last post I dont see any </table> at the end

might try putting one

*posts his favorite smilie*

:_P

It got ran over by a car >_>

imported_cono 11-01-2002 12:55 PM

i dont think there is supposed to be? i tried adding the </table> at the end of the template and it really messed up the colums! but i think its in that colum. for some reason its only the moderator colum? it seems to be a double colum? i guess.

Brad 11-01-2002 01:53 PM

Replace your forumhome_forumbit_level2_post with:

<tr align="center">
<td bgcolor="{secondaltcolor}" valign="middle" align="center"><img src="{imagesfolder}/$forum[onoff].gif" border="0" alt=""></td>
<td bgcolor="{firstaltcolor}" align="left"
onMouseOver="this.style.backgroundColor='{secondal tcolor}';
this.style.cursor='hand';"
onMouseOut="this.style.backgroundColor='{firstaltc olor}';"
onClick="window.location.href='forumdisplay.php?s= $session[sessionhash]&forumid=$forum[forumid]'">
<table width="100%">

<tr>
<td valign="top"><b><a href="forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]"><normalfont>$forum[title]</normalfont></a></b></td>
<td width="35%" align="right" valign="top"><a href="search.php?s=$session[sessionhash]&action=getnew&forumid=$forum[forumid]"><img src="{imagesfolder}/sm_search.gif" border="0" width="11" height="11" hspace="2" alt="Read New Posts in $forum[title]"></a><a href="newthread.php?s=$session[sessionhash]&action=newthread&forumid=$forum[forumid]"><img src="{imagesfolder}/sm_newthread.gif" border="0" width="11" height="11" hspace=2" alt="Create a New Thread in $forum[title]"></a><a href="member2.php?s=$session[sessionhash]&action=addsubscription&forumid=$forum[forumid]"><img src="{imagesfolder}/sm_subscribe.gif" border="0" width="13" height="11" hspace="2" alt="Subscribe to $forum[title]"></a></td>
</tr><tr><td colspan="2"><smallfont>$forum[description]</smallfont></tr></table>
</td>
<td bgcolor="{secondaltcolor}"><center><normalfont>$fo rum[replycount]</normalfont></center></td>
<td bgcolor="{firstaltcolor}"><center><normalfont>$for um[threadcount]</normalfont></center></td>
<td bgcolor="{secondaltcolor}" onMouseOver="this.style.backgroundColor='{firstalt color}';
this.style.cursor='hand';"
onMouseOut="this.style.backgroundColor='{secondalt color}';"
onClick="window.location.href='showthread.php?s=$s ession[sessionhash]&goto=lastpost&forumid=$forum[forumid]'"><center><smallfont>$forum[lastpostinfo]</smallfont></center></td>
<td bgcolor="{firstaltcolor}" valign="middle" align="center" onMouseOver="this.style.backgroundColor='{secondal tcolor}';
this.style.cursor='hand';"
onMouseOut="this.style.backgroundColor='{firstaltc olor}';"
onClick="window.location.href='showgroups.php?s=$s ession[sessionhash]'"><form>
<IMG align="absmiddle" SRC="{imagesfolder}/team.gif">
<SELECT NAME="newLoc" onChange="jumpPage(this.form.newLoc)" style="font-size: 7pt; background-color: #dfdfdf; font-family: Arial, Tahoma;" maxlength="20">
<OPTION VALUE="#">moderators</OPTION>
<OPTION VALUE="#">---------------------</OPTION>
$forum[moderators]</select></td></form></tr>
</tr>

imported_cono 11-01-2002 02:00 PM

OMG!!! its fixed!!!!! yeeeeeeeeeeees.

sorry i had to do that, this was killing me! thank you sooooooooo much!

what was wrong? i am a newb but i would like to know whats wrong so i can keep a eye out for it in the future.

did i say thank you? thank you!!

again!

lol

Brad 11-02-2002 12:11 AM

the errors in red:

<td bgcolor="#FFFFFF" onMouseOver="this.style.backgroundColor='#F9F9F9';
this.style.cursor='hand';"
onMouseOut="this.style.backgroundColor='#FFFFFF';"
onClick="window.location.href='showgroups.php?s=$s ession[sessionhash]'"><form><td bgcolor="#FFFFFF" valign="middle" align="right" nowrap>
<IMG align="absmiddle" SRC="images/team.gif">
<SELECT NAME="newLoc" onChange="jumpPage(this.form.newLoc)" style="font-size: 7pt; background-color: #dfdfdf; font-family: Arial, Tahoma;" maxlength="20">
<OPTION VALUE="#">moderators</OPTION>
<OPTION VALUE="#">---------------------</OPTION>
$forum[moderators]</select></td></form>

you started a new <td>, i combined the two in the block and it fixed it.


All times are GMT. The time now is 08:29 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01374 seconds
  • Memory Usage 1,791KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (21)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete