Separate Sticky and Normal Topic

Started by Masterd, March 16, 2009, 12:55:46 PM

Previous topic - Next topic

TDNY

Quote from: LexArma on March 19, 2009, 02:51:44 PM
Quote from: TDNY on March 19, 2009, 02:48:03 PM
Quote from: LexArma on March 19, 2009, 02:47:16 PM
Language problem - what language files are  you using? :)

English, thanks. Need to use english to work ad mgmnt.

English or english-utf8 ;) This mod installs the language strings to *.english.php but to *.english-utf8.php you will have to make the edits manually.

Thanks, I will edit the  mod/english-utf8 and see what happens as I already did the edit to mod/english php

TDNY

LexArma,
Thanks for helping this newbie out, you made it very easy to understand what I needed to do.
   I edited the English-utf8 file like you said and it all works like it should, no more errors either. Thanks!!

TD

Aleksi "Lex" Kilpinen

Quote from: TDNY on March 19, 2009, 03:05:08 PM
LexArma,
Thanks for helping this newbie out, you made it very easy to understand what I needed to do.
No problem :)
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

hhy89

Seo4Smf 2.0 - Full Top10 Stats(full top10) - Aligned and Bilateral Child Boards(2li 3lü alt bölümler)
http://www.smfmod.com
http://destek.smfmod.com

PalmBeachPreps


hhy89

Seo4Smf 2.0 - Full Top10 Stats(full top10) - Aligned and Bilateral Child Boards(2li 3lü alt bölümler)
http://www.smfmod.com
http://destek.smfmod.com

Blinker

Nice mod, very simple, effective and should be standard in SMF.

Great work hhy89!

hhy89

Seo4Smf 2.0 - Full Top10 Stats(full top10) - Aligned and Bilateral Child Boards(2li 3lü alt bölümler)
http://www.smfmod.com
http://destek.smfmod.com

traveler1

Seems to not work with 2.0 RC. Is the file corrupted on the download page by chance. I tried twice and got a not compatible or corrupt message both times.


hhy89

Separate_Sticky_and_Normal_Topic.zip for smf 2.0 rc1
Separate_Sticky_and_Normal_Topic_1.1.x.zip for smf 1.1.x
;D
Seo4Smf 2.0 - Full Top10 Stats(full top10) - Aligned and Bilateral Child Boards(2li 3lü alt bölümler)
http://www.smfmod.com
http://destek.smfmod.com

C4G-TK

This is a cool mod and I've installed it without any problems on RC1 this past week.  Thanks!


I'm not sure if this visual problem is from the mod or not.  Is there a way for it to pull the files to make it look like it is uniform instead of making it gray?

Currently, I get boxes of gray on the lines for Sticky or Regular (circled in picture picture 1)

It would be nicer if it would pull the same files as if the mod wasn't installed (circled in picture 2)

-img removed-

hhy89

Seo4Smf 2.0 - Full Top10 Stats(full top10) - Aligned and Bilateral Child Boards(2li 3lü alt bölümler)
http://www.smfmod.com
http://destek.smfmod.com

C4G-TK

Thanks hhy89.

If you want, I'll remove my post, so it doesn't confuse anyone!

-img removed-

hhy89

', empty($options['display_quick_mod']) ? '7' : '8', '

replace

', empty($options['display_quick_mod']) ? '8' : '9', '

;D
Seo4Smf 2.0 - Full Top10 Stats(full top10) - Aligned and Bilateral Child Boards(2li 3lü alt bölümler)
http://www.smfmod.com
http://destek.smfmod.com

C4G-TK

#34
Wow! Great!!!

That's the MessageIndex.template

replace to:

if($topic['is_sticky'] && !$stickybar)
        {
            echo'<tr class="titlebg"><td colspan="', empty($options['display_quick_mod']) ? '8' : '9', '"><img src="', $settings['images_url'], '/icons/quick_sticky.gif" width="16"  /><b> ' . $txt['hhystick1'] . '</b></td></tr>';
            $stickybar = true;
        }
        else if(!$topic['is_sticky'] && $stickybar && !$normalbar)
        {
            echo'<tr class="titlebg"><td colspan="', empty($options['display_quick_mod']) ? '8' : '9', '"><img src="' . $settings['images_url'] . '/post/xx.gif" alt="" align="middle" /><b> ' . $txt['hhystick2'] . '</b></td></tr>';
            $normalbar = true;


Great it worked for the Sticky and Normal lines.  I just have one more gray box on the white line above those.


-img removed-

hhy89

' , !empty($options['display_quick_mod']) ? '8' : '7' , '"
replace
' , !empty($options['display_quick_mod']) ? '9' : '8' , '"
Seo4Smf 2.0 - Full Top10 Stats(full top10) - Aligned and Bilateral Child Boards(2li 3lü alt bölümler)
http://www.smfmod.com
http://destek.smfmod.com

C4G-TK

Thanks, hhy89!

That's a fix for me!

Replace to:


if (!empty($settings['display_who_viewing']))
{
echo '
<tr class="windowbg2">
<td colspan="' , !empty($options['display_quick_mod']) ? '9' : '8' , '" class="headerpadding smalltext">';
if ($settings['display_who_viewing'] == 1)


Worked like a charm!  Looks much nicer now.  (pic attached)

Thank you very much!!



-img removed-

hhy89

Seo4Smf 2.0 - Full Top10 Stats(full top10) - Aligned and Bilateral Child Boards(2li 3lü alt bölümler)
http://www.smfmod.com
http://destek.smfmod.com

RIGILKENTARUS

Latin Spanish Translation
//  by smfmod.com
$txt['hhystick1'] = 'Temas Sujetos';
$txt['hhystick2'] = 'Temas Normales';


I made one change on this mod

Find:
            echo'<tr class="titlebg"><td colspan="', empty($options['display_quick_mod']) ? '7' : '8', '"><img src="' . $settings['images_url'] . '/post/xx.gif" alt="" align="middle" /><b> ' . $txt['hhystick2'] . '</b></td></tr>';

Replace with:
            echo'<tr class="titlebg"><td colspan="', empty($options['display_quick_mod']) ? '7' : '8', '"><img src="' . $settings['images_url'] . '/topic/normal_post.gif" width="19"  /><b> ' . $txt['hhystick2'] . '</b></td></tr>';


;)
WwW.ChileDescargas.Com Comunidad de Descargas..... Si no lo tenemos, pidelo y lo traemos.......

3wasef


Thanx a lot for the great Mod,
it's a big relief for me to arrange topics in my forum. 

Modifications.arabic-utf8.php

$txt['hhystick1'] = 'المواضيع المثبتة';<br>
$txt['hhystick2'] = 'المواضيع';


http://3wasef.com [nofollow]

Advertisement: