![]() |
| | LinkBack | Thread Tools | Display Modes |
| ||||
| External Vote Button (EVB) Demo Page NOTE: This mod will be available with Pligg Beta 6, which I expect to have some type of version prepared by this weekend. You can not use this mod without the files that will be included with the next release, this is only for demonstrating purposes right now. External Vote Button (EVB) This vote button will allow you to create a vote link to an article automatically. The vote url is directed to the page the button appears on, so you will want to make sure that it appears only in the individual articles, not the archives. Once the first vote is cast it will change the "cast vote" image to "vote cast" and redirect clicks to the pligg article url. Technically you could just insert the html/php into your site's template so the vote button appears on every page and each page would be counted as seperate submissions. I'm not 100% sure if this is possible, but I believe that it could work this way. Images used: How to add an External Vote Button: Add this code to a HTML enabled blog post or article where you want the vote button to appear:Replace domain.com with your own domain where a Pligg install exists. If you wish to test a domain, try scadart.com and it should work. For PHP pages:See anexample of a PHP vote image here. Last edited by Yankidank : 02-23-2007 at 11:32 PM. |
| The Following 4 Users Say Thank You to Yankidank For This Useful Post: | ||
| Sponsored Links |
|
Check out the New Templates at the Pligg Pro Shop.
|
| |||
| awsome! I was gonna mod somethign like this myself looks sweet dude! |
| |||
| Will you be able to release the photoshop or original file so we can change colors easily? As I said in IRC, it looks awesome and I'll definetly be using it! |
| |||
| i like this , well done Yankidank ![]() |
| |||
| It would be great if the code was being generated automatically when the person submits a story so that he can just copy/paste it. |
| |||
| Great, well done ![]() |
| |||
| Hi This works fantastic. Just what I wanted. Its all shaping up nicely. Andy |
| ||||
| I forgot to mention this with the Beta 6 release, but the EVBs are included in the /api directory. You can check http://yourdomain.com/api/evb.html for an example of it and instructions. You will have to edit 1 or two files in the api directory to point to your domain. |
| |||
| Hi Now that I have used this a little I have found a small bug. When an article has already been pligged then it works great. It shows the number of votes and takes you to the pligg story, as it should. When you are a member and logged onto Pligg then the button goes to the submit page as it should, prefilling the fields etc. But.. When you are not logged in clicking the pligg button results in a 404 as the url goes a bit wrong. It attempts to take you to the login screen but appends the url and therefore doesn't work. Is this an easy fix? Andy |
![]() |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| delay vote number change | cryptkeeper | General Help | 2 | 01-31-2006 12:19 AM |
| what is the code that does vote update | cryptkeeper | Pligg Templates | 1 | 01-30-2006 02:16 PM |
| Vote Count Box | ascendchris | Pligg Templates | 8 | 01-28-2006 09:43 AM |





looks sweet dude!
Linear Mode

