Welcome, Guest. Please Login or Register.
November 22, 2017, 04:54:37 PM
Home Help Search Login 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  |  Topic: Duda con los rangos « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Duda con los rangos  (Read 8177 times)
el_sardi
Noobie
*
Posts: 29


visita la web


WWW
Duda con los rangos
« on: March 11, 2004, 06: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


Re:Duda con los rangos
« Reply #1 on: March 11, 2004, 07:03:02 PM »
Reply with quote

Bueno primero. Agregas los rangos luego abres el

BoardIndex.php

Buscas
Quote
if ($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
Quote
elseif ($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 11, 2004, 07:06:45 PM by darksteel » Logged

mmmm....Searching Hosting !
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Language Specific User Help  |  Español  |  Topic: 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.0.12 | SMF © 2016, Simple Machines
Valid XHTML 1.0! Valid CSS!
Page created in 0.121 seconds with 19 queries.