Welcome, Guest. Please Login or Register.
May 04, 2025, 12:45:38 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  |  Development  |  Mod Ideas and Creation  |  give newbies a higher position « previous next »
Pages: [1] Reply Ignore Print
Author Topic: give newbies a higher position  (Read 463 times)
degiraffe
Noobie
*
Posts: 2


I'm a llama!

give newbies a higher position
« on: May 31, 2002, 02:21:51 PM »
Reply with quote

I really DON'T know where to post this questions...
so sorry if this is the wrong section.

1) Is there some kind of hack to download, to change the position of my members, without changing there posts?
I want some newbies to become a jr.member.

2) IS there some kind of hack to download, so I can "hide" a text....and member can only see the text when they replying??

if YES.... where can I download it??
Greetz
DE GIRAFFE
« Last Edit: May 31, 2002, 02:24:31 PM by degiraffe » Logged
Jedi~
Eric
Beta Tester
YaBB God
*****
Posts: 1284


WWW
Re:give newbies a higher position
« Reply #1 on: May 31, 2002, 02:38:24 PM »
Reply with quote

Just up their post count.
Logged
degiraffe
Noobie
*
Posts: 2


I'm a llama!

Re:give newbies a higher position
« Reply #2 on: May 31, 2002, 02:40:09 PM »
Reply with quote

I said: "WITHOUT changing their posts"
Logged
Jedi~
Eric
Beta Tester
YaBB God
*****
Posts: 1284


WWW
Re:give newbies a higher position
« Reply #3 on: May 31, 2002, 02:49:43 PM »
Reply with quote

Oh sorry, must of missed that.
Logged
Jalapeno
Full Member
***
Posts: 158


Peno, Jala Peno...

WWW
Re:give newbies a higher position
« Reply #4 on: May 31, 2002, 03:12:51 PM »
Reply with quote

For your second question see these threads:

http://www.yabb.info/community/index.php?board=158;action=display;threadid=6344

http://www.yabb.info/community/index.php?board=158;action=display;threadid=5784;start=0
« Last Edit: May 31, 2002, 03:13:36 PM by Jalapeno » Logged

Too lazy. Way too lazy.
Delinquently insane
Foolish One
YaBB God
*****
Posts: 529


The One Surpassed By God!!!!

Re:give newbies a higher position
« Reply #5 on: May 31, 2002, 04:29:34 PM »
Reply with quote

yes you can  find this in profile.php


[code]

$request = mysql_query("SELECT membergroup FROM {$db_prefix}membergroups ORDER BY ID_GROUP");
   $lines = array();
   while ($row = mysql_fetch_row($request))
      $lines[] = $row[0];
   if($settings[7] == 'Administrator') {
      $position='';
      foreach ($lines as $curl) {
         if($curl != $lines[1] && $curl != $lines[2] && $curl != $lines[3] && $curl != $lines[4] && $curl != $lines[5] && $curl != $lines[6]) {
            if($curl != $lines[0] && $curl != $lines[7]) { $position= "$position<option>$curl</option>"; }
            elseif($curl == $lines[0]) { $position= "$position<option value=\"Administrator\">$curl</option>"; }
            elseif($curl == $lines[7]) { $position= "$position<option value=\"Global Moderator\">$curl</option>"; }
         }
      }


change to:

$request = mysql_query("SELECT membergroup FROM {$db_prefix}membergroups ORDER BY ID_GROUP");
   $lines = array();
   while ($row = mysql_fetch_row($request))
      $lines[] = $row[0];
   if($settings[7] == 'Administrator') {
      $position='';
         $request = mysql_query("SELECT membergroup FROM {$db_prefix}membergroups WHERE grouptype=0 ORDER BY ID_GROUP");
            while ($row = mysql_fetch_array($request))       {
               if($row[membergroup] != $lines[0] && $row[membergroup] != $lines[7]) { $position .=
"<option>{$row[membergroup]}</option>"; }
               elseif($row[membergroup] == $lines[0]) { $position .= "<option
value=\"Administrator\">{$row[membergroup]}</option>"; }
               elseif($row[membergroup] == $lines[7]) { $position .= "<option value=\"Global
Moderator\">{$row[membergroup]}</option>"; }
      }      if($memsettings[7] == 'Administrator') { $tt = $lines[0]; }
      elseif($memsettings[7] == 'Global Moderator') { $tt = $lines[7]; }
      else { $tt = $memsettings[7]; }
[/code]

This Should Help You  :)
Logged

ALL MODS Cancelled projected terminated
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  give newbies a higher position « 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.029 seconds with 16 queries.