Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
  #1  
Old 01-03-2008, 07:43 PM
pspcrazy pspcrazy is offline
 
Join Date: Apr 2005
Posts: 184
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Vbulletin Integration that worked, no longer works after server move

Well I'm using a custom cms atm that has integrated the users with vbulletin, and oddly after I did a server change the login on the front page no longer works.

Test Login:
gcfake
meromero

Integration Code:

PHP Code:
<table border="0" width="98%" height="59" cellspacing="0">
<form action="http://forums.pspcrazy.com/forums/login.php" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, 0)">
    <script type="text/javascript" src="/var/www/vhosts/pspcrazy.com/subdomains/forums/httpdocs/forums/clientscript/vbulletin_md5.js"></script>
                  <tr>
                    <td width="39%"><font color="#FFFFFF" face="Verdana" style="font-size: 10px">Username</font></td>
                    <td width="39%"><font color="#FFFFFF" face="Verdana" style="font-size: 10px">Password</font></td>
                    <td width="10%"><font color="#FFFFFF" face="Verdana" style="font-size: 10px">&nbsp;</font></td>
                  </tr>
                  <tr>
                    <td width="39%"><input type="text" class="bginput" size="15" style="font-family: Arial; font-size: 10px; border-style: solid; border-color: #000000" name="vb_login_username" id="navbar_username" accesskey="u" tabindex="1" value="UserName" onfocus="if (this.value == 'username') this.value = '';" /></td>
                    <td width="39%"><input type="password" size="15" lass="bginput" name="vb_login_password" accesskey="p" tabindex="2" style="font-family: Arial; font-size: 10px; border-style: solid; border-color: #000000"></td>
                    <td width="15%">
<input TYPE="IMAGE" SRC="cimages/okbtn.jpg" accesskey="s" tabindex="4" type="submit" value="Log in" tabindex="104" title="Enter your username and password in the boxes provided to login, or click the 'register' button to create a profile for yourself." accesskey="s" /></td>
                  </tr>
                  <tr>
                    <td width="106%" colspan="3"><font color="#FFFFFF" face="Verdana" style="font-size: 9px">Forgot your password? Click <a href="http://forums.pspcrazy.com/forums/login.php?do=lostpw"><font color="<?echo "#$color1"?>">Here</a><font color="#FFFFFF">. Register</a> <a href="http://forums.pspcrazy.com/forums/register.php"><font color="<?echo "#$color1"?>">Here</font></a></td>

        <input type="hidden" name="s" value="" />
        <input type="hidden" name="do" value="login" />
        <input type="hidden" name="vb_login_md5password" />
        <input type="hidden" name="vb_login_md5password_utf" />
<label for="cb_cookieuser_navbar">
<input type="hidden" name="cookieuser" value="1" tabindex="3" id="cb_cookieuser_navbar" accesskey="c"/>

                  </tr>
</form>
                </table>
<?
}
?>
                </center>
              </div>
            </td>
          </tr>
        </table>
      </td>
    </tr>
  </table>
  </center>
</div>
It does login into vbulletin, but now oddly the front page does not show that it's been logged in. I'll donate some money to whoever can figure out what the problem is. Thanks in advance!
Reply With Quote
  #2  
Old 01-03-2008, 07:51 PM
Opserty Opserty is offline
 
Join Date: Apr 2007
Posts: 4,103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The front page being vB's forum homepage or your CMS page?
Reply With Quote
  #3  
Old 01-03-2008, 08:08 PM
pspcrazy pspcrazy is offline
 
Join Date: Apr 2005
Posts: 184
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

http://www.pspcrazy.com is the front page, being the CMS front page.

--------------- Added [DATE]1199472996[/DATE] at [TIME]1199472996[/TIME] ---------------

bumb
Reply With Quote
  #4  
Old 01-11-2008, 12:26 AM
sokol sokol is offline
 
Join Date: Jun 2004
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by pspcrazy View Post
http://www.pspcrazy.com is the front page, being the CMS front page.

--------------- Added [DATE]1199472996[/DATE] at [TIME]1199472996[/TIME] ---------------

bumb

It does log in, try clearing your cookies and loging in.

~Sokol
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:02 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03766 seconds
  • Memory Usage 2,189KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (4)postbit
  • (4)postbit_onlinestatus
  • (4)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete