James Dawes
|
I DID IT!It works i cant believe it; I actualy did it, I was thinking of creating a how to do it section here. later on i will. I need a smoke break.
|
James Dawes
|
THE PROOF
|
Andrew(AP)
|
imagedoesn't show and what exaually didyou do.
|
Danny M
|
Image works for me, but i dont know what your showing
Is it karma or hacker etc
|
James Dawes
|
Part1(first install the karma mod)Ok all that done you now goto Your admin panel --- 3. Styles --- Portal Settings
select karma portal. Then change the fields to what you want. i used HACKERLVL then click creat new portal. this will creat your new portal.
Now goto admin panel --- 3. Styles --- Edit Templates/Logos -- the template you wish to edit (EG myff_howtodoit1)--- Submit
Now look at the bottom in the area marked Choose Portal template File to Edit use the drop down bar and find cms_HACKERLVL and copy and paste this code into it
<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 Karma: {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>
click submit Then You now need to set up 2 profile fields
hackerlvl, and hacker_count exactly how you did the karma mod except without the total field.
Admin Panel --- Styles Admin---Edit Templates/Logos
Now by using the drop down bar select the template you wish to edit.
Now by using the drop down bar Titled
Choose Forum template/javascript/css File to Edit
Now find viewtopic_body.tpl
I edited the karma code as follows
<br/> <a href="javascript:void(0)" onclick="window.open('addrating.php?userid={postrow.POSTER_ID}&component=HACKERLVL', '_addrating', 'resizable=yes,width=500,height=360')">Add HACKERLVL</a><br/> <img src="ranks/Hearts/rankl{postrow.KARMA}.gif"></span> </span>
click submit
now select profile_view_body.tpl: and add
<tr><tr><td>
<a href="javascript:void(0)" onclick="window.open('addrating.php?userid={USER_ID}&component=HACKERLVL', '_addrating', 'resizable=yes,width=500,height=360')">Add HACKERLVL</a><img src="ranks/Hearts/rankl{KARMA}.gif"></span></td></tr>
click submit
now the only question i have is this is there a karma image with more hearts, Or how can you add your own rank image to this?
|
Danny M
|
Shouldnt be in this section
|
Symon
|
I,m not sure what you have done or trying to show ?
Is it 2 separate ratings hack ?
|
Nick(NR)
|
two karmas, one being a way to show ranks differently.
|
Symon
|
| Nick(NR) wrote: | | two karmas, one being a way to show ranks differently. |
I see two karmas just 2 different names.
|
James Dawes
|
sorrysorry about putting the topic in the wrong place. I just wanted to prove to myself that i can do it. I didnt believe in myself! I blew my own mind. like i said i just want to now if there is an image with more hearts that i can replace the five, or create my own image to put in its place.
I posted exactly what i did and what code i used. All i did was follow your directions and minipulated the code. I really thaught you guys would like it.
jamie
|
Symon
|
Re: sorry | James Dawes wrote: | sorry about putting the topic in the wrong place. I just wanted to prove to myself that i can do it. I didnt believe in myself! I blew my own mind. like i said i just want to now if there is an image with more hearts that i can replace the five, or create my own image to put in its place.
I posted exactly what i did and what code i used. All i did was follow your directions and minipulated the code. I really thaught you guys would like it.
jamie |
Not saying i didn't like it, just got confused as it was in rank images and i thought after previous threads that you were showing two rank images .
|
|
|