| No account yet?   |
Welcome, Guest
Please Login or Register.    Lost Password?
Go to bottom Post Reply Favoured: 0
TOPIC:
#27308
Invalid forum post links 7 Months, 1 Week ago  
In joomla 1.5 legacy mode with sef enabled, a few forum post lists have invalid post-links.

Example 1: recentposts.php

$link = sefRelToAbs("index.php?option=com_fireboard&func=view&id=$row->fbid" . "&catid=$row->catid#$row->fbid";

generates a wrong link. The problem is fixed by moving the anchor out of the sefRelToAbs function:

$link = sefRelToAbs("index.php?option=com_fireboard&func=view&catid=$row->catid" . "&id=$row->fbid"."#$row->fbid";


Example 2: forummsg.php

$fbURL = sefRelToAbs("index.php?option=com_fireboard&func=view".FB_FB_ITEMID_SUFFIX."&catid=" . $item->catid . "&id=" . $item->id . "#" . $item->id);

does not work, but

$fbURL = sefRelToAbs("index.php?option=com_fireboard&func=view".FB_FB_ITEMID_SUFFIX."&catid=" . $item->catid . "&id=" . $item->id) . "#" . $item->id;

does.
webstudent (User)
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
 
The administrator has disabled public write access.  
#50452
Re:Invalid forum post links 4 Days, 16 Hours ago  
In recentposts.php the correct line is:
Code:

$link = sefRelToAbs("index.php?option=com_fireboard&func=view&catid=$row->catid" . "&id=$row->fbid")."#$row->fbid";
rrhode (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
 
The administrator has disabled public write access.  
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop