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!
Autolink On Portal
Subject: Re: Autolink On Portal
BUMP! I hope someone can help me out with this!
OwnageWorld wrote: [View Post]
BUMP! I hope someone can help me out with this!
Subject: Re: Autolink On Portal
Yeah... I know... But my question was "How do I activate them on portal and on search pages?"
spydie wrote: [View Post]
Yeah... I know... But my question was "How do I activate them on portal and on search pages?"
Subject: Re: Autolink On Portal
You need to add Autolink processing to those pages.
Something like this:
First get the autolinks words...
Then parse...
Something like this:
First get the autolinks words...
// 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
$orig_autolink = array();
$replacement_autolink = array();
obtain_autolink_list($orig_autolink, $replacement_autolink, $forum_id);
// End Autolinks For phpBB Mod
Then parse...
//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
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
Page 1 of 1
You cannot post new topicsYou cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events
This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by Icy Phoenix based on phpBB
Generation Time: 1.0739s (PHP: 2% SQL: 98%)
SQL queries: 29 - Debug Off - GZIP Enabled