Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Can You Use A Login Script To Login To Forums, from outside of the forum itself?
gameratheart
post Nov 30 2005, 12:35 AM
Post #1


Super Member
*********

Group: [HOSTED]
Posts: 491
Joined: 14-November 05
From: Britannia!
Member No.: 14,287



The title and description of this topic should tell you my basic question, but it's never enough detail just to read a question, so I will explain my intention.

Basically, on my website I have a php script for users to register to my site. I then use this data to create forum accounts (I do not use the main forum Registration form because I cannot change it's contents and there are some questions I'd like to ask before registration). Later I also plan to make hidden areas that you need to register for to enter.

Anyway, I wondered if it was possible to make a login page where you could choose to be logged in to the site or to our SMF forums, and if you chose the forums, you would instantly get logged in to the forums without having to type your data again. Do you know any way to do this?
Go to the top of the page
 
+Quote Post
jlhaslip
post Nov 30 2005, 01:17 AM
Post #2


A computer once beat me at chess, but it was no match for me at kick boxing.
Group Icon

Group: [MODERATOR]
Posts: 3,874
Joined: 24-July 05
From: In Trouble Again... still?
Member No.: 9,787
Spam Patrol



Think "spash page" and "cookies".
The splash page to input the data which I assume you would store in a database.
Then cookies to set the forum required info.
Most forums set their own cookies already, so check to see if the cookie is present before setting another one.
In the spash page, direct the user to either an html page if NOT forum is selected or to the forum if selected.
Using the Cookies will also let them enter the forum from their Favourites/Bookmarks list on their local browser.
Go to the top of the page
 
+Quote Post
SqlByte
post Nov 30 2005, 07:21 PM
Post #3


Premium Member
********

Group: Members
Posts: 172
Joined: 18-August 05
Member No.: 10,836



uhm.. he is looking for script, not explanation how to build that in php tongue.gif
anyway i think that IPB have much much more hacks and mods that you can use.
So im not sure if there is a script for that you are looking for on SMF forums, i know there is on IPB.
i sugesst you to change on IPB... but its your choice.
Go to the top of the page
 
+Quote Post
gameratheart
post Dec 3 2005, 07:07 PM
Post #4


Super Member
*********

Group: [HOSTED]
Posts: 491
Joined: 14-November 05
From: Britannia!
Member No.: 14,287



I will think about changing from SMF to IPB, but I do not want to resort to using a forum host, as I have said in countless other topics, so that may be out of the question.

Jlhaslip has actually explained quite a good method for me. I will endeavour to use it.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Forum Admin Needed/wanted(5)
  2. New Forum, Topic Starters(13)
  3. Toggle display in page script(8)
  4. MyBB Forum!(21)
  5. Free Weather Feed Script(1)
  6. Help Me Choose What To Use My Free Hosting For(7)
  7. Invision Forums Member Number(8)
  8. Which Forums Would You Prefer?(13)
  9. How Do I Make My Forum More Popular?(20)
  10. Get Paid To Post On Forums?(17)
  11. Game Creation Forum(4)
  12. Cst Graphics Forum(1)
  13. Smilies At Forum(29)
  14. Review Site: Webmasters-forum.info(0)
  15. Canadian Forum Members *read This*(0)
  1. Look At My Site, And Forum(8)
  2. Spam My Forum Pleassseee(13)
  3. Flashback - Trap17 - 5 Years Ago(7)
  4. Which Forums Should I Use(2)
  5. Sobriety Of Forum Members (poll)(13)
  6. Downloading From The Forums(4)
  7. Get A Hosting Space With Post In This Forums ?(1)
  8. Where Can I Find A Psp Skin For A Forum(4)
  9. Why Don't You Make A Programs Forum In The Technology Area?(1)
  10. The Best Forum Host?(5)
  11. How Did You Hear About This Forum(630)
  12. Only 30 Posts In The Last 11 Hours?!?(6)
  13. Forum Software(14)


 



- Lo-Fi Version Time is now: 24th July 2008 - 04:52 AM