After a person signs in, they're taken to their profile page. Is there a way of getting it to go to the main page instead?
After a person signs in, they're taken to their profile page. Is there a way of getting it to go to the main page instead?
If it's not fun, stop doing it!
should be, change the login submit button to,Code:..../login.php?next=http://www.where-ever.com
Thanks. I hate to bother with another question, but I googled this and I'm still not sure how to do this.
Where do I put the?Code:login.php?next=http://www.where-ever.com
Do I replace this:
with this:Code:<FORM name=loginForm method=post action="{$baseurl}/login.php?next={$smarty.request.next}{$smarty.request.add}">
?Code:<FORM name=loginForm method=post action="{$baseurl}/login.php?next={$baseurl}">
I'll try this and let you know what happens...LOL
UPDATE: Yes!!! That was it. Thanks SO MUCH Leki!!!!
UPDATE: There is one problem with this. You can't use the POLLS. It says you're logged in at the top, but something along the line doesn't recoginze you. Sigh. So I'm thinking it's got something to do with {$smarty.request.next} I'll play around with that...
UPDATE:OK I'm lost. I tried "login.php?next={$baseurl} {$smarty.request.add}" but the POLLS function was still broken. Anybody else got any ideas?
If it's not fun, stop doing it!
yup you got it :)....would have posted in a bit more detail but was in the middle of a few things at the time.
thinking a bit more about it though this may break the next feature when users log in from other pages and are supposed to be redirected back there.
for example if your not logged in and try upload it will redirect you back to the upload.php page when you sign in...but with the change i said i think taking you back to the index page will overwrite it.
depends if that bothers you i guess. also there is a login button on the signup page incase you forgot.
Understood, however it's breaking the POLL function. I was updating my last post at the same time you were replying LOL.
It messes with the POLL function and with a site that I'm working on, I want to use the POLLs . When you try to use the polls like to vote or view the stats, it says in the bottom status bar of the browser that there was an error on the page. It does this when you're not logged in and try to use the Polls.
If it's not fun, stop doing it!
i could take a look if u want...url?
This is NOT a fully funtioning site, it's one that I'm building right now (IT'S A WORK IN PROGRESS) before I actually launch it. Once the official site is launched, this one will be removed (just so you know).
http://jummahtube.com/bf2videos
Once I get everything looking and working like I want, it will be at http://bf2video.com
If it's not fun, stop doing it!
have you changed it back...it redirects me to profile after logging in
also good to see a bf2 site :)...i've made a lot of vids for bf2 :)
Yeah, I put it back, sorry. But I tested it with several different accounts with different configurations and for some reason the Polls doesn't work right.
You're into BF2 also? COOL!!! You can find me on the Canadian Armed Forces server (shameless plug for my clan).
I'm hoping to have this site up and running really soon so feel free to post all your BF2 vids there once it's up and I'll also be advertising it at the various BF2 sites like bf2tracker, etc. I thought it was "time" for a video sharing site geared towards this community seeing as to how many videos from this game are on the website of "the other guys". :D
If it's not fun, stop doing it!
Bookmarks