Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 08-24-2002, 04:09 PM
stark427's Avatar
stark427 stark427 is offline
 
Join Date: Aug 2002
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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
Reply With Quote
  #2  
Old 08-24-2002, 05:56 PM
stark427's Avatar
stark427 stark427 is offline
 
Join Date: Aug 2002
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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....
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:50 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03572 seconds
  • Memory Usage 2,200KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (2)post_thanks_box
  • (2)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit_info
  • (2)postbit
  • (2)postbit_onlinestatus
  • (2)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete