![]() |
Has anybody had this running on 2.2.6 with the Lesane Store Hack?
|
]right now under table "setting" under settinggroup 40 I have Chan's hack called vbPad ( think so )
Code:
Edit Delete 171 40 Maximum Characters per note maxpadsize 250 The maximum number of characters that you want to ... 1 |
]same sh*t... :/
something wrong with query PHP Code:
weird... |
the query should be like that:
Code:
$DB_site->query("INSERT INTO setting (settingid,settinggroupid,title,varname,value,description,optioncode,displayorder) VALUES (NULL,32,'No Warning Usergroups','NOwarn','6','The usergroupids for the usergroups that cannot be warned! (seperate each usergroupid by a comma)','','5')"); to check what is ur last group, just go to admin/setting.php and look at the last groupid. |
]mmkay...
now everything is imported, all templates edited, all files edited, admin panel visited and settings saved and... still nothing... empty place... :( :( :( :( :( :( :( :( :( |
i will look on your board when i wakeup.. as you see i'm still awake. :)
|
]LOL, go to bed!!! NOOOOOOOOOOW! :p
|
Quote:
i installed on wooolf's board everything and it worked ok with my method of queries listed above... |
Using 2.2.6, had an db error when i viewed the logs but when I created the usergroup Banned by Warnings and set it in vb options to the right usergroup id no probs at all.
This will definetly get my vote for HoTM |
Thanx to TECK I got it fixed...
I think g-force2k should really think of how to put queries for execution in the installer... And the file with installer is not so easy to read cause it's kinda big... Try to make another format next time or make it morevisible The idea itself is great! Thanx to g-force2k and TECK |
yeah thanks TECK for the support i will rewrite a better set of instructions as well as a better installer later when i get the free time... regards...
g-force2k2 |
Perhaps you could use vBhackmaker:)
Satan |
Quote:
imo, manual way is the best way. you are always in control and if you make a query code error then you know wich one is it and check the syntax rightaway... i use chen's query hack, and i never had a prob... it does the job great... |
]it's wooolF , not wooolf :p
|
Quote:
|
awesome hack! Got it installed in just couple minutes. I used everything from the first post that G Force did and it worked. I ran the install_warning.php as last and then went to vbulletin options and made the changes to the usergroups for the warning stuff. When I submitted that it started working at once :)
One question though, where do you change the color of the view warning list. I am getting a black font and can't find where to change that. Thanks http://www.dtmpower.net/forum/warn.php?s= |
thats great to hear Dado :) as for you request in the warn_list & warn_listing templates you can just change the:
PHP Code:
PHP Code:
g-force2k2 |
thank you. I didn't even notice the templates were all the way at the bottom :) Sorry :D
|
Best hack i've seen in quite some time, *Clicks Install*
|
Well... I've read through this whole thread and i am still stumped. I had v1.0 installed and running with no problems, Went through the upgrade for v2.1 and ran the installer which set everything up but couldn't see the links in the threads and kept getting a DB error when trying to view the logs from the CP. I hadn't seen the bit about running the setup from the Vb Settings.
Decided to uninstall it and ran the uninstaller and removed all the add ons in the files and templates and then proceeded to do a complete install from scratch. Now when I run the installer it hangs in step 2 at: Inserting Warning System Settings Into VBulletin Options and I get this sql error: Database error in vBulletin Control Panel 2.2.7: Invalid SQL: INSERT INTO settinggroup VALUES (40, 'Warnings System', 40) mysql error: Duplicate entry '40' for key 1 mysql error number: 1062 Date: Sunday 08th of September 2002 09:10:08 PM Script: http://www.pprune.org/forums Referer: As I am not so au fait with sql I am stumped. Anyone care to advise what to do next? |
Ignore everything after "good morning!". I just ran the installer into step 3 and voila! All working hunkydory.
Pity it wiped my previous warned user list though. With 54,000 members I have to keep this list current and now all the mods will have to start again. Nice hack. Could possibly be a little bit clearer with the instructions ref the vB settings in the CP and deletion of the warnings config file. |
Quote:
|
Question... if there any way to limit the number of warnings a particular post can get? The mods know to look at the warnings before issuing one, but... I can see it happening, someone getting warned 5 times by 5 mods for the same post. Just a thought.
|
Okiewan:
open warn.php (2) find: (1) PHP Code:
PHP Code:
PHP Code:
PHP Code:
warn_error_postwarned ------- Sorry $bbuserinfo[username], but $info[username] was already wanred on this post for $getwarn[type]. Please select a different post to warn. And that should do the trick Okiewan... sorry i didn't test it yet... just made it up ;) Capt Prrune sorry to hear ;\ i thought the instrucstions stated that... besides the systems aren't compatible at all... last system was based on pure warnings no matter what the reason.... this one has a warning points system... regards... g-force2k2 |
g-force2k2,
Thanks for trying but she no work :( Multiple warnings on the same post still works. |
right i have installed the hack and it all works apart from in the admin cp for its settings look at the screen shot to see what i mean.
|
C.Birch try uninstalling and then reinstalling... if that doesn't work then i will make you an installer to fit your needs... can you tell me what the last settinggroupid is that you've used? regards...
try opening the install_warning.php find: PHP Code:
g-force2k2 |
its working now before i tryed it how someone said before to do it turn 40 in to 140 and that never worked but i just turned them in to 42 and that worked because last one was 41. thanx and cool hack :)
|
I installed the hack with no problems at all - absolutely everything was working (I ended up uninstalling it because it doesn't look like we really need it yet)
The only two changes I made were I changed 40 to another number... The other thing looks like it might be an error and might be what's causing the blank pages? The install.txt file says this: PHP Code:
I just added warn_getinfo_warning,warn_userinfo to the end of my current templatesused variable, but I think this also would work if you placed it under the first $templatesused variable.. perhaps this is what it's supposed to say?: PHP Code:
|
lynda: thanks for the bug exploit :p
it won't really effect the hack no... but just change: PHP Code:
PHP Code:
g-force2k2 |
Mines not showing up in my Postbit...can you look at this??
PHP Code:
|
410 did you submit the options in the vbulletin options in the admin cp? regards... make sure that the usergroupids are configured correctly according to your needs...
g-force2k2 |
Yep got it to work..gr8 hack thx!
|
glad to hear 410 :)
Okiewan... i just tested the code that i gave you and it worked fine? are you sure you tried a post that you had already warned? regards... g-force2k2 |
Quote:
|
awesome hack m8! installed it right away:D
one question.. after how many warning points does a user get banned and can I customize this? thanx!!!!:) sorry one other question.. I noticed the warning wasnt displaying in the postbit.. so I went looking in the install and I found this: Code:
// +++++++ Warning Hack 2.0 [ g-force2k2 ] +++++++ |
Quote:
|
yep like Erwin stated it is all customizeable in the vbulletin options in the admin cp... you can update the usergroupids there as well... hope that helps you... regards...
g-force2k2 |
yeah I customized that but the $post[warnlink] is still not showing when I look in a post (postbit is filled in correct..!) should I have installed a older version first and updated from there?
|
deleted all my templates and ran the installer....
this is what it showed: PHP Code:
PHP Code:
- Mist |
All times are GMT. The time now is 04:09 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|