![]() |
Quote:
All you have to do is place the variable controlling it (cant remember what it is) to somewhere else. |
I modified it like this which is much better now I think:
|
Quote:
PHP Code:
PHP Code:
As for the navbar, if you added those two lines, it should be there, there is no reason why it is not showing. Show me the code you have there. Rgds |
Quote:
- everybody can vote against everybody. This can be considered the same as everybody being capable of issuing warnings. - in which case, obviously the warning points required for a ban should be much higher. So, in reality, with some changes at who can vote (warn), some adjustements of the existing parameters and some additional parameters (like for example how many times a member can warn another member), a system like the one you describe is possible. Or, you can add another level above the whole hack, where users are really voting for a particular warning which the admins have decided to issue against a particular member, and the results of these votes decide if the warning is issued or not. This is getting too "democratic" for my taste, and too much democracy easily leads to anarchy. I am not sure if the above make sense, too late in the evening and too many things in my mind, so sorry if they sound like a drunk man's words (I swear, no drinks). Rgds |
Quote:
Rgds |
allright installed fine no more php errors but i can't figure out howto give a warning ? i added a user called "forumgod" gave him super moderator rights (like the instructions say) but howdo i give a warning ? i also added a normal user called test to play with but .... howdo i give him a warning when i am logged as an administrator Warn.php?do=Warn&userid=$bbuserinfo[userid] ?? :rolleyes:
my vbulletion version is the latest availible from vbulletin.com/members/ ooh the nevbar thingy is working now :speechless: [edit] never mind there is a link called "warn vbulletin_username" at the top right corner of the post they make i just wasn't logged in a username able to warn so i couldn't see that sorry .... :ermm: |
Quote:
Depending on whether or not you allow off-post warnings or not, similar links appear, if you click on the poster's name inside a post and go to his public profile. Rgds |
Folks,
For those who upgraded to version 2.3, I haven't included instructions, on how to set the version of the hack, in the database. Please run the following query: UPDATE `".TABLE_PREFIX."warning_options` SET version='2.3' WHERE oid=1 Rgds |
i got this thing working great thing spammers will think twice now i managed to get the script working using this steps
like this there won't be a problem last thing a screenshot from the working script thanks for the great excellent |
Quote:
Rgds |
where is ther updated file????
|
Quote:
Rgds |
there is usually something there like a zup file but you only have
Download Features.txt Versions.txt and no zip file |
Quote:
|
OK I have been thinking and had another idea lol
Would it not be able to be adapted to detect duplicate posts and possibly add a warning point to the offending member ? Just a little idea to keep you busy over xmas lol Thanks a lot for this hack, I can not start to express my gratitude enough. H |
sorry but got a warning:
SQL-query: ALTER TABLE `warnings` ADD COLUMN `caused_ban` char( 1 ) AFTER warned_warning_id UPDATE `"warning_options` SET version = '2.3.1' WHERE oid =1 MySQL said: #1064 - 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 'UPDATE `"warning_options` SET version='2.3.1' WHERE oid=1' at l |
ahh i left the " in oops sorry
The first quiery worked, the second didn't Code:
SQL-query: |
the query in the lated version upgrade instruction doesn't work for me
Code:
ALTER TABLE `".TABLE_PREFIX."warnings` ADD COLUMN `caused_ban` char(1) AFTER warned_warning_id Code:
An error occurred while attempting to execute your query. The following information was returned. |
Quote:
The idea is the following: anybody can vote the ban proposal and once the quorum has been reached, the ban proposal is sent to the moderator of such forum. This way, the users of a forum can bring up the need for a change towards that person but only one of the moderators can approve it (or an administrator) Is this true Democracy or a way to prevent unwanted people? :devious: |
Quote:
Code:
ALTER TABLE `warnings` ADD COLUMN `caused_ban` char(1) AFTER warned_warning_id |
I'm getting a problem:
Code:
Database error in vBulletin 3.0.3: |
Quote:
LoL |
hi,
allright i got a version number at the upper right corner but not tin the warning template probably i'm doing something wrong gonna leave it alone for a while now before i screw up out of "nervosity" |
Quote:
HTML Code:
<form action="Warn.php" method="post"> Rgds |
it's working :rolleyes:
:D |
Quote:
Rgds |
This hack is really great!
Most things seem to work now on my board but there is still one problem I can't fix. Quote:
Quote:
|
Quote:
ALTER TABLE `".TABLE_PREFIX."warnings` ADD COLUMN `caused_ban` char(1) AFTER warned_warning_id Rgds |
Quote:
|
Quote:
Rgds |
Quote:
Thanks for your help. This fixed the problem. |
Quote:
I downloaded the hack today to completely install on my test server before rollout on the live server. I've seen quite a few hacks, and read a lot of the documentation that comes with it. By far, this is most thorough and detailed bit of instructions that I've ever seen. I thought you were awesome from just the quick replys to have to issues with the hack, but your hack has gone above and beyond any hack I've seen. I mean, vb itself doesn't have this detailed documentation, lol. If this doesn't make hack of the year (if there is such a thing), I would think the judges to be crazy. Any luck on the job? If not, pm me because I need some hacks made for my site. Two of them are very simple. I even have the logic for them laid out. But a third one is killer hard and will require some real thinking and development. I was looking into paying someone to do it, and if you work this way with all your clients, I think you're the man for the job. |
While I was changing the templates for postbit, I ran into the following:
HTML Code:
"In the same template, find: HTML Code:
$post[reputationdisplay]</div></if> |
Another issue. For some reason when setting the warning options, it won't show the "Banned Users" usergroup in the drop-down box for the Permanent Ban Group. It appears fine in the drop-down box above. This one's stumping me.
|
Ok, something's definitely wrong here. I saved the Warning Options and it just gave me a blank screen on the side of the frame. Sometimes my test server does stuff like that, so I didn't pay it any mind. But I went back to check if my options were saved, and none of them were. It also did the blank screen thing when I did the last step on the upgrade_warn.php (I believe I had some version of ZT's hack installed). Something tells me the db didn't get modded. :( Any assistance appreciated.
|
Man, I'm just racking these up. When trying to View Warning Logs, get the following error
Code:
Warning: Division by zero in e:\wampp13cs\htdocs\vb3\admincp\admin_warn.php on line 283 |
When I went to view warned users, I got the same error:
Code:
Warning: Division by zero in e:\wampp13cs\htdocs\vb3\admincp\admin_warn.php on line 463 |
Let's take your question in the order they came.
- postbit template. Mine (3.0.3) doesn't have any div there, so I can't be sure. I suggest you experiment. - banned user group not appearing, you are right, I haven't seen that, I'll look it up and post a correction here. - your last error is a result of not saving the warning options properly. One of the parameters defined there, is the records per page, so if that is not set, the program tries to divide by nothing. Let's see what we can do to help here: First of all, try to see if you have the proper tables. Check the following tables by comparing the results of the "describe tablename" command with the columns described in the installation instructions. Second, check to see if the required templates have been added. We'll take it from there. Rgds |
What was I thinking?????
OK, to fix the issue with the banned users group not appearing in the drop-down menus of the other options, please open your admin_warn.php file and find: PHP Code:
PHP Code:
|
Quote:
|
All times are GMT. The time now is 01:10 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:
|