Jump to content

  •  

  • iBotModz CBox


    Photo

    Quick Log-in


    • Please log in to reply
    3 replies to this topic

    #1 iTzoODavidOo

    iTzoODavidOo

      Sergeant Grade 2

    • Members+

    • 353 posts
    • Joined: 03-December 08
    • Gender:Male
    • Location:Manchester England

    Posted 23 August 2009 - 04:34 PM

    Hey just found something and was wondering would it be any use to Ibotmodz.


    Demo:
    http://www.invisiont...ndex.php?/index

    Go to

    open acp-->Look and feel--> your skin --> Global templates --> Global Template

    Find


    <div id='user_navigation' class='not_logged_in'>
    
       
                                                    <a href='{parse url="app=core&module=global&section=login" base="public"}' title='{$this->lang->words['sign_in']}'>{parse replacement="signin_icon"} {$this->lang->words['sign_in']}</a>
                                                    <a href="{parse url="app=core&module=global&section=register" base="public"}" title='{$this->lang->words['register']}'>{parse replacement="register_icon"} {$this->lang->words['register']}</a>
                                                    <a href="{parse url="app=core&module=help" base="public"}" title='{$this->lang->words['view_help']}' rel="help" accesskey='6'>{parse replacement="help_icon"} {$this->lang->words['sj_help']}</a>
                                            </div>

    Replace with


    <div id="user_navigation" class="not_logged_in">
                                                    <img src='{$this->settings['img_url']}/key.png' alt=""><a href="javascript:loginjscript('jscript','changeit','Sign In','Sign In');" id="changeit"> Sign In</a>
                                                    <a href="{parse url="app=core&module=global&section=register" base="public"}" title='{$this->lang->words['register']}'>{parse replacement="register_icon"} {$this->lang->words['register']}</a>
                                                    <a href="{parse url="app=core&module=help" base="public"}" title='{$this->lang->words['view_help']}' rel="help" accesskey='6'>{parse replacement="help_icon"} {$this->lang->words['sj_help']}</a>
    
    
    
    <script type="text/javascript">
            function showhide(targetID) {
                    //change target element mode
                    var elementmode = document.getElementById(targetID).style;
                    elementmode.display = (!elementmode.display) ? 'none' : '';
            }
    
            function changetext(changee,oldText,newText) {
                    //changes text in source element
                    var elementToChange = document.getElementById(changee);
                    elementToChange.innerHTML = (elementToChange.innerHTML == oldText) ? newText : oldText;
            }
    
            function loginjscript(targetID,sourceID,oldContent,newContent) {
                    showhide(targetID);
                    changetext(sourceID,oldContent,newContent);
            }
    </script>
    
    <span id="jscript" style="display: none;">
    <a id="_regularsignin"></a>
    <form action="index.php?app=core&module=global&section=login&do=process" method="post" id="login">
    
    <br>
    <table>
                    <tbody><tr>
                            <td align="right" width="35%"><label for="username">Username:</label></td>
                            <td width="65%"><input value="" id="username" class="input_text" name="username" size="20" type="text"></td>
                    </tr>
                    <tr>
                            <td align="right" width="35%"><label for="password">Password:</label></td>
                            <td width="65%"><input id="password" class="input_text" name="password" size="20" type="password"></td>
                    </tr>
                    <tr>
                            <td colspan="2" align="center" width="100%"><a href="index.php?app=core&module=global&section=lostpass" class="desc" title="">I've forgotten my password</a></td>
                    </tr>
            <tr>
                    <td colspan="2" align="center"><input class="input_submit" value="Sign In" type="submit"></td>
                    <tr>
            </tr>
    </tbody></table>
    </form>
                    
    </span>
                                            </div>


    This is what invisiontweaks use.

    Instead of the log-in page, it slides down and you can log-in.

    Edited by iTzoODavidOo, 23 August 2009 - 04:35 PM.


    #2 lostmodz26

    lostmodz26

      I am lostmodz26.

    • VIP

    • 1,153 posts
    • Joined: 12-March 09
    • Gender:Male
    • Location:Northern Louisiana

    Posted 23 August 2009 - 04:51 PM

    Nice, Peaches should add this.

    #3 iBotPeaches

    iBotPeaches

      General Grade 6

    • Owner

    • 6,570 posts
    • Joined: 29-July 07
    • Gender:Male
    • Location:Kansas

    Posted 23 August 2009 - 04:59 PM

    Wheres the source of this?

    I just don't want to steal something, I want to make sure its free and open.

    #4 iTzoODavidOo

    iTzoODavidOo

      Sergeant Grade 2

    • Members+

    • 353 posts
    • Joined: 03-December 08
    • Gender:Male
    • Location:Manchester England

    Posted 23 August 2009 - 05:05 PM

    Wheres the source of this?

    I just don't want to steal something, I want to make sure its free and open.


    http://www.ipbsource...t__0

    This is where i found it.