First time here? Checkout the FAQ!
Welcome to VldMods Question and Answer, where you can ask question and receive answers from me or other members.
Okey it is some rules here.
Please ask question related to VldPersonals only ;)

Here is some questions I get from feedback:
Why should I Register here ?
You can win free Mods and free Customize work for your site so start Register now and start earning points.

Please be back and tell us (make a comments) if the answer we give you, had help you ! if not please tell us that !


Add an image inside lang.core.php

+1 vote


Help please I have been trying to customize the error messages for users that have no permissions that need to upgrade. I have been able to edit the text simple and even add a link to click onto to upgrade but I am trying so hard to add an image, I have tried different ways and upload the lang.core.php file it takes down the entire website so I have to remove the lines and re-upload again. What I have tried is the following.

"no_action" =>
"You cannot perform this action please upgrade your account <a href=\"/index.php?m=account_upgrade\" target=\"_self\"> <img alt\="" src=\"/media/images/upgrade.png\"
style=\"border: 0px solid; width: 259px; height: 55px;\"></a> .",

"no_action" =>
"You cannot perform this action please upgrade your account <a href=\"/index.php?m=account_upgrade\" target=\"_self\">here</a> ."
echo "<img src=\"media/images/upgrade.png\" title=\"upgrade\" alt=\"upgrade\" />",

asked 7 years ago in Languages by anonymous
edited 7 years ago by admin

1 Answer

0 votes
Best answer

you can´t use more " signs in lang files ...
it is why your site don´t work any more ...
often with a white page instead of a working page.

only use " in beginning and in the end of a lang string !
(so between this tags you can have html code without " signs)

I know in some software we can´t use images in languages files.

one example you can try: it is only a example: I don´t know if it´s work.
<img src= border=0>
I will be back later and see if I can give you the right html code.

answered 7 years ago by admin (11,810 points)
edited 7 years ago by admin

Related questions

0 votes
1 answer 3 comments
asked 6 years ago in Mods by pedrambogy (170 points)
+1 vote
1 answer 0 comments
asked 7 years ago in Others by imrangnit (160 points)
0 votes
1 answer 0 comments
0 votes
1 answer 1 comments