TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,965
  • Latest: boruko
Stats
  • Total Posts: 195,982
  • Total Topics: 21,320
  • Online today: 431
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 90
  • Total: 90

Last post by?

Started by Asshandler, January 08, 2007, 05:20:46 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Asshandler

#10
$result=ssi_recentTopics(10,array(15),'return');

echo '<ul style="padding-left: 10px;">';
foreach($result as $my){
  echo '<Li>'.$my['link'];
  if(!$my['new'])
    echo ' <a href="'.$my['href'].'"><img border="0" src="'.$settings['images_url'].'/'.$context['user']['language'].'/new.gif" alt="new" /></a> ';
echo ' <br />';
  echo ' ',$my['time'],'</Li>';
echo ' <hr>';
}
echo '</UL>';
echo'</center>';
echo '<span class="smalltext"></span>';


Where in there should the ', $topic['poster']['link'], ' go?

Asshandler

#11
Here's what I've got right now... no errors, but no username appearing either...

$result=ssi_recentTopics('10', NULL, 'array');

echo '<ul style="padding-left: 10px;">';
foreach($result as $my){
Ã,  echo '<Li>'.$my['link'];
Ã,  if(!$my['new'])
Ã,  Ã,  echo ' <a href="'.$my['href'].'"><img border="0" src="'.$settings['images_url'].'/'.$context['user']['language'].'/new.gif" alt="new" /></a> ';
echo ' <br />';
Ã,  echo ' <span class="smalltext">
',$my['time'],' by ', $topic['poster']['link'], '
</span>
</Li>';
echo ' <hr>';
}
echo '</UL>';
echo ' <div align="center"><span class="smalltext">';
ssi_whosOnline();
echo' </span></div></center>';




Any ideas?Ã,  I know I'm missing something, just not sure what.

Asshandler

Bump

I'm almost certain this is going to be a real simple thing and I'm going to feel like a fool for not seeing it.  :p

rebelrose

#13
should there not be a reference to the member or something along those lines to show the member that posted  ???

if you look in your code where you have posted by there is no reference for the ssi to pull up the member that posted.

othersi

#14
On a chance, looking at the code you're using Steve... I just changed your...  ', $topic['poster']['link'], ' .... code to  ...', $my['poster']['link'], ' ... and it works.

Asshandler

So simple... *smack*

Thank you.

This website is proudly hosted on Crocweb Cloud Website Hosting.