Customizing SMF > Modifications and Packages

Invitation Message In Your Face [IMIYF]

<< < (5/17) > >>

simon36:
Hi, I really like this mod and would like to know if I can display the message without the ' at the beginning and end of the message.

Thank you.

luuuciano:
Download your load.php and search for


--- Code: ---   $.jGrowl("<a href=\'' . $scripturl . '?action=register\'>' . JavaScriptEscape($modSettings['imiyf_txt']) . '</a>", { life: '.(empty( $modSettings['imiyf_life']) ? 10000 : $modSettings['imiyf_life']).', sticky: '.$modSettings['imiyfsticky'].' });
--- End code ---

and change it to



--- Code: ---   $.jGrowl("<a href=\'' . $scripturl . '?action=register\'>' . $modSettings['imiyf_txt'] . '</a>", { life: '.(empty( $modSettings['imiyf_life']) ? 10000 : $modSettings['imiyf_life']).', sticky: '.$modSettings['imiyfsticky'].' });
--- End code ---

(erasing JavaScriptEscape( .... ) )

Then upload it...

Always do a backup first! :)

the load.php file in this case

simon36:
Hi, thanks for the reply. When I upload the amended load..php no message to register is displayed at all.

luuuciano:
Can you atach your modified load.php file?
It should work.... maybe something changed wrong

simon36:
File attached, thanks for your help.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version