![]() |
Quote:
|
Ice Man the warnconfig.php goes in the admin directory... also make sure that you edited the admin/functions.php correctly... regards...
g-force2k2 |
Great hack! i love you :p
i'll asap installation it |
Hack looks fine and shows on board but i cant warn no one as i get page not displayed
i can enter the details why they were warned then when i press return thats when i get no page so a path is wrong and i thinl ots this one $fdname = "/VBB/"; // forum directory folder name that is path to my vbb folder so where am i going wrong ? Also Just relised from the pics in the first post that my warning box dont have the button GO on it . I did all templates as well so not sure why the button aint showed. |
Mr_P did you change the global $gobutton template by any chance? because its the same gobutton as everywhere on the forums really... regards...
g-force2k2 |
Very Nice Hack :)
I will most definatly install this one. |
nope aint changed the button and the go button appears on the forum as normal (just not on that warn box).
To be honest i would`nt ov even knew it was missing to i compared mine to the pics you posted at beginning of thread. I re-did hack just in case i missed anything but still same also $fdname = "/VBB/"; // forum directory folder name is the above correct ? |
got the button to show by robbing the following code from showthread and inserted it in here
PHP Code:
This has something to do with this dont it but i tried all sorts and it still page not displayed ........Any Ideas? also $fdname = "/VBB/"; // forum directory folder name is the above correct ? Not Found The requested URL was not found on this server What file is it actually looking for when the Go button is pressed is it warn.php if so then the path above is correct to the vbb folder so warn should be found automatically. |
nope sorry it fines the extra crap above was me when i was editing the code i forgot to remove excess after messing with it.
I have it all going - everything shows except when i click go i get page not found on this server - if i can solve that then hack is complete and cheers Erwin. |
Installed with no problems... with some minor modifications, specifically using my own JS window opening script. :) Thanks!
|
Also, don't forget to add the following code to the warn_show and warn_add templates right at the top before any of the HTML:
Code:
<head> |
Perfect working but one problem
my forum have not folder just only root folder http://saxxon.squadcenter.de/ so must i change to? $fdname = ""; // forum directory folder name |
No, use this:
$fdname = "/"; |
Quote:
Thx m8...was about to ask about it:) |
Quote:
|
thanks for the help Erwin ;)
btw Mr. P do you have this coding in the warn_add template? PHP Code:
g-force2k2 |
Quote:
I have to problems with my server being an NT IIS Server, what is the correct path I need for this coding $fdname = "forum"; // forum directory folder name I tryed c:\\folder\\forum location but that didnt work aslo when I click the warn user link I get this following error CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: would it be because of my $fdname path??? |
hyperdave for the directory problems try replace all instances of:
PHP Code:
PHP Code:
Edit: you can try replace the javascipt link with: PHP Code:
g-force2k2 |
hey I figured my problem out, it would help if I read the directions on where to upload files, dont me how I did this, but I uploaded all the files to the admin directory. any who going to make atest account and ban the heck out of it.
thanks for the speedy help, i'll beback if I finder more problems |
lol ;) glad that you figured it out hypedave :) enjoy man... have fun banning the heck out of the tester :p regards...
g-force2k2 |
I got a addon request for you. Add an option to email the user to let him know his account has been banned, even if he has the option to recieve emails blocked, cause if you pm the user he cant check his pm if that feature is disabled for that banned group
thanks |
seems no matter what i do as soon as i press the go button i get a url not found on this server error
my board is in a folder called vbb so this is correct path so unsure where to go now. also i tried the different hyperlink as listed above and got nowhere with that. $fdname = "/vbb"; // forum directory folder name If i use following hyperlink i get following : <a href='warn.php?s=$session[sessionhash]&action=add_warn&postid=$post[postid]'>[ Warn User ]</a> Sorry but the post that you're trying to warn the user for doesn't exist! Please go back and confirm the postid. |
DAMNNNN dogg.....your my favorite hacker now :)
congratz [high]* ZiRu$ goes off to install it[/high] |
Quote:
|
....hmm.....MODERATORS see it....but I don't see it...I AM NOT A ADMIN....i am a custom group with super mod priviledges ????
|
looks cool, clicks install
|
You need to edit the user permissions in warn.php in 2 spots - look for where all the usergroupid permissions are listed, and add your own.
|
Mr.P where are you placing the link on the postibt? Cause the error you're recieving is an postid error meaning the postid doesn't exist... try putting one in... ie: postid=250
Zirus if you want another usergroup included you have to add them... i can show you how to go about this if you like... regards... g-force2k2 |
Quote:
ALSO....in the ugh i forget it...It's the CONFIG php file it asks you for the directory of your forum the default it "forum" but i have no sub-directory like vbulletin does......and if i remove it....it messes up so thats 2 problems |
Zirus in the instances of /$fdname in the admin_warning.php just replace them with: .. thats should do the trick ;) regards... and i'll fix in the other usergroup for you if you like... just need a usergroupid? unless you can do it on your own? regards...
g-force2k2 |
g-force2k2
I think this is a great hack. Anyway of making this so that you send an email to the member instead of a private message or in addition to the private message? Parker |
Quote:
|
Quote:
You need to put <b>$post[warninglvl] <-=- that</b> I have mine set to 10 warning and your out so it looks like this $post[warninglvl]/10 All in all top hack. |
glad to hear Mr.P Parker i'll work on an email addon extremely shortly...
Zirus i'll code up your addon as well once i get home from college :P regards... g-force2k2 |
In found a spot in the warn_show_warn template that is hardcoded that can give you some trouble in getting to the correct place.
You have: <tr><td bgcolor="$backcolor" width="15%"><smallfont color="{pagetextcolor}"><b><a href="/forum/member.php?s=&action=getinfo&userid=$userid">$user name</a></b></smallfont></td> The problem is with the: <a href="/forum/member.php? If your board's forum is not in the forum directory then the above link will not work. Parker |
I'm having problems too. I really need this to get working too. I've looked over everything numerous times.
Is it my user group permission? 1 Unregistered / Not Logged In Guest 2 Registered SRO Member 3 Users Awaiting Email Confirmation 4 (COPPA) Users Awaiting Moderation 29 Super Moderators Super Moderator 31 Moderators 28 super admin 33 Banned by Moderators 36 Banned By Warnings My warnconfig looks like this: $logsperpage = "20"; // warning logs to show per page $fdname = "/web/docs/www.streetracing.org/htdocs/boards"; $reggroup = "2"; // usergroupid for registered users $banlimit = "5"; // number of warings before user is banned $banusergroup = "36"; // usergroupid of the banned group by warnings! $allowmodwarn = "1"; // allows moderators to warn other moderators? (1 for yes :: 0 for no) // +++++++ warning hack v1.0 configuration [ g-force2k2 ] +++++++ any clues? do i have to edit my warn.php file? I'm running 2.27. thanks! ryan |
yeah ryans... if you look through my hack you have to replace all the usergroupid with the ones that fit your forum needs... if you want i can go through the list for you regards... im currenlty starting a version 2.0 to solve some issues like this and also to make it better... regards...
g-force2k2 |
Hey cool. Then th rest of us who had problems wait for the easier part one :p
Thx g-force2k2 you doing a great work Cheers |
open admin/functions.php
find: PHP Code:
PHP Code:
find: PHP Code:
PHP Code:
g-force2k2 |
see above ryans :) regards... hopefully it works ;)
g-force2k2 |
All times are GMT. The time now is 01:16 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|