Automatic group on register Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.
3 posters

    Automatic group on register

    avatar
    HogwartsAcademy
    Forumember


    Posts : 474
    Reputation : 1
    Language : English

    Solved Automatic group on register

    Post by HogwartsAcademy October 4th 2012, 10:44 pm

    I'm in the process of completing my Harry Potter RPG forum, although I'm tired of editing the members groups to which house they earned after completing a quiz I put together to determine their standards. So, can I make it so that as soon as they register and login after confirmation, the forum automatically chooses one of the four houses/groups to put them in? If you want, I can also PICK which houses they can be in, however can I just set it myself?

    On top of that, can I display like a pop up that says "Congratulations! You've put in _____ house/group! Here you will find many things etc etc"

    This would be beyond fantastic, thank you!


    Last edited by HogwartsAcademy on October 6th 2012, 3:26 am; edited 1 time in total
    avatar
    HogwartsAcademy
    Forumember


    Posts : 474
    Reputation : 1
    Language : English

    Solved Re: Automatic group on register

    Post by HogwartsAcademy October 5th 2012, 12:06 am

    How can I do this?
    avatar
    HogwartsAcademy
    Forumember


    Posts : 474
    Reputation : 1
    Language : English

    Solved Re: Automatic group on register

    Post by HogwartsAcademy October 5th 2012, 12:36 am

    Oh I wouldn't want that.. it's okay I guess I can do it myself. However - can you help me with something very quickly before I edit this solved?

    Please and thank you:

    Q: How can I edit the link for the banner at the top? I know that it takes it to the Index page, can I edit this so it doesnt?
    avatar
    HogwartsAcademy
    Forumember


    Posts : 474
    Reputation : 1
    Language : English

    Solved Re: Automatic group on register

    Post by HogwartsAcademy October 5th 2012, 4:07 am

    Thank you, it still takes it to the forums page when they log in, how can I redirect them to a page of my choosing?
    nextlevelgaming
    nextlevelgaming
    Forumember


    Male Posts : 989
    Reputation : 38
    Language : English|CSS|HTML5|javascript|
    Location : New York

    Solved Re: Automatic group on register

    Post by nextlevelgaming October 5th 2012, 4:27 am

    If you are using phpbb2 go to the overall_header, and search logo. The code should be

    Code:
    <!-- BEGIN switch_logo_left -->
                      <td><a href="{U_INDEX}"><img src="{LOGO}" id="i_logo" border="0" alt="{L_INDEX}" vspace="1" /></a></td>
                      <!-- END switch_logo_left -->
                      <td align="center" width="100%" valign="middle">
                         <!-- BEGIN switch_logo_center -->
                         <a href="{U_INDEX}"><img src="{LOGO}" id="i_logo" border="0" alt="{L_INDEX}" vspace="1" /></a>
                         <br />
                         <!-- END switch_logo_center -->
                         <div class="maintitle">{MAIN_SITENAME}</div>
                         <br />
                         <span class="gen">{SITE_DESCRIPTION}<br />  </span>
                      </td>
                      <!-- BEGIN switch_logo_right -->
                      <td><a href="{U_INDEX}"><img src="{LOGO}" id="i_logo" border="0" alt="{L_INDEX}" vspace="1" /></a></td>
                      <!-- END switch_logo_right -->

    change all the href="yoururlhere"...

    to put it simple

    ORIGINAL CODE
    Code:
    <!-- BEGIN switch_logo_center -->
    <a href="{U_INDEX}"><img src="{LOGO}" id="i_logo" border="0" alt="{L_INDEX}" vspace="1" /></a>

    Code:
    <!-- BEGIN switch_logo_center -->
    <a href="/yoururlbase"><img src="{LOGO}" id="i_logo" border="0" alt="{L_INDEX}" vspace="1" /></a>
    where it says /yoururlbase is where you will link it. if it is an offsite page then you have to type in the url like so http://www.sitesname.com/
    avatar
    HogwartsAcademy
    Forumember


    Posts : 474
    Reputation : 1
    Language : English

    Solved Re: Automatic group on register

    Post by HogwartsAcademy October 5th 2012, 9:39 pm

    nextlevelgaming wrote:If you are using phpbb2 go to the overall_header, and search logo. The code should be

    Code:
    <!-- BEGIN switch_logo_left -->
                      <td><a href="{U_INDEX}"><img src="{LOGO}" id="i_logo" border="0" alt="{L_INDEX}" vspace="1" /></a></td>
                      <!-- END switch_logo_left -->
                      <td align="center" width="100%" valign="middle">
                         <!-- BEGIN switch_logo_center -->
                         <a href="{U_INDEX}"><img src="{LOGO}" id="i_logo" border="0" alt="{L_INDEX}" vspace="1" /></a>
                         <br />
                         <!-- END switch_logo_center -->
                         <div class="maintitle">{MAIN_SITENAME}</div>
                         <br />
                         <span class="gen">{SITE_DESCRIPTION}<br />  </span>
                      </td>
                      <!-- BEGIN switch_logo_right -->
                      <td><a href="{U_INDEX}"><img src="{LOGO}" id="i_logo" border="0" alt="{L_INDEX}" vspace="1" /></a></td>
                      <!-- END switch_logo_right -->

    change all the href="yoururlhere"...

    to put it simple

    ORIGINAL CODE
    Code:
    <!-- BEGIN switch_logo_center -->
    <a href="{U_INDEX}"><img src="{LOGO}" id="i_logo" border="0" alt="{L_INDEX}" vspace="1" /></a>

    Code:
    <!-- BEGIN switch_logo_center -->
    <a href="/yoururlbase"><img src="{LOGO}" id="i_logo" border="0" alt="{L_INDEX}" vspace="1" /></a>
    where it says /yoururlbase is where you will link it. if it is an offsite page then you have to type in the url like so http://www.sitesname.com/

    thats to change the link for the logo correct? thanks I already got that from rideem but I need to figure out how to fix it so when they login or refresh the page or whatever it doesn't redirect them to the index page.
    nextlevelgaming
    nextlevelgaming
    Forumember


    Male Posts : 989
    Reputation : 38
    Language : English|CSS|HTML5|javascript|
    Location : New York

    Solved Re: Automatic group on register

    Post by nextlevelgaming October 5th 2012, 9:46 pm

    Yeah I'm a little bit confused now as well. LOL. You asked when clicked on the logo it will go to the url of your choosing...Well me and rideem gave you the code, one JS way and another Generated HTML way.

    To refresh a page by a href code is

    Code:
    <a href="javascript:history.go(0)">Click Here</a>

    Other than that don't know exactly what you are looking for...
    avatar
    HogwartsAcademy
    Forumember


    Posts : 474
    Reputation : 1
    Language : English

    Solved Re: Automatic group on register

    Post by HogwartsAcademy October 5th 2012, 10:24 pm

    You know when you login the forum? Yes, well when me and my members log in the forum itself it redirects them to the index page. Can I edit it so it redirects them to a respective page of my desire?
    nextlevelgaming
    nextlevelgaming
    Forumember


    Male Posts : 989
    Reputation : 38
    Language : English|CSS|HTML5|javascript|
    Location : New York

    Solved Re: Automatic group on register

    Post by nextlevelgaming October 5th 2012, 11:14 pm

    honestly not sure I've been trying to change the template with

    Code:
    onSubmit="javascript: location.href='.faq';"

    though it does not seem be to working...ill keep you informed
    avatar
    HogwartsAcademy
    Forumember


    Posts : 474
    Reputation : 1
    Language : English

    Solved Re: Automatic group on register

    Post by HogwartsAcademy October 5th 2012, 11:25 pm

    Automatic group on register 184963009

    How can I take those buttons out? If I can do this then I will be completely set.
    avatar
    HogwartsAcademy
    Forumember


    Posts : 474
    Reputation : 1
    Language : English

    Solved Re: Automatic group on register

    Post by HogwartsAcademy October 5th 2012, 11:36 pm

    I just need you to tell me if it's possible or not so I don't go through to time to make it, it really would be helpful this is the last thing I promise.
    Jophy
    Jophy
    ForumGuru


    Male Posts : 17924
    Reputation : 836
    Language : English
    Location : Somewhere

    Solved Re: Automatic group on register

    Post by Jophy October 6th 2012, 12:04 pm

    Topic Solved & Locked