Restricting guests for reading a topic for IPB1.2 - Miscellaneous Tutorials
 
  Buy Ebooks, Video Games, DVDs, Electronics and more !
Home | Help Forums | Web Design Tutorials | Free Swishmax Downloads Make Money Online Blog . Free Image and Photo Sharing and Hosting

 

 

Company

Home

Nework Details

Tutorials

SWiSH 2

SWiSHMax

Flash MX

PHP & MySQL

HTML / JScript

Adobe Photoshop

Corel Draw

Gimp

Miscellaneous

Downloads

Templates

Plugins

Fonts

Wallpapers

Free Images

Scripts and Codes

Products

E-Books

SWiSH BB

SWiSH Templates

SWiSH-DB Newsletter
Subscribe to our newsletter : GO
  Partners / Affiliates

   Free image hosting
   Web Design Pakistan
   Swish Templates
   SWiSH Climax
   Talkfreelance Community
   Template Desire
   Lite boards
   Script Sector
   GimpTalk
   13dots
   Idea Designs
   PHP Cafe
   Sposatoettore
   Free swishmax templates
   Swishzone

Manage your site with Flax Article Content Management System
Restricting guests for reading a topic for IPB1.2
Category : Miscellaneous | Level : Beginner | Language : English
Ask Question | Read Comments | Post tutorial | Previous | Next

Web www.swish-db.com

Hi..

By this MOD guests can see all forum and all topics titles and browse categories, but when they try to read any topic, it will force them to LOGIN first.

Tested : on 1.2
DEMO : Click here

----------------------------------------------------------
Open index.php file (the main file of your forum)..
----------------------------------------------------------
FIND

$ibforums->input['act'] = "ST";

ADD ABOVE
-----------------
include "checkuser.php";

----------------------------
OPEN CHECKUSER.PHP
----------------------------
Find
http://www.swish-db.com/forum/index.php?act=Login

REPLACE WITH your site name, instead od www.swish-db.com/forum so it will
be like this http://www.yoursite.com/forum/index.php?act=Login

UPLOAD index.php and checkuser.php
Thats it have fun..

Click here to download ZIP file

EDIT : Sorry ALI IMRAN was logged on my computer.

- Ali..


© 2002-2005 Flaxweb Network | Article Manager | Gimp Tutorials Library | RAD C++ Library | Free C/C++ Sourcecode |
Sites of interest : Web Design Blog | Swish Templates | Swishmax Ebook | Photoshop Templates | Gimp Tutorials | Text Forum | Make Money Online