Navigation

Pligg Support

Hi im trying to export the emails so i can import them to mailchimp i have tried this code but no joy

SELECT `user_login`, `user_email`

FROM `pligg_users`

INTO OUTFILE "c:emailaddresses.csv"

FIELDS TERMINATED BY ','

ENCLOSED BY '"'

LINES TERMINATED BY 'n';



Thanks
Ian
How do i turn off email activation im using 1.2.2
So what is with those ChuckRoast Mods? Are they legit or what? It keeps saying that "This Account Has Been Suspended" I want to get my site up and running and that mod looked like it fit the bill.
When you create a group you can limit the minimum votes to publish a story to the group. No matter what is the number (e.g 15), any story with any number of votes can be pulished.

Thank you.
i have pligg cms social bookmarking website. i try to add google analytics on this but i can't do this. i search it on google but i can't find it. if you have any solution then please provide me and also give me all steps snapshots if it possible.
i have pligg cms social bookmarking website. i try to add google analytics on this but i can't do this. i search it on google but i can't find it. if you have any solution then please provide me and also give me all steps snapshots if it possible.
Reference post http://pligg.com/support/question/groups-role-doesnt-work/#question

I fixed the issue with banned or flagged members being still able to share and do activities as normal. In addition, I am working on fixing the issue of the Edit button being displayed, even for the Group Creator and Group Admin, which is incorrect and leads to no effective actions.

The questions is:

If there is another Admin and Moderators of the Group:

1- None of the privileges are displayed to them
2- The second Admin can ban, flag, change role of the creator of the Group BUT CANNOT deactivate the Creator and Admin of the Group. However, a Moderator can do all!!!

Are Admins and Moderators supposed to have banning, flagging, editing members roles and status privileges the same as the Creator? Are they supposed to apply those privileges even on the Creator of the Group?

Please provide the answers so that I continue fixing the groups features accordingly!


If the Group creator "Banned" a Group member, it has no effect and the banned member can still share stories to that Group. The banned member's profile shows he's still joined in that group.

If the Group creator edit the member to become Admin or Moderator, the edited member still doesn't have permissions as an Admin or moderator.

The Group creator can even banned himself and still he's the Admin of that group. IMO, the original Group creator should not be able to banned himself or set it's role to just Normal & Moderator.

I am working on the groups system and came across a bug. I traced it and discovered the following:

The canIhaveAcess concept is erroneous and extensively redundant anywhere in the Pligg CMS files. In some places, the access is not granted to the Site Admin because it is overridden (not only in the groups), and here is how:

In \editgroup.php, LINE 19 to 30, we find:

//check group admin
$canIhaveAccess = checklevel('admin');
$canIhaveAccess = checklevel('moderator');

if($current_user->user_id != get_group_creator($requestID) && $canIhaveAccess != 1)
{
//page redirect
$redirect = '';
$redirect = getmyurl("group_story", $requestID);
// header("Location: $redirect");
die;
}

The second $canIhaveAccess, on LINE 21, is overriding the first and only the moderator is granted access to edit. If it happens that the logged in is the site Admin, no access is granted unless the Site Admin is the creator of the group, while if the logged in is a moderator, a full access is granted to him/her.

Now, if the concept is that the Site Admin and Moderators are supposed to be able to edit any group, then we must modify the code.

Open \editgroup.php, and replace the bloc of code from LINE 20 to 21:

$canIhaveAccess = checklevel('admin');
$canIhaveAccess = checklevel('moderator');

With this block of code:

$canIhaveAccess = 0;
$canIhaveAccess = $canIhaveAccess + checklevel('admin');
$canIhaveAccess = $canIhaveAccess + checklevel('moderator');

To explain:
Hi chuckroast, i have enable the story counter in every story on index.php. but the problem is when user visit the index.php,all of the story will count 1 for i visit.. so if index.php get 10 visits,all the story list also get 10 counter..

How to so the only story has visitor will get count?