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 -> The Graphics Hub
James Dawes

xtra rank no hurry

"this is the quick and basic way of adding an extra rank with out an image."

can you direct me to the how to do it section where it explains how to add your own images to the xtra_rank. Also how to create your own karma mod with your own graphics and title.



scincerly
Jamie
James Dawes

Experiment

I took the karma mod step by step and created a thing called hackerlvl. I made a portal called HACKERLVL. I copyed this code into the myfs_cvc1/cms_hackerlvl.tpl

<script>
if ("{S_STATE}"=="rate")
{
//document.write("here");
}
else if ("{S_STATE}"=="error")
{
document.write("Error: {S_ERROR}");
}
else
{

window.close();

}

</script>
<title>Rate This User</title>
<form action="{S_RATING_ACTION}" method="post" target="_top" ">


<table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" align="center">

<tr>
<td class="row1"><table border="0" cellpadding="3" cellspacing="1" width="100%">



<tr>
<td>Rate user: {USERNAME}<td>
</tr>
<td>Previous Hackerlvl: {PREV_RATING}</td>
</tr>
<tr>
<td>
{RATINGS}
</td>
</tr>
<tr>
<td>
<input type="submit" name="rate" class="mainoption" value="rate">
</td>
</tr>

</table></td>
</tr>
</table>

</form>

I set up the profile fields exactly how the karma was set up but i switched the names around. so far every thing was running smooth. Then i got to the code part. I put in this code in the proper place like i did on my current forum.

<br/> <a href="javascript:void(0)" onclick="window.open('addrating.php?userid={postrow.POSTER_ID}&amp;component=KARMA', '_addrating', 'resizable=yes,width=500,height=360')">Add Hacker lvl</a><br/> <img src="ranks/Hearts/rankl{postrow.KARMA}.gif"></span><img src="ranks/blinkredorange/rank{postrow.KARMA}.gif">

everything showed up except for the images they appear as a box with an x in it.
i rechecked the portal setting and the profile fields and their all as they should be.

What am i missing?

just learning
jamie
symon

I,m not sure you can use two images at once for this hack.

Code:
 <img src="ranks/Hearts/rankl{postrow.KARMA}.gif"></span><img src="ranks/blinkredorange/rank{postrow.KARMA}.gif">
symon

Re: xtra rank no hurry

James Dawes wrote:
"this is the quick and basic way of adding an extra rank with out an image."

can you direct me to the how to do it section where it explains how to add your own images to the xtra_rank. Also how to create your own karma mod with your own graphics and title.



scincerly
Jamie


You would follow this guide

http://howtodoit.myfreeforum.org/...component=content&topicid=553
James Dawes

REPLY

Everything works except for the image. i need somthing that would replace this code and that would work

<img src="ranks/Hearts/rankl{KARMA}.gif">

does it have to be
<img scr=" ranks/ something/rankl{HACKERLVL}.gif">

is the reason why this doesnt work <img src="ranks/Hearts/rankl{KARMA}.gif"> is because of the karma title?
symon

Re: REPLY

James Dawes wrote:
Everything works except for the image. i need somthing that would replace this code and that would work



does it have to be


is the reason why this doesnt work is because of the karma title?


More and likely as it is trying to find the karma rank where you are not using that.
James Dawes

reply

I think your wright in the profile field HACKERLVL it asks for this

Example: /ranks/dollar/rank_{HACKERLVL}.gif pick up the image from a set of ranks). Offsite images must start http://.

I think that an image needs uploaded with a certain name and to be placed in a certain folder or something

I am out of ideas, it was worth the effort because i learned how to add another point system like the karma mod just without the hearts image.

Thanks for your input

scincerly
Jamie dawes

       myfreeforum.org Forum Index -> The Graphics Hub
Page 1 of 1
Create your own free forum | Buy a domain to use with your forum