Navigation

Pligg Support

When I add a new page from the admin panel it doesn't dynamically add to the navigation bar. I've had to go into the header.tpl file to manually enter it.
Two issues I'm having:
1. Is there a way to use smarty code for the ahref to the page?
2. For the if statement to set the page to active I only have the option of $pagename eq "page" for it work with a custom page. However I have more than one custom page so they are all showing as active. Is there a different variable I could use? I try writing in the page name I've assigned but it doesn't work.
I find that /story/###/edit/ or editlink.php loads very slowly and needs php memory resources to be set very high to load at all. All other pages load fast. What can I do to fix this?
I am posting this as an instructional post for those who might ask this common question. You can find a 1 minute Youtube video that details the process here: https://www.youtube.com/watch?v=SZiCcZhjAh8

When you manually delete, as a user and publisher of the story, or as admin delete a story or remove all discarded stories from the Admin panel, the tag_cache table is deleted as well and you are left with no tags in the sidebar or the cloud, until you manually edit a story and add/remove tag or after a new story submit.

To fix this bug, follow these steps:
1- Open adminadmin_delete_stories.php
2- Go to line 82 or look for:

$query="DELETE FROM " . table_tag_cache;
if (!mysql_query($query)) {error_page(mysql_error());}

Insert right after it this code:

$sql="INSERT INTO ".table_tag_cache." select tag_words, count(DISTINCT link_id) as count FROM ".table_tags.", ".table_links." WHERE tag_lang='en' and link_id = tag_link_id and (link_status='published' OR link_status='new') GROUP BY tag_words order by count desc";
if (!mysql_query($sql)) {error_page(mysql_error());}

Save and close
3- Open delete.php
4- Go to line 133 or look for:

$db->query("DELETE FROM ".table_tag_cache);

Insert right after it this code:

$db->query($sql="INSERT INTO ".table_tag_cache." select tag_words, count(DISTINCT link_id) as count FROM ".table_tags.", ".table_links." WHERE tag_lang='en' and link_id = tag_link_id and (link_status='published' OR link_status='new') GROUP BY tag_words order by count desc");

Save and close.

What we did here is we rebuilt the tag_cache table after every delete.
For those that are unaware disaster struck the other day. My entire house collapsed into a sinkhole and I'm now homeless. I've lost everything but the clothes on my back. The Red Cross has me set up in a motel till tomorrow. I am doing everything I can to find a place to live right now and my resources are very low so I've set up an Indiegogo page about it and updating it as I go. I won't be able to do any custom work, installations, or provide support here until I can get into a place and set up again. Please help me get back to Pligging full time again.

http://www.chuckroast.net/news/everything-has-collapsed/
I purchased the skins package last night and have yet to be able to download them. Is there a way to gain access to those skins?
I have installed the latest version of Pligg on my website and have a few issues:

1. When I login to my admin panel, the last logged in widget says it's unable to select database.

2. When I tried to submit my first story, it did not go through and there were no error messages.

3. When I try to edit the template, I get a 403 error.

Everything else seems to work well. How can I fix these errors?
I also bought the twitter module and after it was installed too, when you click on the link either from the login or register, it doesn’t work too. It brings up the message “Fatal error: Uncaught exception ‘TwitterException’ with message ‘Request to http:// api.twitter.com/ oauth/request_ token?oauth_ version=1.0&oauth_ nonce=…….. ”
the message is too long.

Please what do i do? how do i correct it and make it work?


Please how do i add a post/comment under the review section of the twitter module page? I tried adding the above post so that i can get help but it didn't come up. The posts i added under the facebook module page has remained as "your comment is awaiting approval" for a very long time. And another user's post has even come up before mine. Can one get help here for a product he bought here? All i want is help for a product i bought here. Please can anyone help me?
The Pligg download points to 2.0 RC1 but I supposed there's a RC2 as per the announcement.
I followed the setup of the Pligg Twitter Module and I am getting this error when I try to click the twitter connect:
Fatal error: Uncaught exception 'TwitterException' with message 'Request to http://api.twitter.com/oauth/request_token?oauth_version=1.0&oauth_nonce=bd4de3052a2497b85f0f&oauth_timestamp=1392925708&oauth_consumer_key=35kCqJ1JUirFw&oauth_signature_method=HMAC-SHA1&oauth_signature=a9CdQqX2sF2Pp7wMpkY%3D failed: HTTP error 403 Response: HTTP/1.1 403 Forbidden content-length: 0 date: Thu, 20 Feb 2014 19:48:28 UTC server: tfe set-cookie: guest_id=v1%396792063; Domain=.twitter.com; Path=/; Expires=Sat, 20-Feb-2016 19:48:28 UTC ' in /home1/rafalny/public_html/modules/twitter/twitter.php:884 Stack trace: #0/public_html/modules/twitter/twitter.php(665): TwitterOauth->http('http://api.twit...') #1 /public_html/modules/twitter/twitter.php(110): TwitterOauth->oAuthRequest('http://api.twit...') #2 /public_html/modules/twitter/tweet.php(28): TwitterOauth->getRequestToken() #3 {main} thrown in /public_html/modules/twitter/twitter.php on line 884