Welcome, Guest. Please login or register.

ShoutBox!

 

Skhilled

2024-03-24, 09:52:09
It may be released as early as today...if we all agree on it. ;)
 

Skhilled

2024-03-24, 09:37:46
Thank you, sir!  :)
 

Ken

2024-03-24, 09:28:38
I like it. Dark themes are not my first choice, but I like the crisp, clean lines.  :thumbup:
 

Skhilled

2024-03-24, 08:56:28
The original theme is here:

https://www.jpr62.com/demos/index.php
 

Skhilled

2024-03-24, 08:53:17
You can always see the latest previews here but registration is disabled:

https://skhilled.com/cztest/index.php
 

Ken

2024-03-24, 08:50:36
Any previews yet?
 

Skhilled

2024-03-24, 08:46:18
We almost have another theme completed.  :laugh:
 

Skhilled

2024-03-24, 08:45:18
What's up, bro?  :drinking:
 

Ken

2024-03-24, 08:42:45
Hi Steve.  :)
 

Skhilled

2024-02-21, 21:11:25
I missed that one. LOL

Recent Topics

TP Articles


Search in titles
Search in article texts

Author Topic: recent post scroll over 5  (Read 1255 times)

0 Members and 1 Guest are viewing this topic.

Offline Maxx (OP)

  • Too Young to feel this old :)
  • FF Friends
  • *
  • Posts: 238
  • Gender: Male
  • Vietnam Veteran Sgt.
  • View Gallery
    • SurfaceThemes
recent post scroll over 5
« on: October 11, 2015, 08:15:03 PM »
still working on it. did not work well :(

regards,
Maxx
« Last Edit: October 11, 2015, 11:57:16 PM by Maxx »
Nothing worth having comes easy! Back up all your stuff! And step into the Mystery!

Offline Maxx (OP)

  • Too Young to feel this old :)
  • FF Friends
  • *
  • Posts: 238
  • Gender: Male
  • Vietnam Veteran Sgt.
  • View Gallery
    • SurfaceThemes
Re: recent post scroll over 5
« Reply #1 on: October 20, 2015, 09:55:35 AM »
OK if by chance you did not find the recent topics, scroll block code that Bloc created:

Start a new PHP block the add this code to it and give the title;e you wish:

Code: [Select]
global $context, $modSettings;
$context['TPortal']['recentboxnum'] = '15';

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: 55ex;">';

foreach($what as $w)
{
    echo '
    <div class="smalltext"><a href="'.$w['href'].'">' . $w['short_subject'] . '[/url]</div>
    <div class="smalltext">', $txt['by'], ' ', $w['poster']['link'], '</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" />[/url] ';

    echo '['.$w['time'].']
    </div>';

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


Once you get this goping you turn off the current recent topics block! :)


Maxx
Nothing worth having comes easy! Back up all your stuff! And step into the Mystery!

Offline Ken

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11658
  • Gender: Male
  • View Gallery
Re: recent post scroll over 5
« Reply #2 on: October 20, 2015, 10:49:34 AM »
Thanks Maxx. :)
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.