Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Links in forum
11-10-2012, 12:16 AM
Post: #8
Re: Links in forum
Thanks for feedback, Iv fixed the problem hopefully didnt create any others in the process.

U must use the URL function on the forum, else links wont be visible.

The company who made the forum released this:
Compared to phpBB3, links in phpBB2 had a slightly different behaviour: When you clicked them, they opened a new window with the requested page. This was changed in phpBB3 for a couple of reasons, but one of the most important ones was the goal to achieve XHTML 1.0 Strict-validation for the whole board.

To to overcome i used some tricky coding, here is my master piece Smile


case 'bbcode_htm':
return array(
'#<!\-\- e \-\-><a href="mailtoSad.*?)">.*?</a><!\-\- e \-\->#',
'#<!\-\- l \-\-><a (?:class="[\w-]+" )?href="(.*?)(?Sad&amp;|\?)sid=[0-9a-f]{32})?" onclick="window\.open\(this\.href\);return false;">.*?</a><!\-\- l \-\->#',
'#<!\-\- ([mw]) \-\-><a (?:class="[\w-]+" )?href="(.*?)" onclick="window\.open\(this\.href\);return false;">.*?</a><!\-\- \1 \-\->#',
'#<!\-\- s(.*?) \-\-><img src="\{SMILIES_PATH\}\/.*? \/><!\-\- s\1 \-\->#',
'#<!\-\- .*? \-\->#s',
'#<.*?>#s',
);

Test with this link http://www.youtube.com/watch?v=bbKQvdLDAic

Syncro SA
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Links in forum - ALIKA - 10-18-2012, 07:34 PM
Re: Links in forum - BHM - 10-18-2012, 07:46 PM
Re: Links in forum - Russel - 10-18-2012, 07:50 PM
Re: Links in forum - deanace - 10-18-2012, 07:57 PM
Re: Links in forum - EcLiPsE - 10-18-2012, 08:32 PM
Re: Links in forum - BHM - 10-19-2012, 12:49 AM
Re: Links in forum - ALIKA - 11-09-2012, 07:33 PM
Re: Links in forum - Superman23 - 11-10-2012 12:16 AM
Re: Links in forum - 32wbx6 - 11-10-2012, 07:37 PM
Re: Links in forum - Russel - 11-10-2012, 08:43 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)