vBulletin Modifications

Custom Login Page ( Outside Forum Directory )

Welcome to vBHackers.com! - vBHackers Updates:

Go Back   vBulletin Modifications > General vBulletin Section > General vBulletin Support

Reply
 
LinkBack Thread Tools
Old 02-18-2007, 09:59 AM   #1
vB Newbie
Join Date: Oct 2006
Unforgiv3N is on a distinguished road

Default Custom Login Page ( Outside Forum Directory )

Hi
i made a Simple Login Page that connect to MySQL and Reads Username and Password, now i want to link my Login Page to vBulletin Database, but i faild because i don't know how vBulletin is Encrypting Passwords, i think it use MD5 Hash,

Finally, i want to make a Login Page for my Download Center that Read vBulletin Database, could anyone help me please

( KiSses )




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 02-18-2007, 11:53 AM   #2
vBulletin Guru
Nick R's Avatar
Join Date: May 2006
Real Name: Nick
Location: Cyberspace, UK
Nick R is on a distinguished road

Default

I believe vBulletin encrypts the password using Javascript before it gets to the PHP file. If you look at the login script in vBulletin then you will see the JS file it includes.

Last edited by Nick R; 02-25-2007 at 06:19 AM. Reason: Typo




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-19-2007, 06:58 AM   #3
vB Newbie
Join Date: Oct 2006
Unforgiv3N is on a distinguished road

Default

OK, Thanks

i think it will be hard for me, i tired to load user information in Custom Template of vBulletin, i made a Template and a vBulletin Standard .PHP file, when i load the file, My Template show up correctly but i can't load user information on this template for example i want to show member posts or Member Username, i add $member[posts] in my template but when my Custom Page Loaded, i just see a empty field, it don't allow to show user information in my custom template, how can i fix it

please help me about this




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-20-2007, 01:13 PM   #4
vB Newbie
Join Date: Feb 2007
hellmale is on a distinguished road

Talking

Quote:
Originally Posted by Unforgiv3N View Post
OK, Thanks

i think it will be hard for me, i tired to load user information in Custom Template of vBulletin, i made a Template and a vBulletin Standard .PHP file, when i load the file, My Template show up correctly but i can't load user information on this template for example i want to show member posts or Member Username, i add $member[posts] in my template but when my Custom Page Loaded, i just see a empty field, it don't allow to show user information in my custom template, how can i fix it

please help me about this
Hey use this example html code.. I hope it's gonna help.

<!--webbot bot="HTMLMarkup" startspan --><!-- login form -->
<form action="http://www.yourforum.com/login.php" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, 0)">
<script type="text/javascript" src="http://www.yourforum.com/clientscript/vbulletin_md5.js"></script>
<table cellpadding="0" cellspacing="3" border="0">
<tr>
<td class="smallfont"><b><font face="Verdana" size="1" color="#000080"></font></b>User Name</td>
<td><input type="text" class="bginput" style="font-size: 10px" name="vb_login_username" id="navbar_username" size="11" accesskey="u" tabindex="101" value="User Name" onfocus="if (this.value == 'User Name') this.value = '';" /></td>
<td class="smallfont" colspan="2" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />Remember Me?</label></td>
</tr>
<tr>
<td class="smallfont"><b><font face="Verdana" size="1" color="#000080"></font></b>Password</td>
<td><input type="password" class="bginput" style="font-size: 10px" name="vb_login_password" size="11" accesskey="p" tabindex="102" /></td>
<td><input type="submit" class="button" 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>
</table>
<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" />
</form>
<!-- / login form -->
<!--webbot bot="HTMLMarkup" endspan --></font><b><font face="Verdana" size="1" color="#000080">Please
<a href="http://www.yourforum.com/register.php">Sign Up</a></font></b></td>



The only drawback is that..it will redirect you to the login page..I'm still trying to fix it.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-24-2007, 07:15 PM   #5
vB Newbie
Join Date: Feb 2007
xXRedXIIIXx is on a distinguished road

Default

try this: works 4 me,

add this @ top of every page line 1 no white spaces

It redirects to the page u were viewing but u dont need to have a login page... u just have a login box on idex and other pages 2

added 2 attachments, this isnt my mod im not taking credit but it works also uses user permissions so u can restrict pages etc
Attached Files
File Type: php login_inc.php (2.5 KB, 11 views)
File Type: txt Simple login Instructions.txt (5.5 KB, 17 views)




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-25-2007, 06:21 AM   #6
vBulletin Guru
Nick R's Avatar
Join Date: May 2006
Real Name: Nick
Location: Cyberspace, UK
Nick R is on a distinguished road

Default

All you have to do to get it to redirect to the right place is add a hidden "go" post variable and then alter the login.php page and functions_login.php page a bit.

After looking at that txt file a better else would be; print_no_permission(); it will show a nice no permission notice




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-26-2007, 01:40 PM   #7
vB Newbie
Join Date: Oct 2006
Unforgiv3N is on a distinguished road

Default

First Thanks to All

I Forgot to Check this Thread, i had to make a Page Outside Forum Directory, because i tired in working on vBulletin Template, the problem i had was vBulletin Password Encryption, i found the solution and everything is fine now

You must first be a registered member to view any code.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Zoints Local - Social networking, enhanced profiles, blogs, and more dchapman vBulletin 3.5 / 3.6 Hack Releases 23 08-29-2007 03:02 AM
Custom page outside the forum directory Kiphaas7 General vBulletin Support 0 01-10-2007 08:19 PM
[How To] Run a vb page outside of the forum directory Junior vBulletin Modification Tutorials 7 01-10-2007 08:05 PM
Make forum acting as a catagory look like a forum! spadez General vBulletin Support 2 11-05-2006 10:30 AM
Comment hack using thread from forum kkiely vBulletin Modification Requests 1 08-06-2005 07:32 AM


All times are GMT -3. The time now is 09:24 PM.


SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc. (Patent Pending)