Welcome, Guest. Please Login or Register.
November 29, 2024, 09:45:45 AM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  English User Help  |  English Help  |  Adding a small Iframe to the infocenter...? « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Adding a small Iframe to the infocenter...?  (Read 419 times)
Abominator
Noobie
*
Posts: 15


WWW
Adding a small Iframe to the infocenter...?
« on: October 12, 2003, 04:02:57 AM »
Reply with quote

YaBB SE Version: 1.5.4
PHP Version:
MySQL Version:
Server Platform: Unix, Linux, or BSD
Link to Forum: http://www.megaman.co.uk/mboard

Problem Description:
here's a pic to demonstrate what i want...



just a tiny little iframe, height 45, width 207...

it might seem odd, but it'd really help out on my site...

basically, i know the users online list and my new iframe would have to be in a 2 column table like the one in the cell above, i just wouldnt know where to find the infocenter in yabbse, or how to go about coding the changes...

any help would be greatly appreciated.
Logged
A.M.A.
YaBB God
*****
Posts: 685


.:: :-) ::.

evolve_xp@hotmail.com WWW
Re:Adding a small Iframe to the infocenter...?
« Reply #1 on: October 12, 2003, 10:24:27 AM »
Reply with quote

you will find them in BoardIndex.php
look for:
if ($Show_RecentBar == 1)or:if ($Show_MemberBar == 1)or:if ($modSettings['enableSP1Info'] == 1)or:                  <tr>
                     <td class="catbg" colspan="2"><b>' . $txt[158] . '</b></td>
                  </tr><tr>
                     <td class="windowbg" width="20" valign="middle" align="center">
                        <img src="' . $imagesdir . '/online.gif" border="0" alt="" />
                     </td>
                     <td class="windowbg2" width="100%">
                        ' . $guests . ' ' . $txt[141] . ',  ' . $numusersonline . ' ' . $txt[142] . '<br />
                        ' . $users . ' ' . $stats . '
                     </td>
                  </tr>';
the last code was for the Users On line.
btw nice layout!
Logged

Abominator
Noobie
*
Posts: 15


WWW
Re:Adding a small Iframe to the infocenter...?
« Reply #2 on: October 12, 2003, 01:50:58 PM »
Reply with quote

thanks a lot man...

now my chat statistics are presented on my board index :)

it's kinda ugly just now, but that's ok.

thanks again.
Logged
Abominator
Noobie
*
Posts: 15


WWW
Re:Adding a small Iframe to the infocenter...?
« Reply #3 on: October 12, 2003, 06:47:33 PM »
Reply with quote

and here's the finished product:



nice and tidy... thanks again :)
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  Adding a small Iframe to the infocenter...? « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.034 seconds with 21 queries.