PDA

View Full Version : Need help with forumhome


lifesourcerec
02-12-2002, 04:14 AM
Tried to move the $pminfo, $logginusers, etc. to the top of the forum. When I try to fix something, I mess something else up (reason I hate those "put $(whatever) where you want it) in the instructions for hacks. Here is my forumhome template which is screwed up:

<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 -->
<title>$bbtitle</title>
$headinclude
</head>
<body>
$header
<SCRIPT LANGUAGE="JavaScript1.2" TYPE="text/javascript">
<!--
$fader_setup
//-->
</SCRIPT>

<SCRIPT LANGUAGE="JavaScript1.2" TYPE="text/javascript">
<!--
$fader_news
//-->
</SCRIPT>

<SCRIPT LANGUAGE="JavaScript1.2" TYPE="text/javascript">
<!--
$fader_on
//-->
</SCRIPT>
<!-- text -->
<table cellpadding="2" cellspacing="0" border="0" width="95%" align="center">
<tr valign="top">
<td><a href="java script:window.location=window.location"><img src="https://vborg.vbsupport.ru/images/vb_bullet.gif" border="0" align="middle" alt="$bbtitle : Powered by vBulletin version $templateversion"></a>
<normalfont><b>$bbtitle</b></normalfont></td>
</tr>
</table>
<table cellpadding="4" cellspacing="0" border="0" width="95%" align="center">
<tr valign="bottom">
<tr id="cat"><td bgcolor="#336D95" background="https://vborg.vbsupport.ru/images/catagory_backing.gif" colspan="6"><normalfont color="#000000"><b>Forum Statistics</b></normalfont></td>
</tr>
<td bgcolor="#1C5780" valign="top"><smallfont>
Members: $numbermembers, Threads: $totalthreads, Posts: $totalposts<br>
Members Online: $headerusers, Guests Online: $headerguests<br> Welcome our newest member, <a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$newuserid">$newusername</a><br>
The $bbtitle member of the day is <a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$memberoftheday[userid]">$memberoftheday[username]</a>
</smallfont></td>
</tr>
</table>
<!-- /text -->
<!-- welcomepanel -->
<table cellpadding="0" cellspacing="0" border="0" bgcolor="#0A293E" width="95%" align="center">
<tr>
<td>
<table cellpadding="4" cellspacing="1" border="0" width="100%">
<tr id="cat">
<td bgcolor="#336D95" background="https://vborg.vbsupport.ru/images/catagory_backing.gif" colspan="6"><normalfont color="#000000"><b>Welcome</b></normalfont></td>
</tr>
<tr>
<td bgcolor="#1C5780" align="center" valign="top" width="100">$avatarimage</td>
<td bgcolor="#13486D">
<smallfont>
$unregwelcomemessage
$welcometext<br>
The time now is $timenow.<br>
You last visited: $bbuserinfo[lastvisitdate].<br>
<b>$newposts</b><br>
<a href="chat.php?s=$session[sessionhash]" onClick="window.open('chat.php?s=$session[sessionhash]','key','WIDTH=600,HEIGHT=450,scrollbars=no,left=5 0,top=50,screenX=50,screenY=50 ');return false">IRC Chat</a>
</select>
</smallfont>
</td>
<td bgcolor="#1C5780" align="center" valign="middle" width="300">
$logincode<br>
<select name="styleid" onchange="window.location=('index.php?s=$session[sessionhash]&styleid='+this.options[this.selectedIndex].value)">
$dropdownbits
</td>
</tr>
</table>

</td></tr></table>
<!-- /welcomepanel -->
$fader_table
<br>
<!-- main -->
<table cellpadding="0" cellspacing="0" border="0" bgcolor="#0A293E" width="95%" align="center"><tr><td>
<table cellpadding="4" cellspacing="1" border="0" width="100%">
<tr align="center">
<td bgcolor="#1D6AA0"><smallfont> </smallfont></td>
<td bgcolor="#1D6AA0" width="80%" align="left"><smallfont color="#EEEEFF"><b>Forum</b></smallfont></td>
<td bgcolor="#1D6AA0"><smallfont color="#EEEEFF"><b>Posts</b></smallfont></td>
<td bgcolor="#1D6AA0"><smallfont color="#EEEEFF"><b>Threads</b></smallfont></td>
<td bgcolor="#1D6AA0" nowrap><smallfont color="#EEEEFF"><b>Last Post</b></smallfont></td>
<td bgcolor="#1D6AA0" width="20%"><smallfont color="#EEEEFF"><b>Moderator</b></smallfont></td>
</tr>
</table>
</td></tr></table>
<!-- /main -->
<br>
$forumbits
$loggedinusers
$todayloggedinusers
$pminfo

<!-- timezone/login-->
<table cellpadding="2" cellspacing="0" border="0" width="95%" 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="95%" align="center">
<tr>
<td align="center">
<img src="https://vborg.vbsupport.ru/images/on.gif" border="0" alt="On" align="absmiddle">
<b><smallfont>New posts</smallfont></b>

<img src="https://vborg.vbsupport.ru/images/off.gif" border="0" alt="Off" align="absmiddle">
<b><smallfont>No new posts</smallfont></b>

<img src="https://vborg.vbsupport.ru/images/lock.gif" border="0" alt="Closed Forum" align="absmiddle">
<b><smallfont>A closed forum</smallfont></b>
</td>
</tr>
</table>
<!-- /icons -->

$footer
</body>
</html>

69-FLy-gUy
02-17-2002, 09:34 AM
Originally posted by lifesourcerec

$forumbits
$loggedinusers
$todayloggedinusers
$pminfo


Very simple.. Simply put $forumbits UNDER $pminfo

it shoudl look like this...
$loggedinusers
$todayloggedinusers
$pminfo
$forumbits