Go Back   Pligg CMS Forum > Pligg Development > Bug Report

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-31-2005, 04:10 PM
New Pligger
 
Join Date: Dec 2005
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
anonymous voting

posted this in another thread, but this probably should be here to:

I download the Beta 5 release, and found I needed to make the following changes to make anonymous voting to work.

1) js/xmlthttp.js
line: 64 changed to

if (false && user == 0) {

2) config.php
added: $anonnymous_vote = true;

3) libs/link.php
line: 334 changed to

global $anon_karma, $anonnymous_vote;

line : 348 changed to

} else if (!$anonnymous_vote)

Mubs
Reply With Quote
  #2 (permalink)  
Old 01-01-2006, 10:41 PM
Casual Pligger
 
Join Date: Dec 2005
Posts: 31
Thanks: 0
Thanked 3 Times in 2 Posts
Send a message via AIM to williamboliver Send a message via MSN to williamboliver Send a message via Yahoo to williamboliver Send a message via Skype™ to williamboliver
Sweet! I was wanting to do that until my site starts getting some traffic. Thanks!!!
Reply With Quote
  #3 (permalink)  
Old 01-17-2006, 03:57 PM
New Pligger
 
Join Date: Dec 2005
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
anon - possible error

Quote:
Originally Posted by iisbum
3) libs/link.php
line: 334 changed to

global $anon_karma, $anonnymous_vote;

line : 348 changed to

} else if (!$anonnymous_vote)

Mubs
For me in Beta5 line 348 was "{". 349 was "{ else". I had to change line 349 -not- 348.
Reply With Quote
  #4 (permalink)  
Old 02-12-2006, 02:45 AM
New Pligger
 
Join Date: Jan 2006
Posts: 14
Thanks: 1
Thanked 0 Times in 0 Posts
I am using beta 5.10, not work for me, anyone can help?
Reply With Quote
  #5 (permalink)  
Old 02-12-2006, 03:15 PM
Casual Pligger
 
Join Date: Dec 2005
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
Me either, as discussed here: http://www.pligg.com/forum/showthrea...nonnymous_vote

Based on the reports of 3 people, this code does not seem to work in version 5.10 of Pligg. I'm not sure why though.

I'd really like to have this as a configurable option. Ash, I'd wash your car... someday.
Reply With Quote
  #6 (permalink)  
Old 02-12-2006, 09:09 PM
AshDigg's Avatar
Coder
 
Join Date: Dec 2005
Posts: 1,574
Thanks: 235
Thanked 345 Times in 206 Posts
Try adding this along with the above instructions....

link.php at or around line 351

change from
global $anon_karma;
to
global $anon_karma, $anonnymous_vote;


Edit: I just realized that this is in the original post... for some reason I overlooked it.
__________________
- Ash

Last edited by AshDigg; 02-12-2006 at 09:45 PM..
Reply With Quote
  #7 (permalink)  
Old 02-13-2006, 10:12 AM
New Pligger
 
Join Date: Jan 2006
Posts: 14
Thanks: 1
Thanked 0 Times in 0 Posts
It works now. Thanks!
Reply With Quote
  #8 (permalink)  
Old 02-14-2006, 05:46 PM
Casual Pligger
 
Join Date: Dec 2005
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
Ah, it works for me too now. Thanks Ash!
Reply With Quote
  #9 (permalink)  
Old 02-25-2006, 09:16 PM
New Pligger
 
Join Date: Feb 2006
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
how 2 modify for 6.1? Is the same way?
Reply With Quote
  #10 (permalink)  
Old 03-07-2006, 12:11 PM
New Pligger
 
Join Date: Feb 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
I'd like to do this for 6.1 as well...anyone try this with 6.1 and have it work?
Reply With Quote
Reply

Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
Anonymous Voting?? Hershey Bug Report 4 05-02-2007 09:39 AM
Anonymous voting not working? en3r0 UpstartAqueous 2 04-16-2007 10:48 AM
Allow anonymous voting enabled but Js error channelztv General Help 5 04-14-2007 10:38 PM
Need help with Anonymous voting. Cazem General Help 15 02-27-2007 04:22 PM
Anonymous voting bug konakevin Bug Report 11 11-02-2006 11:08 PM


Search Engine Friendly URLs by vBSEO 3.2.0