FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » How to include a php file before any FUD processing is done?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: How to include a php file before any FUD processing is done? [message #39196 is a reply to message #39158] Tue, 09 October 2007 15:33 Go to previous message
pgregg is currently offline  pgregg   United Kingdom
Messages: 14
Registered: July 2006
Karma:
Junior Member
I solved the problem in my login handler by making it recognise if the current REQUEST_URI was part of fudforum - if so then I redirect the user to the site home page with a target= of the requested url.
This way my login handler never includes the fudapi code when inside the forum and so the dupe function declarations never happen.
The home page then takes care of the login/fudapi, etc and bounces the user back to the original forum page.

Hacky, but it works. Smile

Cheers,
PG
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Extended letters in user names
Next Topic: test123
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 21:29:17 GMT 2024

Total time taken to generate the page: 0.08113 seconds