News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

MCLegendII.1

Started by Bulakbol, January 28, 2008, 07:44:55 PM

Previous topic - Next topic

Bulakbol

#120
Quote from: Asterix[M] on March 30, 2008, 06:08:36 PM
I use Fg:.:Zm theme, thx for help

Is that theme from SMF? I have to download it to try. It won't run on default theme.

edit:

I found it. I'll get back to you.

<edit>
I am back.  :D Here's your edited BoardIndex.template.php. Thanks for using this mod.
</edit>
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Asterix[M]

thank you, work fine  :)

Bulakbol

You're welcome.  ;) Enjoy and good luck.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Lasalle

#123
I've got problem with 1024x768 resolution with this mode it scrolls horizontal (picture), in 1280x1024 everything is OK. I tried to use already modified file boardindex.template.php almost similar to my theme but it look the same (and errors  ;)).

I use bright forest theme, with apollobb is the same problem.
My code:

if (!empty($modSettings['arrange_mclegend']))
{
echo '
<tr>
<td class="titlebg" colspan="2">Podział na grupy</td>
</tr>
<tr>
<td class="windowbg" width="20" valign="middle" align="center">
<a href="', $scripturl, '?action=stats"><img src="', $settings['images_url'], '/icons/info.gif" alt="', Grupy, '" /></a>
</td>
<td class="windowbg2" width="100%">
<span class="smalltext">';
foreach($context['mcl_group'] AS $key => $dummy)
for ($i = 0; $i < count($context['mc_legend']); $i++)
if ($context['mc_legend'][$i]['id'] == $context['mcl_group'][$key])
{
  echo '[', $context['mc_legend'][$i]['link'], ']&nbsp;&nbsp;';
  continue;
}
          echo '
          </span>
</td>
</tr>';
}

Bulakbol

#124
Hi Lasalle. I can't view the picture that you attached. I downloaded the BoardIndex.template though and here's a screenshot using your attached template. On the left is viewed using 1024 x 768 resolution while the one on the right is viewed with 1440x900 resolution. Can you attach an image with well known format? Like jpg so I can view and find the problem?
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Lasalle

#125
OK, I made screen to jpg file. Only in higher than 1024X768 resolution it looks good. Without Code of this mod in boardintex.templete.php Forum works in all resolutions.

I saw fille You have attached. Now I think that there is no problem with board...php file, I've too many groups, but I need them :/.

Bulakbol

awww sorry, I misunderstood you. I thought you are talking about scroll bar. So, do you want the legend in two lines? How many groups do you want on the first line?
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Lasalle

#127
No, You understood me good the horizontal scroll bar is the problem.

Sorry my English is probably not good enough to write, what i have on my mind.

I edited picture to point places on my mind. :)

Bulakbol

#128
hmnn sorry. Its not the scroll bar. It's the box with dark color. Isn't it?

edit: What browser are you using for the 1024 x 968?
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Lasalle

#129
Quote from: JohnyB on April 01, 2008, 08:04:39 AM
hmnn sorry. Its not the scroll bar. It's the box with dark color. Isn't it?

hmm, "information center" box with this mod is made bigger, and the horizontal scroll bar appears, the dark green field also.

In 1024x768 I use Mozilla Firefox 2.0.0.13, with old IE version 6.0 the same problem.

Yes with default core theme is the same problem.

Mayby it is problem with mods? The same appears with Apollobb theme

Bulakbol

#130
Not sure bud. I think it does something to do with the design of your theme. Try asking the theme's author while I'm checking it. I'll get back to you.


<EDIT>
Lasalle, try using the default theme. Let me know if the problem exist with the default theme.
</EdIT>

<EDIT2>
Sorry Lassale but it is your theme that causing all of those scrollbars and broken layout. I can't do anything about it. I found one error though. In your BoardIndex.template.php Line 409. Replace the alt="', Grupy, '" with alt="Grupy".
</EDIT>
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Lasalle

#131
I appreciate that You tried help JohnyB. Thanks for Your time.


Edited: 
OK, this is the file, but I copied it from Admin Panel (copy and paste), not from FTP  :(, I can't access FTP till friday. But it should be the same.

Bulakbol

#132
Attach your index.template,php Lasalle. I would like to see it why the width is "fix" and not dynamic.


<EDIT>
I got it. Thanks. I'll let you know if I can find anything.
</EDIT>
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Bulakbol

Quote from: Lasalle on April 01, 2008, 09:39:13 AM
I appreciate that You tried help JohnyB. Thanks for Your time.


Edited: 
OK, this is the file, but I copied it from Admin Panel (copy and paste), not from FTP  :(, I can't access FTP till friday. But it should be the same.

Thanks Lasalle. I'll check your files and see if i can find the problem.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

robbie93

yet another cool mod JohnyB :D


Bulakbol

Hi Robbie. Thanks for the compliment bud.  8)
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

уιℓмαz

Thank but this mod didn't work me. I tried it on both my local server and live site but it didn't work.

Bulakbol

Quote from: уιℓмαz on April 04, 2008, 11:54:09 PM
Thank but this mod didn't work me. I tried it on both my local server and live site but it didn't work.

Which one? The one for 2 Beta 3 or 1.1.4? Remember, the one for Beta 3 is you have to disable the built-in one by going to Admin -> Current Theme. Under the Theme Settings  tab, untick "Show group key on board index" checkbox. This mod will automatically take over.

What about giving me more details on why it didn't work?
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

уιℓмαz

On SMF 2.0 Beta 3 public. It installed clearly and i set all settings in admin panel. But there wasn't any change.

Bulakbol

Quote from: уιℓмαz on April 05, 2008, 12:05:16 AM
On SMF 2.0 Beta 3 public. It installed clearly and i set all settings in admin panel. But there wasn't any change.

You have to turn off the built-in legend. Let me know if it still don't work. I would like to see it myself. How about link to your site?
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Advertisement: