Welcome Guest [Log In] [Register]
Search Members Calendar | Rules ZB Code Index IF Code Index
ZBCode
  • Navigation
  • ZBCode
  • Coding Resources
  • Zetaboards Modifications
  • [SC] Money System
Hey, welcome to ZBCode, the premier coding forum for ZB. Here you fill find some of the best Invisionfree and Zetaboards Codes on the network! Unfortunately, you're sorta hovering around in guest mode at the moment; why not join in on the fun? Register an account and you can start accessing the wealth of resources we have available here. Enjoy your stay at ZBCode, and remember to tell all your friends about us; the more members, the more codes available. ;)

Interested in joining? Click here.


If you are already a member of ZBCode, feel free to login right here:

Username:   Password:
Locked Topic
  • Pages:
  • 1
  • 2
  • …
  • 7
[SC] Money System
Tweet Topic Started: Oct 13 2008, 10:39 PM (5,955 Views)
slayer766 Oct 13 2008, 10:39 PM Post #1
Member Avatar
Hello all

Posts:
1,653
Group:
Distinguished Coder
Member
#12
Joined:
Jul 9, 2008
Coding language
PHP
Name: Money System (Ha yeah, original right...)
Description: Created as request, though what you can do in this is all done by the Admins/Mods. The admins/mods can edit any users' total money through the Manage Cash CP. You can add and subtract any amount from any user. The info is displayed only in the Profile page.
Copyright: slayer766
Known Bugs: None at the moment.
Browser compatibility: I only use Firefox, if it doesn't work in other browsers other than Firefox or Internet Explorer then you are out of luck...sorry.
Preview/screen shot:

Location where Manage Cash CP is located
Profile page information
Manage Cash CP 1
Manage Cash CP 2
Installation: Board Template > Below the board:

Quote:
 
<script type="text/javascript">
/**************************************
// Code name: Money System
// Author: slayer766
// Copyright: thecodingzone.com & zbcode.com
***************************************/

var money_name = "Cash";
var money_symbol = "$";
</script><script src="http://z3.ifrm.com/171/8/0/p69948/moneysys1.js"></script>

Edit in RED to the name of the currency.
Edit in BLUE to the symbol of the currency.
Edited by Reid, Jun 15 2009, 08:16 PM.
Offline Profile Goto Top
 
Fission Oct 13 2008, 11:19 PM Post #2
Member Avatar
Weegee

Posts:
45
Group:
Member
Member
#1,120
Joined:
Oct 4, 2008
Coding language
Everything
Any plans on expanding on this? Like member name search, displaying in posts, etc.?
0110110101100101
 
There are 10 types of people in this world: Those who know binary, and those who don't.

Floatboxes. They float. || Posted Image Posted Image

Posted Image
Offline Profile Goto Top
 
meeklay daflea Oct 14 2008, 12:11 AM Post #3


Posts:
10
Group:
Member
Member
#1,058
Joined:
Sep 27, 2008
Coding language
ASP.Net
Amazing code slayer!
Posted Image
Visit our new Harry Potter RP!
Offline Profile Goto Top
 
PD.Phoenix Oct 14 2008, 06:20 AM Post #4
Member Avatar
Kokuhyou no Tentei

Posts:
326
Group:
Member
Member
#602
Joined:
Aug 15, 2008
Coding language
HTML/CSS
Anyway of making like... a merge of admin editable and cash per post? lol
Phoenix Designz is now open
Looking for staff and classers PM me here or on PD if interested.

Want to win some easy money? Enter Phoenix Designz tournaments. Learn more here ->> click


Posted Image
| My dA | Vote PD Top 100 |
Offline Profile Goto Top
 
slayer766 Oct 14 2008, 12:11 PM Post #5
Member Avatar
Hello all

Posts:
1,653
Group:
Distinguished Coder
Member
#12
Joined:
Jul 9, 2008
Coding language
PHP
Yeah Fission the only way I would be able to display the info in the posts is if admin/mod had the ability to edit users' signatures which they don't for some odd reason or I just simply can't find out where/how to do so.

Thanks meeklay daflea. ^_^

Saikou, this is already admin editable. How much more admin editable are we talking? :D
Edited by slayer766, Oct 14 2008, 12:12 PM.
Offline Profile Goto Top
 
Quantum Oct 14 2008, 01:12 PM Post #6
Member Avatar
Lieutenant Colonel John Sheppard

Posts:
40
Group:
Member
Member
#943
Joined:
Sep 14, 2008
gr8 code shame it cant use member search but oh well lol but still an amazing code
Posted Image

Outlaw Resources Coming Soon
Staff Positions AVAILIBLE: (Taken = ✔)
Advertisement Manager & Team
Community Team
Design Team
International Oversight Advisory
Manager
Review Manager & Team
Support Manager & Team-
PM me to apply
Offline Profile Goto Top
 
Fission Oct 14 2008, 08:02 PM Post #7
Member Avatar
Weegee

Posts:
45
Group:
Member
Member
#1,120
Joined:
Oct 4, 2008
Coding language
Everything
I've got a great suggestion. How about making it so that a webpage holds the info? The user of this code would make a new page titled something like "moneymod" (customizable in the script, of course) that would hold all the cash info, IDs, and names of every member. The code could then access it via iframe (main_url+'pages/'+pageid) and get the amount of cash they have, writing it to their signature or a into their mini-profile.
0110110101100101
 
There are 10 types of people in this world: Those who know binary, and those who don't.

Floatboxes. They float. || Posted Image Posted Image

Posted Image
Offline Profile Goto Top
 
slayer766 Oct 14 2008, 09:42 PM Post #8
Member Avatar
Hello all

Posts:
1,653
Group:
Distinguished Coder
Member
#12
Joined:
Jul 9, 2008
Coding language
PHP
Storing the info in the webpage is a brilliant idea! :O Though for the signature adding data, Admins/Mods can't edit a users signature because there isn't even a spot for it for mods to edit. :S
Offline Profile Goto Top
 
PD.Phoenix Oct 15 2008, 12:44 AM Post #9
Member Avatar
Kokuhyou no Tentei

Posts:
326
Group:
Member
Member
#602
Joined:
Aug 15, 2008
Coding language
HTML/CSS
lol I know it's admin editable. That's why I said a merge of admin editable, as yours is, AND cash per post, like Viral's.
Phoenix Designz is now open
Looking for staff and classers PM me here or on PD if interested.

Want to win some easy money? Enter Phoenix Designz tournaments. Learn more here ->> click


Posted Image
| My dA | Vote PD Top 100 |
Offline Profile Goto Top
 
Quantum Oct 15 2008, 01:28 PM Post #10
Member Avatar
Lieutenant Colonel John Sheppard

Posts:
40
Group:
Member
Member
#943
Joined:
Sep 14, 2008
there is a problem cause when u edit profile it appears in intrests on what money / tokens you have and well a member changed it.

Thats a bug can it be fixed?
Posted Image

Outlaw Resources Coming Soon
Staff Positions AVAILIBLE: (Taken = ✔)
Advertisement Manager & Team
Community Team
Design Team
International Oversight Advisory
Manager
Review Manager & Team
Support Manager & Team-
PM me to apply
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
Go to Next Page
« Previous Topic · Zetaboards Modifications · Next Topic »
Locked Topic
  • Pages:
  • 1
  • 2
  • …
  • 7

Track Topic · E-mail Topic Time: 7:48 PM Jul 10
Hosted for free by ZetaBoards · Privacy Policy