My EVB

Register an Account
Reply
 
Thread Tools Display Modes
  #161 (permalink)  
Old 10-13-2007, 05:57 AM
Casual Pligger
 
Join Date: Jul 2007
Posts: 61
I realise that even though i have anonymous voting set to false that If i click the button to vote i am not redirected to a login page but instead the vote is issued, as if anoyomous voting was set to true.

Is this how it works?
Reply With Quote
  #162 (permalink)  
Old 10-13-2007, 09:05 AM
Casual Pligger
 
Join Date: Jul 2007
Posts: 61
Where is this anonymous_vote variable. It is used in pliggit.php

but the way it is used does not seem logical.

eg. if (anonymous_vote == false)

The think is anonymous_vote contains the value "false" as in the string, but not false as in the boolean value ... so the usage of it as currently used baffles me!

Should it not be if (anonymous_vote == "false")

Else where in the core system it does treat anonymous_vote as boolean like...but strangely using it in a boolean like way in the pliggit.php seems not to work. its filled with a text string equals to either "false" or "true" as oppose to false or true.

when i adjusted it then force authentication sprang to life.

Last edited by sefs; 10-13-2007 at 09:29 AM.
Reply With Quote
  #163 (permalink)  
Old 10-13-2007, 11:36 AM
New Pligger
 
Join Date: Oct 2007
Posts: 12
I'm still getting the same errors with those files. I replace my evb files with those and included it on one of my other sites...
The Razorback Legacy | Arkansas Razorback Football Results from 1894 to 2007

but still getting the error when I try to submit it.
URL is invalid or blocked: (The Razorback Legacy | Arkansas Razorback Football Results from 1894 to 2007)

btw: i'm using...
$url_mod = 1; //change value to 1 if you are having problems with 406 errors, otherwise don't touch!

0 wasn't working.
Reply With Quote
  #164 (permalink)  
Old 10-13-2007, 12:23 PM
Casual Pligger
 
Join Date: Jul 2007
Posts: 61
That is a good idea, I tried this, but i really dont know if a seach engine will pick it up as a valid link back.

I put a 1x1 transparent image into the img folder of the evb and in the button.php file just below where the iframe is written out i put this...

Code:
document.write('<a href="<?php echo $server; ?>"><img src="<?php echo $server; ?>/evb/img/spacer.gif" alt="<?php echo $server; ?>" width="1" height="1" border="0"></a>')
which is basically a spacer image linked back to the pligg site.
can anyone say if this would work?

UPDATE 1: Looks like that method will not work. Search Engines cant read the output of document.write *sighs*

Quote:
Originally Posted by floweroflove View Post
I loved the evb, it works great. Is there a way to add in the evb code a link back to ur site in a way the SE count it for seo purpose? tnx and sorry for my english, i hope u got it, lol

Last edited by sefs; 10-13-2007 at 02:05 PM.
Reply With Quote
  #165 (permalink)  
Old 11-11-2007, 03:59 PM
New Pligger
 
Join Date: Oct 2006
Posts: 4
Hi,

Just a couple of questions about your evb fix.

First of all, why does the button display so oddly as it does on a page of mine like:

Google

and secondly, why does the button not display at all if you view a proxified page via Pollination - Wikipedia, the free encyclopedia ?

Thanks very much
Reply With Quote
  #166 (permalink)  
Old 11-15-2007, 07:46 PM
peppolone's Avatar
Pligg Dev
Pligg Version: 1.1.0
Pligg Template: upnews.it
 
Join Date: Dec 2006
Location: rome
Posts: 187
All ok, but it doesn't change the status from queued to published.
Reply With Quote
  #167 (permalink)  
Old 12-01-2007, 11:38 PM
peppolone's Avatar
Pligg Dev
Pligg Version: 1.1.0
Pligg Template: upnews.it
 
Join Date: Dec 2006
Location: rome
Posts: 187
no solution to my problem?
Reply With Quote
  #168 (permalink)  
Old 12-13-2007, 10:18 AM
graphicsguru's Avatar
Pligg Donor
Pligg Version: 9.9.5
 
Join Date: Aug 2006
Location: USA
Posts: 399
any suggestion on this error I have tried all the steps on this thread but it never counts the votes
i am not sure if this error has anything to do with it just trying to narrow it down

<br />
<b>Warning</b>: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 in <b>/home/foxienew/public_html/libs/db.php</b> on line <b>233</b><br />
ERROR: PLIGG_Visual_Menealo_BadKey

all votes work in the site just not with the my EVB
Reply With Quote
  #169 (permalink)  
Old 12-19-2007, 10:56 PM
New Pligger
Pligg Version: latest beta
Pligg Template: default
 
Join Date: Nov 2007
Posts: 4
Quote:
Originally Posted by peppolone View Post
All ok, but it doesn't change the status from queued to published.
Same thing here. The vote gets counted but it won't bump stories to the front page. Does anyone have a fix for this?
Reply With Quote
  #170 (permalink)  
Old 01-11-2008, 05:52 PM
New Pligger
Pligg Version: 9.9
Pligg Template: none
 
Join Date: Dec 2007
Posts: 9
thank you simon for this must-have mod
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