Quote:
Originally Posted by sickstrings
Great Mod! Can someone provide instructions on how to make the mod use these "thumb" icons? I already downloaded the images... no what?
|
Go to Manage Products.
Edit the product called "EWT - User Powered Moderation System Lite"
Go to "Styles & Templates" and select the Edit link for the template "
ewt_upms_postlinks".
This is where the html is for displaying info.
Here's the code I use for my set up. You can probably adjust it to fit how you want to set it up. Also don't forget to upload the images found elsewhere in this thread.
Code:
<span id="post_$post[postid]_hidden" $spanstyle class="smallfont">Post by $post[username] below threshold </span><a href="#post$post[postid]" onclick="alterpostdisplay('post_$post[postid]'); return false;" class="smallfont">Toggle</a> ($post[rating]) <span id="upms_$post[postid]"><a href="misc.php?do=upms_non_ajax&p=$post[postid]&ratingvalue=positive" onclick="upms_process('$post[postid]', 'positive'); return false;"><img src="images/up.png" border="0"></a> <a href="misc.php?do=upms_non_ajax&p=$post[postid]&ratingvalue=negative" onclick="upms_process('$post[postid]', 'negative'); return false;"><img src="images/down.png" border="0"></a></span>
Copy/paste the above into notepad or something to edit it.
You can see the img src tags in there. The images are in the ./images folder for my set up.
I also added parenthesis around the score and took out the brackets ("[ ]").
You'll need to play with it to get it to work for you.
I hope this helps!
You can see it running at
http://www.politicalforums.net