Register | Login | |||||
Main
| Memberlist
| Active users
| Calendar
| Chat
| Online users Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album |
| |
0 users currently in Programming. |
User | Post |
spiroth10 Posts: 91/145 |
this is sort of a bump, but I just gotta say...
makes me feel proud my old mod is still being used/looked for/wanted. thats assuming it is the zenny hack I wrote years ago (with help from weasel and Tuvai) those were the days, back when there was an acmlmboard hack forum (before they changed it to programming, and then finally removed it). anyway, if you want to make your own, it isn't very hard once you get the hang of PHP. basically you'll need to create a table/row (or add a row to an existing table) in your MySQL Database, then add a new box to the user profile php file, and finally add in the zenny info under usernames/wherever you want. the hard part is trying to find a use for the zenny (store/etc.) tuvai's store was never released (though it was 100% compatible with my zenny hack) and Im not sure where weasel's old hack is, if it even works with new acmlmboards. thats all I can help, I'm afraid. kinda makes me wish it was 4-5 years ago again... |
xellpn Posts: 4/7 |
ah okeys, Thanks for that il just input the code and play around with it till i get sumthing working
ive never been a good coder, but i allways like to try things hehe, thanks for the positive feedback |
darkwitch Posts: 143/214 |
ahem:
Any website better than this one? I dont think there is one better. And yes, the code "The roger" posted should work on 1.A2 atleast the function for you to earn the points. |
xellpn Posts: 3/7 |
Ah okeys then, i just fort il ask thats all, just to save time.
i am learning php and sql once i finish japanese this year. i dont think trying to learn all of them at the same time would be a good thing to do just yet. and reason im using acmlms files is, i like the way its set up and i found it quite easy to install, and i just like the post lvling system, ranking and so on. just fort it would be good for my community. thanks anyway Black lord + il take the advice and try to learn sum php, got any site or books that u reconmend? |
Black Lord + Posts: 232/273 |
If you cannot implement this, you should not be running you're own board anyway.
Learn some basic basic PHP / mySQL and this is cake. |
xellpn Posts: 1/7 |
sorry for bumping a old topic, but im also looking for this myself, ive tryed to google it and surch the forums and other peoples forums, but cant find it ;
im using 1.A2 and got it up and running, and got the item shop Files, just needing the cash side of things. if the script posted above works on 1.A2 could sumone tell me? Or just tell me how to edit it to put into 1.A2. thanks a bunch |
Zyse Posts: 11/14 |
If anyone would have responded to my thead about upgrading lol |
The Roger Posts: 5/47 |
Did you add points in phpmyadmin? If thats not the problem, could be the fact your using 1.8a, the info I'm giving you is for 1.92. Other than that, I don't know. |
Zyse Posts: 10/14 |
planet-pointless.kicks-ass.net |
The Roger Posts: 4/47 |
Could I have a link I'd like to see for myself, it would help me a lot more, if I could see the problems for myself, do you get any errors? or does it just not show up anywhere? |
Zyse Posts: 9/14 |
Well for some reason it is not showing up anywhere |
The Roger Posts: 3/47 |
spots? I'll assume you meant posts.
This should be the in tlayouts directory: regular.php Search for: function userfields(){return 'posts,sex,powerlevel,picture,title,useranks,location,lastposttime,lastactivity,imood';} and replace it with: function userfields(){return 'posts,sex,powerlevel,picture,title,useranks,location,lastposttime,points,lastactivity,imood';} Search for: $experience="EXP: $exp For next: $expleft"; and replace it with: $experience="EXP: $exp For next: $expleft<br />Zenny: $post[points]"; Search for: $experience="<img src=images/$numdir"."exp.gif width=20 height=8><img src=numgfx.php?n=$exp&l=5&f=$numfil height=8> <img src=images/$numdir"."fornext.gif width=44 height=8><img src=numgfx.php?n=$expleft&l=2&f=$numfil height=8>"; and replace it with: $experience="<img src=images/$numdir"."exp.gif width=20 height=8><img src=numgfx.php?n=$exp&l=5&f=$numfil height=8> <img src=images/$numdir"."fornext.gif width=44 height=8><img src=numgfx.php?n=$expleft&l=2&f=$numfil height=8><br />Zenny: $post[points]"; Do the same for the rest of the thread layouts, if you have more. |
Zyse Posts: 7/14 |
how Do I display the points in all Users spots? |
The Roger Posts: 1/47 |
I'm not sure, but I think this is what you need.
Add a new field to the users table in phpMyAdmin called 'points' without the 's. newreply.php Search for: mysql_query("UPDATE users SET posts=posts+1,lastposttime=$currenttime WHERE id=$userid"); and replace it with: mysql_query("UPDATE users SET posts=posts+1,points=points+50,lastposttime=$currenttime WHERE id=$userid"); this will give you 50 zenny for each post you make. newthread.php Search for: mysql_query("UPDATE users SET posts=posts+1,lastposttime=$currenttime WHERE id=$userid"); and replace it with: mysql_query("UPDATE users SET posts=posts+1,points=points+100,lastposttime=$currenttime WHERE id=$userid"); this will give you 100 zenny for each thread you create. Please correct me if I'm wrong. |
Zyse Posts: 6/14 |
I cant find it in there I already looked T_T... |
Randy53215 Posts: 395/726 |
Should be in here!
Its got mostly all the mods but it should be in there. |
Zyse Posts: 4/14 |
Ive been looking everywhere for most of the Acmlm 1.8 hacks/mods yet I am unable to locate the Zenny mod for the forusm, anyone know where I can get it? |