Home Community Mys-Script Creative Off-Topic |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Logging in for the First Time
I'm curious if, when the user logs in that they be directed to a certain page. After viewing the page and clicking "Continue" or some kind of button, it would stop popping up every time they started.
For example, I want to have a page for beginners that explains a few basics of how to start and what they should do. It'll have an NPC explaining she gave you some money to buy an adoptable, and then tells you how to acquire more... Pretty much like a good, warm welcome. Then at the bottom of the page it'll say the NPC says something like... "Alright, bye!" and then you can click a button that says "Continue on to the website" or something. -shrugs- Any help appreciated :D
__________________
No longer working on Aroha. If you see the art of it somewhere else, it's because I've sold it. |
#2
|
||||
|
||||
I am willing to bet this would be easy. In pseudo code, have your pages check a variable, say 'new', and if its 0 or false then redirect to the beginner page, and the beginner page also ads 1 to the 'new' variable or makes it true. now when the pages check variable 'new' it shouldn't redirect. you will also need to add the variable 'new' to the sql table. Now you just need this in php lol.
I took a stab at it, interested in if my idea would work and what else you guys will come up with.
__________________
https://gemnode.com Free Hosting for Mysidia Adopt Sites Just join our forum and request your free hosting account |
#3
|
||||
|
||||
umm I believe it is possible to setup redirect page and command, there are lots of solutions you can find from google.
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#4
|
||||
|
||||
I'm not sure about re-directing, but you could edit your lang.php file.
So where it says this - PHP Code:
PHP Code:
Last edited by Linkin-Dreamer; 09-05-2011 at 05:24 AM. |
#5
|
|||
|
|||
I'm not that good with PHP, I can usually just take it then edit it a bit to my needs but never really one to make up stuff. I can never remember what to type and whatnot... So if anyone could give me more specific code would be helpful.
Also Linkin, you're idea is good, but I was kind of thinking that it would pop up every time you logged in until you pressed a certain button, just to make sure you understood and saw it. Like if you register but then accidently close or miss a few things. Some people just pass by on things like that, while if they had a button to press they might be drawn to read it a bit more :P
__________________
No longer working on Aroha. If you see the art of it somewhere else, it's because I've sold it. |
#6
|
||||
|
||||
I see, makes sense.
|
#7
|
|||
|
|||
So anyone gonna work on this or no :o?
__________________
No longer working on Aroha. If you see the art of it somewhere else, it's because I've sold it. |
#8
|
|||
|
|||
ill go try and do it, once i did it, ill post it in the mods section.
__________________
Need coding help? send me a PM! :) |
#9
|
||||
|
||||
you can do that on the register.php page.when you register,something like welcome XXXX,edit your account or...
you can put a link with "see basics" and add a pet to the database with for owner the newcomer.
__________________
NABARUDIS.COM
|
#10
|
|||
|
|||
kitty, didnt u notice i already made this and put it in the mod section, but good :P
__________________
Need coding help? send me a PM! :) |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Help on Logging in to 1.3.3 ! | Missy Master | Questions and Supports | 5 | 04-18-2015 02:38 AM |
Language Exception Error when Logging in / out | LucasA33 | Questions and Supports | 3 | 12-21-2013 06:31 AM |
Need Help Logging In | blueskyler | Questions and Supports | 3 | 12-13-2011 07:26 PM |
Logging In Problem O_O | Abronsyth | Questions and Supports | 11 | 10-18-2011 03:47 PM |
when you have time i need a little help. | agnyz | Questions and Supports | 7 | 01-17-2009 03:12 PM |
What's New? |
What's Hot? |
What's Popular? |