James Dawes Pupil

Virtual Cash: 30
Joined: 25 Jul 2007 Posts: 49 Location: usa Add Karma
 rated by 0 members
Add Comment
Show Comments
 |
Posted: Wed Aug 15, 2007 7:03 am Post subject: 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
http://colubragens.myfastforum.org/ |
|
| Back to top |
|
 |
James Dawes Pupil

Virtual Cash: 30
Joined: 25 Jul 2007 Posts: 49 Location: usa Add Karma
 rated by 0 members
Add Comment
Show Comments
 |
Posted: Wed Aug 15, 2007 11:17 am Post subject: 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}&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
http://colubragens.myfastforum.org/ |
|
| Back to top |
|
 |
Symon Moderator

 Virtual Cash: 27450
Joined: 04 Sep 2005 Posts: 11032 Location: Hampshire,England Add Karma
 rated by 84 members
Add Comment
Show Comments
 |
Posted: Wed Aug 15, 2007 12:09 pm Post subject: |
|
|
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"> |
_________________
http://www.saynoto0870.com/
XXVIII/ I/ MCMLXXI |
|
| Back to top |
|
 |
Symon Moderator

 Virtual Cash: 27450
Joined: 04 Sep 2005 Posts: 11032 Location: Hampshire,England Add Karma
 rated by 84 members
Add Comment
Show Comments
 |
Posted: Wed Aug 15, 2007 12:10 pm Post subject: 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 _________________
http://www.saynoto0870.com/
XXVIII/ I/ MCMLXXI |
|
| Back to top |
|
 |
James Dawes Pupil

Virtual Cash: 30
Joined: 25 Jul 2007 Posts: 49 Location: usa Add Karma
 rated by 0 members
Add Comment
Show Comments
 |
Posted: Wed Aug 15, 2007 2:21 pm Post subject: 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?
http://colubragens.myfastforum.org/ |
|
| Back to top |
|
 |
Symon Moderator

 Virtual Cash: 27450
Joined: 04 Sep 2005 Posts: 11032 Location: Hampshire,England Add Karma
 rated by 84 members
Add Comment
Show Comments
 |
Posted: Wed Aug 15, 2007 2:33 pm Post subject: 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. _________________
http://www.saynoto0870.com/
XXVIII/ I/ MCMLXXI |
|
| Back to top |
|
 |
James Dawes Pupil

Virtual Cash: 30
Joined: 25 Jul 2007 Posts: 49 Location: usa Add Karma
 rated by 0 members
Add Comment
Show Comments
 |
Posted: Wed Aug 15, 2007 3:08 pm Post subject: 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
http://colubragens.myfastforum.org/ |
|
| Back to top |
|
 |