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)

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.


All times are GMT. The time now is 09:09 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.01853 seconds
  • Memory Usage 1,751KB
  • 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
  • (2)bbcode_php_printable
  • (2)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