Go Back   Pligg CMS Forum > Other > My Pligg Site

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-30-2005, 10:17 AM
New Pligger
 
Join Date: Dec 2005
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
APBNews.com

APBNews.com | Digging Crime News

I'm running a very early Pligg release, modified somewhat. Will be upgrading to the current release soon.

It's been tough getting the community going, but I've turned on anonymous voting, and made the stories load in a new window, both of which have helped with people reading more stories and voting on them. Once the site gets to a certain size with repeat visits/number of users, I figure I can reset these options.

Cheers,
Mubs
Reply With Quote
  #2 (permalink)  
Old 12-30-2005, 12:36 PM
New Pligger
 
Join Date: Dec 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
How do you turn on anonymous voting? Is it just the config file or is there another switch somewhere.

Thanks in advance...
Reply With Quote
  #3 (permalink)  
Old 12-31-2005, 12:28 AM
New Pligger
 
Join Date: Dec 2005
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Depends on what version of Pligg you're running. In my version I had to make quite a few edits, but I believe in the more recent releases you just need to set:

$anonymous_vote = true

in the config.php file.

Mubs
Reply With Quote
  #4 (permalink)  
Old 12-31-2005, 02:08 PM
New Pligger
 
Join Date: Dec 2005
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by iisbum
Depends on what version of Pligg you're running. In my version I had to make quite a few edits, but I believe in the more recent releases you just need to set:

$anonymous_vote = true

in the config.php file.

Mubs
I'm using the latest release, Beta 5, and there wasn't this option available in the config.php file. I'd really love the option to have anonymous voting enabled - could anyone help me out with this? Thanks in advance and i'll check back in a little while to see if a guru has been at work
Reply With Quote
  #5 (permalink)  
Old 12-31-2005, 04:05 PM
New Pligger
 
Join Date: Dec 2005
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
I download the Beta 5 release, and found I needed to make the following changes (might be good if these can get into the next release).

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)

Hope that help...

Mubs
Reply With Quote
  #6 (permalink)  
Old 12-31-2005, 07:54 PM
New Pligger
 
Join Date: Dec 2005
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Thankyou so much! Works perfect. Whadda I say about gurus? Have a great new year iisbum.
Reply With Quote
  #7 (permalink)  
Old 01-02-2006, 10:44 PM
Casual Pligger
 
Join Date: Dec 2005
Posts: 32
Thanks: 0
Thanked 12 Times in 4 Posts
mubashar,

Can you upload the files you have so that we can use those? For some reason, the .htaccess thing messes up the beta5 version that I downloaded..I am able to get the code working on my site,but lot of the links like 'discuss' , 'trackback' etc are broken....probably, i can try using the working version you have.
Reply With Quote
  #8 (permalink)  
Old 01-02-2006, 11:10 PM
AshDigg's Avatar
Coder
 
Join Date: Dec 2005
Posts: 1,574
Thanks: 235
Thanked 345 Times in 206 Posts
Either the next version, or the version after that, will allow you to choose between the /story/15/ or the old /story.php?id=15 methods.
__________________
- Ash
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

Search Engine Friendly URLs by vBSEO 3.2.0