Welcome, Guest. Please Login or Register.
October 06, 2024, 10:22:50 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  |  Development  |  Mod Ideas and Creation  |  Remove Register option. « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Remove Register option.  (Read 1936 times)
av_mossiso
Noobie
*
Posts: 3


Remove Register option.
« on: November 24, 2003, 11:11:43 PM »
Reply with quote

I'm trying to make some forums that do not give everybody the opption to register for a user name.

Is there any way to remove the register option, and be able to add users myself.

Thanks for all the good work on this product.
Logged
Crackwar
Jr. Member
**
Posts: 92


Ich liebe Lamas !!^^ I love lamas !!^^

WWW
Re:Remove Register option.
« Reply #1 on: November 25, 2003, 01:36:33 PM »
Reply with quote

A Mod like this akready exist  ;)
take search  :)

(cool it was a rhyme ^^)
Logged

Nicht denken, dass ich n mieser Zeitgenosse bin. Ich bin nur Lamasüchtig ^^

Don´t think i´m a bad boy. I only like lamas ^^
av_mossiso
Noobie
*
Posts: 3


Re:Remove Register option.
« Reply #2 on: November 25, 2003, 07:21:52 PM »
Reply with quote

Leider rhymt das nicht auf englisch.  Wie wars auf deutsch?

Ich habe schon dafur gesucht, koennte aber nichts finden.

I searched for that already, but couldn't find anything.  

Can anyone point me in the right direction?

Thanks
Logged
Shadow's Pawn
Support Team
YaBB God
*****
Posts: 597


ich soll nicht toten

ICQ - 8039201shadowpawn@hotmail.com WWW
Re:Remove Register option.
« Reply #3 on: November 25, 2003, 07:40:16 PM »
Reply with quote

The Application Mod by Spaceman Spiff should do what you want.

You can hide the Register option from guests, making it appear only to Administrators..  the only thing is that you will recieve an error if you try to register a new member while you are already logged in.  It will still register the new member though.

To do this, open up Subs.php

Find


   if ($settings[7] == 'Administrator')
      $yymenu .= "<br /><a href=\"$cgi;action=admin\">$img[admin]</a>";
   if ($username == 'Guest')
      $yymenu .= "<br /><a href=\"$cgi;action=login\">$img[login]</a><br /><a href=\"$cgi;action=register\">$img[register]</a>";


And replace with


   if ($settings[7] == 'Administrator')
      $yymenu .= "<br /><a href=\"$cgi;action=admin\">$img[admin]</a><br /><a href=\"$cgi;action=register\">$img[register]</a>";
   if ($username == 'Guest')
      $yymenu .= "<br /><a href=\"$cgi;action=login\">$img[login]</a>";


I strongly recommend you use the Application Mod by Spaceman Spiff instead.
« Last Edit: November 25, 2003, 07:49:12 PM by Shadow's Pawn » Logged

apologize \A*pol"o*gize\, v. i. - To lay the foundation for a future offense.
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Remove Register option. « 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.084 seconds with 20 queries.