Duplicate entry \'0\' for key 1 SQL=INSERT INTO jos_fb_whoisonline (`userid` , `time`, `what`, `task`, `do`, `func`,`link`, `userip`, `user`) \n VALUES (\'0\', \'1223336658\', \'Re:Adding a URL in object description or misc.\',\'\',\'\',\'view\',\'/index.php?option=com_fireboard&Itemid=42&func=view&catid=9&id=4971\', \'38.103.63.59\', \'0\')
Re:Adding a URL in object description or misc. (0 viewing)
Favoured: 0
|
|
|
TOPIC: Re:Adding a URL in object description or misc.
|
Bertus (User)
Fresh Boarder
Posts: 2
|
|
Adding a URL in object description or misc. 11 Months, 1 Week ago
|
Karma: 0
|
Hi,
Is there any particular reason (and maybe a fix) for this problem.
If a user adds an HTML link to the Description or Miscellaneous fields in the object, the tag is completed removed, only the text used to create the link is left when a user views the object.
| Code: |
<a href="http://www.mysite.com">Link to my page </a>
|
ends being parsed to Link to my pagewhen saved. Re-open the object for editing, the code is all intact, but the display only shows the text , as it appears when a user calls up the object. No link is created.
Any suggestions please?<br><br>Post edited by: Bertus, at: 2007/11/01 21:57
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
Re:Adding a URL in object description or misc. 11 Months, 1 Week ago
|
Karma: 32
|
Hi,
"<a href..." tags are not allowed for users because of security reasons.
If you want to allow them, youŽll have to edit line 354-363 in user.estateagent.php.
It should look like this then:
before:
| Code: |
strip_tags($obj->description,"<br />,<b>,</b>,<i>,</i>,<p>,</p>");
|
after:
| Code: |
strip_tags($obj->description,"<a>,</a>,<br />,<b>,</b>,<i>,</i>,<p>,</p>");
|
But on your own risk!<br><br>Post edited by: admin, at: 2007/11/02 00:45
|
|
|
|
|
|
|
kindly regards / beste Gruesse
Admin
|
|
|
The administrator has disabled public write access.
|
|
|
|
|
|