Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic View Forums Home Page MOD YaBB2.2 (Read 1476 times)
GurusGuru
Full Member
***
Offline



Posts: 176
Location: India
Joined: Aug 24th, 2002
Gender: Male
View Forums Home Page MOD YaBB2.2
Jan 23rd, 2008 at 4:52am
Print Post  
Hi Michael,

Could you please modify the following for YaBB2.2. Tried using it, but doesn't work for YaBB2.2.


Quote:
You can do that in YaBB 2.1 with this code:

open YaBB.pl and replace

Code
Select All
		if (!(($action eq 'login') || ($action eq 'login2') || ($action eq 'register') || ($action eq 'register2') || ($action eq 'reminder') || ($action eq 'reminder2') || ($action eq 'validate') || ($action eq 'activate') || ($action eq 'resetpass'))) { 



with

Code
Select All
		if (!(($action eq 'login') || ($action eq 'login2') || ($action eq 'register') || ($action eq 'register2') || ($action eq 'reminder') || ($action eq 'reminder2') || ($action eq 'validate') || ($action eq 'activate') || ($action eq 'resetpass') || $ENV{QUERY_STRING} =~ /^board=(\w+?)$/i || $ENV{QUERY_STRING} eq "" || $ENV{QUERY_STRING} =~ /^catselect=(\w+?)$/i)) { 

  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint