Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media


Welcome, Guest. Please login or register.
Did you miss your activation email?

February 01, 2023, 12:41:36 PM

Login with username, password and session length
  • Total Members: 3856
  • Latest: Bixby
  • Total Posts: 193917
  • Total Topics: 21129
  • Online today: 60
  • Online ever: 3540
  • (September 02, 2022, 06:38:54 PM)
Users Online
Users: 2
Guests: 28
Total: 30

Author Topic: "recent topics" in SMF style  (Read 271430 times)

0 Members and 1 Guest are viewing this topic.


  • Guest
Re: "recent topics" in SMF style
« Reply #600 on: March 31, 2010, 01:17:20 PM »
Well if you would be able to tell me where I can find my TP version I'd be glad to look it up for you :)
What do you mean exactly, letting you take a look?

Look in your admin > packages


  • Guest
Re: "recent topics" in SMF style
« Reply #601 on: March 31, 2010, 01:41:26 PM »
Tinyportal:  1.083


  • Guest
Re: "recent topics" in SMF style
« Reply #602 on: March 31, 2010, 02:15:30 PM »
K sooo..

At upper panels ( which this one is ) I had display blocks in 2 collums checked.
I changed to display vertically (default) and for some reason the block went to the same line as the news blocks beneath it..

However.. now ( as you can see ) the right block sticks directly to the news blocks beneath it.. How can that be solved ><

Edit: If I choose '' display according to a grid''   it displays the same as in default but the area beneath the two upper blocks and the block beneath it is kinda huge... There is more space as in the default one.. However here the width is perfect.. 

Soo er... I've run out of thoughts..

Maybe you could tell me your tinyportal panel settings and I can compare them?
« Last Edit: March 31, 2010, 02:44:41 PM by ricardo3523 »

shane is my name

  • Guest
Re: "recent topics" in SMF style
« Reply #603 on: April 27, 2010, 07:45:21 PM »
In the subject column, Is there a way to have it show who the thread was started by?

Offline sangham.net

  • Jr. Member
  • **
  • Posts: 95
  • Our Community account (till 03/14 used by JohannB)
    • sangham.net
Re: "recent topics" in SMF style
« Reply #604 on: May 05, 2015, 02:54:23 AM »
If useful an unprofessional modification, for everyone who likes such:

Code: [Select]
global $context, $modSettings, $txt, $settings;
$context['TPortal']['recentboxnum'] = '50';

$bb = $modSettings['recycle_board'];

$what = ssi_recentTopics($context['TPortal']['recentboxnum'], NULL, NULL, 'array');
$cmax = count($what);

echo '
<div style="width: 100%; overflow: auto; height: 30ex;">';

foreach($what as $w)
echo '
<div class="smalltext"><b><a href="'.$w['href'].'">' . $w['short_subject'] . '<span style="color:black; font-weight: normal"> in </span></a></b></div> ';
echo '
<div class="smalltext"><span style="font-size:80%">', $w['board']['link'],
<div class="smalltext">', $txt['by'], ' <span style="font-weight: 600"><i>', $w['poster']['link'], '</i></span></div>
<div class="smalltext">';
echo '<a href="'.$w['href'].'"><img border="0" src="'.$settings['images_url'].'/'.$context['user']['language'].'/new.gif" alt="new" /></a> ';

echo '<span style="font-size:80%">['.$w['time'].']</span>

if($counter != $cmax)
echo '<hr />';
echo '

Changes (used the "original")
Attached a screenshot

1- like the original
2- add 'Text'(text-weight normal)
3- add Board where posted (text-weight normal, size: 80%; note: the even smaller text in the pictur comes form another side)
4- 'by' (text-weight normal) Member (cursive)
5- (text-size: 80%)

Credits to: Moritz, generously done the "hard" stuff

Truly! So strive to be one of them. Or like to get a random Sutta?
If you like to get involved in helping developing an "Virtual monastery" to make the internet a little more accessible for Monks, Nuns and Ascetics, please feel heartily invited to join our bilingual community at sangham.net

Offline MrCare

  • Jr. Member
  • **
  • Posts: 62
Re: "recent topics" in SMF style
« Reply #605 on: January 05, 2016, 11:14:40 PM »
How to add the counting number of the topics before before topic icon?


1   The title
2   The Post
3   Bla....