Autolink On Portal »  Show posts from    to     

Icy Phoenix


Old Support Topics - Autolink On Portal



OwnageWorld [ Fri 19 Feb, 2010 14:33 ]
Post subject: Autolink On Portal
Hey all,

I would like to enable the autolink on the portal pages! Is this possible?
I would like to have it only in the text, but not in the topic titles or anything like that!

Thanks in advance!


OwnageWorld [ Mon 15 Mar, 2010 16:37 ]
Post subject: Re: Autolink On Portal
OwnageWorld wrote: [View Post]
Hey all,

I would like to enable the autolink on the portal pages and on search! Is this possible?
I would like to have it only in the text, but not in the topic titles or anything like that!

Thanks in advance!

BUMP! I hope someone can help me out with this!


spydie [ Mon 15 Mar, 2010 18:48 ]
Post subject: Re: Autolink On Portal
ACP_General_Autolinks


OwnageWorld [ Mon 15 Mar, 2010 22:55 ]
Post subject: Re: Autolink On Portal
spydie wrote: [View Post]
ACP_General_Autolinks

Yeah... I know... But my question was "How do I activate them on portal and on search pages?"


Mighty Gorgon [ Thu 25 Mar, 2010 11:49 ]
Post subject: Re: Autolink On Portal
You need to add Autolink processing to those pages.

Something like this:

First get the autolinks words...
Code: [Hide] [Select]
// Start Autolinks For phpBB Mod
$orig_autolink = array();
$replacement_autolink = array();
obtain_autolink_list($orig_autolink, $replacement_autolink, $forum_id);
// End Autolinks For phpBB Mod


Then parse...
Code: [Hide] [Select]
//Acronyms, AutoLinks, Wrap - BEGIN
if ($postrow[$i]['enable_autolinks_acronyms'] == true)
{
$message = $bbcode->acronym_pass($message);
if(count($orig_autolink))
{
$message = autolink_transform($message, $orig_autolink, $replacement_autolink);
}
}
//Acronyms, AutoLinks, Wrap -END




Powered by Icy Phoenix