![]() |
Shouldn't that be?
PHP Code:
|
I thought numeric fields are not required to be quoted but you can still quote them if you want.
|
I don't think they are required but there are a lot of users who get db errors without them sometimes. So, it is usually better to just use them and avoid all of the "Why did I get this db error?" messages. ;)
And where is my "fix" you promised me? I'm shaking here, Zzed! ;) |
so i take it the changes to the mysql db are to make the user group? cuz i am abit confused about how this works
-btw still havent had time to install |
Quote:
No. The hack adds a new field to the user table to indicate whether a user is miserable or not. The default value for miserable is 0. When a user is made miserable a value of 1 is assigned to the miserable field. ;) |
I'm still very new at hacking and I'm have a problem with this
################################################## ########## From the MySQL prompt execute the following statement: alter table user add miserable smallint(5) unsigned DEFAULT 0 NOT NULL; ################################################## ########## I Create a new ,php file in your forums directory and copy the following lines in there. Save the file, execute it one time PHP: <?php error_reporting(7); require("./global.php"); $DB_site->query("alter table user add miserable smallint(5) unsigned DEFAULT 0 NOT NULL;"); ?> ***and I got this error message. Warning: main(./global.php) [function.main]: failed to create stream: No such file or directory in /www/n/nOpenworldz/htdocs/miserable.php on line 16 What do I do from here? |
What is the URL to your forums?
That file should be placed in the same directory that the URL points to. |
Hello,
Is there a fix for this hack to work with the arcade hack. It seems that the $postbits .=getpostbit($post); is where the problem is in the showthread.php. The arcde hack starts there, I tried some get arounds but had no luck, it makes your posts error with and not show up. i asked one person I know and they said they couldn't see a fix. Helpers :) midz |
Quote:
|
do you have to manually change the data in the mysql db to make them a miserable user?
|
Quote:
|
first..
we are not worthy... we are not worthy just wanted to mention.. i found this out the hard way i made a new user and defaulted them miserable.. fun stuff wheni went to edit a user.. i got a dbase error Code:
makeyesnocode("Miserable user","miserable",$user[miserable]); just in case someone comes across an error ;) |
Morgalis, Thank you for your kind words. I am not worthy. https://vborg.vbsupport.ru/
So is it working for you, or you are still getting that error? |
A 'non miserable user' was reporting problems with the forum in a way that i would aspect if this member was a M-user. I've looked for other possibillities but after removing the hack the member had no problems. I wonder now how many other members of our forum had this problem but did'nt mention it.....
|
You probably had a typo while installing the hack. I have personally installed this on 3 different sites and have had to port the hack from 2.2.4 all the way to 2.2.9 and I never had any problems.
You can send me an Email or a PM if you need help with this. :) edwink@seebeyond.com |
Quote:
|
Quote:
|
Thanks, Zzed. I'll remove it and give it a try. My mods are begging me to apply this, they're putting together a list as I speak. :)
|
This cracks me up. I laughed and laughed while reading this hack's description. Sounds like fun! (in a weird sort of way...when you consider how some members can make us miserable...) ;)
I'm still laughing....poor miserable people. :D |
The query would not work for me without ''s around the 0, ie '0'.
|
I love this hack. :D
|
I love this hack, but I also use the ban by warning hack. Currently when a user reaches a preset number of warning points, they're moved to the banned by warnings group. What I need is to be able set a usergroup as miserable or not, rather than an individual user.
Users aren't allowed to see the warnings list, so they don't know how many points equals a ban. How would I set it up so that if a user is in the banned group they are miserable, but if not they aren't. I may sometimes unban a user (by moving them out of the banned usergroup) at which time I'd need for them to not be miserable any longer (only while in the banned usergroup). Anyone know how to put an option in the usergroup section of the admin cp where I could set a certain group as miserable or not, as oposed to an individual user? I'd like to have the option listed when a usergroup is created/edited, much like the group permissions are. Thanks for any help.. |
Add this before the if($bbuserinfo[miserable] == 1) code in global.php
PHP Code:
It will make all the users who belong to that usergroup miserable as soon as they log into your site. ;) |
Thanks for the quick response! This is what my global.php looks like now:
PHP Code:
|
Very cool. ;)
You won't have to do anything since the misery flag gets set if the user belongs to the banned group. moving them back to the registered user group will not set that flag anymore. |
Okay, thanks.. :D
This hack is pure evil!!! I love it! Keep up the great work! |
Thank you for your kind words. https://vborg.vbsupport.ru/
|
This hack will prove to be timeless... ;)
One request though -> can you offer some code that will give MODS the ability to toggle the misery setting as well? |
Quote:
|
Oh boy, I knew this was going to get me in trouble. :D
I have this hack in place on my site. But it combines 6 other hacks which gives the moderators the power to impose misery, starvation, and a couple other hacks on users for time periods of 1, 3, or 7 days. And after the "served time" the users go back to normal. I need to think about how to do a partial release of what I have in place... :( |
Zzed, is now a good time? ;)
|
Sure, give me a call. :D
|
Possibly my favorite hack of all time even though I never see the direct results of it.. I dunno where that hack of the month competition is, but this should be it.
I've made it a more permanent form of removal on my site.. When you get "miserable'd", all of your posts are replaced by [account removed] except for when the miserable person actually gets to view it. So it effectively deletes all of their posts at the same time. |
Quote:
BTW, your hack is quite diabolic. :D |
im only able to change it in the admin cp :\ .... i was in the mod cp and i couldnt find it
i checked the database after i made a user miserable, and it seems that he is, eventho i did it via the admin cp |
This hack be used only through the Admin CP and not the Mod CP.
|
I love this hack.
This + Secretly Banned Users ROCKS ! |
Zzed:
I have to tell you...I am a newby to all of this HACK stuff. And I remember about a year ago when I upgraded to VB wondering why in the world would I ever want to BAN someone...so....I made it a policy of my board that NO ONE would ever be banned!!! WELL...I've just come throught the WEEK from HELL!!! This one guy has cause so many problems...all with the INTENT of being banned...testing the POLICY!!! YOUR Hack is a GOD SENT!!! I can now put this IDIOT on the MISERABLE LIST and now I'm happy,,my users are happy,,,HE's BANNED, and he doesn't even know it.....and the thought of him sitting there.....MISERABLE in front of his computer waiting,,,and waiting,,,and waiting.... WOW...it just makes my heart jump for joy!!! THANK YOU...THANK YOU.....THANK YOU!!! Kirk Voclain http://www.pro4um.com |
Wow. :) Thank you for your kind words. :)
|
Oh, boy do I have a couple miserable users :lol Thanks, man.
|
All times are GMT. The time now is 04:21 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:
|