vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=139)
-   -   [HowTo] Design and Tweak your Frontpage (https://vborg.vbsupport.ru/showthread.php?t=83640)

Tony G 05-29-2003 05:09 AM

Quote:

Originally Posted by ogden2k
This doesn't tell how to separate just the who's online/PM's from the rest?

You can do a similar modification but just put the spacing code after $forumbits and before $usersonline (Or whatever the online variable is)

Floris 07-07-2003 08:34 AM

I just released the version for vbulletin version 3 here at vbt.

Please check the vb3 template modifications forums to learn how to add a space between categories.

F0xstud85 07-27-2003 04:36 PM

I hate to bring a topic back from the dead but...I'm looking to use the background images on categories edit, but I want different backgrounds for different categories (see, I do a gaming site, and it'd be cool if I could get a Warcraft background on the Warcraft category, and Starcraft for Starcraft, etc.). Would ANYONE know how to do this? Or does this require a hack? If so, I know to look at vBulletin.org, but what is the hack called, I searched but couldnt find it...

Thanks for the help guys!

F0xstud85 07-28-2003 06:26 PM

*bump* Does anyone know how this can be done? Read my last post ^^^ thanks :)

jgm 08-04-2003 08:51 PM

Hello,

I am trying to do the forum spacing template mod, but I seem to be having some problems.
I am in the process of moving to a new webhost and upgrading to vB 2.3.0 from version 2.2.6

The Active users is detached from the rest of the forums after making the template change, but that is it.

You can see the underconstruction site at:
http://aries.lunarpages.com/~madoshi...dles/index.php


I have gone over the modification five times now, and everytime it is the same, so I revert and try again and have the same result :(

The current hacks and other mods I have installed on version 2.3.0 are:

vBindex2.1 final
BadMadman's avatar category hack
extlink_11a_fixed hack (URL linking for category)
Hermon's sig size control
(All used in 2.2.6 with out conflict)

I did also use bbimport_vb2 import script to see if I could merge my old database with the new one so I dont lose users, post counts threads... etc etc... but as far as I can tell it does not bring any template info over.

I would greatly appreciate any help/thoughts on this.
I will post my template info that I modified too if that is needed.


Thank you!
-JGM

jgm 08-04-2003 08:58 PM

Quote:

Originally Posted by JGM007
I will post my template info that I modified too if that is needed.

After thinking about it I figured it would be better if I posted it lol :D

//////////////////
forumhome/////////////////////

{htmldoctype}
<html>
<head>
<!-- no cache headers -->
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="no-cache">
<meta http-equiv="Expires" content="-1">
<meta http-equiv="Cache-Control" content="no-cache">
<!-- end no cache headers -->
<meta name="keywords" content="vbulletin,forum,bbs,discussion,jelsoft">
<meta name="description" content="$bbtitle is a discussion forum powered by vBulletin. To visit the forum, go to $bburl/ . To find out about vBulletin, go to http://www.vbulletin.com/ .">
<title>$bbtitle - powered by vBulletin</title>
$headinclude
</head>
<body>
$header

<!-- text -->
<table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center">
<tr valign="top">
<td><img src="{imagesfolder}/vb_bullet.gif" border="0" align="middle" alt="$bbtitle : Powered by vBulletin version $templateversion">
<normalfont><b>$bbtitle</b></normalfont></td>
<td align="right"><smallfont>$welcometext<br><b>$newpo sts</b></smallfont></td>
</tr>
</table>

<table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center">
$unregwelcomemessage
<tr valign="bottom">
<td><smallfont>
Members: $numbermembers, Threads: $totalthreads, Posts: $totalposts<br>
Welcome to our newest member, <a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$newuserid">$newusername </a>
</smallfont></td>
<td align="right"><smallfont>
The time now is $timenow.<br>
You last visited: $bbuserinfo[lastvisitdate].
</smallfont></td>
</tr>
</table>
<!-- /text -->

<br>

<!-- main -->
<table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{pagebgcolor}" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td>
<table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%">


$forumbits

</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%">

$loggedinusers
$birthdaybits
$pminfo
</table>
</td></tr></table>
<!-- /main -->

<br>

<!-- timezone/login-->
<table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center">
<tr valign="top">
<td><smallfont>$timezone</smallfont></td>
<td align="right">$logincode</td>
</tr>
</table>
<!-- /timezone/login -->

<br>

<!-- icons -->
<table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center">
<tr>
<td align="center">
<img src="{imagesfolder}/on.gif" border="0" alt="On" align="absmiddle">
<b><smallfont>New posts</smallfont></b>
&nbsp;&nbsp;
<img src="{imagesfolder}/off.gif" border="0" alt="Off" align="absmiddle">
<b><smallfont>No new posts</smallfont></b>
&nbsp;&nbsp;
<img src="{imagesfolder}/offlock.gif" border="0" alt="Closed Forum" align="absmiddle">
<b><smallfont>A closed forum</smallfont></b>
</td>
</tr>
</table>
<!-- /icons -->

$footer
</body>
</html>





////////////
forumhome_forumbit_level1_nopost/////////////////
</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 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}" width="170" nowrap><smallfont color="{tableheadtextcolor}"><b>Last Post</b></smallfont></td>
<td bgcolor="{tableheadbgcolor}" width="20%"><smallfont color="{tableheadtextcolor}"><b>Moderator</b></smallfont></td>
</tr>

///////////////////////////
forumhome_forumbit_level2_nopost///////////////////////
<tr id="cat">
<td bgcolor="{categorybackcolor}"><smallfont>&nbsp;</smallfont></td>
<td bgcolor="{categorybackcolor}" colspan="5">
<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}" width="170" nowrap><smallfont color="{tableheadtextcolor}"><b>Last Post</b></smallfont></td>
<td bgcolor="{tableheadbgcolor}" width="20%"><smallfont color="{tableheadtextcolor}"><b>Moderator</b></smallfont></td>
</tr>

cindyd 08-05-2003 12:04 AM

On line 598 remove </table>

</table>
</td></tr></table><br> ------->this is line 598
<table cellpadding="0" cellspacing="0" border="0" bgcolor="#555576" width="100%" align="center"><tr><td>
<table cellpadding="4" cellspacing="1" border="0" width="100%">

<tr id="cat">
<td bgcolor="#606096" colspan="6"><a href="online.php?"><font face="verdana, arial, helvetica" size="2" color="#FFF788"><b>Currently Active Users</b></font></a><font face="verdana, arial, helvetica" size="2" color="#FFF788"><b>: 1</b></font></td>
</tr>
<tr>
<td bgcolor="#F1F1F1" colspan="6"><font face="verdana,arial,helvetica" size="1" >
<nobr>There are currently 0 members and 1 guests on the boards.</nobr> |
<nobr>Most users ever online was 1 on 08-05-2003 at 02:01 AM.</nobr><br>
</font></td>
</tr>

jgm 08-05-2003 01:46 AM

Hello,
I tried what you suggested and it did not seem to work :(

Thank you though! :)



Code now looks like:

</table>
</td></tr><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">
.........................
.........................
.........................

cindyd 08-05-2003 01:58 AM

It worked when I did it, see screenshot:

cindyd 08-05-2003 02:03 AM

Your line 598 may not have been the same, since I was taking it from View Source.....attached is a text file.

The </TABLE> (the one in caps) is what I took out.


All times are GMT. The time now is 01:10 AM.

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.01236 seconds
  • Memory Usage 1,784KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete