MyBB Community Forums

Full Version: Can't EDIT Signature
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Quote:Parse error: parse error, unexpected '=' in /home/alexz/public_html/forum/usercp.php(1283) : eval()'d code on line 1

Sad ..Sorry but i Really Don't Know How To find the error..
Please HELP me eeeee1!!!

Thank You In Advence !
Open usercp.php
Find
eval("$editsig = \"".$templates->get("usercp_editsig")."\";");
replace with
eval("\$editsig = \"".$templates->get("usercp_editsig")."\";");
hello there
I saw that you are using the cash mod so go to ./inc/functions_post.php and comment out the lines
$pattern[] = "#\[cash\]#ei";
$replace[] = "cm_formatAmount($post[users_cash])";


regards
zaher1988 Wrote:hello there
I saw that you are using the cash mod so go to ./inc/functions_post.php and comment out the lines
$pattern[] = "#\[cash\]#ei";
$replace[] = "cm_formatAmount($post[users_cash])";


regards
Clear Up my Mind Smile (i'm not an English Guy So I don't understand All You Said)


eh.. I understand All WORDS but Can't Understand what I need to Do With these codes
$pattern[] = "#\[cash\]#ei";
$replace[] = "cm_formatAmount($post[users_cash])";

What Comment !??!

Smile Sorry but....Umm Sorry.


EDITED:

After ive edited usercp.php file I Get An Error From Cash MOD:

Warning: Missing argument 1 for cm_formatamount() in /home/alexz/public_html/forum/inc/plugins/cash_mod.php on line 2295

Warning: Missing argument 1 for cm_formatamount() in /home/alexz/public_html/forum/inc/plugins/cash_mod.php on line 2295
they look like this in ur page

//$pattern[] = "#\[cash\]#ei";
//$replace[] = "cm_formatAmount($post[users_cash])";

remove the //

regards
After ive edited usercp.php file I Get An Error From Cash MOD:


Warning: Missing argument 1 for cm_formatamount() in /home/alexz/public_html/forum/inc/plugins/cash_mod.php on line 2295

Warning: Missing argument 1 for cm_formatamount() in /home/alexz/public_html/forum/inc/plugins/cash_mod.php on line 2295

I get this erro after i insert to signature this CODE:
[cash]

Quote:Use the tag [cash] to insert how much money you have into your sig
make sure to revert back the modification you did in ./usercp.php
it wasn't to deal with this issue.

regards
Warning: Missing argument 1 for cm_formatamount() in /home/alexz/public_html/forum/inc/plugins/cash_mod.php on line 2295

It can't be FIXED !????
have u reverted usercp.php to original !!
i mean removed the modification u made for usercp.php.
as u mentioned that after modifying usercp.php you start to get these errors.

many regards
Pages: 1 2