were is the thread template that shows links
i mean is when making a post and in that post say you insert links
www.yahoo.com <<<<< now this is posted were is the template for that i want to add [code] tag
www.msn.com <<<<< now this is posted were is the template for that i want to add [code] tag
how do i find the actual template for that so i can modify the link code
so i can add auto add code to all urls in post
like [code] links [/ code ] please help i wish to add code to all links made in post automaticly
You have to Hyperlink them and for it you must click on Hyper link
Dont forget to +1 rep me
but i wish to automaticly add it not manually please help
they not usefull they hide links i wish to add just the code tags or make the links flatt not clickable but viewable
Must join from Masterlink
Also you can use Masterlink plugin that can be downloded from Masterlink.com
(2013-07-28, 07:19 PM).m. Wrote: [ -> ]you can try using no links plugin
this done the job , i guess i will need to modify the php code inside or somewere to add the code tags.
or maybe you can help me find the template were this plugin template is so there i can add the code tags please boss help
but it made the clickable links flat which is good
Quote:<?php
// Disallow direct access to this file for security reasons
if ( ! defined("IN_MYBB"))
{
die("Direct initialization of this file is not allowed.<br /><br />Please make sure IN_MYBB is defined.");
}
$plugins->add_hook("parse_message_end", "nolinks_msg");
$plugins->add_hook("member_profile_end", "nolinks_profile");
function nolinks_info()
{
return array(
"name" => "NoLinks!",
"description" => "Plugin that disables all links in Posts, Signatures and Profiles",
"website" => "",
"author" => "Exanto Internet Solutions",
"authorsite" => "http://www.exanto.de/",
"version" => "1.0",
"guid" => "207d4fb10297252e4905955f1ca3c7f4",
"compatibility" => "*"
);
}
function nolinks_msg($message)
{
$message = nolinksCleanString($message);
return $message;
}
function nolinks_profile()
{
global $memprofile, $website;
if ($memprofile['website'])
{
$website = "<span class='link'>{$memprofile['website']}</span>";
}
}
function nolinksCleanString($string)
{
if (strpos($string, '<a') !== false)
{
$string = preg_replace(
'/<a.*href=[\"\']([^\"\']*).*>(.*)<\/a>/ie',
'"" . ((strpos(\'$2\', \'http\') === false)? \'<span class="linklabel">$2: </span><span class="link">$1\' : \'<div style="border-style: solid; border-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px"><span class="link">$1\') . "</span></div>"',
$string
);
}
return $string;
}
as you can se in red i added the html code which adds a border
i wish to add mybb code tag
(2013-07-28, 07:27 PM)Spartacus! Wrote: [ -> ]Also you can use Masterlink plugin that can be downloded from Masterlink.com
stop spamming and promoting your website you looser , you cannot get me to buy your hosting so f offfffff