Batu:
And yes, it was what we were looking for, Paul.
Well... then it appears you will need to make one custom change in the core script, and also provide the plugin-oriented code in some other files.
Here's what to do:
- bb_func_vthread.php - locate the code string like this:
$cols[4]='';
comment or remove it, so it's not executed:
//$cols[4]='';
- Then you will need to edit bb_plugins.php in two parts. At first, sometimes at the very bottom of this script and possibly right after
<?php tag put this code:
/* Displaying topic's starter */
if($action=='vthread'){
$topic_starter_ip='';
if($row=db_simpleSelect(0, $Tp, 'poster_ip', 'topic_id', '=', $topic, 'post_id asc', 1)){
$topic_starter_ip=$row[0];
//echo $topic_starter_ip;
}
}
/* --Displaying topic's starter */
Then if you don't have parseMessage function in this script, paste the following:
function parseMessage(){
/* Displaying topic's starter */
if($GLOBALS['anchor2']!=1 and $GLOBALS['cols'][4]==$GLOBALS['topic_starter_ip']) $GLOBALS['topic_starter_mark']='<br />Topic Starter';
else $GLOBALS['topic_starter_mark']='';
/* --Displaying topic's starter */
return;
}
If you already have this function, you will need only the proper part of the plugin's code and paste it before the
return statement.
- Finally, modify templates/main_posts_cell.h
tml and paste the following indication var: {$topic_starter_mark} somewhere... may be right following the {$viewReg} var.
Batu:
Also, is there any way to contact you via e-mail? I'd like to discuss about some other customizations. Thanks.
At the very bottom of this page, on the left side you will find the navigation links; choose "Contacts" to drop me a private message.