

![]() |
| | Thread Tools | Display Modes |
| |||
|
edited text
Last edited by abcdefgary; 01-02-2010 at 08:14 PM. |
| ||||
|
even if i don't wind up using this, i wanted to thank gary for acknowledging the communities request and banging this out. its a 'good thing' for the forum
|
| |||
|
Will this work with earlier version of Pligg. Im still using 9.1. I hope it does this would be perfect.
|
| |||
|
Great mod, thanks! However, would recommend instead of using This {else} <a href="{$story_url}"{if $Voting_Method eq 1} onclick="javascript:{$link_shakebox_javascript_vot e}"{/if}>{$title_short}</a> {/if} {/if} </div> I recommend this {else} <a href="{$story_url}"{if $Voting_Method eq 1 && $link_shakebox_currentuser_votes eq 0 && $link_shakebox_currentuser_reports eq 0} onclick="javascript:{$link_shakebox_javascript_vot e}"{/if}>{$title_short}</a> {/if} {/if} </div> This will about getting the popup saying that the story is already voted |
| |||
| |||
|
hey loose, It worked on my site. There are a few little things that you have to take care of. If you copy and paste, you have to make sure that you post the word "vote" as one word, not as "vot" (space) "e" which can happen due to the line break in the post. Also you have to paste the code into 5 different places, not one as implied above. You have to paste the code to replace the three other similar spaces directly above (the <a> links with either $url or $story_url). You will then have to adjust the code you are pasting ($url is either remains $url or changes to $story_url accordingly). Then you have to look down the page into the section for newly submitted stories, and paste the code once there, replacing a similar piece of code. Hope this helps, I know the examples aren't illustrated as clearly as possible, but it should be enough to get you past this little bump in devel. B medicalschoolresources.com |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| counting clicks instead of votes | lumpen5 | Questions and Comments | 45 | 01-17-2011 09:44 AM |
| Counting Clicks instead of Votes | kahunabear | Questions and Comments | 14 | 11-21-2010 09:57 PM |
| [Mod] Category Count - Final | Geoserv | Questions and Comments | 25 | 01-31-2010 06:15 PM |
| News based on Clicks instead of Votes | mde05 | Questions and Comments | 2 | 01-14-2008 09:32 AM |
| Registering Clicks instead of Votes | kahunabear | Questions and Comments | 2 | 02-01-2007 07:50 PM |