MyBB Community Forums
Editing Links - Please Help - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Extensions (https://community.mybb.com/forum-201.html)
+--- Forum: Plugins (https://community.mybb.com/forum-73.html)
+---- Forum: Plugin Support (https://community.mybb.com/forum-72.html)
+---- Thread: Editing Links - Please Help (/thread-8275.html)



Editing Links - Please Help - zymic - 2006-04-16

Hello,

I would like it so all links users post on my forum are:

http://www.google.com/url?q=http://site.com

This is to stop people from finding out where the links were referred from. What code do I need to edit?

Thanks in advance.


RE: Editing Links - Please Help - Massacre - 2006-04-16

why do you need to do that for


RE: Editing Links - Please Help - zaher1988 - 2006-04-16

hello there,

open ./inc/functions_post.php

find

$fullurl = "http://".$fullurl;

it is available 2 time

replace it with

$fullurl = "http://www.google.com/url?q=http://".$fullurl;

i guess that's what u are looking for

regards


RE: Editing Links - Please Help - zymic - 2006-04-16

Thanks but it didnt work, so instead I did this:

	$link = "<a href=\"http://www.google.com/url?q=$fullurl\" target=\"_blank\">$name</a>";

Seems to work fine.


RE: Editing Links - Please Help - handeyman - 2006-11-23

how can I do this in mybb 1.2?

Edit: Nevermind its just in class_parser.php instead.