I dont see a pligg button in the example, did I miss it?
Geoserv


![]() |
| | Thread Tools | Display Modes |
| |||
|
I dont see a pligg button in the example, did I miss it? Geoserv |
| ||||
|
Unfortunately from the link provided by kb - the EVB image is removed |
| |||
|
I got the the half cut off Not on my test page as well. Here is what you need to fix to make it work 1) If your pligg install is under a subdir for example mysite.com/pligg rather then just mysite.com then you will need to edit evb/check_url.php and look for the 3 image paths. The first one reads $mnm_over = "/evb/img/over-01.png"; you need to change it to have your directory at the front $mnm_over = "/pligg/evb/img/over-01.png"; do that for the other two images as well. this will make it so the images work. 2) There is a typo in evb/check_url.js.php Look for the line that looks like var url = 'httpblahblahblah ?>/api/check_url.php?url='document.URL; You need to replace api with evb for example var url = 'httpblahblahblah ?>/evb/check_url.php?url='document.URL; and if you were using a subdirectory for your install (#1 above), then you will need to add that path also, for example var url = 'httpblahblahblah ?>/pligg/evb/check_url.php?url='document.URL; hopefully someone who does the nightly builds can make these fixes. |
| |||
|
I've got this feature working on a test site at the moment. I made up some new images, and it's ok, but it would be nice to get the vote total to show up on the external site. On mouseover, I do see the vote total as the link title, but has anyone worked out how to get the vote total to disply over the image? If you make new images for it, you have to change the image sizes at 2 locations in check_url.js.php at about line 17 and line 20. I tried a few mods to check_url.php, but none achieved the desired result. I guess it is beyond my limited ability. |
| |||
|
You can put echo $res->link_votes; to get the number of votes. It doesn't have to only be in the title when you hover.
|
| |||
|
Thanks! I think I got it now! There were a few things I had to do. I had to enlarge my sizes on check_url.js.php so there was room for the vote count to show under the images, and I had to use: PHP Code: Now, after dinner, I am going to work it out to get it exactly the way I want it to display, over the images, and then post it here for posterity. ![]() Regards, Jim |
| |||
| Quote:
I think that the best way to make digg style button (like digg it!) (with another images) with vote count. Thanks. |
| ||||
|
A couple of things I want to mention. First, I'm still having trouble getting the EVB to work. I've read this entire thread and still it fails. - The 'evb' file and all contents are located on the server. - My pligg is not in a subdirectory... the pligg is www.faithtag.com - The code in the URL line in the check_url.js.php file is as follows: Code: var url = 'http://<?php echo $_SERVER['SERVER_NAME']; ?>/evb/check_url.php?url='+document.URL; - The code used on my blog test page is as follows: Code: <script type="text/javascript" src="http://www.faithtag.com/evb/check_url.js.php"> Second, I found it interesting that the promotion example shown in the ad above my form field box displayed a Digg-like count box with a "vote" button underneath (see second screenshot), but that this feature is not yet available. |
| |||
|
maybe you should check this thread out. It's a lot newer and has more features My EVB |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Vote button not updating dynamically | aufotookbigfoot | Questions and Comments | 5 | 04-18-2008 04:16 PM |
| External Vote Button and Google | mankal | Questions and Comments | 1 | 03-27-2008 12:27 PM |
| Need help with External Vote Button Please! | bbrian017 | Questions and Comments | 10 | 01-30-2008 06:28 PM |
| External Vote Button Bug | pornlord | Questions and Comments | 4 | 05-15-2007 10:59 AM |
| Vote button links to story page after voted | canadaka | Questions and Comments | 1 | 04-02-2007 12:12 PM |