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
      #22  
    Old 11-06-2005, 04:52 PM
    Onimua Onimua is offline
     
    Join Date: Apr 2005
    Location: Florida
    Posts: 37
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Still doesn't seem to be working for me properly; I can log in, but when I go to the forums, it shows me as logged out (or guest). When I go back to the page which I logged in from, it shows me as logged in. Anyone know the cause and have a fix for it? Much appreciated.
    Reply With Quote
      #23  
    Old 11-11-2005, 09:02 PM
    Dark Riku Dark Riku is offline
     
    Join Date: May 2005
    Posts: 83
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Yea, when i installed this script, i put it on my non-vb-page but when you submitted, it redirected you without doing anything. So i tested it on my forums, it would log me in, but it wouldnt say i was logged in. I went to forums, logged out, did the login from the page i wanted, and it logged me into forums, but didnt say i did on the page. I think this script needs some major fixes
    Reply With Quote
      #24  
    Old 11-13-2005, 01:59 PM
    danb00 danb00 is offline
     
    Join Date: Jan 2003
    Posts: 23
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    is it me or when your logged out and view the page with IE theres a javascript error?
    Reply With Quote
      #25  
    Old 11-20-2005, 03:49 AM
    TF|Scorpion TF|Scorpion is offline
     
    Join Date: Oct 2005
    Posts: 24
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Hi, I used your code and everything, followed each step as you stated on the document you wrote. I edited the codes to the correct information what I have on my forums, such as renamed forum to forums, because thats what i have on my website.

    Here is the test site i created;

    http://totalfrag.com/test.php

    Now when you browse the website, it says the following error;

    Fatal error: Cannot redeclare class vbulletinhook in /home/totalfr/public_html/forums/includes/class_hook.php on line 29

    Please advice!
    Thank You!
    Reply With Quote
      #26  
    Old 11-20-2005, 12:54 PM
    1nsane 1nsane is offline
     
    Join Date: May 2004
    Posts: 9
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Quote:
    Originally Posted by TF|Scorpion
    Hi, I used your code and everything, followed each step as you stated on the document you wrote. I edited the codes to the correct information what I have on my forums, such as renamed forum to forums, because thats what i have on my website.

    Here is the test site i created;

    http://totalfrag.com/test.php

    Now when you browse the website, it says the following error;

    Fatal error: Cannot redeclare class vbulletinhook in /home/totalfr/public_html/forums/includes/class_hook.php on line 29

    Please advice!
    Thank You!
    Yup... thats what I get

    http://www.dcsclan.net/b.php

    Fatal error: Cannot redeclare class vbulletinhook in /home2/=====/public_html/forums/includes/class_hook.php on line 29
    Reply With Quote
      #27  
    Old 11-20-2005, 01:36 PM
    adamgessel adamgessel is offline
     
    Join Date: Oct 2004
    Posts: 101
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Sorry guys, forgot about this hack... will try to figure out why you are having your problems and I'll post back here.

    I have tried this on a 3.5.1 Fresh install of vBulletin and it worked fine.

    Please post which vBulletin version you have if you are having errors.
    Reply With Quote
      #28  
    Old 11-20-2005, 05:48 PM
    1nsane 1nsane is offline
     
    Join Date: May 2004
    Posts: 9
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    I am using "vB Version: 3.5.1 " thanks for any help you can provide.
    Reply With Quote
      #29  
    Old 11-21-2005, 05:17 AM
    TF|Scorpion TF|Scorpion is offline
     
    Join Date: Oct 2005
    Posts: 24
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    I am using vB Version : 3.5.0, but soon converting to 3.5.1 = )
    Reply With Quote
      #30  
    Old 11-22-2005, 08:16 AM
    TF|Scorpion TF|Scorpion is offline
     
    Join Date: Oct 2005
    Posts: 24
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Have you found the solution?
    Reply With Quote
      #31  
    Old 11-22-2005, 09:31 AM
    Stachel Stachel is offline
     
    Join Date: Jun 2004
    Location: US
    Posts: 68
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Wow, excellent idea for a hack!

    Please post when this is working well in 3.5.1 !

    Stachel
    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 06:15 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.04551 seconds
    • Memory Usage 2,302KB
    • 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_quote
    • (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
    • (4)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