Forum Link to Topic Title

Mixed forum with code snippets, guides and styles
Forum rules
Everything in this forum is for everybody
But support only for Donators!
User avatar
Stoker
Site Admin
Site Admin
Posts: 3511
Joined: 12 May 2008, 21:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark

Forum Link to Topic Title

Post by Stoker » 14 Aug 2013, 04:56

sure
Board rules! No PM support
Sure, I can install the Mod for you ;)
Like the site? Then buy me a bear


User avatar
Rhyno
BBCoder III
BBCoder III
Posts: 100
Joined: 25 Jan 2012, 04:06
BBCodes: 10
Favourite MOD: Top Stats
Location: Australia

Forum Link to Topic Title

Post by Rhyno » 14 Aug 2013, 05:30

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 :)

Leinad4Mind
BBCoder II
BBCoder II
Posts: 27
Joined: 28 Apr 2011, 10:55

Forum Link to Topic Title

Post by Leinad4Mind » 03 Dec 2013, 17:50

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

User avatar
sakkiotto
BBCoder I
BBCoder I
Posts: 3
Joined: 13 Apr 2014, 21:53
BBCodes: 14

Forum Link to Topic Title

Post by sakkiotto » 02 Jun 2014, 12:07

thnx Leinad4Mind .. for download fix :)

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

User avatar
Nully
Donator
Donator
Posts: 258
Joined: 14 Mar 2010, 22:03
BBCodes: 10
Favourite MOD: Radios
Location: France > Bulgaria

Re: Forum Link to Topic Title

Post by Nully » 30 Nov 2014, 18:54

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


User avatar
Stoker
Site Admin
Site Admin
Posts: 3511
Joined: 12 May 2008, 21:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark

Re: Forum Link to Topic Title

Post by Stoker » 30 Nov 2014, 21:37

no, but try this one and see what happens
Board rules! No PM support
Sure, I can install the Mod for you ;)
Like the site? Then buy me a bear

User avatar
Nully
Donator
Donator
Posts: 258
Joined: 14 Mar 2010, 22:03
BBCodes: 10
Favourite MOD: Radios
Location: France > Bulgaria

Re: Forum Link to Topic Title

Post by Nully » 01 Dec 2014, 19:04

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

User avatar
martin123456
BBCoder VI
BBCoder VI
Posts: 764
Joined: 25 Jul 2011, 11:29
BBCodes: 34
Favourite MOD: Ban button
Location: Down south!

Re: Forum Link to Topic Title

Post by martin123456 » 01 Dec 2014, 19:19

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)

User avatar
Nully
Donator
Donator
Posts: 258
Joined: 14 Mar 2010, 22:03
BBCodes: 10
Favourite MOD: Radios
Location: France > Bulgaria

Re: Forum Link to Topic Title

Post by Nully » 05 Dec 2014, 07:51

Thank you martin123456 :)