Code: Select all
$post_date = create_date($board_config['default_dateformat'], $postrow[$i]['post_time'], $board_config['board_timezone']); Code: Select all
//--added PLA
if ( $postrow[$i]['user_id'] > 1 )
{
$l_gallery_poster_id = ($postrow[$i]['user_id'] + 10000);
}
else
{
$l_gallery_poster_id = ($postrow[$i]['user_id'] + 1);
} Code: Select all
'U_MINI_POST' => $mini_post_url, Code: Select all
'U_GALLERY_TEXT' => ("'s Photo Gallery"),
'L_GALLERY_USER' => $poster,
'U_GALLERY_USER' => ('http://www.domain.com/gallery/index.php?cat='.$l_gallery_poster_id), Code: Select all
<td width="150" align="left" valign="top" class="{postrow.ROW_CLASS}"><a name="{postrow.U_POST_ID}"></a>{postrow.AUTHOR_PANEL}<br> Code: Select all
<a href="{postrow.U_GALLERY_USER}" class="gensmall">{postrow.L_GALLERY_USER}{postrow.U_GALLERY_TEXT}</a>It's good nowbeaniebaby148 wrote: Wyr!H@x!mu$ -> I dont follow, what do I have to name it? Thanks
Can you help, I'm a first time modder lol
Code: Select all
#
#-----[ OPEN ]---------------------------------------------
#
viewtopic.php
#
#-----[ FIND ]---------------------------------------------
#
$post_date = create_date($board_config['default_dateformat'], $postrow[$i]['post_time'], $board_config['board_timezone']);
#
#-----[ AFTER, ADD ]--------------------------------------
#
//--added PLA
if ( $postrow[$i]['user_id'] > 1 )
{
$l_gallery_poster_id = ($postrow[$i]['user_id'] + 10000);
}
else
{
$l_gallery_poster_id = ($postrow[$i]['user_id'] + 1);
}
#
#-----[ FIND ]---------------------------------------------
#
//
// Quick Reply
//
if ( $show_qr_form )
#
#-----[ BEFORE, ADD ]--------------------------------------
#
// Begin Coppermine link add - poster name set
$gallery_poster = $poster;
// End Coppermine link add - poster name set
#
#-----[ FIND ]---------------------------------------------
#
'U_MINI_POST' => $mini_post_url,
#
#-----[ AFTER, ADD ]--------------------------------------
#
// Begin Coppermine link
'U_GALLERY_TEXT' => ("'s Photo Gallery"),
'L_GALLERY_USER' => $gallery_poster,
'U_GALLERY_USER' => ('http://www.yourdomain.com/gallery/index.php?cat='.$l_gallery_poster_id),
// End Coppermine link
#
#-----[ OPEN ]---------------------------------------------
#
viewtopic_body.tp
#
#-----[ FIND ]---------------------------------------------
#
<td width="150" align="left" valign="top" class="{postrow.ROW_CLASS}"><a name="{postrow.U_POST_ID}"></a>{postrow.AUTHOR_PANEL}<br>
#
#-----[ AFTER, ADD ]--------------------------------------
#
<span class="gensmall"><a href="{postrow.U_GALLERY_USER}" >{postrow.L_GALLERY_USER}{postrow.U_GALLERY_TEXT}</a></span><br />
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM