clickable links

Support for IntegraMOD 141

Moderator: Integra Moderator

clickable links

PostAuthor: Blue-Blood » Sat Sep 22, 2007 8:11 pm

Your phpBB Version: 2.0.22
phpBB Type: phpBB / IMPortal
MODs: No
Your knowledge: Basic Knowledge
Board URL: http://www.smileypirate.com

PHP Version:
MySQL Version:


What was done before the problem appeared?
no problem


What was done to try to solve the problem?
no problem



De.scription and Message

How do i disable live links, Clickable links that are made in a post

Thanks
Last edited by Blue-Blood on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

Blue-Blood
Integra Member
Integra Member
 
Posts: 102
Likes: 0 post
Liked in: 0 post
Joined: Tue Jul 04, 2006 9:46 pm
Cash on hand: 0.00
Location: Louisville KY

Re: clickable links

PostAuthor: Blue-Blood » Sat Sep 22, 2007 8:32 pm

Also how do you make the other blocks (php version, problems, etc, etc..)when making a new topic in the support forum
Last edited by Blue-Blood on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

Blue-Blood
Integra Member
Integra Member
 
Posts: 102
Likes: 0 post
Liked in: 0 post
Joined: Tue Jul 04, 2006 9:46 pm
Cash on hand: 0.00
Location: Louisville KY

Re: clickable links

PostAuthor: Helter » Sat Sep 22, 2007 10:56 pm

##############################################################
## MOD Title: CBACK SupportTicket Assistant for phpBB Support Sites
## MOD Author: CBACK </b>assign_vars(array(
'USERNAME' => $username,
'SUBJECT' => $subject,
'MESSAGE' => $message,
'HTML_STATUS' => $html_status,
'BBCODE_STATUS' => sprintf($bbcode_status, '<a>', '</a>'),
'SMILIES_STATUS' => $smilies_status,


#
#-----[ BEFORE, ADD ]------------------------------------------
#

$aktuellesforum = $_GET['f'];
$aktuellermodus = $_GET['mode'];
$temp = 0;
$supp = 0;
$supportsystem = 'disabled';

foreach($stforums as $temp)
{
if ($temp == $aktuellesforum)
{
$supp++;
}
}

if (($aktuellermodus == 'newtopic') and ($supp > 0))
{
$template->assign_block_vars('cback_sts', array());
$supportsystem = 'engaged';
}
else
{
$template->assign_block_vars('cback_vorschau', array());
}

#
#-----[ FIND ]------------------------------------------
#
'L_NOTIFY_ON_REPLY' => $lang['Notify'],
'L_DELETE_POST' => $lang['Delete_post'],


#
#-----[ AFTER, ADD ]------------------------------------------
#

'CST_MODE' => $supportsystem,
'CST_HEAD' => $lang['cst_head'],
'CST_PHPBBVERSION' => $lang['cst_phpbbversion'],
'CST_PHPBBTYPE' => $lang['cst_phpbbtype'],
'CST_STANDARD' => $lang['cst_standard'],
'CST_PREMOD' => $lang['cst_premod'],
'CST_ANDDIST' => $lang['cst_anddist'],
'CST_MODS' => $lang['cst_mods'],
'CST_YES' => $lang['cst_yes'],
'CST_NO' => $lang['cst_no'],
'CST_KNOWLEDGE' => $lang['cst_knowledge'],
'CST_BEGINNER' => $lang['cst_beginner'],
'CST_BASICKNOW' => $lang['cst_basicknow'],
'CST_EXTENDED' => $lang['cst_extended'],
'CST_PROFI' => $lang['cst_profi'],
'CST_BEFOREERR' => $lang['cst_beforeerr'],
'CST_SELFSOLUTION' => $lang['cst_selfsolution'],
'CST_BOARDLINK' => $lang['cst_boardlink'],
'CST_SQLVER' => $lang['cst_sqlver'],
'CST_PHPVER' => $lang['cst_phpver'],
'CST_HEAD_MSG' => $lang['cst_head_msg'],
'CST_OPTIONAL' => $lang['cst_optional'],



#
#-----[ OPEN ]------------------------------------------
#
includes/functions_post.php


#
#-----[ FIND ]------------------------------------------
#
else if ($mode == 'newtopic' || ($mode == 'editpost' && $post_data['first_post']))
{
$error_msg .= (!empty($error_msg)) ? '<br>' . $lang['Empty_subject'] : $lang['Empty_subject'];


#
#-----[ REPLACE WITH ]------------------------------------------
#
else if ($mode == 'newtopic' || ($mode == 'editpost' && $post_data['first_post']))
{
message_die(GENERAL_MESSAGE, $lang['cst_errmessage']);


#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
#
# This MOD was created with: CBACK MIRO ModEditor (http://www.community.cback.de)
Last edited by Helter on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4554
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,959.15
Location: Seattle Wa
IntegraMOD version: phpBB2x

PostAuthor: Blue-Blood » Sat Sep 22, 2007 11:29 pm

What about the clickable links, how do i disable them?



Not tested, but you might want to try that :

In viewtopic.php, find around line 2220 the following

Code: Select all
$message = make_clickable($message);


And comment it...


sanji


[color=red][MOD]]
Last edited by Blue-Blood on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

Blue-Blood
Integra Member
Integra Member
 
Posts: 102
Likes: 0 post
Liked in: 0 post
Joined: Tue Jul 04, 2006 9:46 pm
Cash on hand: 0.00
Location: Louisville KY

PostAuthor: Blue-Blood » Mon Sep 24, 2007 4:58 pm

Thanks
Yes by removing

$message = make_clickable($message);

Makes the poster have to use bbcode [URL] to make a link clickable

Thanks
Last edited by Blue-Blood on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

Blue-Blood
Integra Member
Integra Member
 
Posts: 102
Likes: 0 post
Liked in: 0 post
Joined: Tue Jul 04, 2006 9:46 pm
Cash on hand: 0.00
Location: Louisville KY


Return to IntegraMOD 141

Who is online

Registered users: App360MonitorBot, Bing [Bot], Google [Bot], Majestic-12 [Bot]