Archive for
myfreeforum.org
Before posting please check the "stickies" in the support forums.
Please ask questions in real English and not "txt". You will get a better response.
Please do not ask support questions via PMs.
myfreeforum.org Forum Index
->
Web page/template Editing
wee2john
KARMA HELP
I did exactly what the HOWTODOIT said and put it in the viewtopic_body.tpl with this code:
Code:
<a href="javascript:void(0)" onclick="window.open('addrating.php?userid={postrow.POSTER_ID}&component=KARMA', '_addrating', 'resizable=yes,width=500,height=360')">Add Karma</a><br/> <img src="ranks/Hearts/rankl{postrow.KARMA}.gif"></span>
but all that appears in the view topic is 'Add Karma' and a line saying .gif>
admin (no pm's please)
If you are seeing ".gif" then the html tags are malformed somewhere in what you have done.
wee2john
I am seeing .gif>
I redid everything but it still comes up with that.
admin (no pm's please)
You page source shows:
Code:
<img src="ranks/Hearts/rankl<a href=""><img src="./templates/myff_cooklikeapro1/images/ranks/Hearts/rankl{postrow.KARMA}.gif" border="0" /></a>.gif">
implying you are both manually making the KARMA show as an image and setting KARMA to automatically show as an image.
You can do one of the other but not both.
wee2john
ah right. I just deleted the image code in the profile field so I was left with the one in viewtopic_bodt.tpl. Thanks for the help.
myfreeforum.org Forum Index
->
Web page/template Editing
Page
1
of
1