Forum Link to Topic Title

Modifications for phpBB3.
Try the Mods here and share Your own Mods
Forum rules
You dont have to use ModX or make your mod AutoMod compatible. A simple textfile is fine
But if you post Mods here You also have to give support

Forum Link to Topic Title

Post by Stoker »

sure

Forum Link to Topic Title

Post by Rhyno »

Does this change old URL's already posted... I just did the edits and internal URL's didn't change.

EDIT : Ahhh worked out why... any old URL's with BBCODE [URL] don't change :)

Forum Link to Topic Title

Post by Leinad4Mind »

Hi there, this MOD have some incompatibility with Download MOD.
I've been able to fix with this new code:

Code: Select all

			$text			= $relative_url;
			// Download MOD 6 - Check for download title, if directlink to download was given
			$text			=  preg_replace_callback("#(downloads\.php\?view=detail&df_id=)(\d+)#i", 'dl_mod_callback', $text);
			// Download MOD 6
			if($text == $relative_url)
			{
				$text			=  fetch_forumtitle($url);
			}
But it have a bug that I can't fix. When we have:

Code: Select all

[quote]http://www.phpbb3bbcodes.com/posting.php?mode=reply&f=45&t=1995
http://www.phpbb3bbcodes.com/posting.php?mode=reply&f=45&t=1995[/quote]
It appears as:
The first link isn't parsed... :(

EDIT: phpBB Bug after all, solved here: http://tracker.phpbb.com/browse/PHPBB3-10268

Forum Link to Topic Title

Post by sakkiotto »

thnx Leinad4Mind .. for download fix :)

but internal link are again search.php faq.php etc...

Re: Forum Link to Topic Title

Post by Nully »

Hello,
do you know if there will be an extension for Ascraeus?

Re: Forum Link to Topic Title

Post by Stoker »

no, but try this one and see what happens

Re: Forum Link to Topic Title

Post by Nully »

I have it on my forum online. I have Ascraus locally and I prefere not to modify files.

Re: Forum Link to Topic Title

Post by martin123456 »

Yes there is an ext https://www.phpbb.com/community/viewtop ... &t=2277841 and from what i understand its the same code. (i have not looked at the files to verify this tho)

Re: Forum Link to Topic Title

Post by Nully »

Thank you martin123456 :)