My EVB

Register an Account
Reply
 
Thread Tools Display Modes
  #41 (permalink)  
Old 04-29-2007, 01:03 PM
Constant Pligger
 
Join Date: Mar 2006
Posts: 537
That's how anonomous voting works. It sets the userid as 0 for voting. If you want to enable it to detect a userid of a person who is logged in, you'll have to add config.php back in, but with all the extra processing and queries that include produces, it's not worth it, nor is it needed.

Does the demo work for you?

Last edited by Simon; 04-29-2007 at 01:08 PM.
Reply With Quote
  #42 (permalink)  
Old 04-29-2007, 01:12 PM
Pligg Donor
 
Join Date: Jan 2007
Posts: 86
It doesn't work for me.

Do you set the following settings?
PHP Code:
$vote_file 'vote.php'//if your installation uses menealo.php, please use that instead
$auto_vote true//true=yes, false=no 
PHP Code:
$db_table 'pligg_links'//the name of your links database table
$auto_vote 1//1=yes, no=0 
Reply With Quote
  #43 (permalink)  
Old 04-29-2007, 01:21 PM
Pligg Donor
 
Join Date: Jan 2007
Posts: 86
Sorry for my english.

Please see the picture.
Attached Thumbnails
My EVB-eeeeeee.jpg   My EVB-rrrrrrr.jpg  
Reply With Quote
  #44 (permalink)  
Old 04-29-2007, 01:32 PM
Constant Pligger
 
Join Date: Mar 2006
Posts: 537
Hard to know why that happens - since I don't see that behaviour in IE6, FF, or Opera. When do you see that behaviour happening (ie. when you click on any button, or only when you click on a button you have / haven't tried to vote on already?) and with which browser(s)?
Reply With Quote
  #45 (permalink)  
Old 04-29-2007, 01:36 PM
Pligg Donor
 
Join Date: Jan 2007
Posts: 86
Yes, when i click the button it showed the second picture. My browser is FF 2.0.0.3
Reply With Quote
  #46 (permalink)  
Old 04-29-2007, 01:40 PM
Constant Pligger
 
Join Date: Mar 2006
Posts: 537
I would guess it is something to do with the refresh function, but I have no idea why:

Quote:
function refresh(){
setTimeout("path()", 500);
}
function path(){
var sURL = '<?php echo $server; ?>/evb/url.php?url=<?php echo $url; ?>';
window.location.href = sURL;
}
There is no reason that I can see for it refreshing to a pligg page, rather than just refreshing the url.php file. You might want to try playing around with the refresh method.
Reply With Quote
  #47 (permalink)  
Old 04-29-2007, 01:53 PM
Pligg Donor
 
Join Date: Jan 2007
Posts: 86
Thanks Simon.

No idea, it doesn't work for me.
Reply With Quote
  #48 (permalink)  
Old 04-29-2007, 05:53 PM
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,215
There are a few more bugs in the latest code.

1. A semi-colon is missing on line 8 of button.php
2. Whenever I try to vote for an article (auto vote is enabled in the file and also my pligg test site) it says menealo is undefined

I double checked and both files are using the word "menealo"

Last edited by kbeeveer46; 04-29-2007 at 06:05 PM.
Reply With Quote
  #49 (permalink)  
Old 04-29-2007, 06:13 PM
Constant Pligger
 
Join Date: Mar 2006
Posts: 537
Added the semi-colon back in - I thought I'd already fixed that, but must have re-uploaded the wrong zip! As for the undefined function, I'm at a loss on that one. I'm not having any issues like that, or the refresh problem.
Reply With Quote
  #50 (permalink)  
Old 04-29-2007, 06:14 PM
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,215
I'll keep working on it.
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