Jamesking56 Posted March 1, 2007 Share Posted March 1, 2007 i own my own forums! i can edit all the different sections in my forums but do you know how i can make it display a message at the top saying to my guests (people who have not registered) to register? Link to comment Share on other sites More sharing options...
real_illusions Posted March 1, 2007 Share Posted March 1, 2007 what forum software you got?If you have ipb, then they have their own mods section on their website. Link to comment Share on other sites More sharing options...
Jamesking56 Posted March 1, 2007 Author Share Posted March 1, 2007 yea i have ipboard but i want to have the code not a mod! as i cant install mods on mine (its a free one hosted and invisionplus.net) Link to comment Share on other sites More sharing options...
aspnetguy Posted March 1, 2007 Share Posted March 1, 2007 Are you able to view the source code (php files)? If so look through it and look for the SESSION variables that deal with login. Then you can write an if statement in the source code based on what values are in the SESSIONs. Link to comment Share on other sites More sharing options...
Jamesking56 Posted March 2, 2007 Author Share Posted March 2, 2007 what is the code to do this and i will add it in Link to comment Share on other sites More sharing options...
aspnetguy Posted March 2, 2007 Share Posted March 2, 2007 I don;t know I don't have any IPB source code to look at Link to comment Share on other sites More sharing options...
Jamesking56 Posted March 2, 2007 Author Share Posted March 2, 2007 cant you make me an "if statement"? Link to comment Share on other sites More sharing options...
aspnetguy Posted March 2, 2007 Share Posted March 2, 2007 <?php if($_SEESION["IpbLoginSession"] != "IPB login value"){ ?>Place html message here<?php } ?> Link to comment Share on other sites More sharing options...
Jamesking56 Posted March 2, 2007 Author Share Posted March 2, 2007 thanks m8! y dont u register @ my forums? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now