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)
-   -   Mike's Warning System 1.0 (https://vborg.vbsupport.ru/showthread.php?t=53596)

Soundr 07-05-2003 01:23 PM

Hey, I just installed your hack, I have some questions though.

1. When you set a warning, lets say 3 points, and a expiry of 5 days, after 5 days will those warning points go? If this happens, how can I set unlimited days?
2. When you add a warning to teh user, you cannot see the header any more, how can I add the header and footer?

- Devnull

xpguy 07-05-2003 08:49 PM

i cant find the get info template bit :S

4thgenresource 07-06-2003 10:04 PM

Quote:

07-05-03 at 10:49 PM xpguy said this in Post #32
i cant find the get info template bit :S
It's under "User Info Display Templates"

4thgenresource 07-06-2003 10:35 PM

Is there anyway to have, instead of days, also have a certain length of time, like 1 hour, 3 hours, etc..?

4thgenresource 07-07-2003 02:10 AM

Okay I need help now....Whenever I anyone click's on a user's name, or the profile button, we're getting this error:

"Fatal error: Call to undefined function: checkwarnlink() in C:\Sites\BS Forums\member.php on line 1405"

:(

Beorn 07-07-2003 04:26 PM

Paris Holley - It sounds like you added that code, not replaced it.

Soundr - Yeah, the points are eliminated (but the warning remains so you have a rap sheet on the user). For an infinite one, set the default length to -1. As to the header: open the warn_newwarning template. Find <body>, and add after it $header

4thgenresource - Yeah, it's possible to have < 1 day warnings, but there would be a few modifications involved. Also, it sounds like you didn't remove all of g-force2k2's old warning system. Open the upgrade instruction file, and go to step 5. Make sure you've done everything listed.

EWorld 07-08-2003 05:14 AM

Mr. Mike .. umm how would I put

Warning Points: 13 (orwhatever they have) in the postbit?

Like under

POSTS:
POINTS:
WARING POITNS:

- Speedy

Beorn 07-08-2003 02:31 PM

Well, Points and Warning Points are the same thing. To make the change (that I think) you would like, open the postbit template, remove the following (if it is there...it may or may not be depending on how far you got through the installation...)
Code:

| $post[warnlink]
Scroll up a bit in the postbit template, and find
Code:

        Posts: $post[posts]
Add after that:
Code:

<br>$post[warnlink]
Additionally, you may want to edit warn_postbitaddin and add a <br> (line break) between each of $post[warninglvlwords] and $post[viewwarnings] and $post[addwarning].

Mike

kimbers 07-10-2003 09:15 PM

I have a problem and i feel like a dork posting this but, when i add the $post[warnlink] nothing shows up in my templates and i set the warning system to on.

Beorn 07-10-2003 11:29 PM

Did you modify showthread.php as per the instructions?


All times are GMT. The time now is 07:17 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.01129 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
  • (3)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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