4images Forum & Community

4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: zspider on April 15, 2005, 12:13:16 AM

Title: Putting Sessions and Login form on own website pages
Post by: zspider on April 15, 2005, 12:13:16 AM
on my site i dont have only the uploader i have other pages that i made that are php, wondering if i can put a login form on the home page of my site so you can log in straight away instead of having to go to the 4images uploader, if you know what i mean, how ya do this ?
Title: Re: Putting Sessions and Login form on own website pages
Post by: V@no on April 15, 2005, 12:36:56 AM
yes, u can, just make sure the form is pointing to 4images login.php and if u want it redirect to a page other then 4images index.php then add to the form:
Code: [Select]
<input type="hidden" name="url" value="your_url_here">
Title: Re: Putting Sessions and Login form on own website pages
Post by: zspider on April 15, 2005, 12:38:42 AM
do i need a session thing in the header ? so i can have your logged in as blah
Title: Re: Putting Sessions and Login form on own website pages
Post by: V@no on April 15, 2005, 12:54:14 AM
well, if visitor has blocked cookies, then this might not work if u redirect to other page then 4images.
if cookies are not blocked, then u dont need anything else.
Title: Re: Putting Sessions and Login form on own website pages
Post by: zspider on April 15, 2005, 01:08:44 AM
sorry but i still dont understand how to do this :( i put the url of the login page in my form and dont work :( oh i have done the mod where you intergrate with phpbb dunno if that changes anything