![]() |
Mist go in your admin browser to setting.php and the find out what the next settinggroupid is... and replace all of the 40's with whatever the next number should be... see post#107 for references... regards...
g-force2k2 |
ok ... but what do i do bout runing the installer again :(???
it will get errors as some of the queries were executed... - Mist |
g-force2k2
This script works great. My moderators love it. Thanks for all the hard work in putting this together. Parker |
Mist just uninstall it then... and then rerun the installer... regards...
And thanks Parker... means alot :) g-force2k2 |
ge-force could u plzzzzzz take a look at my previous post.. still isnt working..:(
|
I'll take an look at it sc0rp.
|
Scorp did you update the vbulletin options and make sure that the usergroupids for the staff(admins, mods and smods) were configured correctly with your forum? regards...
g-force2k2 |
this is a pain in the ass....
/me goes off to reinstall... - Mist |
Quote:
[edit] oh.. darkssj fixed it :) thanx darkie.. and thanx geforce2k2!:D |
g-force2k2:
Is there anyway of making this so that the comments are added to the message that gets sent out too? Parker |
good to hear Scorp :)
Parker Clack just edit the warn_pmemail templates and add where you want: PHP Code:
g-force2k2 |
g-force2k2:
Thanks. Parker |
well i had to teach myself sql to revers the queries of the original hack... lol (probably wasn't needed but it was worth it)
then i changed a few things and did a complete re-install and got this working Very nice system g-force... - Mist |
I must say, it's a good Hack, and the first one to make it onto my boards to.
I have one question though, how do i find out what the User group number is for each user group? Just so i can make sure that the right users can see the right stuff. Also, how do i set it so that the banned user switched to a new user group? I saw it mentioned earlier but you needed to edit a warnconfig.php file that 2.1 didn't need. so any help would be nice. Thanks again, and great hack. |
Tetchu you have to right click the edit button for the usergroup in the admin cp while editing the usergroups... and for all of the configurations... its now intergrated into the vbulletin options... regards...
g-force2k2 |
--- never mind--- fixed it trough phpadmin
Only one thing remains and that is a double notition of the warnfunctions in the vb options. (??) |
please help when i click on view warning logs i get
Warning: Division by zero in /home/www/eroweb/admin/admin_warning.php on line 87 There seems to have been a slight problem with the Ero Web Services 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. this is line 87 what is wrong with it i cant figure it out. PHP Code:
|
I didn't see it...forgive me if it is already here...but is it possible to put a graphic in the postbit of someone who has been warned? That way all members can see that this person has recieved a warning, and why they did?
The above is simliar to the card hack from Lesane for his Store Hack. I like yours in that it is more professional and detailed. But Lesane's is great because of the postbit issue. Again, sorry if this is already brought up...I'm blind if it's here. |
a43079 you have to submit your vbulletin options ;)
Apok2002... open admin/functions.php find: PHP Code:
PHP Code:
sorry i haven't tested it but it should work :) regards... g-force2k2 |
THankyou it works great..
|
Do I have to install one of the older versions of this? or can i use this one? If I can use this without installing any other version, Then where do I put the user groupid as stated here.
Quote:
Thanks. edit: Quote:
|
Hi Everyone
I am VERY new to PHP, but trying to install this brilliant feature on my forum. I keep getting the following error message. I dont think it is to do with this script, as it has happened with another script I tried. Fatal error: Call to undefined function: cpheader() in E:\webspace\resadmin\markquayle\mobilephonemadness .com\www\forums\install_warnin g.php on line 7 Anyone Help? |
this is a great hack....I like it a lot and it installs easily.
However I noticed a little possible bug if you can call it that. When I warn a member the last time and his points total enough for the hack to ban the member....it does drop him into the banned usergroup (8) but it does not update the usertitle....it stays as "member" instead of changing to "banned by moderators". Is there an "uptade usertitle" or something missing in there? |
I was running install script from the wrong directory... it Seems to install this time, but is playing up.
The file warnconfig.php is not in the zip. where do i find this? Also, should there be a "warn user" option next to report this post to a moderator? coz there isnt. Sorry for being thick. Mark |
User_001 the 2.1 installer will fully install the warnings hack...
drives fast just edit the update query... its not a bug but it just doesn't update the usertitle... i'll give you the code for that in a few if you'd like.... MPM.com just update the vbulletin options... regards... g-force2k2 |
Sorted!!
Thanks for a great hack, and for the help. |
g-force2k2,
thank you for your reply.....I would like the code if it is not too much trouble.....I really don't know what do add in thanks |
open warn.php
find ths code: PHP Code:
PHP Code:
PHP Code:
g-force2k2 |
Thanks for the help. I'm gonna install this after a Fresh Backup of the DB.;) :)
|
now all of a sudden I am getting this err or when I try to view a thread:
Parse error: parse error, expecting `']'' in /home/xxxxxxxx/xxxxxxxx/xxxxxx/admin/functions.php(278) : eval()'d code on line 46 thsi is line 46: PHP Code:
I have tried uploading an un-hacked functions.php and the same error exists and it won't allow the postbit template to show up on the page any ideas? |
hmm... drives fast that is definately weird... there is somethign wrong with the eval code... but i dont' see anything wrong with that one... im not positive probably better of checking up with the support forum... regards...
g-force2k2 |
I must be totally missing something
....like the config file, not included in the zip, any clues? Dave |
yeah its not included in the zip file sorry Dave-ahfb... the Warnings Hack v2.1 doesn't need a warnconfig.php anymore instead the options are in the vbulletin options... i have to update the instructions... just been busy regards... but the hack works fine itself ;) just my instructions are shady...
g-force2k2 |
Sorry I got it now.
I attempted this install the other day and gave up, thought a fresh mind might help today. I see the question has been answered earlier in the thread so I apologize for not reading through the entire thread. It took some work but it looks like a great script. thanks, Dave Bailey |
I got so many errors when I tryed to install this on my forum. The big one was that my site no longer showed since the code edit in the admin/functions.php casued a error. And all the admin files did not parse they just displayed the code... also when I took a look at the code on my computer it was very distorted since it had been text formated which you dont do when coding.
|
Working fine so far but we get this: Fatal error: Call to undefined function: checkwarnlink() in /home/domain/www.oursite.com/HTML/member.php on line 1746
|
Nuclion did you make the file modification to the admin/functions.php yet? regards...
neo what do you mean text formatted? regards... g-force2k2 |
Yes g-force i've made those modifications. I've checked it twice.
Maybe it conflicts with another hack, i shall attach admin/functions.php so maybe you can see the source of the error. |
definately weird Nuclion...
first remove the file so that you don't get in trouble ;) can't post full vb files here... second can you show me what is on line 1746 of the member.php? regards... g-force2k2 |
It's in this...but i've removed that and the error shoots to another line:
// Number of time a profile has been viewed by Pierre-Luc "Fuitad" Brunet if ($userinfo[profileview]=="") { $userinfo[profileview]=0; } <--------------------------------------------- line 1746 $userinfo[profileview]++; // Update the DB with new count $updateviews=$DB_site->query("UPDATE user SET profileview=$userinfo[profileview] WHERE userid=$userinfo[userid]"); // End Number of time a profile has been viewed by Pierre-Luc "Fuitad" Brunet |
All times are GMT. The time now is 01:02 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:
|