News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Membergroup Color Legend

Started by JayBachatero, October 15, 2005, 03:05:00 AM

Previous topic - Next topic

pcigre

Quote from: JayBachatero on January 03, 2006, 11:29:03 AM
Ok please have some patience.  I've been sick and busy the past few days and haven't been able to be around as much as I try.  If you would like you can apply the code provided manually.

Hmmm... I'll wait...

JayBachatero

I can't promise you anything but I will try my best to have it later on today when I get home from school.  All I have to do is package it.  I have it up and running on my website and it's working.
http://www.kevmundial.com/board/index.php
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

JayBachatero

Ok for those of you that wanted this mod for RC2 there you go.  Version 1.1 is there.  I added a text box so that you can add the text that appears before the legend.  By default it's "Recent Membergroup Online Legend" and it's enabled by default.  the file MCL_RC2.zip is only for RC2.  If you have any problems with this MOD please let me know.

-JayBachatero
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

pcigre

When I apply MCL_RC2.zip it breaks my forum... Luckly it has clean uninstall... Can you check this. I'm using default theme on rc2.

Tiramisu


SpyDie

Quote from: pcigre on January 04, 2006, 05:55:07 AM
When I apply MCL_RC2.zip it breaks my forum... Luckly it has clean uninstall... Can you check this. I'm using default theme on rc2.

Same here. Screenshot taken:

http://www.landzdown.com/ScreenShot002.jpg
Beta. Software undergoes beta testing shortly before it's released. Beta is Latin for 'still doesn't work.'

JayBachatero

Damn it.  I though I fixed this.  Umm I'll take it down and put it backup when I fix this error.

-JayBachatero
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

JayBachatero

Ok It seems that I forgot the </operation> tag.  Silly mee ::)  I changed it and updated the package.  I'm in school so I can't test it out but it should be working.  If you can test it out on a test board first and report it to me.  If not I'll do a full test when I get home.

-JayBachatero
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

JayBachatero

@tiramisu - please search in this topic for information on adding this to 1.0.5

-JayBachatero
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

pcigre


JayBachatero

Thanks pcogre for letting me know everything is fine now.  I was over looking the problem when I first redownloaded the mod and saw it.  It even was inside a directory.  I hope this doesn't cause anymore problems.

-JayBachatero
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

fingerslip

Hello!

I am trying to install this mod on Black22 RC2 and it dont work!

Quote<file name="$themedir/BoardIndex.template.php">

   <operation>

   <search position="replace">

               <td rowspan="2" class="windowbg" width="20" valign="middle" align="center">
                  ', $context['show_who'] ? '<a href="' . $scripturl . '?action=who">' : '', '<img src="', $settings['images_url'], '/icons/online.gif" alt="', $txt[158], '" />', $context['show_who'] ? '</a>' : '', '
</search>

   <add>

               <td rowspan="3" class="windowbg" width="20" valign="middle" align="center">
                  ', $context['show_who'] ? '<a href="' . $scripturl . '?action=who">' : '', '<img src="', $settings['images_url'], '/icons/online.gif" alt="', $txt[158], '" />', $context['show_who'] ? '</a>' : '', '
</add>

Cant find this!, and can't replace and when i test it, it appears all on the right

JayBachatero

Can you please post the block of code for the info center for that theme?
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

fingerslip

Quote// "Users online" - in order of activity.
        echo '
        <tr>
                <td class="catbg" colspan="2">', $txt[158], '</td>
        </tr><tr>
                <td class="windowbg" width="20" valign="middle" align="center">
         ', $context['show_who'] ? '<a href="' . $scripturl . '?action=who">' : '', '<img src="', $settings['images_url'], '/icons/online.gif" alt="', $txt[158], '" border="0" />', $context['show_who'] ? '</a>' : '', '
                </td>
      <td class="windowbg2" width="100%">';

   if ($context['show_who'])
      echo '
         <a href="', $scripturl, '?action=who">';

   echo $context['num_guests'], ' ', $context['num_guests'] == 1 ? $txt['guest'] : $txt['guests'], ', ' . $context['num_users_online'], ' ', $context['num_users_online'] == 1 ? $txt['user'] : $txt['users'];

This is a part off the code from BoardIndex.template.php, is this that u want?

JayBachatero

Ok change
<td class="catbg" colspan="2">', $txt[158], '</td>

to
<td class="catbg" colspan="3">', $txt[158], '</td>
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

fingerslip


JayBachatero

Can you please email me the BoardIndex.template.php file to [email protected]?
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

JayBachatero

Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

fingerslip


fingerslip

Quote from: fingerslip on February 13, 2006, 04:02:08 PM
thx i will check if it works  :D

hehehe it works good job thx once again  :D

Advertisement: