![]() |
Oh... I did add one tiny tweak... I don't display Warning Levels to anyone unless it's greater than zero...
REPLACED: Code:
if ($warntype == 1) { Code:
if ($warntype == 1) { |
thesteveco no i don't mind ;) glad to see you got the problem resolved :)
btw mewgood there is no warnconfig.php anymore... i think i've answered that question at least ten times now ;) regards... g-force2k2 |
?
so HOw I gonna install it? you didn't change the txt file.. |
mewgood - the warnconfig file is no longer necessary. You need to go to the Admin Control Panel and save the vBulletin Options. Down at the bottom of the page you'll notice some new data - that is the information that was previously stored in the file you're looking for.
I think that g-force2k2 was trying to encourage you to read the previous answers to the same question. |
oh
ok sry thx for your answer:D |
error
when I try to click on the View warning log in the admin cp it has an error. As well where do I set the limit? Quote:
|
Great!
*installs* |
mewgood you get that error because thesteveco stated you must submit your vbulletin options... regards...
g-force2k2 |
Hi,
I work with cklaszlo on our website. After fumbling with all the stuff, and almost having to use clear eyes in reading this thread, we got it up and running. Good hack! |
Quote:
|
He means go to your vBulletin Options in the admin control panel, then toward the bottom, modify the necessary settings, and "submit" them (or save them, or whatever terminology you want to use).
|
i upgraded my board and a lot of my templates were lost... can u please write a script wich will only install the templates for me g-force :D
Regards - miSt |
Here is just the Templates:)
Satan |
thankyou ^ :D
- miSt |
WOW - I think geforce needs to be complimented for creating what is one of the most unique and best hacks ever!!
Its #?$%&# amazing! :) Love it... Works perfect, however hit one snag. Im trying out your alteration that colours the postbig output (green, red and orange) It keeps trying to divide by 0, ive narrowed the problem down to $BANtot variable. Its not referencing the correct data. Help :) With this fix, you'll have the BEST hack ever, Taz |
Also having another problem.
In the vB control panel, ;ve set it so that EVERY usergroup can view the warning levels, however the unregisterd/unlogged in users can't see them. Anything wrong? Could have this one being fixed (i think its happening on everyones boards). Taz |
g-force2k2.. any chance of a quick fix at all? Really appreciate it.
Thanks, Taz |
g-force, I've noticed a problem with the getinfo template and the warning level display! I warned a member, it says warning level: 2 in the postbit for him, however in his profile it is like this:
Warning Level: Warning Level: | [ View User Warnings ] It shows no number and shows Warning Level: aswell, it should be: Warning Level: 5 Points | [View User Warnings] or something like that :( |
I posted this about a month ago, still haven't got a response. Can someone take a look? 2 issues here...
------------------------------------------------------------------------------- 1) How about a master log that is viewable by the public? So that they can see all the warnings ever given out to everyone, by any admin/mod? Just like what we see in the admin cp? I thought that is what the warn.php would do. But I guess that just displays the warning levels and points? 2) Also, in the template set that I have, I need to change the font color. It is currently white, which is difficult to see on my light blue background. Check it out here: www.ez-company.net/forums/warn.php What is the easiest way to do that? ------------------------------------------------------------------------------- Thanks for the help...it's a great hack. Didn't have any troubles installing it. |
I am trying to install this on 228, and everything went fine up untill the txt file :S It says
Something Different? // ++++++++++++++++++++ Go to the Admin CP and create a new usergroup. Call the group Banned by Warnings :: And be sure to restrict all access to the forum from this usergroup! Then Submit and right click the edit link to that new usergroup. Remember the Usergroupid for the config of the warnconfig.php! (ie. 8) Well I did that, but I dont know what file to edit b/c warncongig.php isnt there, and well I looked at the other files, I am going tpo go to bed right now so if someone could reply to this I would be happy, I want to finish this hack ;) \\- Speedy -// |
Quote:
|
umm i cant find the warnconfig.php file.
|
Where do I find the warnconfig.php file? This hack doesn't seem to work without it.
|
Looks like he forgot to include it in his new ZIP file.
Here is a copy of mine - just upload it into your ADMIN directory. Make sure you modify the variables to suit your site. |
Do you know if this works on 2.2.8? I do'nt get a link to the warnings in the Postbit nor does it link correctly on the Index page.
http://www.groove-salad.com/forum |
It works for 2.2.8 - you may have installed the hack wrongly, or you may have the wrong settings in warnconfig.php (for the forum directory).
|
im sorry for my awayness as of late... but i don't know when i will be back... im sorry to everyone that i have let down but i have other priorities at the moment...
as for the warnconfig.php i don't know how many times in my thread that i have stated there isn't one ;P its been replaced by the vbulletin options in version 2.0... etones im not sure but i will take a look... Apok if you look back i did answer your second question... you have to find the <smallfont color="{pagetextcolor}" and replace it with <smallfont regards... again im sorry... g-force2k2 |
g-force, i modify your scripts specialy on warn.php
if this hack exist please delete it, if no please review it. i made this for : - admin can warn all except admin :) ( your default ) - sm can warn all except admin and sm - mod can warn only to user except admin,sm and mod this what i change Code:
checkwarngroup($admin); Code:
if (($bbuserinfo[usergroupid]==5) and ($admin==6)){ |
Quote:
|
How can I get the Warning Level/Points to appear in the welcome panel?
|
I just upgraded to 2.2.8, how do i reinstall this?
I have ran the uninstall and it runs without a single problem, but if i run the install i get a database error: Database error in vBulletin Control Panel 2.2.8: Invalid SQL: INSERT INTO settinggroup VALUES (40, 'Warnings System', 40) mysql error: Duplicate entry '40' for key 1 mysql error number: 1062 Date: Saturday 26th of October 2002 10:55:29 AM Script: http://www.rcnitrotalk.com/forum/for...ing.php?step=2 Referer: http://www.rcnitrotalk.com/forum/adm...ll_warning.php How do i fix this? -WoodiE |
Change all occurences of '40' in the install file to '99'.
Do this at your own peril, but it should work :) |
Quote:
Quote:
The hack isn't working any more after I upgraded my forums to v2.2.8 I no longer see the warn link in postbit, even though the correct code is in the template. Also, clicking the Modify Warning link (indeed any of the warnings hack links) in my site's admin take me to a blank page. Any help is appreciated, as this is an invaluable hack! |
X-fan, when you upgraded you must have accidentally removed some code from your functions.php and members.php - you need to reinstall the hack carefully.
|
Okay, I sussed it out. For some reason, the rows had gone from the settinggroup and settings tables in my site's database. I went to add them back in manually, but the vBPad hack had id 40 so I set the warnings hack to id 50.
However, clicking "Modify Warnings" in my Admin CP still brings up a blank page, even after I've set all the configurations via vBulletin Options. |
A blank page usually means a missing template - make sure when the required templates are in all your templateset, not just default.
|
Erwin, I'd added all the code back into the files and templates, but for some reason there were fields missing from my site's DB as I explained above.
I worked out the problem with Modify Warnings giving me a blank screen too - I was still using the old version of admin_warnings.php! LOL ;) |
There you go! All fixed, all by yourself. ;) Well done! Your site is looking good - 25 queries on your home page, and 27 on forumhome! I'm sure that's only 25% of what it was with vBPortal. :)
|
Thanks Erwin! I appreciate the kind words. As well as being my full-time job, my site is a labor of love for me :) It's almost like my third child! ;)
|
Thanks Link14716 that fixed the problem, but now when I log in the admin control panel under:
vBulletin Options -> I have two [Warnings System] links listed. How do i remove the old one? -WoodiE |
All times are GMT. The time now is 11:11 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:
|