Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Sign In
Not a member yet? Click here to register.

"Members only" message

As you might know, when a non-registered member clicks on a link to submit an article or link they get redirected back to the homepage. I was wondering...is it possible to redirect them to a custom page so that I can tell them "Your not registered..please register etc...."?
Go here and find the Restricted Members only Mod
Instead of the restricted.php in the code:

if (!iMEMBER) fallback(BASEDIR."restricted.php"); 

you can ofcourse change to a custom_page like this:

if (!iMEMBER) fallback(BASEDIR."viewpage.php?page_id=1");

Number 1 depends on what custom_page you want to show.
Yeah that works too, and probably less work too
That's what I've done with my site. Works like a charm.
And here ;)

Thanks ppl!
good idea , but I thing it is easy to change the function ( fallback) itself instead of change every page that contains it ... is that right??
Saeed, you could do this, but there are other places in FUSION that uses the fallback function for different reasons...

This would cause the user to be redirected back to a page which might not be relevant...
Thread Information
9 posts
3527 times
Last Post
Last updated on 14 years ago
You can view all discussion threads in this forum.
You can start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You cannot download attachments in this forum.