Would Look Like:
Code: Select all
[url]http://anonlink.dfiber.com?http://www.google.ca[/url]
Sincerely,
kiran_n444
Code: Select all
[url]http://anonlink.dfiber.com?http://www.google.ca[/url]
WHYY Would I want to Do it.T50 wrote:umm why whould you want to do that?
Thats why. Aww lol I was hoping someone wouldve figured it out when i saw 2 reaplies.jquindlen wrote:It disguises the referrer. Oh, and I have no idea how to do it.
Yea, you and I both. I tried doingin some modifications uing a combinations of 's and &s. but no good luck. I know in other languages thats how you group strings togesther xD but PHP is a whole new language to me altogether xDT50 wrote:hmm I haven't worked on the bbcode page for a while now. so I don;t know how you could do this.. maybe someone else would know.
Code: Select all
return ($var1) ? '[url=' . $this->bbcode_specialchars($url) . ':' . $this->bbcode_uid . ']' . $var2 . '[/url:' . $this->bbcode_uid . ']' : '[url:' . $this->bbcode_uid . ']' . $this->bbcode_specialchars($url) . '[/url:' . $this->bbcode_uid . ']';
}
Code: Select all
return ($var1) ? '[url=http://anonlink.dfiber.com?' . $this->bbcode_specialchars($url) . ':' . $this->bbcode_uid . ']' . $var2 . '[/url:' . $this->bbcode_uid . ']' : '[url:' . $this->bbcode_uid . ']' . $this->bbcode_specialchars('http://anonlink.dfiber.com?' . $url) . '[/url:' . $this->bbcode_uid . ']';
}
return '[url' . (($var1) ? '=http://anonlink.dfiber.com?' . $var1 : '') . ']' . $var2 . '[/url]';
Code: Select all
Parse error: syntax error, unexpected T_RETURN, expecting T_FUNCTION in C:\wamp\www\phpBB3\includes\message_parser.php on line 963
Code: Select all
return '[url' . (($var1) ? '=' . $var1 : '') . ']' . $var2 . '[/url]';
I suspect the error you recieved was because you didn't understand what I was trying to sayA_Jelly_Doughnut wrote:Find these lines in includes/message_parser.phpAnd change them toCode: Select all
return ($var1) ? '[url=' . $this->bbcode_specialchars($url) . ':' . $this->bbcode_uid . ']' . $var2 . '[/url:' . $this->bbcode_uid . ']' : '[url:' . $this->bbcode_uid . ']' . $this->bbcode_specialchars($url) . '[/url:' . $this->bbcode_uid . ']'; } return '[url' . (($var1) ? '=' . $var1 : '') . ']' . $var2 . '[/url]';
You may also want to make change to make_clickable_callback() in includes/functions_content.phpCode: Select all
return ($var1) ? '[url=http://anonlink.dfiber.com?' . $this->bbcode_specialchars($url) . ':' . $this->bbcode_uid . ']' . $var2 . '[/url:' . $this->bbcode_uid . ']' : '[url:' . $this->bbcode_uid . ']' . $this->bbcode_specialchars('http://anonlink.dfiber.com?' . $url) . '[/url:' . $this->bbcode_uid . ']'; } return '[url' . (($var1) ? '=http://anonlink.dfiber.com?' . $var1 : '') . ']' . $var2 . '[/url]';