Home arrow Forum
Home
About
Demo
Forum
FAQ
Live Sites
Feedback

Login





Lost Password?
No account yet? Register
Stay Tuned!
 
Who's Online
We have 2 members online

powered_by Joomla
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\')
ME Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Adding a URL in object description or misc. (0 viewing) 
Go to bottom Post Reply Favoured: 0
TOPIC: Re:Adding a URL in object description or misc.
#4966
Bertus (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
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
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#4971
admin (Admin)
Admin
Posts: 562
graph
User Online Now Click here to see the profile of this user
Gender: Male MisterEstate Location: South Germany
Re:Adding a URL in object description or misc. 11 Months, 1 Week ago Karma: 32  
Hi,

&quot;&lt;a href...&quot; 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-&gt;description,&quot;&lt;br /&gt;,&lt;b&gt;,&lt;/b&gt;,&lt;i&gt;,&lt;/i&gt;,&lt;p&gt;,&lt;/p&gt;&quot;);
after:
Code:

strip_tags($obj-&gt;description,&quot;&lt;a&gt;,&lt;/a&gt;,&lt;br /&gt;,&lt;b&gt;,&lt;/b&gt;,&lt;i&gt;,&lt;/i&gt;,&lt;p&gt;,&lt;/p&gt;&quot;);
But on your own risk!<br><br>Post edited by: admin, at: 2007/11/02 00:45
 
Report to moderator   Logged Logged  
 
kindly regards / beste Gruesse

Admin
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop