A lot of posts here to read, I've read all of them now. I've fixed the bugs I have come across in the posts that I could replicate.
No idea how redtailboa's bug is coming about because this hack doesnt even do anything to any attachment plugins at all :/
As far as "giving up"? Why would I give up over some negative comments? There is simply no reason too, everyone is entitled to their own opinion. And just because some dont like it doesnt mean that there arent a lot of people who do like it!
I've did a little bit of work on it over the past day or so, I've really improved the Add Option for the Admin CP. I'm doing more testing on it today, and if all goes well and all are working, it will be released later today. (Probably about 8 to 10 hours after this post.)
I realize that some of the templates that I've created are not the most elegant looking, I'm a coder, not a graphic artist. If someone can redesign the estore_main template and make it nice and purrrrrrrrrrty, I'm all for adding it in. Someone posted a screen shot of a bank that looks awesome and I will incorporate that into the release very soon.
Here are a list of things that I have done so far for the v1.0.6 to be released later today:
v1.0.6 Update:
1) Bugfix: View Richest Member setting was always displaying top 30, it now displays how many you have the eBux Setting for.
2) eStore Main: Displays the item description in the database when it lists the items for sale.
3) Bugfix: Donate, Admin Donate, Thief & Bank eStore Options check that the amount is numeric properly now.
4) When eStore is not enabled now, it displays a closed message.
5) eStore Options: Lose Reputation Points on Successful Thief & Failed Thief. (2 Different Settings, Use a value of 0 for no loss.)
6) Custom User Title eStore Options now set the user table field customtitle = 1.
7) eStore Option: Sticky Thread, lets a user sticky a thread. (Requires them to enter the threadid)
8) eStore Option: Unticky Thread, lets a user unsticky a thread. (Requires them to enter the threadid)
9) eStore option Set Type field has a new drop down called 'Add Integer' which will add to the field setname. Useful for making an eStore Option to buy more post counts, or anything that you just want to increase.
10) Backend Changes: A VERY Major change has occurred in the back end. There was a LOT of database changes done to the estoreitems table and the items contained in it. One that is so great now you can almost add actions for anything you want. I won't go into detail of what this means, but lets just say something like this. The table named 'thread' has threadid, visible, sticky, sticky_expiry, votenum, etc..
Well with the new system in place, I'll demonstrate how to add a new eStore Option for say example, Sticky Thread... (NOTE this is not a perfect example because the sticky thread has its own field for 'sticky_expiry' and has to be accounted for to make it expire properly. But for the sake of this example, it will set the sticky = 1 where threadid = id the person entered.
First you go to the Admin CP and choose Add New Option. Type Sticky Thread for the Item Name and type a description you want it to use, setup all the costs, expire days, refill, usergroups, etc.. Then use the following settings:
Item Script Location: blank (Meaning do not type anything in this field!)
Item Table Name: thread
Where Name: threadid
Where Value: $action['threadid']
Set Type: Choose Bitfield
Set Name: sticky
Set Value: 1
Phrase Name 1: estore_threadid
Field Name 1: threadid
Then choose Add Option and there you have it. As you can see these back end changes allow for lots of tables to be modified via eStore Options.
With this kind of system in place, its almost virtually endless of the possibilities to add/modify the tables/fields.
-CMX
|