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

Recent

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

August 12, 2022, 05:48:46 AM

Login with username, password and session length
Members
  • Total Members: 3842
  • Latest: Kokoro
Stats
  • Total Posts: 193479
  • Total Topics: 21088
  • Online today: 50
  • Online ever: 1035
  • (November 26, 2020, 04:45:12 AM)
Users Online
Users: 0
Guests: 51
Total: 51

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

0 Members and 1 Guest are viewing this topic.

Xarcell

  • 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

ricardo3523

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

ricardo3523

  • 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';

if(isset($modSettings['recycle_board']))
$bb = $modSettings['recycle_board'];

$what = ssi_recentTopics($context['TPortal']['recentboxnum'], NULL, NULL, 'array');
$counter=1;
$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'],
'</span></div>
<div class="smalltext">', $txt['by'], ' <span style="font-weight: 600"><i>', $w['poster']['link'], '</i></span></div>
<div class="smalltext">';
if(!$w['new'])
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>
</div>';

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

Changes (used the "original")
Attached a screenshot

modified
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?

like...

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