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 v2.1 (https://vborg.vbsupport.ru/showthread.php?t=43265)

Buddha 09-07-2002 07:52 PM

Quote:

Originally posted by Okiewan
Been there, done that. Nada.
same.
still get the error when viewing the logs, and no link.

Buddha 09-07-2002 07:53 PM

the new install btw, gives errors... as i mentioned in a prior post... do you have a workaround for that?

Okiewan 09-07-2002 07:55 PM

Quote:

Originally posted by Buddha
the new install btw, gives errors... as i mentioned in a prior post... do you have a workaround for that?
Yes... remove the warnlvl line from the user table.

Odd, the new install inserted nothing in the vB options. Oh well, will try later I guess :(

Vivi Ornitier 09-07-2002 08:09 PM

well i seem to have installed the hack fine cause all my pages are working and the install problem went out without a glitch. Now, it wouldn't display the warning links and level in the postbit.

In the old version it was this:

$post[warnings]

The new one is:

$post[warnlink]

But in the forum, it doesn't show up anything at all. Can u add the links and warning level manually??

So instead of putting $post[warnlink] u can add the links and all the code in the postbit template?

Chris M 09-07-2002 08:14 PM

I havent tested it, but this file below should insert the stuff into the settings...

Disclaimer: - I have just modified a file, in order to help out g-force on this occasion...I take no credit for any of the work...

Please Note: This file is ONLY to be used if you have not got the settings installed to your vB Options, AND are running Version 2.1 of this hack...

Satan

Buddha 09-07-2002 08:21 PM

booyeah.
thank you hellsatan!
everything seems to work now.
much appreciated!

*clicks installed*

Buddha 09-07-2002 08:30 PM

well, played around with everything, and it works great.

excellent hack... thanks for all the hard work.

Chris M 09-07-2002 08:34 PM

Lol...

@g-force - If you keep getting reports of this problem, I recommend adding the "install_settings.php" file to your .zip file:)

It seems to have worked for Buddha:)

@Okiewan - I think you should try it:) See if it helps you:)

Satan

The Realist 09-08-2002 12:16 AM

Found problem with below. There was a , at the end of the query when there should not have been.

Still looking into the warning link and why it will not show.

L8tr

Quote:

Originally posted by The Realist
Im getting the following DB error:

Database error in vBulletin Control Panel 2.2.6:

Invalid SQL:
SELECT logid, username, userid, target, targetid, timestamp, type, postid, comment
FROM warnings_log
ORDER BY logid
LIMIT 0,
mysql error: You have an error in your SQL syntax near '' at line 5

mysql error number: 1064

Date: Saturday 07th of September 2002 08:41:41 PM

Any help!


The Realist 09-08-2002 01:24 AM

Found problem with warning link not showing as well :)

Go to VB options and setup what usergroups have access to what and all is fine.

The reason I could not see it was that I did not have admin usergroup ID listed as one of the groups who can see the link.

Do that and all is fine :)

L8tr


All times are GMT. The time now is 11:12 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.01490 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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