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)

Rynthar 04-08-2003 08:47 PM

Alright, I found out you dont need Warn_Config, so i guess what happened is my thing isnt installed. How do I actually activate installwarning.php or whatever it is? (the auto-installer)

Gary King 04-08-2003 08:54 PM

Quote:

Today at 05:47 PM Rynthar said this in Post #401
Alright, I found out you dont need Warn_Config, so i guess what happened is my thing isnt installed. How do I actually activate installwarning.php or whatever it is? (the auto-installer)
Upload to any folder (preferably your /admin/ folder) and then go to the page in a browser, like http://www.your.site/forum/admin/installwarning.php

Gary King 04-08-2003 08:55 PM

Quote:

Today at 05:34 PM Figment said this in Post #400
Care to share the solution please?

ap0c's solution can be found here:

https://vborg.vbsupport.ru/showthrea...742#post374742

(Or if that doesn't work, it is post #388 in this thread.)

Rynthar 04-08-2003 09:10 PM

OK. I did the whole auto install thing. I went to admin panel, now everything but the admin_warning.php works (still gives me the mySQL error). In addition, i STILL don't see the postbits or the new category on the forums

Figment 04-08-2003 09:13 PM

Don't know how I missed that when I went looking.

Thank you so much - fixed and all working beautifully. :)

Gary King 04-08-2003 10:44 PM

Quote:

Today at 06:13 PM Figment said this in Post #405
Don't know how I missed that when I went looking.

Thank you so much - fixed and all working beautifully. :)


No problem :)

By the way, does the link in the postbit show up for you? Because it doesn't for me; that's the only problem that I am currently having with this hack :ermm:

Oblivion Knight 04-09-2003 11:01 AM

Quote:

04-06-03 at 12:50 AM Oblivion Knight said this in Post #396
1.) Why hasn't the colour of the Warnings "sections" taken on the alternate colour? Instead there are 2 coloured sections which are the same colour that have been put together.
If anyone else is having this problem, it can be solved by:

Open template "warn_getinfo_warning"
Find (twice):

Code:

firstaltcolor
And change it to this (both times):

Code:

secondaltcolor

Figment 04-09-2003 01:15 PM

Quote:

Originally posted by Blak & Wite
By the way, does the link in the postbit show up for you? Because it doesn't for me; that's the only problem that I am currently having with this hack
Yes it does :) Have you checked in the AdminCP > vBulletin Options > Warning System, to ensure your usergroupid is able to view warnings? (If default usergroups, 5 is Super Moderators, 6 is Admin, 7 is Moderators

I included the modification described here so that warning points do not show in the postbit unless > 0

drives fast 04-09-2003 04:32 PM

51 usergroups? wow

Gary King 04-09-2003 07:57 PM

Quote:

Today at 10:15 AM Figment said this in Post #408
Yes it does :) Have you checked in the AdminCP > vBulletin Options > Warning System, to ensure your usergroupid is able to view warnings? (If default usergroups, 5 is Super Moderators, 6 is Admin, 7 is Moderators

I included the modification described here so that warning points do not show in the postbit unless > 0


Thanks, I didn't notice that addition to the vBulletin options.

Figment 04-09-2003 09:05 PM

Took me a while before the penny dropped too :D

Radgam 04-12-2003 08:30 PM

i've perhaps missed something but i couldn't find a file called warnconfig.php in the zip archive ......

Gary King 04-12-2003 08:35 PM

Quote:

Today at 05:24 PM Radgam said this in Post #412
i've perhaps missed something but i couldn't find a file called warnconfig.php in the zip archive ......
There isn't a warnconfig.php; just ignore that file.

Radgam 04-12-2003 08:43 PM

it was just from the installation file
"Something Different?
// ++++++++++++++++++++
Go to the Admin CP and create a new usergroup.
Call the group Banned by Warnings :: And be sure to restrict all access to the forum from this usergroup!
Then Submit and right click the edit link to that new usergroup. Remember the Usergroupid for the config of the warnconfig.php!
(ie. 8)

Notice ::
Open warnconfig.php and configure this according to your forum!"

Figment 04-12-2003 08:45 PM

The installation instructions were not updated when the installer was changed. All references to warnconfig.php may be ignored - all settings are to be found in your admin CP

Radgam 04-12-2003 08:51 PM

Thanks :)

Figment 04-12-2003 09:35 PM

For the benefit of those that are still trying to install this brilliant hack and get stuck because they cannot find warn_config.php (which no loner exists), I have taken the liberty of re-writing the installation instructions to remove reference to that file

Credit still goes to g-force2k2 for this hack, and I hope you don't mind my input.

Radgam 04-13-2003 01:04 PM

Noticed a bug it's cause i have an ' in the board title, but i think that i should be allowed that :p:

Quote:

Database error in vBulletin 2.2.9:

Invalid SQL:
INSERT INTO privatemessage
(privatemessageid, userid, touserid, fromuserid, title, message, dateline, showsignature, iconid, messageread, folderid, receipt)
VALUES
(NULL, '23', '23', '2', 'GN'R Forum Warning Notification', 'mymichelle,

You have been issued a warning !
You now have 8 Warning Points.
The ban limit is currently set to 25 Total Warning Points.

Thanks,
GN'R Forum team.', '1050237866', '0', '0', '0', '0', '1')
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'R Forum Warning Notification', 'mymichelle,

You have been is

mysql error number: 1064

Date: Sunday 13th of April 2003 08:44:26 AM
Script: http://www.gnrforum.com/warn.php
Referer: http://www.gnrforum.com/warn.php?s=&...n&postid=43522

Splitfyre 04-13-2003 11:15 PM

Hey Everyone,

I am trying to figure out how I can get the:

Report this post to a moderator | IP: Logged
Warning Level: 0 [ View User Warnings ] [ Warn This User ]

To anchor at all times for each post in the bottom right hand corner. I've posted another thread as I was unaware that that this had to do with this hack, but I thought I'd post in both and see what you might be able to suggest. Thanks in advance.

Here's the other thread

neocorteqz 04-15-2003 06:12 AM

How do you uninstall this completely?? It uninstalled everything except the Settings under vBulletin Options?? see attached for a better view.

// edit

Never mind i found out how, blind luck seeing as i didn't know it existed.

setting.php.

DaFire 04-15-2003 11:58 AM

Hmm.. I think it would be cool if the mod could add a custom message to the pm / email and if it would be possible to add the link to the warned post in the pm / mail

Jakor Sevel 04-17-2003 12:57 PM

anyone made a addon or anything so that mods could only warn people in their forums? Unfortunately a mod at my site went nuts and banned just about everyone on the site, lmao. dunno why, maybe his account was hacked, anywayz...if this is possible that'd be great that was mods can't just warn anyone, since they're suppose to be mods for certain forums anyway.

Rynthar 04-17-2003 02:55 PM

Well, I installed everything, but the links in the postbit arents there. Thats basically it, and I don't know whats the wrong. The warning system links in my admin CP and VB options are there, the "View Warning Lists" on the main page are there, just cant get the postbit to work

Gary King 04-17-2003 03:10 PM

Quote:

Today at 10:55 AM Rynthar said this in Post #423
Well, I installed everything, but the links in the postbit arents there. Thats basically it, and I don't know whats the wrong. The warning system links in my admin CP and VB options are there, the "View Warning Lists" on the main page are there, just cant get the postbit to work

Have you tried going to your vBulletin Options and hitting Submit at the bottom? You need to submit the values, even if it's the default ones.

Splitfyre 04-17-2003 09:47 PM

We've gone through and added the Warnings Hack on my forum. You can check it out: www.futurelooksforums.com

The problem that we have now is that the Warning icons within each thread reply or post do not always anchor on the bottom right hand corner of a thread or reply. :(

Rynthar 04-18-2003 03:18 AM

Please help me out and visit https://vborg.vbsupport.ru/showthrea...threadid=51757

Oblivion Knight 04-18-2003 11:03 AM

Quote:

Yesterday at 10:47 PM Splitfyre said this in Post #425
The problem that we have now is that the Warning icons within each thread reply or post do not always anchor on the bottom right hand corner of a thread or reply. :(
If you have a large postbit, that part of writing (Report this post etc.) never did anchor anyway.. ;)

For it to anchor, you need to create another table within the postbit template and valign it to bottom. Doing that is another story though.

Radgam 04-19-2003 02:30 PM

Can i add a suggestion for possible furture releases:
The ability for users to see the warnings they have been issued (and if they are able to see which user issued it). Unless i've missed that i think it's good for users to know what they've been issued a warning for (and previous warnings) ;)

Gary King 04-19-2003 04:06 PM

Quote:

Today at 10:30 AM Radgam said this in Post #428
Can i add a suggestion for possible furture releases:
The ability for users to see the warnings they have been issued (and if they are able to see which user issued it). Unless i've missed that i think it's good for users to know what they've been issued a warning for (and previous warnings) ;)


You can choose to notify the user if you want to send them a PM about their warning.

Radgam 04-19-2003 04:13 PM

True. But my users don't keep PMs for that long so it'd be like a history of their warnings :)

Jakor Sevel 04-19-2003 08:50 PM

but they are sent a PM saying who warned them and the reason for it, or an e-mail or something like that. So it's up to the member to remember what they were warned for, or to just save the PM or save it to their computer (in a txt file).

Can anyone answer my question above though?

Gary King 04-19-2003 09:03 PM

Quote:

04-17-03 at 08:57 AM Jakor Sevel said this in Post #422
anyone made a addon or anything so that mods could only warn people in their forums? Unfortunately a mod at my site went nuts and banned just about everyone on the site, lmao. dunno why, maybe his account was hacked, anywayz...if this is possible that'd be great that was mods can't just warn anyone, since they're suppose to be mods for certain forums anyway.
I don't think that something like this would be very effective, because they could easily lure someone into their forums if they really wanted to warn or ban them.

Andrew111888 04-21-2003 06:26 PM

How do warned users view their own warnings?

Radgam 04-21-2003 06:33 PM

PM or email. That's it

Figment 04-22-2003 01:37 PM

I would like to allow the warned user to view warnings from their profile.

I guess this would mean modifying part of member.php, but can anyone tell me what to do please?

Holidazed 05-01-2003 05:45 PM

I have given rights to moderators to give warnings. However, how do I stop them from being able to give warnings in forums they do NOT moderate?

Fusion 05-07-2003 03:16 AM

Does this hack support automatic decrease of warning-points in any way?

Gary King 05-07-2003 11:18 AM

Quote:

Today at 12:16 AM Fusion said this in Post #437
Does this hack support automatic decrease of warning-points in any way?
I don't think so.

solent 05-07-2003 08:55 PM

install it on vb2.3.0 with some minor problems but manage to fix them myselft.

excellent hack really love this one

GunsNetwork 05-08-2003 05:01 AM

I got a small bug some how, it is installed on vB 2.3.

When I click on View Warning Logs, I get this error.

Database error in vBulletin Control Panel 2.3.0:

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: Wednesday 07th of May 2003 11:52:46 PM
Script: http://www.gunsnet.net/forums
Referer: http://www.gunsnet.net/forums/admin/...n=nav&cpnavjs=


Would like some help please. The install file went clean, so I am kind of bewildered.

BowHunt


All times are GMT. The time now is 01:36 PM.

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.01722 seconds
  • Memory Usage 1,831KB
  • 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_code_printable
  • (13)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
  • (40)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