No idea where to put this, but was just owndering, iv tried searching several sites and searched on google, Im looking for something that if someone goes to my website, i.e www.nick-web.co.uk then a page will appear welcoming them to the site. I dont wanna make it complicated, and iff possible, integrate it nto the existing phpnuke, so for instance, if its the users first time there, or anon users, instead of news, it would load the welcome page up, then any other time, it would load the news module (i.e for registerd users)
Any ideas if this is avalible? or if this is possible? Any takers? lol
Thanx
Nick
Zhen-Xjell Nuke Cops Founder
Joined: Nov 14, 2002
Posts: 5939
Posted:
Sat Aug 30, 2003 6:23 pm
Hi the CMS isn't that customizable -- yet. However, perhaps a simply code hack in the mainfile.php using the getusrinfo call to see if cookie[1] is blank or not, and based on that you can force them to a page. If not, then they are registered and can proceed normally.
_________________ Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
nickweb Nuke Soldier
Joined: Aug 27, 2003
Posts: 34
Posted:
Sun Aug 31, 2003 3:09 am
will have to check that out and bribe some 1. lol.
Zhen-Xjell Nuke Cops Founder
Joined: Nov 14, 2002
Posts: 5939
Posted:
Sun Aug 31, 2003 8:28 am
You can try something like this:
global $user;
cookiedecode($user);
$username=$cookie[1];
if ($username="") {
header("Refresh: 0; URL=...");
}
_________________ Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
nickweb Nuke Soldier
Joined: Aug 27, 2003
Posts: 34
Posted:
Sun Aug 31, 2003 8:49 am
ooo. i like it.. will give it a try later on when i aint got peeps moanin at me for bein online so much (damm.. i need 2 move out. lmoa)..
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum