View Single Post
  #567  
Old 01-12-2003, 02:16 AM
Bitsys's Avatar
Bitsys Bitsys is offline
 
Join Date: Oct 2002
Posts: 444
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Version 0.60 is done. Upgrade instructions are included (no script this time). Re-download the .zip file from the first post to get the new version (upgrade instructions are in the "upgrade" directory). NOTE ABOUT UPGRADING: This upgrade is VERY tricky. Parts of it you may or may not have to do, depending on which fixes you already applied - the upgrade will tell you which ones you need to look out for. Please pay attention. Most of the upgrading is doing "REPLACE"s, but there is ONE "ADD BEFORE", so pay attention. Also, there is one file edit where you must "FIND" and "REPLACE" the same thing twice in the same file (showthread.php). Please pay attention!

Bug Fixes:
  • Fixed battle confirmation PM broken link.
  • Fixed battle anger giving plus to MA instead of plus to AP.
  • Fixed incorrect alt text for genders
  • Other minor bugs

New feature:
In the Itemshop Options menu, there is now a yes or no radio button that you can use to select whether or not you want to use Lesane's Store hack for the points/money system of the RPG.

If you select "No":
  • User's RPG money will be stored in the Itemshop Bank and a custom user profile field. The amount in their bank account is referred to as their bank money. The amount in their profile field is referred to as thei money-in-pocket or cash. The total amount in their bank account and pocket determines their total money for the RPG.
  • You can display the amount of money in the user's bank account, pocket, and total amount in the postbit using the standard variables listed in install.txt and the help documentation.
  • All other aspects of the Itemshop and money system will remain the same as before.
If you select "Yes":
  • The Itemshop bank will no longer work.
  • The Mass Points function in the admin cp will no longer work.
  • The Moderator add/subtract points/bank add-on will no longer work.
  • Itemshop Activity points will no longer work (the Store Hack has a MUCH more useful feature for doing this)
  • The "Donate" link in the postbit should still work.
  • Battle wagers, itemshop purchases, healing, donations, and anything else that has to do with money will be handled through the Store Hack's money system. The Store Hack utilizes a field in the `user` table called 'storep' to store the amount of money a user has for the store.
  • You can edit the amount of money a user has in the Store Hack in the "Edit Users" link under the "RPG" heading in the admin cp. This field takes the place of the "Cash" and "Bank" fields that were there previously.

Also, just because some of those features won't work, that doesn't mean you should get php/mysql error messages. You may, however, get some messages I put in there saying what will or will not work.

In the Itemshop Options menu, if you select to use the Store Hack's monetary system yet you do not have the Store Hack installed, then you will get an error.

NOTE: I have never installed Lesane's Store Hack and my Hack on the same board at the same time. The way I tested this hack was that I added a new field in the `user` table called 'storep'. Then, I tested it from there. It is possible that there are file edits that may conflict with one another. This is a small chance, but it is there. I will be doing more testing in the future, but as of right now, I do not think installing both of them will break anything. As always, however, install on a production board at your own risk.

Member Profile Add-on
Re-apply the add-on. Just delete the old code you inserted and re-insert the new code from the .zip file.

Fresh Install
For those of you who are still installing each version on a new test board, please re-read the install file. It has changed quite drastically as well. There are several steps taken out.

As always, post bug reports or any errors you are having so that I can fix them
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01079 seconds
  • Memory Usage 1,780KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete