############################################################## ## MOD Title: Cash Mod ## MOD Author: Handyman < Francis@michaellewismusic.com > (Francis Lewis) http://startrekguide.com ## MOD Description: Allows users to gain points/cash for posts they make. ## ## MOD Version: 0.3.2 ## ## Installation Level: Intermediate ## Installation Time: 20 Minutes ## Files To Edit: 6 ## includes/constants.php ## includes/functions_posting.php ## viewtopic.php ## memberlist.php ## styles/subSilver/template/viewtopic_body.html ## styles/subSilver/template/memberlist_body.html ## ## Included Files: 5 ## cash_db.php ## includes/acp/acp_cash.php ## includes/acp/info/acp_cash.php ## adm/styles/acp_cash.html ## language/en/acp/cash.php ## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2 ############################################################## ## For security purposes, please check: http://startrekguide.com/forum/mods/ ## Or http://phpbb.com/community/viewforum.php?f=70 ## for the latest version of this MOD. No support ## will be given for MODs not found within the MODs Database ############################################################## ## Author Notes: ## ## Copyright 2007 © Handyman. ## ############################################################## ## History: ## (yyyy-mm-dd) ## 2006-10-12 - Version 0.0.1 (BETA) ## - Beta release ## 2007-02-03 - Version 0.1.0 ## - Added display on viewtopic and memberlist ## 2007-03-03 - Version 0.2.0 ## - Added cash toggle switches so it only works if you have it set in the ACP ## ## 2007-05-27 - Version 0.3.0 ## - Added view all users cash amounts in profile ## - Added Bank Management for Admins and Mods with permission to edit users cash ## - Added permissions for admins and mods to edit users cash ## - Added prosilver and subsilver2 instructions ## - Updated to work with RC1 ## - Cash on/off on per forum basis ## - Limit Cash per time period ## ## 2007-6-26 - Version 0.3.2 ## - Serious code cleanup and overhaul ## - Made all cash instances into functions for easy upgrading ## - Finished the ACP so it now controls all currently available options ## - Made link to Bank in viewtopic ############################################################## # #-----[ COPY ]---------------------- # root/styles/subsilver2/template/mods to styles/subsilver2/template/mods # #-----[ OPEN ]---------------------- # styles/prosilver/template/memberlist_body.html # #-----[ FIND ]---------------------- # {L_POSTS} # #-----[ AFTER, ADD ]---------------------- # {CASH_NAME} # #-----[ FIND ]---------------------- # {memberrow.POSTS}{memberrow.POSTS} # #-----[ AFTER, ADD ]---------------------- # {memberrow.CASH_AMT} {memberrow.CASH_AMT} # #-----[ OPEN ]---------------------- # styles/prosilver/template/memberlist_view.html # #-----[ FIND ]---------------------- #
{L_WARNINGS}:
{WARNINGS} [ {L_VIEW_NOTES} | {L_WARN_USER} ]
# #-----[ AFTER, ADD ]---------------------- #
{L_ACCOUNT}: {L_ACCOUNT}:
{CASH}
# #-----[ OPEN ]---------------------- # styles/prosilver/template/viewtopic_body.html # #-----[ FIND ]---------------------- #
{L_LOCATION}: {postrow.POSTER_FROM}
# #-----[ AFTER, ADD ]---------------------- #
{postrow.CASH_NAME}: {postrow.CASH_AMT} {postrow.CASH_AMT}