vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Warning System, Automatic Ban, Make Posts Invisible, Edit Signature/ Avatar/ Picture (https://vborg.vbsupport.ru/showthread.php?t=59718)

The Realist 06-22-2004 10:10 AM

Installed this ok but when I click a users name in a post, I dont get the dropdown menu but it takes me to there profile page?

Any ideas.

The Realist 06-22-2004 10:14 AM

Also just found this Mysql error:

Database error in vBulletin 3.0.1:

Invalid SQL:
SELECT COUNT(*) AS threads,
// [START HACK='Warning System, Automatic Ban, Make Posts Invisible, Edit Signature/ Avatar' AUTHOR='Dr. Erwin Loh' VERSION='1.1' CHANGEID= 4 ]
SUM(IF(thread.lastpost>=1087900135 AND open<>10,1,0)) AS newthread
// [END HACK='Warning System, Automatic Ban, Make Posts Invisible, Edit Signature/ Avatar' AUTHOR='Dr. Erwin Loh' VERSION='1.1' CHANGEID= 4 ]
FROM thread AS thread

WHERE forumid = 65
AND sticky = 0
AND visible = 1

AND thread.lastpost >= 1085310715



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 '// [START HACK='Warning System, Automatic Ban, Make Posts Invis

mysql error number: 1064

Date: Tuesday 22nd of June 2004 12:11:55 PM
Script: http://www.tech-tronix.com/forums/forumdisplay.php?f=65
Referer:
Username: Realist
IP Address: xx.xxx.xxx.xxx

Erwin 06-22-2004 11:58 AM

Quote:

SELECT COUNT(*) AS threads,
// [START HACK='Warning System, Automatic Ban, Make Posts Invisible, Edit Signature/ Avatar' AUTHOR='Dr. Erwin Loh' VERSION='1.1' CHANGEID= 4 ]
SUM(IF(thread.lastpost>=1087900135 AND open<>10,1,0)) AS newthread
// [END HACK='Warning System, Automatic Ban, Make Posts Invisible, Edit Signature/ Avatar' AUTHOR='Dr. Erwin Loh' VERSION='1.1' CHANGEID= 4 ]
FROM thread AS thread
You cannot put comments // in the middle of a query. :) That's like putting // comments in the middle of a line of code.

The Realist 06-22-2004 12:02 PM

LOL so I should of just used

Signature/ Avatar' AUTHOR='Dr. Erwin Loh' VERSION='1.1' CHANGEID= 4 ]
SUM(IF(thread.lastpost>=1087900135 AND open<>10,1,0)) AS newthread

And not

// [START HACK='Warning System, Automatic Ban, Make Posts Invisible, Edit Signature/ Avatar' AUTHOR='Dr. Erwin Loh' VERSION='1.1' CHANGEID= 4 ]
SUM(IF(thread.lastpost>=1087900135 AND open<>10,1,0)) AS newthread
// [END HACK='Warning System, Automatic Ban, Make Posts Invisible, Edit Signature/ Avatar' AUTHOR='Dr. Erwin Loh' VERSION='1.1' CHANGEID= 4 ]
FROM thread AS thread

Dull bugger :)

The Realist 06-22-2004 12:03 PM

Any ideas on this one M8

Quote:

Originally Posted by The Realist
Installed this ok but when I click a users name in a post, I dont get the dropdown menu but it takes me to there profile page?

Any ideas.

Infact none of my drop down menu's are working?

The Realist 06-22-2004 02:48 PM

All solved but I have a request.

Can this hack be changed so it can do the following.

If a member gets say 3 points they are banned for 24 hours, if they get 7 points they are banned for 7 days and if they get 10 points they are banned for good.

Laters

Quote:

Originally Posted by The Realist
Any ideas on this one M8



Infact none of my drop down menu's are working?


ImportPassion 06-24-2004 01:14 AM

it says in the title u can make posts invisible, but i don't see that option.

Erwin 06-24-2004 01:40 AM

Quote:

Originally Posted by 7thgenCivic.Com
it says in the title u can make posts invisible, but i don't see that option.

When a person is Emergency or Troll Banned, all their posts disappear automatically from view. Saves you from having to remove the manually.

The Realist 06-26-2004 04:56 PM

Problem.

If I click "List all hack at once"

On the very bottom of the screen after current hack it says:

Warning: in_array(): Wrong datatype for second argument in /home/xxxxxxx/public_html/forums/admincp/hackadmin.php on line 2184

Also:

Current warnings on a username dropdown menu only shows the () there is no figure being shown in between the brackets.

And

If I click ban or suspend I get a "blank page?"
Unban or unsuspend it comes back with "Invalid User Specified"

Any ideas?

Erwin 06-27-2004 03:53 AM

Quote:

Originally Posted by The Realist
Problem.

If I click "List all hack at once"

On the very bottom of the screen after current hack it says:

Warning: in_array(): Wrong datatype for second argument in /home/xxxxxxx/public_html/forums/admincp/hackadmin.php on line 2184

Also:

Current warnings on a username dropdown menu only shows the () there is no figure being shown in between the brackets.

And

If I click ban or suspend I get a "blank page?"
Unban or unsuspend it comes back with "Invalid User Specified"

Any ideas?

1) You haven't installed the hack properly - this hack requires careful following of instructions.

2) If current warning is zero, then by default there is nothing between ().


All times are GMT. The time now is 05:04 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.01440 seconds
  • Memory Usage 1,746KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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