Welcome, Guest. Please Login or Register.
October 06, 2024, 10:45:12 PM
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  |  Development  |  Mod Ideas and Creation  |  To change each figure of boardindex? « previous next »
Pages: 1 [2] Reply Ignore Print
Author Topic: To change each figure of boardindex?  (Read 21386 times)
Anguz
YaBB God
*****
Posts: 641


llama me?!

WWW
Re:To change each figure of boardindex?
« Reply #15 on: November 06, 2003, 08:57:37 PM »
Reply with quote

I see, the $img['new_on'] are being replaced alright, but the $img['new_off'] not

only thing I can think of, is that you put the new line I gave you, inside if together with $img['new_on']... it has to be outside, like this

        // set it to off,  only turn it on if there are posts and they are new.
        $new = $img['new_off'];
        if ($latestPostTime != $txt[470] && $log1 == 0 && $log2 == 0 && $username != 'Guest')
           $new = $img['new_on'];
       $new = str_replace('.gif', $row_board['ID_BOARD'].'.gif', $new);


let me know how it goes :)

btw, I see you're using my Search Bar mod... would you mind posting a copy of your translation in it's thread? I'd appreciate it :D
« Last Edit: November 06, 2003, 08:59:57 PM by Anguz » Logged

My Mods: Avatar & Sig Size Control, No Show Msg Subject, Msg URL Composer, Built-in Avatar Rand, Built-in Sig Rand, Remove New-lines Excess, Show All Stars, Search Bar, Smart URLs
edi67
Jr. Member
**
Posts: 97


I'm a llama!

Re:To change each figure of boardindex?
« Reply #16 on: November 07, 2003, 05:37:04 AM »
Reply with quote

sure u bar is realy super thank for it sure i will make translation in italian for u
muy bien amigos  ;)
Logged

edi67
Jr. Member
**
Posts: 97


I'm a llama!

Re:To change each figure of boardindex?
« Reply #17 on: November 07, 2003, 05:49:16 AM »
Reply with quote

so let me tell u one thing if u was one girl i will kiss u but u are man and i give u my hand as friend.
Thank a lot now look my board i have all icons in this places GREAT gracias mucho
molto grazie.

this is translation for italian language:

<edit file>
italian.lng
</edit file>

<search for>
$locale = 'it_IT';

</search for>

<replace>
$locale = 'it_IT';

$txt['searchbar1'] = "Tutto";
$txt['searchbar2'] = "Qualunque";
$txt['searchbar3'] = "Frase";
$txt['searchbar4'] = "Oggi";
$txt['searchbar5'] = "1 Settimana";
$txt['searchbar6'] = "2 Settimane";
$txt['searchbar7'] = "1 Mese";
$txt['searchbar8'] = "3 Mesi";

</replace>

I will be glad to begin u friend and u visit my forum


Logged

Anguz
YaBB God
*****
Posts: 641


llama me?!

WWW
Re:To change each figure of boardindex?
« Reply #18 on: November 07, 2003, 06:08:35 AM »
Reply with quote

prego ;)

(I know almost no italian, but I meant to say "you're welcome" :P)

sure, we can be friends :)

and thank you for the translation! :D
I'll add it to the mod tomorrow, I'm going to bed now

ciao :)
Logged

My Mods: Avatar & Sig Size Control, No Show Msg Subject, Msg URL Composer, Built-in Avatar Rand, Built-in Sig Rand, Remove New-lines Excess, Show All Stars, Search Bar, Smart URLs
edi67
Jr. Member
**
Posts: 97


I'm a llama!

Re:To change each figure of boardindex?
« Reply #19 on: November 07, 2003, 10:55:48 AM »
Reply with quote

hi friend i want ask u one thing is possible add one thing more because now is not possible see NEW topic in section because there is not more icon on/off but may be is possible insert word NEW near title of section if u have some new topic to read
i hope that  understand me
Logged

Anguz
YaBB God
*****
Posts: 641


llama me?!

WWW
Re:To change each figure of boardindex?
« Reply #20 on: November 07, 2003, 03:59:19 PM »
Reply with quote

so you don't want the new images to change? then you don't need to use the on/off images... but you want the new indicator

         // set it to off,  only turn it on if there are posts and they are new.
         $new = '<img src="' . $imagesdir . '/boardIcon' . $row_board['ID_BOARD'] . '.gif" alt="' . $row_board['boardName'] . '" title="' . $row_board['boardName'] . '" border="0" />';
         if ($latestPostTime != $txt[470] && $log1 == 0 && $log2 == 0 && $username != 'Guest')
            $new1 = $img['new'];


and a few lines down, change this

<font size="2"><b><a href="' . $scripturl . '?board=' . $row_board['ID_BOARD'] . '">' . $row_board['boardName'] . '</a></b><br />

to this

<font size="2"><b><a href="' . $scripturl . '?board=' . $row_board['ID_BOARD'] . '">' . $row_board['boardName'] . ' ' . $new1 . '</a></b><br />


and change the image files to, instead of the on/off ones (you don't need them in pairs if they're both the same)

boardIcon5.gif
boardIcon11.gif
boardIcon15.gif
boardIcon23.gif


I hope I understood what you want
« Last Edit: November 07, 2003, 04:02:17 PM by Anguz » Logged

My Mods: Avatar & Sig Size Control, No Show Msg Subject, Msg URL Composer, Built-in Avatar Rand, Built-in Sig Rand, Remove New-lines Excess, Show All Stars, Search Bar, Smart URLs
edi67
Jr. Member
**
Posts: 97


I'm a llama!

Re:To change each figure of boardindex?
« Reply #21 on: November 07, 2003, 04:03:29 PM »
Reply with quote

i want the icons images  in begin of rown sections as now u see in forum but also i want that appera one indicator NEW near title of section so people understand when there is new post
und?
Logged

Anguz
YaBB God
*****
Posts: 641


llama me?!

WWW
Re:To change each figure of boardindex?
« Reply #22 on: November 07, 2003, 04:08:15 PM »
Reply with quote

Quote from: edi67 on November 07, 2003, 04:03:29 PM
i want the icons images  in begin of rown sections as now u see in forum but also i want that appera one indicator NEW near title of section so people understand when there is new post
und?

that's what I understood... and I think I also understood that the icon at the beginning of the row doesn't change if there's new msgs or not, so it's always the same... and you want the new indicator next to the name

if I understood right, the code in my previous post is what you want... I think, but I won't be sure until you try and it does what you want
Logged

My Mods: Avatar & Sig Size Control, No Show Msg Subject, Msg URL Composer, Built-in Avatar Rand, Built-in Sig Rand, Remove New-lines Excess, Show All Stars, Search Bar, Smart URLs
edi67
Jr. Member
**
Posts: 97


I'm a llama!

Re:To change each figure of boardindex?
« Reply #23 on: November 07, 2003, 04:14:45 PM »
Reply with quote

ok i will try now ..and is it work ..mh i come in spain or u country for pay u one big bottle of beer :-)
Logged

edi67
Jr. Member
**
Posts: 97


I'm a llama!

Re:To change each figure of boardindex?
« Reply #24 on: November 07, 2003, 04:43:06 PM »
Reply with quote

it seems to work but one little little problem i see icon NEW in every section....u see ?

it must tell me only section where there are NEW post
Logged

Anguz
YaBB God
*****
Posts: 641


llama me?!

WWW
Re:To change each figure of boardindex?
« Reply #25 on: November 07, 2003, 04:55:39 PM »
Reply with quote

Quote from: edi67 on November 07, 2003, 04:43:06 PM
it seems to work but one little little problem i see icon NEW in every section....u see ?

it must tell me only section where there are NEW post

ah! sorry, I forget to set it back to nothing :P

        // set it to off,  only turn it on if there are posts and they are new.
        $new = '<img src="' . $imagesdir . '/boardIcon' . $row_board['ID_BOARD'] . '.gif" alt="' . $row_board['boardName'] . '" title="' . $row_board['boardName'] . '" border="0" />';
        $new1 = '';
        if ($latestPostTime != $txt[470] && $log1 == 0 && $log2 == 0 && $username != 'Guest')
           $new1 = $img['new'];


try that
Logged

My Mods: Avatar & Sig Size Control, No Show Msg Subject, Msg URL Composer, Built-in Avatar Rand, Built-in Sig Rand, Remove New-lines Excess, Show All Stars, Search Bar, Smart URLs
edi67
Jr. Member
**
Posts: 97


I'm a llama!

Re:To change each figure of boardindex?
« Reply #26 on: November 07, 2003, 05:02:24 PM »
Reply with quote

i putting images in correct scetion but i see that seems working between some minutes i will give u confirm but ...my dear friend this is nice mod realy
thank
Logged

anibal
Jr. Member
**
Posts: 83


Yo

WWW
Re:To change each figure of boardindex?
« Reply #27 on: November 15, 2003, 09:01:28 AM »
Reply with quote

hello, would I like them to write complete the steps to be able to modify the forums that I have because I believe that already this available one the mod, not?  ;D

Anibal.
Logged
Pages: 1 [2] Reply Ignore Print 
YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  To change each figure of boardindex? « 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.064 seconds with 21 queries.