Autolink On Portal


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!

Profile PM  
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!

Profile PM  
Subject: Re: Autolink On Portal
ACP_General_Autolinks

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?"

Profile PM  
Subject: Re: Autolink On Portal
You need to add Autolink processing to those pages.

Something like this:

First get the autolinks words...
Code: [Download] [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: [Download] [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


Page 1 of 1


  
You cannot post new topics
You 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