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)
-   -   Warnings System Hack v1.0 (https://vborg.vbsupport.ru/showthread.php?t=42972)

Kommissar 08-31-2002 04:34 PM

Where can I change the text of the "warning pm"?

g-force2k2 08-31-2002 04:52 PM

Quote:

Originally posted by Kommissar
Where can I change the text of the "warning pm"?
You can change it in the warn.php file...

find:

PHP Code:

        $reason "$username you have been warned by $bbuserinfo[username]! You now have $warninglvl Warnings. The ban limit is currently set to $banlimit Warnings.\n\nReason: $reason"

And you can replace what you'd like there... regards...

g-force2k2

N9ne 08-31-2002 05:07 PM

Shouldn't that be template driven? :p

g-force2k2 08-31-2002 05:14 PM

it could be Tha Rock but then you have to call that template to get the info from it to simply insert it again :p in this case file work does fine for me ;) regards...

g-force2k2

N9ne 08-31-2002 05:23 PM

lol ok, it doesn't bother me much, just as long as it's not hard to get to the code ;)

NTLDR 08-31-2002 05:40 PM

Thanks for yet another superb hack g-force2k2, I'm going to install this one now :D

Dean C 08-31-2002 07:30 PM

i installed this and its working wonderfully...

do we as admins have the option to delete a warning that a mod makes???

- Mist

N9ne 08-31-2002 07:43 PM

Mist: Yes as admins you can revoke warnings/ all warnings, look at the screenshots posted in the first few replies :)

NTLDR 08-31-2002 07:45 PM

One small suggestion if I can g-force2k2, it would be easier if the templates were all in sperate files with the name so they can be imported quickly ;)

Anyway, hack installed and working a treat, another great addon to my board from you :D

g-force2k2 08-31-2002 07:55 PM

NTLDR if you want i can easily make an install file for running the templates into the set ;) its like not a problem so if you rather have an auto template install i'll make it regards :)

g-force2k2


All times are GMT. The time now is 07:32 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.01390 seconds
  • Memory Usage 1,735KB
  • 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)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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