vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Need help with Mods Hack..... :) (https://vborg.vbsupport.ru/showthread.php?t=42695)

stark427 08-24-2002 04:09 PM

Need help with Mods Hack..... :)
 
Hello

I have done 2 hacks at my board:
1) For seperating the categories
2) For putting images at the categories

Then I went to do the Template changes to remove the Moderators column.

It seems that

- for the forumdisplay_forumslist
it says:

Remove:
<td bgcolor="#1D6AA0" width="20%"><smallfont color="#EEEEFF"><b>Moderator</b></smallfont></td>

so I can do it :)

-------------------------------------------


for the forumhome template.... it says :

Remove:
<td bgcolor="#1D6AA0" width="20%"><smallfont color="#EEEEFF"><b>Moderator</b></smallfont></td>

well I do not find this line in there....
It was already changed by the other 2 hacks/templates...I guess...

my forumhome is like that:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<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="95%" align="center">
<tr valign="top">
<td><img src="https://vborg.vbsupport.ru/images/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="95%" 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="0" cellspacing="0" border="0" bgcolor="#0E3652" width="95%" align="center"><tr><td>
<table cellpadding="4" cellspacing="1" border="0" width="100%">
$forumbits
</table>
</td></tr></table><br>
<table cellpadding="0" cellspacing="0" border="0" bgcolor="#0A293E" width="95%" align="center"><tr><td>
<table cellpadding="4" cellspacing="1" border="0" width="100%">
$loggedinusers
$birthdaybits
$pminfo
</table>
</td></tr></table>
<!-- /main -->

<br>

<!-- 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>
&nbsp;&nbsp;
<img src="https://vborg.vbsupport.ru/images/off.gif" border="0" alt="Off" align="absmiddle">
<b><smallfont>No new posts</smallfont></b>
&nbsp;&nbsp;
<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>

-------------------------------------

for the forumhome_forumbit_level1_nopost template it says:

Change:

<td bgcolor="#336D95" background="https://vborg.vbsupport.ru/images/catagory_backing.gif" colspan="6">
to
<td bgcolor="#336D95" background="https://vborg.vbsupport.ru/images/catagory_backing.gif" colspan="5">

well I cannot find it: mytemplate is like that :

</table>
</td></tr></table><br>
<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 background="https://vborg.vbsupport.ru/images/frontpage/cat_bg_01.gif" bgcolor="#336D95" background="https://vborg.vbsupport.ru/images/catagory_backing.gif" colspan="6"><a href="forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]"><normalfont color="#000000"><b>$forum[title]</b></normalfont></a>
<br><smallfont color="#000000">$forum[description]</smallfont></td>
</tr>
<tr align="center">
<td background="https://vborg.vbsupport.ru/images/frontpage/cat_bg_02.gif" bgcolor="#1D6AA0"><smallfont> </smallfont></td>
<td background="https://vborg.vbsupport.ru/images/frontpage/cat_bg_02.gif" bgcolor="#1D6AA0" width="80%" align="left"><smallfont color="#EEEEFF"><b>Forum</b></smallfont></td>
<td background="https://vborg.vbsupport.ru/images/frontpage/cat_bg_02.gif" bgcolor="#1D6AA0"><smallfont color="#EEEEFF"><b>Posts</b></smallfont></td>
<td background="https://vborg.vbsupport.ru/images/frontpage/cat_bg_02.gif" bgcolor="#1D6AA0"><smallfont color="#EEEEFF"><b>Threads</b></smallfont></td>
<td background="https://vborg.vbsupport.ru/images/frontpage/cat_bg_02.gif" bgcolor="#1D6AA0" width="170" nowrap><smallfont color="#EEEEFF"><b>Last Post</b></smallfont></td>
<td background="https://vborg.vbsupport.ru/images/frontpage/cat_bg_02.gif" bgcolor="#1D6AA0" width="20%"><smallfont color="#EEEEFF"><b>Moderator</b></smallfont></td>
</tr>
---------------------------------

for the
Template: forumhome_forumbit_level2_nopost
it says :

Change:

<td bgcolor="{categorybackcolor}" colspan="5">
to
<td bgcolor="{categorybackcolor}" colspan="4">


I cant find it. my template is that :

<tr id="cat">
<td bgcolor="#336D95" background="https://vborg.vbsupport.ru/images/catagory_backing.gif"><smallfont>&nbsp;</smallfont></td>
<td bgcolor="#336D95" background="https://vborg.vbsupport.ru/images/catagory_backing.gif" colspan="5">
<a href="forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]"><normalfont color="#000000"><b>$forum[title]</b></normalfont></a>
<br><smallfont color="#000000">$forum[description]</smallfont></td>
</tr>
<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" width="170" nowrap><smallfont color="#EEEEFF"><b>Last Post</b></smallfont></td>
<td bgcolor="#1D6AA0" width="20%"><smallfont color="#EEEEFF"><b>Moderator</b></smallfont></td>
</tr>

------------------

for the Template: forumhome_forumbit_level1_post
it says:

Remove:
<td bgcolor="#13486D"><smallfont>$forum[moderators]</smallfont></td>

ok I can do it... :)

----------------------

for the Template: forumhome_forumbit_level2_post
it says:


Remove:
<td bgcolor="#13486D"><smallfont>$forum[moderators]</smallfont></td>

I can do this , too

-------------------------

for the Template: forumhome_loggedinusers
it says:

Change:
<td bgcolor="#336D95" background="https://vborg.vbsupport.ru/images/catagory_backing.gif" colspan="6">
to
<td bgcolor="#336D95" background="https://vborg.vbsupport.ru/images/catagory_backing.gif" colspan="5">

and

Change:
<td bgcolor="#13486D" colspan="6">
to
<td bgcolor="#13486D" colspan="5">

I cant find it
my template is like that :

<tr id="cat">
<td background="https://vborg.vbsupport.ru/images/frontpage/cat_bg_01.gif" bgcolor="#336D95" background="https://vborg.vbsupport.ru/images/catagory_backing.gif" colspan="6"><a href="online.php?s=$session[sessionhash]"><normalfont color="#000000"><b>Currently Active Users</b></normalfont></a><normalfont color="#000000"><b>: $totalonline</b></normalfont></td>
</tr>
<tr>
<td bgcolor="#13486D" colspan="6"><smallfont>
<nobr>There are currently $numberregistered members and $numberguest guests on the boards.</nobr> |
<nobr>Most users ever online was $recordusers on $recorddate at $recordtime.</nobr><br>
$activeusers</smallfont></td>
</tr>

------------------

for the Template: forumhome_pmloggedin

it says:

Change:
<td bgcolor="#336D95" background="https://vborg.vbsupport.ru/images/catagory_backing.gif" colspan="6">
to
<td bgcolor="#336D95" background="https://vborg.vbsupport.ru/images/catagory_backing.gif" colspan="5">

and

Change:
<td bgcolor="#13486D" colspan="5">
to
<td bgcolor="#13486D" colspan="4">


I cant do it
my template is :

id="cat">
<td background="https://vborg.vbsupport.ru/images/frontpage/cat_bg_01.gif" bgcolor="#336D95" background="https://vborg.vbsupport.ru/images/catagory_backing.gif" colspan="6"><a href="private.php?s=$session[sessionhash]" title="Click Here to Open Your Private Messages $inboxname"><normalfont color="#000000"><b>Private Messages</normalfont></b></a></td>
</tr>
<tr>
<td bgcolor="#1C5780" align="center" valign="top"><img src="https://vborg.vbsupport.ru/images/$lightbulb.gif" alt=""></td>
<td bgcolor="#13486D" colspan="5"><smallfont>
<b>$bbuserinfo[username]</b> - You have $newpm[messages] new message(s) since your last visit.<br>
(You have $unreadpm[messages] unread messages and $allpm[messages] total messages in all your folders.)</smallfont></td>
</tr>

-------------------------
for the forumdisplay_forumbit_level1_post
it says:

Remove:
<td bgcolor="#13486D"><smallfont>$forum[moderators]</smallfont></td>

I can do it :)

-----------------------------

for the forumdisplay_forumbit_level2_post
it says :


Remove:
<td bgcolor="#13486D"><smallfont>$forum[moderators]</smallfont></td>

I can do it..


>>> Where I say I CANNOT do it its obvious that I cannot find the lines to change cause they have already been changed by the other 2 hacks...

>>> Where I say I CAN do it... it means that the lines to be changed are still there so I CAN do what the template/hack says :)



could anyone help me by telling me what I should change/remove at the already changed Templates (from the previous 2 hacks I did) to apply the new template/hack... without problems?

I would appreciate it
:)

stark427 08-24-2002 05:56 PM

Ok... what was happening is that some later hacks were re-putting some references to the mods column... back to the templates...

this cause problems...
I changed the order of applying the templates/hacks and removed the references that got back...
I think I might have succeded to combine the 3 hacks without problems - so far :)
Lets hope it will last....


All times are GMT. The time now is 10:00 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.01328 seconds
  • Memory Usage 1,766KB
  • 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
  • (2)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