My EVB

Register an Account
Pligg Chat Room
Reply
 
LinkBack Thread Tools Display Modes
  #211 (permalink)  
Old 09-29-2008, 06:29 PM
New Pligger
 
Join Date: Sep 2008
Posts: 1
HEy

This works great for me on a wordpress site of mine, my problem is to figure out, how to get the button in a joomla article. Anyone knows that?

Thanks
Reply With Quote
  #212 (permalink)  
Old 10-16-2008, 04:08 AM
peppolone's Avatar
Pligg Donor
Pligg Version: 995-54
Pligg Template: upnews.it
 
Join Date: Dec 2006
Location: rome
Posts: 177
I found a bug so logged user can vote many times whit different ip
i changed
if(anonymous_vote == "false") {
$vote_check = mysql_query("SELECT vote_id FROM " . table_votes . " WHERE vote_link_id=\"$link_id\" AND vote_user_id=\"$userid\" AND vote_type='links' LIMIT 1");
} else {
$vote_check = mysql_query("SELECT vote_id FROM " . table_votes . " WHERE vote_link_id=\"$link_id\" AND vote_ip=\"$ip\" AND vote_type='links' LIMIT 1");
}
to
if(anonymous_vote == "false") {
$vote_check = mysql_query("SELECT vote_id FROM " . table_votes . " WHERE vote_link_id=\"$link_id\" AND vote_user_id=\"$userid\" AND vote_type='links' LIMIT 1");
} else {
$vote_check = mysql_query("SELECT vote_id FROM " . table_votes . " WHERE vote_link_id=\"$link_id\" AND vote_user_id=\"$userid\" AND (vote_user_id!=\"0\" OR vote_ip=\"$ip\") AND vote_type='links' LIMIT 1");
}

Last edited by peppolone; 10-16-2008 at 09:13 AM.
Reply With Quote
  #213 (permalink)  
Old 10-25-2008, 05:39 AM
Donor
Pligg Version: 9.95
Pligg Template: CMSTHEME
Donation Level 2 
 
Join Date: Jun 2008
Location: India
Posts: 27
I saw many people are not able to install my evb on the blogspot. Well I have try to find out the code and the code works well.

My code to put in blogger.

HTML Code:
<script type='text/javascript'>
submit_url=&quot;<data:post.url/>&quot;;</script>
<script src='http://www.yoursite.com/evb/button.php' type='text/javascript'/> 
Reply With Quote
  #214 (permalink)  
Old 11-06-2008, 10:57 AM
Casual Pligger
 
Join Date: Nov 2008
Posts: 31
I think, that the extension .php is filtered. This is the case of my own biggest site where I can put button with .js from other bookmarking service, but not with .php extension.
Is there way to make js version of the voting procedure?
Reply With Quote
  #215 (permalink)  
Old 11-24-2008, 05:42 AM
Casual Pligger
 
Join Date: Jan 2008
Posts: 46
Well..
You can make apache to parse .js file as php, that way other places like blogspot will consider it as .js while it is actually a php file.

Simply add following in .htaccess in evb folder

Code:
AddHandler application/x-httpd-php .php .js
Now rename button.php to button.js

And should work.


EDIT: Tested and working fine, to be safe, I have placed both button.php and button.js in /evb folder so that people who are already using button continues to use it without any update. I hope it helps.

Last edited by Jaffery; 11-24-2008 at 05:54 AM.
Reply With Quote
  #216 (permalink)  
Old 11-24-2008, 06:05 AM
Casual Pligger
 
Join Date: Jan 2008
Posts: 46
Quote:
Originally Posted by webfinity View Post
I'm having a problem getting the button to display correctly on the homepage. I have a WP blog, and it shows the entries on the homepage and on the actual blog page. The button works correctly on the blog page #1 in Google in 1 Week | Website Promotion that was submitted to my pligg site, but the same button does not register the votes on the homepage Website Promotion.

FYI - I'm using the advanced method.

Thanks!
Currently your site is not working at all
Reply With Quote
  #217 (permalink)  
Old 02-08-2009, 09:46 PM
New Pligger
 
Join Date: Apr 2007
Posts: 3
hello,
i kinda read all the posts and i am having hard time deciding following credential
submit_url = 'http://www.targeturl.com';

what does this mean.?

i mean is this whole EVB system is dependable on the target website for ADVANCED METHOD

will following code change for wordpress,blogger.. and other blog sites??

<script type="text/javascript">submit_url = 'http://www.targeturl.com';</script>
<script type="text/javascript" src="http://domain.com/evb/button.php"></script>

is following code for wordpress??
<script type="text/javascript">submit_url = '<?php the_permalink() ?>';</script>
<script type="text/javascript" src="http://www.domain.com/evb/button.php"></script>
Reply With Quote
  #218 (permalink)  
Old 02-16-2009, 07:09 PM
New Pligger
Pligg Template: socialcms
 
Join Date: Feb 2009
Posts: 2
When you click the vote button on our site it just produces a blank screen on our pligg site. Any ideas?
Reply With Quote
  #219 (permalink)  
Old 02-17-2009, 07:10 AM
New Pligger
 
Join Date: Feb 2009
Posts: 5
works great for me thanks
Reply With Quote
  #220 (permalink)  
Old 02-22-2009, 09:19 AM
New Pligger
 
Join Date: Feb 2009
Posts: 10
Successfully added the code (button) on external website but when I clicked on it goes to my pligg site then on Step 2 Submission only the Source Story URL was filled.

The bad thing is this Source Story URL have my domain on its link like hxxp://www.mypliggsite.com/www.myexternalsite.com/article. So it will go to 404 pages when users click the outgoing link on my site.

This only happens by external submission, direct submission (Submit a New Story) on my pliggsite produce the right outgoing link.

Last edited by feedoholic; 02-24-2009 at 09:16 AM.
Reply With Quote
Reply

Thread Tools
Display Modes




Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development