Best of joomla gives you news, joomla templates, tutorials and websites about Joomla , FireBoard and FireMessage official page.
| No account yet?   |
Welcome, Guest
Please Login or Register.    Lost Password?
Invalid forum post links (1 viewing) (1) Guest
Go to bottom Favoured: 0
TOPIC: Invalid forum post links
#27308
Invalid forum post links 11 Months 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
Logged Logged
 
The administrator has disabled public write access.  
      Topics Author Date
 
Invalid forum post links
webstudent 2007/10/11 18:57
 
thread linkthread link Re:Invalid forum post links
rrhode 2008/05/11 20:02
Go to top
Powered by FireBoard - Creditsget the latest posts directly to your desktop