Welcome, Guest. Please Login or Register.
October 09, 2024, 04:25:43 PM
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  |  Only members page « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Only members page  (Read 911 times)
Werner
Noobie
*
Posts: 3


I'm a llama!

Only members page
« on: October 20, 2003, 08:33:22 PM »
Reply with quote

Hello,

I wan't to make an page that you only can see when you are logged in at the forum  :P
Can someone make this for me??



sorry for my bas English
Logged
Peter Duggan
Llama Chameleon
Global Moderator
YaBB God
*****
Posts: 1793


You come and go...

WWW
Re:Only members page
« Reply #1 on: October 21, 2003, 04:46:33 AM »
Reply with quote

Assuming you still want guests to be able to read parts of your forum, you could do this with the features already included by assigning all your members to a membergroup and creating a board or boards with access restricted to that group.

If you don't want guests to be able to read anything, it's even easier because you'd only have to check 'Forum Preferences and Settings => Disallow guests from doing anything but login or register?'!
Logged

Werner
Noobie
*
Posts: 3


I'm a llama!

Re:Only members page
« Reply #2 on: October 21, 2003, 03:24:23 PM »
Reply with quote

No, I mean someting else..

I have made an html page and now I wan't to make that that page is only avaible for forum members  :P
Logged
Shadow's Pawn
Support Team
YaBB God
*****
Posts: 597


ich soll nicht toten

ICQ - 8039201shadowpawn@hotmail.com WWW
Re:Only members page
« Reply #3 on: October 21, 2003, 11:53:36 PM »
Reply with quote

You'll have to make the page with a php extension, then include SSI.php and do something like if username == then die "you aren't allowed to access this section"

That of course is really rough..  I do remember something like this being asked about in Other Help (I think) where the user was asking almost the same question.  Try searching back a few months and you should find it.

I might dig it up for you if I get time.
Logged

apologize \A*pol"o*gize\, v. i. - To lay the foundation for a future offense.
Anguz
YaBB God
*****
Posts: 641


llama me?!

WWW
Re:Only members page
« Reply #4 on: October 23, 2003, 01:25:35 AM »
Reply with quote

well... the condition would be something like

global $username;
if ($username != 'Guest'){
// your content here
}else{
echo 'get lost';
}


I may be wrong though..
« Last Edit: October 23, 2003, 01:30:23 AM by Anguz » Logged

My Mods: Avatar & Sig Size Control, No Show Msg Subject, Msg URL Composer, Built-in Avatar Rand, Built-in Sig Rand, Remove New-lines Excess, Show All Stars, Search Bar, Smart URLs
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Only members page « 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.012 seconds with 20 queries.