FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » how to hide
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: how to hide [message #164360 is a reply to message #164359] Sun, 30 January 2011 10:41 Go to previous messageGo to previous message
Ernesto is currently offline  Ernesto   Sweden
Messages: 413
Registered: August 2005
Karma:
Senior Member
Anyhow, if you want to change the behaviour, you should look in the post_proc.inc.t file

Find the following code and alter after your own desire:

	while (preg_match('!<a href="(.+?)" target="_blank">\\1</a>!is', $fudml)) {
		$fudml = preg_replace('!<a href="(.+?)" target="_blank">\\1</a>!is', '[url]\1[/url]', $fudml);
	}


To make things backwards compatible, you should create a new code also that reads the old, replaces with the new, else old links posted prior to your change will "break" if a message is edited.

Good luck!


[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Custom Profile Fields
Next Topic: How To Increase Number of Threads in Merge Selection Box?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Apr 18 11:43:42 GMT 2024

Total time taken to generate the page: 0.03086 seconds