Navigation

Pligg Support

The Statistics Widget was returning "UNKNOWN" for the MySql version. To fix it:
Open /widgets/statistics/templates/widget.tpl
On LINE 138, delete this bloc of code between the {php} and {/php}. It is returning an empty array:
function find_SQL_Version() {
$output = shell_exec('mysql -V');
preg_match('@[0-9]+.[0-9]+.[0-9]+@', $output, $version);
if ($version[0] != ''){
return $version[0];
}else{
return 'Unknown';
}
}
echo find_SQL_Version();

Replace it with the following block, between the {php} and {/php}
$link = mysqli_connect(localhost,EZSQL_DB_USER,EZSQL_DB_PASSWORD);
/* check connection */
if (mysqli_connect_errno()) {
printf("Connect failed: %sn", mysqli_connect_error());
exit();
}
$my_sql = mysqli_get_server_info($link);
//$my_sql returns will be something like the version and -log (5.5.24-log). we have to just grab the version number
$my_sql_version = substr($my_sql, 0, strpos($my_sql, "-"));
echo $my_sql_version;
mysqli_close($link);

https://github.com/redwinefireplace/pligg-cms/commit/f5093812849ef56bc7c3b8c34e97e63f06767a25
Step One

If we set the value of ā€œNegative votes to remove submissionā€ in Admin Panel -> Settings -> Voting to any number other than zero, all submitted stories after this change will be discarded. The code is inaccurately processing the ā€œburies_to_spamā€ variable which reflects the value set above.

To fix this bug see the link:

http://pastebin.com/9EdtzV1y


Step Two

In Admin Panel -> Settings -> Voting -> Negative votes to remove submission is set to 0 by default. However, in the current code, this defined variable that is assigned to buries_to_spam does not achieve its goal to set the story status to 'discard' when it reaches the number we set in here. As a matter of fact, even with the default value of 0, the story will be sent to discard. The fact is that the function evaluate_formulas () in \libs\link.php is what decides the status of the story when the formula set in the table_formulas is evaluated.

See the complete trace and fix:

http://mymonalisasmile.com/upload/Negative-votes-to-remove-submission.html
Freshly installed Pligg 2.0.2 and no changes on any settings and template.

All submissions were not successful because it will show: "URL is invalid or blocked:" even though URLs are valid.

Even if Submit > Validate URL is set to false, it still shows that error.
Hey i was wondering if it was possible to manually sticky/feature items at the top of the home page. Is there a module do this? I want to have "editor's picks" at the top, so people can easily see what i think is the best content.
There was a bug with already voted and already buried buttons.
When a person voted for or buried something the buttons changed classes into btn-success or btn-danger. After refreshing page the buttons stayed as they were supposed to. When a person changed his/her mind and wanted to 'un-click' the vote, btn-succes or btn-danger classes were removed and the link for already voted or already buried lost a btn class and was left without any indicator that it's a button.
Now it's fixed and you can see it here:
https://github.com/Bugierek/pligg-cms/commit/b2e0c7fa99616d71e8bb69e04d9a0d2353b70aad

I've created a fork request for it
In my Facebook I have the Desk Hop VNC APP. I use this with a few clients at times. My Facebook is listed in my Profile.

If you need help, are in the continental US, on a highspeed connection and a PC or Laptop, friend me then message me with your problem. I'll co-ordinate with you there.

Only Thursday nights 7PM and later , I'll pick and choose the problems and who I'll help. If this doesn't get ridiculous I'll consider extending this some.

I'm in the process of outlining a possible book or document. This is for case studies and further experience. Else this might wind up on my websites.
*** ATTENTION YANKIDANK ***
**************
I was able to work and fix all the bugs in the ā€˜Friendā€ feature. The linked file, friends-simple-messaging.html, outlines all the steps and the changes to be done.

What was done?

1. Fixed the logic of the code and eliminated the bugs that were preventing the Follow/Unfollow and also preventing the appearance of the ā€œsend messageā€ button.
2. Now, the Follow/Unfollow will only appear to the Logged in user and have a status of Following or Follower, thus eliminating all bugs and the annoyance of any user logged in or not seeing these buttons and clicking on them only to generate an error or load a 404 page.
3. Only those who are Following each other will have the ā€œSend Messageā€ feature.

Let me know how it works and if there is anything missed to improve!

Attached: the zip folder for yankidank

Video demonstrating how it became:

https://www.youtube.com/watch?v=2FFC5QlCA1A
Can anyone please update the web Toolbar module which was available in previous version.
http://forums.pligg.com/free-modules/15266-pligg-web-toolbar-module.html

It was a great feature which is not available now.

Thanks in advance
How could my Karma on Pligg Support drop overnight from 4090 to 3225 without any valid reason?!

There is something phishy here!!!

It is not the karma that matters, it is the principle. To make sure of what I am saying, open the votes table and you should see the last 2 entries under my user id....
Hi.do any body ever get this problem?..before this my url bar is look good like others but i dont know why in this two days his showing http// in that url bar..

Hope anybody help or give some solution on this.. tanks in advance.