The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Details »» | |||||||||||||||||||||||||
Hehe. I put this little thing together. It's nothing fancy, but it does it's job.
It works together with the points hack. Your items and the cost (in points) are kept in an array inside itemshop.php. You'll have to edit the file each time you want to add a new item.I might add database support for items later and a cp interface, but right now, it's good. First, you'll need to add another profile field. Title: Item or whatever you want to call it Description: up to you Max Input: 100 Field Length: 25 Display Order: current fields +1 Required: no Hidden: no Editable: no it's basically just like the points. Remember the field number and change it in the file. Default is(if you haven't added any other fields before): points: 5 item: 6 in itemshop.php you may want to change the $loop variable. Associated images should be put in the https://vborg.vbsupport.ru/images/itemshop/ direcotry, and have the same name you gave the item in the array. if you don't want associated images, you must take them out in the file and in the itemshop template. upload the file itemshop.php make a template called itemshop, and put in the contents of the itemshop.txt file in the postbit template: under: <a href="moderator.php?s=$session[sessionhash]&action=points&userid=$userinfo[userid]" target=_blank>Points:</a> $post[field5]<br> (or whatever you have for your points) put: <a href="itemshop.php">Item:</a> $post[field6]<br> if you wish any new user to have "No Item" instead of nothing in the postbit template, run this query: ALTER TABLE `forums`.`userfield` CHANGE `field6` `field6` CHAR(250) DEFAULT 'No Item' NOT NULL change forums to the name of the database, and field6 to the number of your item field. please note that it won't modify any existing users. Just users that register after you run the query. That's about all. I'll edit this if i forgot anything. Enjoy! scroll down for attachement screenshots included in the zip Show Your Support
|
Comments |
#32
|
||||
|
||||
Quote:
|
#33
|
||||
|
||||
I'm working on a way to premiere a RPG battle system. Each item will have it's own ID, and it will call that up... Blah blah blah. You'll see.
|
#34
|
||||
|
||||
Well thats good, but releasing it would be a mistake, and would be in vain of me and Knoman. It was his original idea for this hack and now everyone what to make it, or is trying to make it, or is going to use/release it. So you can see why I would be a little annoyed about it. Since I am one of the coders that is making it, and once I finish this nice system for only a few forums.... 200 other sites pop up and have it..... then my and his site seem like just another board..... thats why I dont intent on ever releasing it or making a different one....
|
#35
|
||||
|
||||
Well okay. I'll release it to ya, since you're my affiliate and all. But until permission is granted, I will not release it.
|
#36
|
||||
|
||||
Many thanks to you. I do support open source... but with this hack it just seems like it should be keep to the ones that make it, or somehow buy it, and you dont have to release your code to me, I would just like to see it in action when you get in up and running on your site.
|
#37
|
|||
|
|||
I'm using the hack on my boards and it rules I've just edited it a bit (Sorting in price order, fixed the little selling bug, etc.). My boards at www.rpgmaniacs.com/forum if u want
|
#38
|
||||
|
||||
oh crap. my computer has been messed up for a while. I just hope it will get fixed soon, so i can work on all this stuff.
i'm thinking up a battle system. I just need to figure out some stuff. Well, a lot has happened in 5 days, since i was last online. Oh boy. Well, it's nice to see this whole thing grow. |
#39
|
||||
|
||||
Hey Sefiros, Nice forums!
|
#40
|
|||
|
|||
Thanx Voogru
|
#41
|
|||
|
|||
neo, your crazy, you and your stupid friend (not afterlab) have dum idea's
hacks are suppose to be shared, not sold, all these ppl made cool hacks and let everyone use them!! so don't think your too speacial by making this **** and Selling it for more than $300 (which you will not sell) thats just gay sh*t! dood, afterlab don't listen to this fag!! hes just stupid, you should realse this hack, and he doesn't own the damn idea just cuz his friend thought of it.. its like saying, Oh I made vbulletin and you shouldn't make Yabb because I thought of it first or you shouldn't make Ikonboard and crapp........... |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|