Nordinho
01-03-2005, 07:50 PM
Heya,
I would like to point the attachment on the frontpage to the thread it's coming from instead of pointing to the full image...I think I should modify the code below,
$attachment = '<a href="' . $vboptions['bburl'] . '/attachment.php?' . $session['sessionurl'] . 'attachmentid=' . $news['attachmentid'] . '" target="_blank"><img border="0" height = "190" width = "230" src="' . $vboptions['bburl'] . '/attachment.php?' . $session['sessionurl'] . 'attachmentid=' . $news['attachmentid'] . '&stc=1&thumb=1" /></a>';
to something like this??
$attachment = '<a href="' . $vboptions['bburl'] . '/showthread.php?' . $session['sessionurl'] . '$thread[threadid]' . $thread[highlight] . '" target="_blank"><img border="0" height = "190" width = "230" src="' . $vboptions['bburl'] . '/attachment.php?' . $session['sessionurl'] . 'attachmentid=' . $news['attachmentid'] . '&stc=1&thumb=1" /></a>';
Am I thinking the right way??
Greets Nordinho,
I would like to point the attachment on the frontpage to the thread it's coming from instead of pointing to the full image...I think I should modify the code below,
$attachment = '<a href="' . $vboptions['bburl'] . '/attachment.php?' . $session['sessionurl'] . 'attachmentid=' . $news['attachmentid'] . '" target="_blank"><img border="0" height = "190" width = "230" src="' . $vboptions['bburl'] . '/attachment.php?' . $session['sessionurl'] . 'attachmentid=' . $news['attachmentid'] . '&stc=1&thumb=1" /></a>';
to something like this??
$attachment = '<a href="' . $vboptions['bburl'] . '/showthread.php?' . $session['sessionurl'] . '$thread[threadid]' . $thread[highlight] . '" target="_blank"><img border="0" height = "190" width = "230" src="' . $vboptions['bburl'] . '/attachment.php?' . $session['sessionurl'] . 'attachmentid=' . $news['attachmentid'] . '&stc=1&thumb=1" /></a>';
Am I thinking the right way??
Greets Nordinho,