Icy Phoenix

     
 


Post new topic  This topic is locked: you cannot edit posts or make replies. 
Page 1 of 1
 
 
Reply with quote Download Post 
Post Amending Rules.php To Redirect To A Different Page 
 
I've created a lengthy html rules page via the CMS as this works better for my site.  

Can someone tell me what I'd need to replace the existing code in 'rules.php' to redirect automatically to a page called www.mysite/forum/index.php?page=8

e.g. someone clicking on the 'rules.php' link would instead be taken to my new page instead.
 



 
tc1967ukSend private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: Amending Rules.php To Redirect To A Different Page 
 
Code: [Download] [Hide]
  1. Open page_header.php  
  2.  
  3. find  
  4.  
  5.     'U_BOARDRULES' => append_sid('rules.' . $phpEx),  
  6.  
  7. replace with  
  8.  
  9.     'U_BOARDRULES' => 'http://www.mysite/forum/index.php?page=8', 



 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Amending Rules.php To Redirect To A Different Page 
 
Worked a treat.  Thanks Zuker.
 



 
tc1967ukSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Amending Rules.php To Redirect To A Different Page 
 
ur welcome mate
 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Amending Rules.php To Redirect To A Different Page 
 
Is necesary put here the info about the foro or don't?
 



 
Y3KSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Amending Rules.php To Redirect To A Different Page 
 
Y3K wrote: [View Post]
Is necesary put here the info about the foro or don't?


nope
only if we ask u
 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Amending Rules.php To Redirect To A Different Page 
 
Quote:
nope
only if we ask u

Soo... Why in phpBB-Es.com you ask for that... The user can come here without copyright and take support...
 



 
Y3KSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Amending Rules.php To Redirect To A Different Page 
 
Y3K wrote: [View Post]
Quote:
nope
only if we ask u

Soo... Why in phpBB-Es.com you ask for that... The user can come here without copyright and take support...


we have policies here and in phpbb-es there are other policies about supporting.
BTW don't go ot please
 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Amending Rules.php To Redirect To A Different Page 
 
Sorry for use this topic like chat xD... I just wanted know...
 



 
Y3KSend private message  
Back to topPage bottom
Post new topic  This topic is locked: you cannot edit posts or make replies.  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events


  

 

  cron