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)

ghost323f 11-26-2003 11:02 PM

I dont see a submit button! All I see is a "save changes"button. And I have already saved the changes.

bexie 12-02-2003 01:40 PM

I'm doing a fresh install into 2.3.2

I get this error:

Fatal error: Call to undefined function: cpheader() in /home/dumbled/public_html/install_warning.php on line 7

All I did was try to run install_warning.php

Any suggestions?

Gary King 12-03-2003 12:03 AM

Quote:

Originally Posted by bexie
I'm doing a fresh install into 2.3.2

I get this error:

Fatal error: Call to undefined function: cpheader() in /home/dumbled/public_html/install_warning.php on line 7


All I did was try to run install_warning.php

Any suggestions?

You have to run in the /forum/admin/ folder.

bexie 12-03-2003 07:26 PM

Everything went great after I stopped beint stupid (;)) however, the addition in the postbit is not showing up. (as seen here). LOL, I know I'm impossible, but can ya help me out? Thanks guys. :)

ramprage 12-09-2003 02:00 AM

Please help my forums are not working after this installation - http://www.ramprage.com/forums/

vbulletin 2.2.8

Main display works, viewing categories and threads does not:

Viewing Thread
Fatal error: Call to undefined function: set_bbarraycookie() in /home/ramprage/public_html/forums/showthread.php on line 276

Viewing Category:
Fatal error: Call to undefined function: get_bbarraycookie() in /home/ramprage/public_html/forums/forumdisplay.php on line 294

Also all my templates are messed up, since this hack there seem to be like 10000 Change Original listings....

Suggestions, help?
I went over the instructions 3 times.... not sure what else to do.

ramprage 12-09-2003 02:02 AM

I ran the installer from /admin directory... it installed ok, or that's what it said anyways.

VeoMorphine 12-12-2003 01:05 AM

For anyone using the latest mysql, the installer will syntax error on any sql query this installer runs. I edited the installer and im uploading it in this post. This should work on any version of mysql. If you get a mysql error about a duped entry for settinggroup. Edit the script, find where ther settinggroup idkey is set and change it from 40 to something high like 23532. Do that for all the settings id's to.
Run the UNINSTALLER, then run the installer.

Celtic_Mad 12-14-2003 11:13 AM

There is no warnconfig.php in the .zip I just downloaded.

Agent XY 12-15-2003 12:37 PM

thx for die install file !!!

it's great !!! thx

etones 12-18-2003 10:46 PM

hey geforce... just wondering how the vb3 version is coming along.

Im dying to upgrade to vb3 but cant as i rely on your fantastic hack farrr too much (its excellent). As gamma is basically the final build, have u managed to start on the new system ready for release with RC1 ?

Happy to provide a large board for beta testing on:)

Taz

g-force2k2 12-19-2003 06:28 PM

etones thanks for the request, I will be sure to contact you with the system when i complete it for beta testing just send me your contact information.

Regards,
g-force2k2

etones 12-19-2003 07:51 PM

Quote:

Originally Posted by g-force2k2
etones thanks for the request, I will be sure to contact you with the system when i complete it for beta testing just send me your contact information.

Regards,
g-force2k2

You have been PM'ed :)

Keep up the good work
Taz

Skyline_GT 12-22-2003 02:09 AM

I go this error when I was trying to access to View Warning Logs

Code:

Warning: Division by zero in /home/gamerzpl/public_html/forums/admin/admin_warning.php on line 87
P,BODY{FONT-FAMILY:tahoma,arial,sans-serif;FONT-SIZE:11px;}


There seems to have been a slight problem with the Gamerz Planet Forum!! database.
Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.


Code:

Database error in vBulletin Control Panel 2.3.3:
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.  Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 4
mysql error number: 1064
Date: Sunday 21st of December 2003 11:08:29 PM
Script: http://www.gamerzplanet.net/forums/f...ion=view_logs&
Referer: http://www.gamerzplanet.net/forums/a...on=nav&cpnavjs=


Skyline_GT 12-22-2003 02:09 AM

as well I wond't see the warning link in the postbit.
I have added the code.
but can't see any thing..
http://www.gamerzplanet.net/forums/s...=1172#post1172

g-force2k2 12-22-2003 12:34 PM

Skyline GT make sure that you update the admin cp vbulletin options, that should solve your problems. If you have any more concerns feel free to use this thread again or contact me.

Regards,
g-force2k2

sweet22 12-24-2003 04:15 PM

um my zip file didnt come with warnconfig.php

mackers8923 12-28-2003 01:23 AM

Great Hack,,,,:)

Click's Install

:)

Oh and all the best 4 2002

Kruppa 01-02-2004 11:02 AM

This is an awesome hack, all my moderators love it. I can't believe we used to have a clumsy thread in the moderator section to keep track of warnings in a hard to read list. :D

g-force2k2 your hacks are great! I installed several of yours. More recently the one for how much time we all spend online. You gave tons of support there so I'm hoping you or anyone can answer this question:

Is there a way to export the warnings logs and warnings list to a text file or document so I can send it to my moderators?

For almost two years we were working where everyone is in the loop and now suddenly I had to tell them to keep issuing the warnings and I'll take care of the rest. The super mods in particular would like to see the warnings but I don't want all of them getting access to the admin panel.

Thanks! :)

g-force2k2 01-02-2004 04:13 PM

Quote:

Originally Posted by Kruppa
Is there a way to export the warnings logs and warnings list to a text file or document so I can send it to my moderators?

Thanks for the compliments Kruppa. As for your request I modified the admin_warning and created a mod_warning that will allow moderators to view the warnings via their modcp. They can edit warnigns and revoke points but they can't unban users, also they can view all the users who have been warned.

First make this one file edit:

open mod/index.php (1)

find: (1)

PHP Code:

makenavselect("Announcements"); 

under it add:

PHP Code:

/* Warning Hack v2.1 */
// ***
makenavoption("View Warned List","admin_warning.php?s=$session[sessionhash]&action=view_warned","<br>");
makenavoption("View Warning Logs","admin_warning.php?s=$session[sessionhash]&action=view_logs","<br>");
makenavselect("Warning Options");
/* Warning Hack v2.1 */ 

Then upload the mod_warnings.php to the mod directory.

If you have any problems let me know.

Cheers,
g-force2k2

Kruppa 01-03-2004 10:33 AM

It gives me an error page when I click the warning opetions within the mod panel. I logged in as a super mod to test it. The funny thing is that it did the same with the initial hack, when I clicked to test it within the admin panel it gave me an error page like that. I clicked submit in the general option even though I made no changes in the warnings part of it and it fixed my problem so I tried to do that again. It didn't do anything. The problem is have no submit button in the mod panel.

Maybe it's not the problem though, any ideas? The error page is a standard white page 404 error.

Jellymech 01-14-2004 05:24 PM

Installed everything ok and all works except the postbit warn link , i changed all my settings in vbulletin options & saved the changes but i still can't see the warn link :( its the same for all the user groups i selected .

I have sat here for nearly 3 hours goin through all the posts but i still have no solution :(

plz help :)

EDIT

Here is my user stats :

http://www.orbitpubs.net/pics/cp.jpg

and here are my warnings options :

http://www.orbitpubs.net/pics/op.jpg

everything works except i have no warn option.

thx for the help ;)

Kruppa 01-27-2004 09:51 AM

Quote:

Originally Posted by Kruppa
It gives me an error page when I click the warning opetions within the mod panel. I logged in as a super mod to test it. The funny thing is that it did the same with the initial hack, when I clicked to test it within the admin panel it gave me an error page like that. I clicked submit in the general option even though I made no changes in the warnings part of it and it fixed my problem so I tried to do that again. It didn't do anything. The problem is have no submit button in the mod panel.

Maybe it's not the problem though, any ideas? The error page is a standard white page 404 error.

Well I kind of forgot to come back to mention this but I found the problem. It turns out you had just linked the wrong file in your code to add to the mod/index.php file. You gave me the mod_warnings.php file but in your code you still linked to the admin_warnings.php file which you can't get to from the mod panel. I changed it to the filename you gave me to upload and it works great.

Anyways thanks again for your help, that mod_warnings file was really helpful. :)

Quote:

Originally Posted by Jellymech
Installed everything ok and all works except the postbit warn link , i changed all my settings in vbulletin options & saved the changes but i still can't see the warn link :( its the same for all the user groups i selected .

I have sat here for nearly 3 hours goin through all the posts but i still have no solution :(

plz help :)

EDIT

Here is my user stats :

everything works except i have no warn option.

thx for the help ;)

The pic you posted isn't of your posbit, it's for the profile. You don't get a link to warn users there, just the link to see user warnings. The warning system is based on giving warnings with a link to the thread and post for which you are warning your member. You get it in the postbit which is the post (dialogue box and left side box with name, avatar, title, location, ect...) left in a thread by your members. That's when you'll find your link to warn them.

Having one in the member profile would be ineffective because you have no place in the warning options to tell your member for which post you're warning for.

Heo13 02-29-2004 06:45 PM

I get this error... can someone help me?

Code:

Database error in vBulletin 2.3.0:

Invalid SQL:
              INSERT INTO privatemessage
              (privatemessageid, userid, touserid, fromuserid, title, message, dateline, showsignature, iconid, messageread, folderid, receipt)
              VALUES
              (NULL, '5', '5', '1', 'Предупреждение о нарушении на 'myforum name'', 'Здравствуйте xTeam,

Вам было выдано предупреждение от Heo за нарушение <b>Остальное (Незначительно)</b>!
Теперь у Вас 10 баллов за нарушения.
Бан лимит установлен в 25 баллов за нарушения.

--
Спасибо за участие,
  Администрация 'myforum name'                        admin@myforum
', '1078046332', '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 'Matrix Warez'', 'Здравствуйте xTeam,

Вам было выдано предупр

mysql error number: 1064

Date: Sunday 29th of February 2004 12:18:52 PM
Script: http://www.myforum/warn.php
Referer: http://www.myforum/warn.php?s=&actio...rn&postid=1485


forum4games 03-25-2004 12:53 PM

Quote:

Originally Posted by sweet22
um my zip file didnt come with warnconfig.php

mine either! where is this file and why is it not in the zip?!

The Realist 03-26-2004 01:46 PM

Same here?

Quote:

Originally Posted by forum4games
mine either! where is this file and why is it not in the zip?!


peanut666 04-23-2004 07:37 PM

ok thanks finally got it all working great hack bit sticky on the install but with using the post in this section i sorted it

so me clicks **********install*********

can i just say one thing to peeps that dont take the time to read the previous posts

why should they help you if you cant read the posts i read all 42 pages over and over again to find my answers i got fed up reading theres no warn config .php and the replys saying 2.1 dont need it lol so thanks to all that added there bits to this thread :)

2580 05-08-2004 04:15 PM

Wüsste gern wie das mit der Installation_txt.php Funktioniert. der wirft mir nur irgend was unleserliches aus.

Xenon 05-15-2004 02:59 PM

@2580: pass auf was du sagst!!!

Aceman 06-14-2004 01:44 PM

g-force2k2 - Are you still around? I've not seen a post from you since February 2004? Any plans to update this hack to VB3 or would you grant someone permission to attempt an upgrade? Your Warning system is by far the best system created to date.. and there is nothing close to it available to VB3 users.

Aceman

LancerForums 06-27-2004 10:46 PM

Quote:

Originally Posted by Aceman
g-force2k2 - Are you still around? I've not seen a post from you since February 2004? Any plans to update this hack to VB3 or would you grant someone permission to attempt an upgrade? Your Warning system is by far the best system created to date.. and there is nothing close to it available to VB3 users.

Aceman

I agree. I am really looking forward to this warning version for vb3. My mods are killing me for something :)

Mark

Beorn 06-29-2004 12:22 AM

In the next few days, or maybe week I'm going to rework my warning system for vB3...

Domenico 10-21-2004 03:41 PM

I'm wondering if moderators can have the same Warning options in their ModCP like the Admin has. It's easy so they can revoke warning points too.

Warning Options
Add | Modify Warnings
View Warned List
View Warning Logs

Thanks!

Rabbitoh Warren 11-26-2004 02:12 PM

This was a very useful hack but I upgraded to vB3 so I no longer need it. However, I've still got the a Warnings System option showing up in my vBulletin Option in the Admin CP. How do I go about removing this?

mrpotatohead 06-02-2005 02:27 PM

Hi there,

I partially installed this hack - and then realised it didn't have some of the features I needed, so is there anyway I can easily uninstall and change the database changes it has made - as with this new hack I have installed (the AWS) I get the following error:

Quote:

Database error in vBulletin 3.0.3:

Invalid SQL:
SELECT name, warnlvl, points
FROM warnings
ORDER BY (warnlvl) ASC, (worder) ASC
mysql error: Unknown column 'name' in 'field list'

mysql error number: 1054

Date: Thursday 02nd of June 2005 05:26:10 PM
Script: http://www.bigbrotherwebsite.net/for...arnings&id=826
Referer: http://www.bigbrotherwebsite.net/for...ad.php?p=48216
Username: Big Brother
IP Address: 81.153.209.9

- Joe

TOZ 11-14-2005 07:56 PM

I`m getting an error message: When I type on my vbShoutbox 2.0, nothing will appear, when I try to type again a window comes up and says "Posting in progress"
Please help, i`m running vbulleting 3.50 Gold.

I did the install like the instructions says throught the Pluging System > Manage Products > Add/Import Product. Also uploded the .php file to the forum root.

cul8rv8 12-07-2007 03:58 PM

Is this hack still available for v2.x? No file above to download, I would like to install this on our board and are not ready to move up to v3 yet.


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.03189 seconds
  • Memory Usage 1,844KB
  • 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
  • (2)bbcode_php_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (36)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