Code to Disable Magic/Short URL in PHPBB3 ??

Looking for a MOD? Have a MOD request? Post here for help. (Note: This forum is community supported; phpBB does not have official MOD authors)
Scam Warning
Locked
GoliathG27
Registered User
Posts: 3
Joined: Tue Nov 09, 2010 10:40 pm

Code to Disable Magic/Short URL in PHPBB3 ??

Post by GoliathG27 » Tue Nov 09, 2010 10:53 pm

Anyone have the code to disable auto short forum links ??

when I post a forum link, always appear like this :
Image

This is the way what I want to appear the forum links :
Image

I want to disable this auto short link, the forum have a code ''[url]'' but I don't want to use this any time when I post a forum link.

anyone have the code or method ???
Last edited by GoliathG27 on Wed Nov 10, 2010 8:34 pm, edited 1 time in total.

User avatar
GreenAge
Registered User
Posts: 69
Joined: Sun Mar 21, 2010 2:41 pm
Location: Brazil
Name: Williams Ramos
Contact:

Re: Code to Magic/Short URL in PHPBB3 ??

Post by GreenAge » Tue Nov 09, 2010 11:32 pm

Take a look in includes/functions_content.php.

Maybe this topic can help you:
http://www.phpbb.com/community/viewtopi ... &t=2106285

GoliathG27
Registered User
Posts: 3
Joined: Tue Nov 09, 2010 10:40 pm

Re: Code to Magic/Short URL in PHPBB3 ??

Post by GoliathG27 » Wed Nov 10, 2010 1:52 am

This code don't work for me...

Other method or code ??

User avatar
GreenAge
Registered User
Posts: 69
Joined: Sun Mar 21, 2010 2:41 pm
Location: Brazil
Name: Williams Ramos
Contact:

Re: Code to Magic/Short URL in PHPBB3 ??

Post by GreenAge » Wed Nov 10, 2010 2:28 am

http://www.phpbb.com/community/viewtopi ... 6&t=589332 ?

Look for MAGIC_URL_LOCAL .I think the key is functions_content.php.
Try harder :|

GoliathG27
Registered User
Posts: 3
Joined: Tue Nov 09, 2010 10:40 pm

Re: Code to Magic/Short URL in PHPBB3 ??

Post by GoliathG27 » Wed Nov 10, 2010 5:07 pm

I change this

Code: Select all

Find:

          $this->message = make_clickable($this->message, $server_url);

Code: Select all

Replace with:

          $this->message = $this->message;
thats works, but Now the URL isn't clickable

User avatar
postcd
Registered User
Posts: 83
Joined: Sun Oct 14, 2007 3:42 pm
Contact:

Re: Code to Disable Magic/Short URL in PHPBB3 ??

Post by postcd » Wed Oct 19, 2011 12:43 pm

Hi, i have found the answer here. It works. http://tophostingforum.com/phpbb-how-to ... -t128.html
I have Health Forum and also webmaster Hosting Forum. Interested in making money? Try money maker forum.

Locked

Return to “[3.0.x] MOD Requests”