![]() |
I don't understand what you mean by "which userid="GODFATHERID".
This is a great hack by the way if I could get it to work correctly. |
Quote:
|
ahhhhh...okay. That makes sense now, let me try! :D
|
when my users try to steal they get a blank page. :(
it just says vbulletin message, but nothing is there. |
Quote:
|
here is my board http://www2.cyberpixels.com/~dayum/odb/index.php?
Will you be able to see it without registering. clicking insurance and godfather also gives blank page. I have added all the templates using the template hack. |
GOT IT WORKING! Sorry I am such a dunce. yay! Thanks for your time! This hack rocks!
|
argh! Now the only problem I have is that it won't let me steal. It always says I am too young. I have it set so that the thief has to have at least $5. I have that and it still won't let me steal. :(
|
Quote:
Quote:
User need to have 100 posts before to steal. Because some users can create special new account to steal! You can change it. |
The only line that is similar to that is :
if ($bbuserinfo[posts]<100) { // don't allow new users to steal -- they need to have more than $100! I changed to 5, still not working. |
Quote:
Quote:
|
This is what I have:
Quote:
|
Roxie
I'm on your board Let's tune it right there |
i'm still getting this error
Database error in vBulletin 2.2.5: Invalid SQL: UPDATE user SET storep=storep-100,KARMA=KARMA-20 WHERE userid='1' mysql error: Unknown column 'KARMA' in 'field list' mysql error number: 1054 Date: Monday 20th of May 2002 03:03:52 PM Script: http://www.animexplosion.com/forums/forums/store.php Referer: http://www.animexplosion.com/forums/store.php I have the karma hack installed |
Quote:
|
Quote:
|
Then use nokarma version.
There are a lot of karma hacks. In my case table user includes field with name KARMA. If you have any other similar field (points, rating... etc.) try to change KARMA to this one. |
Quote:
|
Just delete
PHP Code:
Or try to find in your karma hack what field was added to user table. Look instrustions to your hack. |
All of a sudden it stopped working for me. It let's me put in the name to steal from but then it says I am too young> :(
|
Roxie. Email me your php text I try to look what's wrong
|
GenSec, now it works for me, but not any of my members. This is really odd. lol
|
What can I say? Roxie. I don't see any error in php I send you.
Check one more what is store.php on server. Two lines: if ($bbuserinfo[posts]<5) |
It seems that even though it says 5, it will only let users with 100 or more posts steal. I'll try to figure it out or I'll just leave it at 100. Thanks for looking at it for me.
|
When i try to steal i get the below error
Invalid SQL: INSERT INTO privatemessage (privatemessageid,userid,touserid,fromuserid,title ,message,dateline,showsignature,iconid,messageread ,folderid,receipt) VALUES (NULL,64,64,DMINID,'Crime','Toby! Sorry, you were robed for the sum 50. Quote:
mysql error: Unknown column 'DMINID' in 'field list' mysql error number: 1054 any ideas how to fix this? thanks |
you know what would make this addon better
when the godfather, insurance or adminid pms you it also adds in the pm who tryed to rob from them .. ;) this would start little wars and could be fun |
also how would i add a new button near users nicks that appears under called "ROB ME": this way we all will live in a more dangerouse!!! real time robbering while u r reading a post... and without going to the shop :P
|
Quote:
the info to installed missed out the A on a few lines |
Thanks for the reply but i`m not sure what you mean and where would i make the changes? thanks
|
ok find your admin userid
should be 2 hover over your profile file link in any of "your" posts and look at the buttom of ie you should see somthing like https://vborg.vbsupport.ru/member.ph...fo&userid=8741 make a note of that id then in the instuctions.txt find // change ADMINID (should be in it twice) in that line you will see DMINID just after NULL,$usid,$usid, remove dminid and put in your admin id you made a note of before. so you finished line should look like this VALUES (NULL,$usid,$usid,2,'Crime','".addslashes($message)."',".time().",'$b btitle','',0,0,0)"); // change ADMINID |
Thanks alot m8, looks like thats sorted it ;)
|
Quote:
for anyone who wants it find in functions.php PHP Code:
PHP Code:
$nick anywhere you want it in your postbit template |
Quote:
i still need help with this please if anyone can. |
Quote:
PHP Code:
|
doh!
thanks alot GenSec for you reply it works :) cant belaeve it was that easy :P |
i just had another idea... dont think i can do it but anyway..
why not another addon police addon you have to bribe the police which will cost about $500 and someone trys to rob from you.. and they fail you get the money they tryed to rob. rather than the money just getting droped from the board. :) |
Quote:
I didn't understand your case economics. Police get $500 from user. Ok. Who pay to user? What is a source of money? ;) |
the way it is now when a member trys to rob from another member and fails the money gets taken off that member.
and thats that. But if the member who you tryed to rob from as insurance "police" the money you tryed to rob goes to that user somthing like if ($victim[insurance]!=' police" $DB_site->query("UPDATE user SET storep=storep+$robber WHERE userid=$usid"); but only when they robbery fails. if you still not to sure what i mean i can try and make this hack and post the code. Also i have another porblem. is there a way to stop somone from robbing from themselfs? thanks for all your help |
Quote:
Code:
if ($getduser[usergroupid]=="6" OR $getduser[userid]==$bbuserinfo[userid] OR $getduser[userid]=="GODFATHERid" OR $getduser[userid]=="INSURANCEid") { |
cheers dude
|
All times are GMT. The time now is 12:13 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:
|