Navigation

Pligg Support

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'; }"
to
"public
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 allgeek.com and let me know what you think.
Trev
The Last Logged in Users Widget is not working at all. I found and fixed the following (click the link to view the explanation):
http://mymonalisasmile.com/upload/last-logged-in-users-widget.html

You can get the fix from my Pligg fork at:
https://github.com/redwinefireplace/pligg-cms/commit/743c7f20869c5eda97c4902a0eb932a8fcbb7715
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
I installed it and it was only returning empty placeholders. I noticed at the bottom of /widget.tpl the following:
ProFeed("http://www.pligg.com/pro/feed.php",$proitems);
//ProFeed("http://pligg.com/wp-content/recent-global-posts-feed.php?posttype=product",$proitems);
// Need to switch this to Feedburner after Pligg.com re-launch
//ProFeed("http://feeds.feedburner.com/PliggPro",$proitems);

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:
http://pligg.com/pro/images/products/thumb_160_email_add.png

Even the links to the products are broken!
http://pligg.com/pro/index.php?l=product_detail&p=160
How can we fix this and where is the right source for the thumbnails and products?

Thank you!
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?

Thanks!
How can I have the category title display as translated text?
The pligg categories table in database already contains a "lang" field, but manually entering a new record with adequate title and lang is not enough.
Since categories are only editable by admins it's fine by me to use the file-based translation mechanism too.
Is it readily possible? planned? how can I help?
A user that is logged-in is allowed to change pligg's interface language... but only after registering with the form displayed in the site default-language.
I'd like to allow users to land on a page in their favorite language (eg via url param ?lang=de) or at least have a switch in the tempate header to select another (active) language.
How would that be possible?
Hey guys, can you please solve this problem. The previews is not showing title and description but it starts appearing when i remove/add a character to title and description

Please solve this problem asap
check the image
Had my 1.2 site, I changed my hosting and did upgrade to 2.0, but sent links do not appear anywhere. When you click submit link it directs to the new links, news.php, but new links do not appear.
already installed a new copy and has also bought a premium template. But does not work.

Simply click on send history, after all filled, but the stories do not appear.
Can someone please help me?
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: github.com/berteh/pligg-cms/commit/7b60e887e6bb1c70db2bf6d2ea398981f46d4b0f