Results 1 to 9 of 9

Thread: Is there away of getting login to go to main page?

  1. #1
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default Is there away of getting login to go to main page?

    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!

  2. #2
    Join Date
    May 2007
    Posts
    588

    Default Re: Is there away of getting login to go to main page?

    should be, change the login submit button to,
    Code:
    ..../login.php?next=http://www.where-ever.com

  3. #3
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default Re: Is there away of getting login to go to main page?

    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:

    Code:
    <FORM name=loginForm method=post action="{$baseurl}/login.php?next={$smarty.request.next}{$smarty.request.add}">
    with this:

    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!

  4. #4
    Join Date
    May 2007
    Posts
    588

    Default Re: Is there away of getting login to go to main page?

    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.

  5. #5
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default Re: Is there away of getting login to go to main page?

    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!

  6. #6
    Join Date
    May 2007
    Posts
    588

    Default Re: Is there away of getting login to go to main page?

    i could take a look if u want...url?

  7. #7
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default Re: Is there away of getting login to go to main page?

    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!

  8. #8
    Join Date
    May 2007
    Posts
    588

    Default Re: Is there away of getting login to go to main page?

    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 :)

  9. #9
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default Re: Is there away of getting login to go to main page?

    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!

Similar Threads

  1. Text on Login Page
    By pskill in forum Template Modifications
    Replies: 2
    Last Post: 06-08-2008, 02:17 AM
  2. Stars Rating not showing on main page
    By Meghwar in forum Installation Support
    Replies: 3
    Last Post: 03-31-2008, 12:01 PM
  3. Error on Main Page, Right Margin area
    By scobb77 in forum Installation Support
    Replies: 2
    Last Post: 01-06-2008, 02:31 PM
  4. make users login on a specific page
    By devarioj in forum Frequently Asked Questions
    Replies: 22
    Last Post: 09-24-2007, 09:04 AM
  5. Main.php error
    By winkler in forum Fixed Bugs
    Replies: 3
    Last Post: 07-18-2007, 05:23 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •