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:
Question:
Why should I Register here ?
Answers:
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 6 months ago in Languages by anonymous
edited 6 months 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=http://yoursite.com/images/images.jpg border=0>
I will be back later and see if I can give you the right html code.

answered 6 months ago by admin (6,710 points)
edited 6 months ago by admin

Related questions

+1 vote
2 answers 13 comments
asked 5 months ago in Languages by prysma (220 points)