Jump to content


* * * * * 5 votes

(e32) ibEconomy Points System


  • Please log in to reply
677 replies to this topic

#1 emoney

emoney

    I'll do graffiti if you sing to me in french

  • Modders
  • PipPipPipPipPipPipPipPip
  • 1,269 posts
  • Real Name:Eric
  • IPB Version:v3.1.x
Contributor

Posted 19 September 2009 - 02:44 PM

Posted Image

File Name: (e32) ibEconomy Points System
File Submitter: emoney
File Submitted: 19 Sep 2009
File Updated: 18 Feb 2012
File Category: IP.Board v3.2

Complete Points, Shop, Investment, Lottery System

Version 2.0.8

This version REQUIRES IPB 3.2.  For earlier please use ibEconomy 1.5.1.

Features: (any of which can be disabled)
  •   Shop Items (~30 items so far... I'm open to suggestions for new ones)
  •   Shopping cart and checkout system
  •   Points Per Topic/Reply/Reply-in-own-topic
  •   Points Per Rep (negative/positive receiver/giver)
  •   Banks (savings/checking)
  •   Numbers Based Lottery system
  •   Stocks (based on actual things like member posting/registrations or random)
  •   Credit-Cards
  •   Long-Term Investments (IRA, 401K, etc)
  •   Custom Sidebar Blocks (richest members, stock ticker, etc)
  •   Point loans
  •   Welfare system
  •   Donations system
  •   Send Item to Other Members
  •   Transactions/logs
  •   Personalized public settings page per member
  •   Global ibEconomy announcement
  •   ibEconomy profile page per member

Hooks/Other features:
  •   NO FILE EDITS!
  •   Plug-In System!
  •   Duplicate app's sidebar blocks on board index
  •   Display member's point total, clickable to view stats and donate (from topics and PMs)
  •   Profile point total
  •   Donate from topics/PMs DIRECTLY via popup balloon
  •   Profile donate link
  •   EVERYTHING can be turned off (well... anything that makes sense to turn off)
  •   Drag and Drop sorting (EVERYWHERE)
  •   View/Buy/Trade/etc permissions via built-in IPB permission masks
  •   Name "points" anything you want, everywhere
  •   Also can integrate with any other points system (if yours isn't list, let me know and I'll add it)
  •   Group MAX perms for most everything
  •   One-Click Purchase (with setting to enable/disable/show-only)
  •   Setting to disable the use of decimals and cents, for the more "simple" ibEconomy install (with round-up/round-down/nearest setting)
  •   Show points/donate button on post view either in bottom of post sidebar or as button which sits flush with the other post buttons for pretty integration
  •   Custom images per item
  •   Edit member points directly from their board profile (with accompanying group setting)
  •   Profile Tab to display recent purchases and recent non-purchase transactions

Shop Items: (29 total, but most can be used in different fashions so really many more use cases)
  •   Add Color Topic Title (Integration with (SOS31) Topic Title Colored)
  •   Increase/decrease own/other's post count
  •   Increase/decrease own/other's reputation points
  •   Award Item (Integration with (inv) Awards as of 2.0.6!)
  •   Ban self/others
  •   Blank item (can't be sold or used, great for just showing things off, or awards/achievements/interests/etc)
  •   Change own/other's avatar
  •   Change own/other's skin
  •   Change own/other's group
  •   Change own/other's display name
  •   Change own/other's signature
  •   Change own/other's status
  •   Change own/other's title
  •   Close own/other's topic
  •   Open own/other's topic
  •   Password to forum
  •   Pin own/other's topic
  •   Promote to VIP (Integration with (SOS) VIP Members)
  •   Random points to self/others
  •   Random shop item to self/other
  •   Scratch-Off
  •   Secret Message
  •   Send PM to ID (new to 2.0, great for selling things or any transaction in which you want the user to buy something, then send you a message about it, for instance with their shipping address)
  •   Steal points
  •   Steal reputation points
  •   Unban other
  •   Unpin own/other's topic
  •   Upload Emoticon

Click here to download this file

#2 DawPi

DawPi

    in search of lost time..

  • Modders
  • PipPipPipPipPipPipPipPipPip
  • 2,214 posts
  • Location:Cracow, Poland
  • Real Name:David
  • IPB Version:v3.2.x
Contributor

Posted 19 September 2009 - 02:51 PM

Nice!  ;)
Dawid Pieron
intermedia - owner, developer and ip.board modder
Need custom mod, conversion service, any ip.board related job or support for any of my paid mods or services?
www | mail | facebook | twitter | buy licence

#3 sHoKz I

sHoKz I

    Member

  • Members
  • PipPipPip
  • 28 posts
  • Real Name:Dominic
  • IPB Version:v3.0.x

Posted 19 September 2009 - 05:10 PM

What makes this better than ibMarket?

Posted Image


#4 emoney

emoney

    I'll do graffiti if you sing to me in french

  • Modders
  • PipPipPipPipPipPipPipPip
  • 1,269 posts
  • Real Name:Eric
  • IPB Version:v3.1.x
Contributor

Posted 19 September 2009 - 05:29 PM

View PostDawPi, on Sep 19 2009, 09:51 AM, said:

Nice!  ;)
thanks!

View PostsHoKz I, on Sep 19 2009, 12:10 PM, said:

What makes this better than ibMarket?
Well, I don't really know, cause I've never used it and I don't think I've seen a feature list for the 3.0 version of ibMarket.  But I know that it is a point shop style mod, so I would say that mine is different because the point shop is only 1 part of it.  It also is a complete points system, unlimited banks/investments, welfare, loans, sidebar blocks, topic/profile/PM view (all with 0 file edits) etc.  I tried to design it to be all in one, to help conserve that oh-so precious header space.  :)  Install it and play around with it eh, you'll see some kewl stuff.

#5 EvilHUnter

EvilHUnter

    n00b

  • Members
  • Pip
  • 3 posts
  • Real Name:Kristian
  • IPB Version:v3.0.x

Posted 19 September 2009 - 06:48 PM

OMG Awesome :) I hope more people like you will start to write something even if there is another mod the same... the people need to choose not to have only 1 option ... btw please tell me can you make this like vbShop, where you can buy extra to edit your name, avatar or rank name with points, if you can make this the mod will be the best so far :) like I needed radio mod just to people to listen it from the forum and the onle option was bouncy radio mod ok wtf is with his price ? I wont use it because when there isnt anyone offering something like his mod everyone has to choose his mod, nvm ;) thanks emoney hope to see more cool stuff from you like this :)

Edited by EvilHUnter, 19 September 2009 - 06:49 PM.


#6 emoney

emoney

    I'll do graffiti if you sing to me in french

  • Modders
  • PipPipPipPipPipPipPipPip
  • 1,269 posts
  • Real Name:Eric
  • IPB Version:v3.1.x
Contributor

Posted 19 September 2009 - 07:03 PM

oh no, not another "can you make it like the vBulletin yada yada yada..." app! :) ;)  When I released my first "big app" (ibBookie for 2.3) I got a lot of the "this mod rocks, but can you make it more like the vBulletin version?" stuff.  But in this case, what you requested are definitely doable.  This is still in BETA and even when I release 1.0 I am still going to be developing further store items.  

1) Edit Your Name: I actually meant to include this but I must've forgot... It will be in one of the first shop item "expansion packs".
2) Edit Your Avatar: There is already an item for this included in this release.
3) Edit Your Rank: If you mean title or posts, then it is already included in this release.  If not, what do you mean?

#7 sHoKz I

sHoKz I

    Member

  • Members
  • PipPipPip
  • 28 posts
  • Real Name:Dominic
  • IPB Version:v3.0.x

Posted 19 September 2009 - 07:35 PM

SWEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEET APPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP

I'm requesting that a new tool be added to basically allow all groups to do everything, and I can disable the few things from there.

Thanks

Edited by sHoKz I, 19 September 2009 - 07:38 PM.

Posted Image


#8 emoney

emoney

    I'll do graffiti if you sing to me in french

  • Modders
  • PipPipPipPipPipPipPipPip
  • 1,269 posts
  • Real Name:Eric
  • IPB Version:v3.1.x
Contributor

Posted 19 September 2009 - 09:58 PM

Thanks! And good suggestion, I'll try to get that added before 1.0 is released. ;)

#9 EvilHUnter

EvilHUnter

    n00b

  • Members
  • Pip
  • 3 posts
  • Real Name:Kristian
  • IPB Version:v3.0.x

Posted 19 September 2009 - 10:49 PM

ah no emoney, I didnt want to look like some cry noob ;] I just suggested like continuing of your idea because I didnt see anyone think of it, but when you already added those I will wait for the v1 release of this masterpiece ;)

#10 MichaelJohn

MichaelJohn

    Programmer

  • Modders
  • PipPipPipPipPipPip
  • 478 posts
  • Location:Australia
  • Real Name:Michael
  • IPB Version:v3.1.x
Contributor

Posted 20 September 2009 - 01:37 AM

Probably won't have a need for this mod but just wanted to say great job!! Well thought out and designed mod :) Sets a high standard for the rest of us modders ;)

Keep up to date with DevFuse mod development and releases.

Posted Image Posted Image Posted Image Posted Image Posted Image


#11 emoney

emoney

    I'll do graffiti if you sing to me in french

  • Modders
  • PipPipPipPipPipPipPipPip
  • 1,269 posts
  • Real Name:Eric
  • IPB Version:v3.1.x
Contributor

Posted 20 September 2009 - 03:48 AM

View PostMichaelJohn, on Sep 19 2009, 08:37 PM, said:

Probably won't have a need for this mod but just wanted to say great job!! Well thought out and designed mod :) Sets a high standard for the rest of us modders :)
Thanks MJ! Honestly, that means a lot to me, considering how much time I spent on this damn thing. ;)

I like the lack of bug reports so far... guess the official release won't be far off.

So far I have 2 things on my to do for 1.0:

1) "Enable All" switch per user group
2) Change Member Display Name shop item

#12 sHoKz I

sHoKz I

    Member

  • Members
  • PipPipPip
  • 28 posts
  • Real Name:Dominic
  • IPB Version:v3.0.x

Posted 20 September 2009 - 04:50 AM

I will be donating once I get some damn money in my PayPal. Great work!!!!!!!!!!!!!!!!

The two suggestions you listed are great. I look forward to them both, and as you said 'expansion packs' would be nice too!!

Posted Image


#13 Mr Legacy

Mr Legacy

    Member

  • Members
  • PipPipPip
  • 32 posts
  • Real Name:Triston
  • IPB Version:v3.0.x

Posted 20 September 2009 - 07:18 AM

I installed it on a 3.0.3 Board and it works great until i go to change a member through acp

I have also had some complaints that members are seeing

Fatal error: Cannot access protected property classPostForms::$moderator in /home/artisti/public_html/forum/hooks/ibEconomyPostPoints_fbfe1b6780c69ed8c678268ab940e760.php on line 397

#14 Shay

Shay

    Advanced Member

  • Members
  • PipPipPipPip
  • 62 posts
  • Real Name:Shay
  • IPB Version:v3.0.x

Posted 20 September 2009 - 09:09 AM

View PostMr Legacy, on Sep 20 2009, 09:18 AM, said:

I installed it on a 3.0.3 Board and it works great until i go to change a member through acp

I have also had some complaints that members are seeing

Fatal error: Cannot access protected property classPostForms::$moderator in /home/artisti/public_html/forum/hooks/ibEconomyPostPoints_fbfe1b6780c69ed8c678268ab940e760.php on line 397

im also getting this error... no one can post on my forums ;)

#15 emoney

emoney

    I'll do graffiti if you sing to me in french

  • Modders
  • PipPipPipPipPipPipPipPip
  • 1,269 posts
  • Real Name:Eric
  • IPB Version:v3.1.x
Contributor

Posted 20 September 2009 - 04:17 PM

ah, good find, I'll get to work on a fix asap.  for now you can turn off the points per post stuff and the error should go away.  

Also, what is the error you get when you edit a member in ACP?  And you are referring to the ibEconomy edit member stuff?  Or the default IPB "Edit Member" page?

#16 emoney

emoney

    I'll do graffiti if you sing to me in french

  • Modders
  • PipPipPipPipPipPipPipPip
  • 1,269 posts
  • Real Name:Eric
  • IPB Version:v3.1.x
Contributor

Posted 20 September 2009 - 05:17 PM

Ah, I had already fixed that bug but somehow must've not carried over the changes to the BETA release... I've made the necessary changes to that hook and updated the file here. No full reinstall is needed (hence the same version BETA 4) since it was only the hook.  I added a hooks folder in the root directory of the package for reimporting.

I also realized 1 of the hooks wasn't even included, so I added that back in.

So if you had installed before this post, you'll want to redownload, then import the ibEconomyPointsPerPost and the ibEconomyMemberProfile hooks. ;)

oh, and added some screenshots.  Doing every page is gonna take a while...

edit: found a gap between the currency symbol and a bank's cost.   Fixed, will be updated in BETA 5.

#17 Guardsman

Guardsman

    Coder

  • IM Supporters
  • PipPipPipPipPip
  • 246 posts
  • IPB Version:v2.3.x

Posted 20 September 2009 - 10:13 PM

This looks good. I'm currently using iPoints by Calypso. When yours goes final will it allow me to retain members existing points totals (banked and in-hand)?
Nobody reads this bit...

#18 emoney

emoney

    I'll do graffiti if you sing to me in french

  • Modders
  • PipPipPipPipPipPipPipPip
  • 1,269 posts
  • Real Name:Eric
  • IPB Version:v3.1.x
Contributor

Posted 20 September 2009 - 10:39 PM

Yes and No.  Yes, you could either just tell ibEconomy to use iPoints as the point system and you won't even need to convert anything, it is already there.  But you would need to do some file edits if you did that route, because ibEconomy has 0 file edits because of the special way I setup the per-member fields.  Or you could use the built-in converter, and select iPoints to convert it to Eco Points.  

But as far as the bank points, that would be trickier.  There is no single one bank... admin can create unlimited banks, each with savings and/or checking.  So this allows it to not require a per-member "bank_points" field, since theoretically a member could have as many bank accounts as the admin (Secretary of the Treasury)  allows members to.  So if you are converting from iPoints there would be no where to put the bank_points... but I'm sure we could figure out a solution.  You could for example run a SQL query to sum both a member's points and banked points into the 1 field you are going to use for member's points.  Then just tell your members they have all their points, just not separated, and that they can go buy one or more bank accounts and reinvest it (after you create some banks of course). ;)

#19 Mr Legacy

Mr Legacy

    Member

  • Members
  • PipPipPip
  • 32 posts
  • Real Name:Triston
  • IPB Version:v3.0.x

Posted 21 September 2009 - 12:37 AM

View Postemoney, on Sep 20 2009, 12:17 PM, said:

ah, good find, I'll get to work on a fix asap.  for now you can turn off the points per post stuff and the error should go away.  

Also, what is the error you get when you edit a member in ACP?  And you are referring to the ibEconomy edit member stuff?  Or the default IPB "Edit Member" page?

It just showed database error it wasnt really anything like my members found and it was editing members usergroups, i didnt mess with the economy section ...

Ill check your fix and get back to you.

Thanks for taking your time and fixing the error

#20 Mr Legacy

Mr Legacy

    Member

  • Members
  • PipPipPip
  • 32 posts
  • Real Name:Triston
  • IPB Version:v3.0.x

Posted 21 September 2009 - 01:12 AM

The database error is fixed in acp however my members still receive this error

Fatal error: Cannot access protected property classPostForms::$moderator in /home/artisti/public_html/forum/hooks/ibEconomyPostPoints_fbfe1b6780c69ed8c678268ab940e760.php on line 397

So i decided to look into the code and found out that the forum points are clashing with something i just cant figure out what.

So in order for it to work until emoney can fix it, dont mess with the forum points settings and  you wont get the error above.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users