vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   [vbHacker] Advanced Moderator List v1 (https://vborg.vbsupport.ru/showthread.php?t=36721)

Kyomu 03-28-2002 10:00 PM

[vbHacker] Advanced Moderator List v1
 
Advanced Moderator List v1
by Kyomu

This hack gives allows you to have a moderator list similar to the one used on vbulletin.org. It is completely template driven, so it can be cutomized to your liking. If a forum does not have moderators, this new list will be blank, if the forum does have moderators, a prefix (preset to "[Moderated by: ") and a postfix (preset to "]") will be added to the moderator list. This can be seen on on this site. The changes made to the files allow you to continue to use the default vbulletin moderator list along side the advanced moderator list. Look at the following screenshot for more detail:

http://anime-network.com/modlist.gif

To cutomize your moderator list, edit the forumhome_moderators template.
To place the advanced list, place the text $forum_moderators where you would like it. (It is preset to be under your forum description.)

Enjoy!

Kyomu 03-29-2002 07:54 PM

Blarg... The file wouldn't attach... It seems that it doesn't like .hack.php files... FireFly, is that supposed to happen?

Kyomu 03-29-2002 08:05 PM

There we go, file attached. :D

Lesane 03-29-2002 08:27 PM

I have it already installed on my forums :lick:, nice hack though :up:

BigJohnson 03-29-2002 09:16 PM

the vbhacker file is empty

Austin Dea 03-29-2002 10:54 PM

Well that makes a lotta sense...

maverick1236 03-29-2002 11:24 PM

still empty...

Nemesis77 03-30-2002 08:16 AM

still empty. file size = 0 kb

inetd 03-30-2002 08:51 AM

file empty :(
fix this please.

Kyomu 03-30-2002 03:06 PM

ARGH... this is really annoying. Alright, file updated.

For those of you wary about vbHacker, here's the textfile that it generates.

inetd 03-30-2002 06:17 PM

I can not find this code in a file index.php
PHP Code:

              eval(\"\\$forum[\'moderators\'] = \\\"\".gettemplate(\'forumhome_moderator\').\"\\\";\");
            } else {
              eval(\"\\
$forum[\'moderators\'] .= \\\", \".gettemplate(\'forumhome_moderator\').\"\\\";\");
            }
          }
        }

        if ( !isset(
$forum[\'moderators\']) ) {
          
$forum[\'moderators\'] = \' \';
        } 

I use vb2.2.4


Please EDIT attachment file. In advancedmodlist file a lot of superfluous \

Kyomu 03-30-2002 06:30 PM

Quote:

Originally posted by inetd
I can not find this code in a file index.php
PHP Code:

              eval(\"\\$forum[\'moderators\'] = \\\"\".gettemplate(\'forumhome_moderator\').\"\\\";\");
            } else {
              eval(\"\\
$forum[\'moderators\'] .= \\\", \".gettemplate(\'forumhome_moderator\').\"\\\";\");
            }
          }
        }

        if ( !isset(
$forum[\'moderators\']) ) {
          
$forum[\'moderators\'] = \' \';
        } 

I use vb2.2.4


Please EDIT attachment file. In advancedmodlist file a lot of superfluous \

I don't see how it could not be there...

inetd 03-30-2002 06:40 PM

\\"".gettemplate('forumhome_moderator').\"\\
must be one \ in end and home.

inetd 03-30-2002 06:48 PM

Please, check up a file and correct mistakes. Please!

maverick1236 03-30-2002 07:16 PM

TONS of mistakes-please fix
looks like a good one otherwise

Kyomu 03-30-2002 08:20 PM

vbHacker generated the text file with excess backslashes. Use vbHacker, I will not support installation without vbHacker.

Henry-RS 03-31-2002 01:18 AM

Where's the text file that it generates now...?

inetd 03-31-2002 08:57 AM

excess backslashes is and in advancedmodlist.hack.php. Please, EDIT a file!

inetd 03-31-2002 09:28 AM

And in "In the "forumdisplay_forumbit_level1_post" template, replace this code:" you lost level1(2)_nopost.
Please EDIT file. And U hack Will be the best!

maverick1236 03-31-2002 09:51 AM

here it is

inetd 03-31-2002 10:09 AM

maverick, in your txt file many error and excess backslashes

Tungsten 04-11-2002 05:23 PM

I agree... VBHacker scares the hell out of me as I've got many customizations in my various templates and PHP files.

This may be a foolish attitude on my behalf and I realize that Chen "Firefly" has his act together, but I'm very wary of using automated script installers like this. As a result, I rely on the text file feature to guide me through applying hacks manually. This affords me a certain level of assurance that the hacks are being applied properly and in the right places relative to my already modified files.

For some reason, VBHacker is adding a ton of excess slashes to the code on this hack when you tell it to generate the text-file version.

Tungsten 04-11-2002 05:55 PM

Okay folks... as far as I know, the attached text file is a properly formatted version of Kyomu's hack with all of the superfluous slashes and such removed.

Thanks to Kyomu for making this hack for us! Still not sure why VBHacker put all of those slashes in there, though. :confused:

N9ne 06-21-2002 03:45 PM

Quote:

Originally posted by Tungsten
Okay folks... as far as I know, the attached text file is a properly formatted version of Kyomu's hack with all of the superfluous slashes and such removed.

Thanks to Kyomu for making this hack for us! Still not sure why VBHacker put all of those slashes in there, though. :confused:

Thanks for making the text file :)

Also, a great hack!

Chris M 06-21-2002 07:16 PM

Its good!

Satan


All times are GMT. The time now is 02:45 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.01060 seconds
  • Memory Usage 1,763KB
  • 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_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (25)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