Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
VB Login & Info on Non-VB Page Details »»
VB Login & Info on Non-VB Page
Version: 1.00, by adamgessel adamgessel is offline
Developer Last Online: Aug 2007 Show Printable Version Email this Page

Version: 3.5.0 RC3 Rating:
Released: 09-09-2005 Last Update: 09-09-2005 Installs: 57
 
No support by the author.

This is nothing too big, I just thought it might help some people out so I'm putting it up here.

=====================
DEMO
=====================
You can see exactly what I did at:
http://www.forumfreedom.net/

=====================
DESCRIPTION
=====================
If someone is logged in on your board, but they are on a non-vb page, this will display their username, amount of PMs (and if they have more than 0 it will be bold), and an option to logout (properly, using their logout hash so that it does it the first time), and has a couple more options. What I've done in mine is added two extra usergroups, Premium and Platinum, and if they are either of those then it tells them what usergroup they are in. In the install file, there are two different steps to take, one to install that part and one to not. So, if you have two usergroups that are premium and platinum accounts that people pay for, this will work good for you. You can of course add more premium usergroups easily. Otherwise, just install the other step and it will still work good . The code is simple, but I recommend knowing how vbulletin works before installing it. You will need to change some things in the code, but I think that it's worth it if you need something like this. This doesn't edit any code in vbulletin.

=====================
INSTALL
=====================

Install Time: Depends, if you already have a page with everything going then this should only take a few seconds, unless you have to troubleshoot it.

Difficulty: Medium, I say this because there are a few things you might have to change. It's easy to install if you know what you are doing.

PLEASE CLICK INSTALL!

Supporters / CoAuthors

    Show Your Support

    • This modification may not be copied, reproduced or published elsewhere without author's permission.

    Comments
      #12  
    Old 10-14-2005, 05:45 PM
    Fuzz Fuzz is offline
     
    Join Date: Jan 2002
    Posts: 13
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Thanks for sharing Adam. Works like a charm and had no problem adding the code. Gracias.
    Reply With Quote
      #13  
    Old 10-14-2005, 06:17 PM
    JimmyJames JimmyJames is offline
     
    Join Date: Sep 2005
    Posts: 25
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    I have been wanting to add a login & info block to my header.....will this mod work?
    Reply With Quote
      #14  
    Old 10-17-2005, 06:12 PM
    ludachris ludachris is offline
     
    Join Date: Feb 2002
    Posts: 287
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Received this error message:

    Unable to add cookies, header already sent.
    File: /var/www/mysite.com/html/index.php
    Line: 3
    Reply With Quote
      #15  
    Old 10-18-2005, 04:56 PM
    Onimua Onimua is offline
     
    Join Date: Apr 2005
    Location: Florida
    Posts: 37
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Does this work in vBulletin 3.5.0 final? I tried it... but doesn't seem to be catching the cookie, as in, you can log into the main page fine, but when I get to to the forums, I'm under a guest (meaning it shows that I never logged in). BUT... when I look on the Who's Online list, I fond myself logged in... only I'm not...

    Hope that isn't confusing.
    Reply With Quote
      #16  
    Old 10-18-2005, 08:43 PM
    auz1111's Avatar
    auz1111 auz1111 is offline
     
    Join Date: Nov 2002
    Location: columbia, sc
    Posts: 134
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Anybody have an idea why i get these errors?

    Code:
    Notice: Undefined index: REQUEST_URI in d:\myforums\htdocs\includes\class_core.php on line 1840
    
    Notice: Undefined index: REQUEST_URI in d:\myforums\htdocs\includes\class_core.php on line 1840
    
    Notice: Undefined index: PATH_INFO in d:\myforums\htdocs\includes\class_core.php on line 1846
    
    Notice: Undefined index: PATH_INFO in d:\myforums\htdocs\includes\class_core.php on line 1846
    
    Notice: Undefined index: REDIRECT_URL in d:\myforums\htdocs\includes\class_core.php on line 1850
    
    Notice: Undefined index: REDIRECT_URL in d:\myforums\htdocs\includes\class_core.php on line 1850
    
    
    
     
    Unable to add cookies, header already sent.
    File: d:\myforums\htdocs\includes\class_core.php
    Line: 1840
    Reply With Quote
      #17  
    Old 10-27-2005, 12:26 PM
    Quozt Quozt is offline
     
    Join Date: Sep 2005
    Posts: 4
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    im gonna bump this because it doesnt seem to work and this seems to be the closest thing to logining into the vb db and session from a non VB page
    Reply With Quote
      #18  
    Old 10-28-2005, 06:59 PM
    dvn dvn is offline
     
    Join Date: Aug 2004
    Posts: 2
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    I'd love to be able to use membership permissions and such on non-vb pages, without installing a portal, etc.

    will this mod work for vb 3.5?
    Reply With Quote
      #19  
    Old 10-30-2005, 06:03 PM
    ruinernix ruinernix is offline
     
    Join Date: Oct 2005
    Posts: 5
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    this mod works in my 3.5 gold install, thanks. that's exactly what I needed. As simple as I wanted it to be. I don't like the other login addons, they try to do too much for you...

    Thanks!
    Reply With Quote
      #20  
    Old 10-31-2005, 02:49 PM
    Quozt Quozt is offline
     
    Join Date: Sep 2005
    Posts: 4
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    noone else get ?

    Unable to add cookies, header already sent.
    File: /home/*******/public_html/testlogin.php
    Line: 2

    hmm it works if ur already logged onvia the forum
    Reply With Quote
      #21  
    Old 11-02-2005, 01:46 PM
    Mu5icMan Mu5icMan is offline
     
    Join Date: Aug 2003
    Posts: 55
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    the way around that error is to remove the line 'chdir' and put the non-vb page in your forums directory. That's what i did.
    Reply With Quote
    Reply


    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 05:43 PM.


    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.06756 seconds
    • Memory Usage 2,298KB
    • Queries Executed 26 (?)
    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)bbcode_code
    • (1)footer
    • (1)forumjump
    • (1)forumrules
    • (1)gobutton
    • (1)header
    • (1)headinclude
    • (1)modsystem_post
    • (1)navbar
    • (6)navbar_link
    • (120)option
    • (1)pagenav
    • (1)pagenav_curpage
    • (3)pagenav_pagelink
    • (11)post_thanks_box
    • (11)post_thanks_button
    • (1)post_thanks_javascript
    • (1)post_thanks_navbar_search
    • (11)post_thanks_postbit_info
    • (10)postbit
    • (11)postbit_onlinestatus
    • (11)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
    • pagenav_page
    • pagenav_complete
    • tag_fetchbit_complete
    • forumrules
    • navbits
    • navbits_complete
    • showthread_complete