MyBB Community Forums

Full Version: problem with cash mod! PLEASE HELP!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I tried to update the cash mod version 1.0 to 1.2, but now it's not working.

I see it in the plugin manager as active, but I don't see it in the board settings! How come?

Thanks,
GSA
Ok...I am trying to solve it, it's not!!! I deactivate it again. Uploaded the file again to inc/plugins and then activate the cash mod plugin. However it doesn't show up in the board settings and it doesn;t show up in the templates!

So I try to deactivate it again and I got this message:

mySQL error: 1091
Can't DROP 'canmanagecashmod'; check that column/key exists
Query: ALTER TABLE mybb_adminoptions DROP canmanagecashmod

ANY IDEA?

Thanks,
GSA
Ehm, I should say, fully re-install the mod.
I should have made it clearer that you didn't need to deactivate the plugin to update...

You need to open inc/plugins/cash_mod.php and find
cm_removeSettings();
and replace with
//cm_removeSettings();
You should then be able to deactivate the plugin.

You should then do the following in phpmyadmin. Hopefully it should fail on the first ALTER TABLE command. Meaning everything has been uninstalled.
DELETE FROM mybb_settinggroups WHERE name LIKE 'Cash Mod'
DELETE FROM mybb_settings WHERE name LIKE 'cash_mod%'
ALTER TABLE mybb_adminoptions DROP canmanagecashmod
ALTER TABLE mybb_forums DROP cash_mod_per_character
ALTER TABLE mybb_forums DROP cash_mod_per_thread
ALTER TABLE mybb_forums DROP cash_mod_per_reply
ALTER TABLE mybb_forums DROP cash_mod_per_poll
ALTER TABLE mybb_forums DROP cash_mod_per_poll_vote
ALTER TABLE mybb_forums DROP cash_mod_per_poll_vote_multi
ALTER TABLE mybb_attachments DROP attach_cash
ALTER TABLE mybb_polls DROP polls_cash
ALTER TABLE mybb_pollvotes DROP pollvotes_cash
ALTER TABLE mybb_posts DROP posts_cash
ALTER TABLE mybb_reputation DROP rep_cash
ALTER TABLE mybb_users DROP users_cash
ALTER TABLE mybb_usergroups DROP group_cash_max
ALTER TABLE mybb_usegroups DROP group_cash_percent
DROP TABLE mybb_cm_statement
DELETE FROM mybb_templates WHERE title like 'cm%'

You should then undo the first find/replace command above (uncomment the line), save and upload, and try activating the plugin again. Everything should go ok...
"You should then undo the first find/replace command above (uncomment the line), save and upload, and try activating the plugin again."

Can you explain that more clearly?

thanks,

GSA
Do
Quote:You need to open inc/plugins/cash_mod.php and find
cm_removeSettings();
and replace with
//cm_removeSettings();
You should then be able to deactivate the plugin.

Then do sql

Then

Open inc/plugins/cash_mod.php and find
//cm_removeSettings();
and replace with
cm_removeSettings();
decswxaqz, I tried what you said. The cash doesn't show up in the templates or in the settings!!!! I don't understand!!!!

I am getting this now: ./inc/languages//english/cash_mod.lang.php does not exist!!!!!!!!

What's wrong?

Thanks,
GSA
After doing the above I assume you tried to reactivate the plugin?
If it worked first time then there is no reason the settings or templates weren't edited.
"If it worked first time then there is no reason the settings or templates weren't edited."
I followed your sequence and that's what I got...You told me to reactivate right?

Quote:You should then undo the first find/replace command above (uncomment the line), save and upload, and try activating the plugin again. Everything should go ok...

WHAT SHOULD I DO NOW???
Ive Maded What You Told To Do...But Coz The Mod Didn't Dezactivated from My Board Aded : (Please Look At Pic To See What's Wrong)


This Problem is everywere: User Cpanel,User Profile,etc.
Please Tell me What To Change....

Thank YOU !
Pages: 1 2