Go Back   Pligg Forum > Pligg Development > Bug Report
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-10-2006, 11:05 PM
dwg dwg is offline
New Pligger
 
Join Date: Mar 2006
Posts: 19
Downloads: 0
Uploads: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Fixing Problem reporting

Seems that the problem reporting drop doesn't work on my installation. Cause was the fact the author of the article is inputted instead of the user reporting the problem. Solution, fix libs/link.php

Change Line:
$smarty->assign('user_id', $this->author);

To:
$smarty->assign('user_id', $current_user->user_id);


Otherwise, you get some sort of Invalid User when trying to report a problem.
Reply With Quote
Sponsored Links
Check out the New Templates at the Pligg Pro Shop.
  #2 (permalink)  
Old 07-27-2006, 12:25 AM
Dravis Dravis is offline
Casual Pligger
 
Join Date: Jun 2006
Location: Dover, NH
Posts: 59
Downloads: 7
Uploads: 0
Thanks: 2
Thanked 42 Times in 16 Posts
I've just got to give this wonderful post a friendly bump and thank the author dwg. I've been searching for the solution for this issue for a long while tonight, so hopefully bumping it up will save someone else a bunch of time. Thanks dwg!
Reply With Quote
  #3 (permalink)  
Old 07-27-2006, 12:56 PM
NeverHome NeverHome is offline
Casual Pligger
 
Join Date: Jun 2006
Posts: 66
Downloads: 2
Uploads: 0
Thanks: 0
Thanked 0 Times in 0 Posts
I'll give this a *bump* too! I've been looking for this solution for two days. Thanks dwg, and thanks DuckFat for the heads up!
__________________
TravelScoop
(Pligg Contributor)
Reply With Quote
  #4 (permalink)  
Old 07-27-2006, 01:46 PM
toopie's Avatar
toopie toopie is offline
Constant Pligger
 
Join Date: May 2006
Posts: 119
Downloads: 1
Uploads: 0
Thanks: 6
Thanked 9 Times in 8 Posts
Can't find what number this line is on $smarty->assign('user_id', $this->author);. Help please
__________________
Working on a template.... for my site.
Reply With Quote
  #5 (permalink)  
Old 07-27-2006, 04:35 PM
Dravis Dravis is offline
Casual Pligger
 
Join Date: Jun 2006
Location: Dover, NH
Posts: 59
Downloads: 7
Uploads: 0
Thanks: 2
Thanked 42 Times in 16 Posts
In my link.php file it's on line 382, almost right in the middle of the file.
Reply With Quote
  #6 (permalink)  
Old 07-27-2006, 07:09 PM
toopie's Avatar
toopie toopie is offline
Constant Pligger
 
Join Date: May 2006
Posts: 119
Downloads: 1
Uploads: 0
Thanks: 6
Thanked 9 Times in 8 Posts
It doesn't work?

I did everything right I edited the file then uploaded it and nothing? The site is thenewstop.com please help, thanks.
__________________
Working on a template.... for my site.
Reply With Quote
  #7 (permalink)  
Old 07-28-2006, 09:10 AM
NeverHome NeverHome is offline
Casual Pligger
 
Join Date: Jun 2006
Posts: 66
Downloads: 2
Uploads: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Toopie, did you include the bit of code from one of the older link_summary.tpl files? If you compare the skidoo and mollio versions of link_summary.tpl you will see the code you need to add to the mollio link_summary.tpl.
__________________
TravelScoop
(Pligg Contributor)
Reply With Quote
  #8 (permalink)  
Old 07-28-2006, 09:51 AM
toopie's Avatar
toopie toopie is offline
Constant Pligger
 
Join Date: May 2006
Posts: 119
Downloads: 1
Uploads: 0
Thanks: 6
Thanked 9 Times in 8 Posts
I dont see the code for link_summary.tpl could you paste it here?
__________________
Working on a template.... for my site.
Reply With Quote
Reply



Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
Posible problem in HTTPRequest->DownloadToString shakk Bug Report 3 04-25-2008 06:21 AM
.htaccess problem anyone ? unohoo Installation and Upgrade Help 13 12-14-2007 09:01 AM
Problem form doesn't work! nabil Bug Report 1 04-01-2006 07:53 PM
Help with new installation login problem vbmark Installation and Upgrade Help 3 03-31-2006 12:27 PM
Invalid URL problem in get($url) clancey Retired Threads 2 03-28-2006 10:46 PM


LinkBacks Enabled by vBSEO 3.0.0