![]() |
Quote:
Please do not say that the install script does not work, just because it didn't work in your case. I just installed vB 3.0.3 on my test site, from scratch, and did the hack installation. The install script did everything it is supposed to do. I would appreciate if you can tell me what your problems were, so that I can assist you. As for your issue with the 'reason' column in the userban table, it just means it is already there. Maybe it was added by another hack, or by your installation attempts, but that column is not there in a new database, and it should be created by the hack. If you loaded 2.3.5, and want to use 3.0.2 you have to do all the steps described in UpgradeToLatestVersion.txt, from 2.3.5 to 3.0 then to 3.0.1 then to 3.0.2. Rgds |
Quote:
This is accomplished by the: HTML Code:
<if condition="$post[warning_level]>0"> Show me that part of your template and I'll try to adapt it to your needs. Rgds and HAPPY NEW YEAR to all |
Quote:
|
Quote:
The code for AWS is OK, so it shouldn't display any info if the user has no warning points. Rgds |
Do you know of any way I could go about fixing this..? Even giving you AdminCP access?
|
E-mail me with the details of your forum, I want to see what it's doing. Because, as it is in the code you posted above, it should NOT show anything for users with no warning points.
Rgds |
Oh I think you've taken my question wrong..
Say a user is warned with 1 point and it says: Warning Points: 1 I want it so if they have none, it says: Warning Points: 0 |
Quote:
i didn't want it to come out like that. it was the new years liquor talking. :) i'm not saying this out of frustration. i have one hack installed on my board and that's a portal. the portal did altered a few tables in the db. if i were to reload a db that i have backed up and run the install_warn.php file it gives me this after the 2nd step: Database error in vBulletin 3.0.3: Invalid SQL: INSERT INTO `vb3_warning_options` values ('1','3.0', 'Yes', 'Yes','No','Yes','','0','7','10','8','6','6','8',' 0','Yes','3','0','All','Yes','Yes','No','Yes','Yes ','Yes','15') mysql error: Column count doesn't match value count at row 1 mysql error number: 1136 prior to running your install_warn.php script there was never a vb3_warning_options table. :ermm: |
Quote:
I tried it this morning and it works fine. Rgds |
weird....
that one works just fine. thanks! |
I need a little help. I followed the install directions perfectly (I think, I may have made a mistake.) Everything LOOKS ok in the mod and admincp's and the warn [user] links are at the top of all posts, etc. When I click on the Ban [user] links I am directed to (EG) http://mahplace.com/forums/Warn.php?...28&post=769427 but the output of that page is just <html><body></body></html>
Any ideas why the page is not parsing? EDIT: Note that I am using an installer package I downloaded yesterday. |
Ok.. Here's Wat I've Done.. :ermm:
I Installed The Warning HACK 1.0 Then Upgraded To 1.5. And Then Installed The AWS v3.0.2.! Now When I Click On Warning Systems > View Ban User's I Get Database Error..! Quote:
|
hi ,
yeah we can help you there is a column missing in your userban database table goto PhpMyAdmin or whatever you use to run SQL queries and run Code:
ALTER TABLE `".TABLE_PREFIX."userban` ADD COLUMN `reason` mediumtext |
Quote:
|
Bahawolf,
Find the following code HTML Code:
<if condition="$post[warning_level]>0"> HTML Code:
<if condition="$post[warning_level]=='' OR $post[warning_level]=='0'"> Rgds |
hi sv1cec ,
i run into a little problem with the latest version installed.if you choose "view banned users" (and you don't have any) that page is redirected to a blank page after a while just a blank white browser window it must be in admin_warn.php but i'm to scared to screw up |
Quote:
|
hey i'm getting a error when i try to send a pm.
Code:
Database error in vBulletin 3.0.3: |
Quote:
Rgds |
Quote:
Rgds |
Quote:
Rgds |
Quote:
Thanks, sorry to bother you with a non-existant problem! *clicks Install* |
++++, cancel the above. Now everything is parcing but when I try to search for users in the admincp I get the PHP error "Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /usr/local/apache/dev/forums/admincp/user.php on line 643" is that another one of my mistakes? If so, any pointers?
|
Nevermind....I lost a comma in the update. Sorry. You have a great hack here and it's just my stupidity that kept it from working. Thanks!
|
Quote:
|
Quote:
Rgds |
Quote:
Try this and let me know if it works. In file private.php, as you have already changed it, find: PHP Code:
PHP Code:
Please let me know if it works. Rgds |
Quote:
|
Quote:
I'll release a new version tonight, after I put the twins to bed and get something to eat. Rgds |
Hey Is This A Complete Different Package..
I Mean Do I Have To Install The Warning Hack 1.0 Then Upgrade 1.5 Then Install This.. Or Can I Install This As It's Own..! |
Would it be possible to have it so you could warn someone directly from the AdminCP with their username?
|
Quote:
|
Quote:
Rgds |
Quote:
Hopefully, you 'll have a bug fix release (the fix is already shown a few posts back), and my comments on upgrading to vBulletin 3.0.4. Rgds |
Version 3.0.3 is out. It fixes the bug noticed a few posts back in the private.php file. If you haven't declared any Hidden Warner or any Automatic Warner, the program crashed because of an SQL statement.
Please apply the upgrade instructions found in the UpgradeToLatestVersion.txt file. Rgds and apologies for any inconvenience. ---------- John |
Compatibility with vBulletin 3.0.4
It looks as if there are no compatibility issues with this hack and vBulletin 3.0.4 released a couple of days ago. Of course, the installation of the new vB release, will overwrite any changes you have made to the php files, so I would suggest that you use some file comparison utility (like Beyond Compare) to edit the new files according to your old ones. The only other issue that I've noticed (and for the name of God, I can't understand why it happens) is that the "Message Tag" that I've used in the settings, is not preserved. In other words, the new release makes this setting disappear. All you have to do, is to run the following query manually, after you have upgraded everything, to make this setting re-appear (I remind you that this setting is found in vBulletin Options, Site Name/URL/Contact Details, and it is used by AWS when sending e-mails to users, in the subject line. You may want to note the contents of this settings, before you start the upgrade, so that you can then restore its value. If you have any questions, please don't hesitate to ask. Rgds |
Does beyond compare work?
|
Getting MySQL error when going into the admin panel...
something is wrong with table prefix not working... PHP Code:
|
Quote:
this PHP Code:
PHP Code:
|
Quote:
Rgds |
All times are GMT. The time now is 01:46 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:
|