vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Removing user/pass login and adding a custom one (https://vborg.vbsupport.ru/showthread.php?t=230158)

gnosisprod 12-14-2009 06:20 AM

Removing user/pass login and adding a custom one
 
I've integrated a membership system (Amember) with vbulletin3. When this happens all of the registration is done in Amember since Amember is integrated with vbulletin. When a user is logged out, the username and password (login field) is displayed at the top right. I'd like to have it look EXACTLY the same, but add a custom login. What I mean is simply that it would log you in through Amember and not vbulletin. Amember provides the appropriate user/pass login field code for php so this shouldn't be too hard. Where can I find where to edit that, and exactly which code would I replace?


PS: as a side note, after a user is logged in it says something like

Quote:

Welcome, USERNAME.
You last visited: Today at 02:09 AM
Private Messages: Unread 0, Total 0.
It would be great to display a custom field below that for registered users which would be a 'time left' field (time left on their paid subscription). I think I'd probably have to get code from Amember to do that but for future reference where would I look to add something like that?


All times are GMT. The time now is 07:56 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02090 seconds
  • Memory Usage 1,707KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (1)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete