Welcome, Guest. Please Login or Register.
December 04, 2024, 08:46:55 AM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

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 33881 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.051 seconds with 21 queries.