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


![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| 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 |
| ||||
| 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. |
| |||
| 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="<data:post.url/>";</script> <script src='http://www.yoursite.com/evb/button.php' type='text/javascript'/> |
| |||
| 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? |
| |||
| 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 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. |
| |||
| Quote:
|
| |||
| 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> |
| |||
| When you click the vote button on our site it just produces a blank screen on our pligg site. Any ideas? |
| |||
| works great for me thanks |
| |||
| 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. |
![]() |
| Thread Tools | |
| Display Modes | |
| |