Pligg Support

The current bootstrap2 theme has some hardcoded strings that I want to translate. I therefore introduced some new tags, such as {#PLIGG_Visual_More#} in the tpl and language.conf files.

I then delete the cache... and wait for the translation to show up but my new tag does not get replaced by the string from the conf files.

How can I add a new string to be translated?

see github for an example:
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];
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());
$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;
I want to download the latest Simple Private Messaging module but all I get is the Login For Download button even though I am logged in. All the button does is take me to my Pligg account page.
I installed it and it was only returning empty placeholders. I noticed at the bottom of /widget.tpl the following:
// Need to switch this to Feedburner after re-launch

So I commented the first one and uncommented the last one as it says in the comment above.

It worked, however, the images are broken in the display. The links to the thumbnails as fetched by the $rss->channel->item is a broken link:

Even the links to the products are broken!
How can we fix this and where is the right source for the thumbnails and products?

Thank you!
The Last Logged in Users Widget is not working at all. I found and fixed the following (click the link to view the explanation):

You can get the fix from my Pligg fork at:
Has anyone able to verify your website in google webmaster tools?
I have tried
1.HTML file upload (it was there for sure since clicking on the 'confirm' returns the google site verification correctly, but after click the red verify button. Google says it can't verify)
2.HTML tag
Doesn't work.
I'm using a shared host (but my others 2 sites can verify easily)

Any clue?
I think I fixed a small bug in the twitter login app.
It was requireing you to authorize the app everytime you logged in.

In twitter.php I changed the line from "public function authorizeURL() { return self::$TW_API_ROOT.'/authorize'; }"
function authorizeURL() { return self::$TW_API_ROOT.'/authenticate'; }"

and that seems to have done the trick.
Now if I can only get facebook to pull in the user image I'd be golden.

Anywho. Check out what I'm doing at and let me know what you think.
I would like to change up and down (hands) icons on Pligg 2.0.2 with bootstrap theme, please.
I can't find jpg, gif or png on templates/bootstrap/img directory.

thank you :)
Dear Team,

My hosting proivider, bluehost recently had to clean up my install due to a malware infections from a wordpress plugin on another site/folder.
After clean up, I get gibberish when viewing the site in any browser. Also get the same trying to log into the admin.
Am I screwed? Or can this be recovered?

The site is:


As there is no DELETE user function in Pligg, I used KillSpam User function on two test accounts.

Unfortunately, this action has BLOCKED my IP, and I cannot create new users form my IP address now.

Q: How to unblock my IP?