Welcome, Guest. Please Login or Register.
November 24, 2024, 05:11:48 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  |  Language Specific User Help  |  Español  |  Duda con los rangos « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Duda con los rangos  (Read 33847 times)
el_sardi
Noobie
*
Posts: 29


visita la web

WWW
Duda con los rangos
« on: March 11, 2004, 11:43:25 PM »
Reply with quote

Descripción del Problema:
Bueno me e fijado k en este foro ay mas colores en los usuarios k los normales (rojo=admin, azul =global) tengo la duda de k, kada mienbro verde, naranja creo y algunos mas, k rango tienen y k manejo sobre, el foro y como se podia acer eso...

Saludos
Logged

darksteel
Sr. Member
****
Posts: 305


www.cmh-ip.net

luis18a@hotmal.com
Re:Duda con los rangos
« Reply #1 on: March 12, 2004, 12:03:02 AM »
Reply with quote

Bueno primero. Agregas los rangos luego abres el

BoardIndex.php

Buscas
Quoteif ($tmp['realName'] != '')
      {
         if ($tmp['memberGroup'] == 'Administrator')
            $tmpusers[] = "<a href=\"$scripturl?action=viewprofile;user=$euser\"><font color=\"red\">$tmp[realName]</font></a>";
         elseif ($tmp['memberGroup'] == 'Global Moderator')
            $tmpusers[] = "<a href=\"$scripturl?action=viewprofile;user=$euser\"><font color=\"blue\">$tmp[realName]</font></a>";
         elseif ($tmp['memberGroup'] == 'YaBB SE Developer')
            $tmpusers[] = "<a href=\"$scripturl?action=viewprofile;user=$euser\"><font color=\"green\">$tmp[realName]</font></a>";
         elseif ($tmp['memberGroup'] == 'Mod Team')
            $tmpusers[] = "<a href=\"$scripturl?action=viewprofile;user=$euser\"><font color=\"orange\">$tmp[realName]</font></a>";
         else
            $tmpusers[] = "<a href=\"$scripturl?action=viewprofile;user=$euser\">$tmp[realName]</a>";
      }
      else
y anades asi
Quoteelseif ($tmp['memberGroup'] == 'TuGrupo')
            $tmpusers[] = "<a href=\"$scripturl?action=viewprofile;user=$euser\"><font color=\"Tu color \">$tmp[realName]</font></a>";

ahy lo vas agregando sucecivamente y sus colores

Salu2
« Last Edit: March 12, 2004, 12:06:45 AM by darksteel » Logged

mmmm....Searching Hosting !
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Language Specific User Help  |  Español  |  Duda con los rangos « 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.041 seconds with 21 queries.