Activity Stream
48,167 MEMBERS
6835 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Page 3 of 3 FirstFirst 123
Results 21 to 27 of 27
  1.     
    #21
    Member
    Me too looking for it.

  2.     
    #22
    Banned
    me looking also.l

  3.   Sponsored Links

  4.     
    #23
    Member
    Website's:
    shexy.net
    a javascript solves the problem

  5.     
    #24
    Member
    That won't work, phpBB does not parse anything inside code BBCodes unless it is direct HTML Which is what mine does

    There is another way, modifying the php code

    Here's

    OPEN: includes/message_parser.php

    FIND:
    PHP Code: 
    return '[code:' $this->bbcode_uid ']' $this->bbcode_specialchars($code) . '[/code:' $this->bbcode_uid ']'
    REPLACE WITH:
    PHP Code: 
    $str_from = array('<''>''['']''.'':');
                    
    $str_to = array('<''>''['']''.'':');
                    
                    
    $lines_code str_replace("\n" ' /\ '$this->bbcode_specialchars($code));
                    
                    
    $exploded_code explode(' '$lines_code);
                    
                    foreach (
    $exploded_code as $v)
                    {
                        if (!
    $v == '/\\')
                        {
                            if (
    preg_match('#^' get_preg_expression('url') . '$#i'str_replace($str_from$str_to$v)) || preg_match('#^' get_preg_expression('www_url') . '$#i'str_replace($str_from$str_to$v)) || preg_match('#^' preg_quote(generate_board_url(), '#') . get_preg_expression('relative_url') . '$#i'$url))
                            {
                                
    str_replace($v'<a href="$v">$v</a>'str_replace($str_from$str_to$lines_code));
                            }
                        }
                    }
                    
                    
    $code str_replace(' /\ '"\n"$lines_code);
                    
                    return 
    '[code:' $this->bbcode_uid ']' $code '[/code:' $this->bbcode_uid ']'
    Credits to me

    Untested

  6.     
    #25
    Member
    The above code will make it general to all links inside code ??
    How do we make it specific for hf & fs ??

  7.     
    #26
    Banned
    Website's:
    google.com knownsrv.com

  8.     
    #27
    Member
    thanks, checking now

Page 3 of 3 FirstFirst 123

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. how to make clickable link
    By Mr.leg in forum Webmaster Discussion
    Replies: 3
    Last Post: 10th Sep 2011, 02:56 PM
  2. How To Make Link Clickable By CSS @Wordpress
    By NigelART in forum Webmaster Discussion
    Replies: 5
    Last Post: 12th Jul 2011, 11:08 AM
  3. How to make PHPBB3 codded link clickable
    By fry1943 in forum phpBB
    Replies: 7
    Last Post: 4th Jul 2011, 03:27 PM
  4. How to make Clickable Hf Links?
    By Itkraze in forum vBulletin
    Replies: 2
    Last Post: 10th Feb 2011, 02:52 PM
  5. [Req]How to Make Clickable link[HF]
    By Mr.WT in forum vBulletin
    Replies: 10
    Last Post: 26th Jul 2010, 03:57 PM

Tags for this Thread

BE SOCIAL