Relative links for multidomain forum (th23_domain/prime_link

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)
Suggested Hosts
Locked
User avatar
Frejer Stolz
Registered User
Posts: 19
Joined: Wed Jan 07, 2009 11:22 pm

Relative links for multidomain forum (th23_domain/prime_link

Post by Frejer Stolz »

Hi friends!

My forum has few domains. And this is a top problem :lol:

Some categories of my forum have a different domain then main forum. This is realised by htaccess (if f=35|37|72 - redirect to http://www.xxx.tt).

Despite the fact that I put the mod th23_domain which helps with the authorization of all domains, there was a problem with links in the users messages. They are often forced to move to another domain of the same forum. Nebhodimo avoid this, why all the references to all domains of one forum must become relative.

So, mod needed:
all INTERNAL links to all forum domains in user's posts have to be relative.






I'm not programer, but it seems like easier way is toupdate one of this mods: th23_domain or prime_links.
2nd of them already recognizes internal links for all domains:

Code: Select all

* @package phpBB3
* @version $Id: prime_links.php,v 1.2.12 2011/11/04 12:05:00 primehalo Exp $
* @copyright (c) 2007-2011 Ken F. Innes IV
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
..........
define('INTERNAL_LINK_DOMAINS', 'http://www.gaz-69.com;http://www.gaz-67.com;http://gaz-69.com;http://gaz-67.com');	 // List of domains to be considered local, separated by semicolons. Example: 'http://www.alternate-domain.com'
...........
...........




By searching on this forum i've found a lot of people who have the same problem.


If you have any idea or can do this mod by any way - please, write here or contact me by PM.
Locked

Return to “[3.0.x] MOD Requests”