Brf wrote:felguard wrote:I have CashMod223a installed, everything's fine and stuff except for one thing.
When somone makes a topic/post they get 2 points for it, but if they delete the topic/post, they still keep the 2 points for posting it. How do you make it so that if they delete the post/topic, the 2 points will also be taken away from it?
Sorry I do not have that problem with my forum.
I just tested it.
Do you have the proper edits in includes/functions_post.php?
Code: Select all
$GLOBALS['cm_posting']->update_delete($mode, $post_data, $forum_id, $topic_id, $post_id);
Code: Select all
include($phpbb_root_path . 'includes/functions_search.'.$phpEx);
copy cash.php to cash.php
copy admin/admin_cash.php to admin/admin_cash.php
copy admin/cash_config.php to admin/cash_config.php
copy admin/cash_currencies.php to admin/cash_currencies.php
copy admin/cash_events.php to admin/cash_events.php
copy admin/cash_exchange.php to admin/cash_exchange.php
copy admin/cash_forums.php to admin/cash_forums.php
copy admin/cash_groups.php to admin/cash_groups.php
copy admin/cash_help.php to admin/cash_help.php
copy admin/cash_log.php to admin/cash_log.php
copy admin/cash_recount.php to admin/cash_recount.php
copy admin/cash_reset.php to admin/cash_reset.php
copy admin/cash_settings.php to admin/cash_settings.php
copy includes/classes_cash.php to includes/classes_cash.php
copy includes/functions_cash.php to includes/functions_cash.php
copy language/lang_english/lang_cash.php to language/lang_english/lang_cash.php
copy templates/subSilver/cash_donate.tpl to templates/subSilver/cash_donate.tpl
copy templates/subSilver/cash_exchange.tpl to templates/subSilver/cash_exchange.tpl
copy templates/subSilver/cash_modedit.tpl to templates/subSilver/cash_modedit.tpl
copy templates/subSilver/cash_viewprofile.tpl to templates/subSilver/cash_viewprofile.tpl
copy templates/subSilver/cash_viewtopic.tpl to templates/subSilver/cash_viewtopic.tpl
copy templates/subSilver/admin/cash_config.tpl to templates/subSilver/admin/cash_config.tpl
copy templates/subSilver/admin/cash_currencies.tpl to templates/subSilver/admin/cash_currencies.tpl
copy templates/subSilver/admin/cash_event.tpl to templates/subSilver/admin/cash_event.tpl
copy templates/subSilver/admin/cash_events.tpl to templates/subSilver/admin/cash_events.tpl
copy templates/subSilver/admin/cash_exchange.tpl to templates/subSilver/admin/cash_exchange.tpl
copy templates/subSilver/admin/cash_forum.tpl to templates/subSilver/admin/cash_forum.tpl
copy templates/subSilver/admin/cash_group.tpl to templates/subSilver/admin/cash_group.tpl
copy templates/subSilver/admin/cash_groups.tpl to templates/subSilver/admin/cash_groups.tpl
copy templates/subSilver/admin/cash_help.tpl to templates/subSilver/admin/cash_help.tpl
copy templates/subSilver/admin/cash_log.tpl to templates/subSilver/admin/cash_log.tpl
copy templates/subSilver/admin/cash_menu.tpl to templates/subSilver/admin/cash_menu.tpl
copy templates/subSilver/admin/cash_navbar.tpl to templates/subSilver/admin/cash_navbar.tpl
copy templates/subSilver/admin/cash_reset.tpl to templates/subSilver/admin/cash_reset.tpl
copy templates/subSilver/admin/cash_resetting.tpl to templates/subSilver/admin/cash_resetting.tpl
copy templates/subSilver/admin/cash_settings.tpl to templates/subSilver/admin/cash_settings.tpl
Brf wrote: There is an upgrade_221_223 folder in the mod zip. Read the cm_upgrade_221_223.txt in that directory for instructions.
## Files To Edit: common.php
## memberlist.php
## posting.php
## privmsg.php
## profile.php
## viewtopic.php
## includes/constants.php
## includes/functions.php
## includes/functions_post.php
## includes/usercp_viewprofile.php
## language/lang_english/lang_admin.php,
## language/lang_english/lang_main.php,
## templates/subSilver/memberlist_body.tpl
## templates/subSilver/profile_view_body.tpl
## templates/subSilver/viewtopic_body.tpl
Is "Cash" for Real life currency, or can you change "Cash" for something else, and make it only forum-currency?
Critical Error
FIND FAILED: In file [posting.php] could not find:
$select_sql = ( !$submit ) ? ", t.topic_title, p.enable_bbcode, p.enable_html, p.enable_smilies, p.enable_sig, p.post_username, pt.post_subject, pt.post_text, pt.bbcode_uid, u.username, u.user_id, u.user_sig" : '';
Simple Subforums MOD
eXtreme Styles mod 2
Moderator CP
EasyMOD