Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

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
      #32  
    Old 11-25-2005, 04:52 AM
    TF|Scorpion TF|Scorpion is offline
     
    Join Date: Oct 2005
    Posts: 24
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    I updated my forums to 3.5.1 but the problem still occurs! Is there a solution for this please? I tried both codes, "premium" and "normal" but both gave me the same exact error!
    Reply With Quote
      #33  
    Old 11-28-2005, 03:04 PM
    Sn3s Sn3s is offline
     
    Join Date: May 2004
    Posts: 6
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    i have vb 3.5.1 and im having this error msg :

    Fatal error: Cannot redeclare construct_usercp_nav() (previously declared

    help please
    Reply With Quote
      #34  
    Old 11-30-2005, 08:37 PM
    Dark Riku Dark Riku is offline
     
    Join Date: May 2005
    Posts: 83
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Quote:
    Originally Posted by Mu5icMan
    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.
    YOu didnt have to do you... you could just do this...
    <?PHP
    chdir("forum/directory/");
    require('./global.php');
    chdir("../back/to/folder/you/want/");
    ?>

    And to Quozt:
    Make sure your code is on the VERY top line... the VERY top. Above all head and everything. Should solve your problem.

    THis hacks works on 3.5.1 Its very easy to use if you have any php knowledge.
    Once someone figures out the stats on non-vb page, i can add some to this code, make it kind of a welcome panel
    Reply With Quote
      #35  
    Old 12-01-2005, 12:43 AM
    adamgessel adamgessel is offline
     
    Join Date: Oct 2004
    Posts: 101
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    I checked it over and over, and as long as you do everything right, then it should work

    If not I can help you for $5 payable via paypal. You will have to pay only after I am done and everything is working.
    Reply With Quote
      #36  
    Old 12-01-2005, 10:39 AM
    garrynz garrynz is offline
     
    Join Date: Apr 2005
    Posts: 2
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Works fine for me with 3.5.0, but I am getting a "Call to a member function on a non-object" in my error logs.
    Reply With Quote
      #37  
    Old 12-01-2005, 08:13 PM
    TF|Scorpion TF|Scorpion is offline
     
    Join Date: Oct 2005
    Posts: 24
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Quote:
    Originally Posted by adamgessel
    I checked it over and over, and as long as you do everything right, then it should work

    If not I can help you for $5 payable via paypal. You will have to pay only after I am done and everything is working.

    Why should i donate 5 bucks for a coding mistake that didnt make sense and is in the original vb files?
    Reply With Quote
      #38  
    Old 12-21-2005, 05:25 PM
    malfuncion malfuncion is offline
     
    Join Date: Dec 2005
    Posts: 11
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    works fine for us. we are using 3.5.2. now i am wondering how if possible, i can put like; users online, birthdays, ect like the portal page does. i.e. left col, right col, center col. anyone?

    edit- where can i find a list of all the variables such as,

    $vbulletin->userinfo['pmunread'];

    is there a b-day variable and whatnot?
    Reply With Quote
      #39  
    Old 12-21-2005, 10:23 PM
    sesmatik sesmatik is offline
     
    Join Date: Dec 2005
    Posts: 3
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    I am using vb 3.5.2 working 3.5.2 please answer
    Reply With Quote
      #40  
    Old 12-21-2005, 10:49 PM
    Smiry Kin's's Avatar
    Smiry Kin's Smiry Kin's is offline
     
    Join Date: Dec 2005
    Location: United Kingdom!
    Posts: 954
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    get a new demo please! page suspended!
    Reply With Quote
      #41  
    Old 12-21-2005, 10:53 PM
    Snetty Snetty is offline
     
    Join Date: Feb 2005
    Posts: 20
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Quote:
    Originally Posted by Smiry Kin's
    get a new demo please! page suspended!
    I have 2 sites that both use this, check them out in place of the real demo.

    www.mousepilot.co.uk

    and

    www.british-mercenaries.co.uk
    Reply With Quote
    Reply

    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

    Forum Jump


    All times are GMT. The time now is 06:27 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.06895 seconds
    • Memory Usage 2,293KB
    • 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
    • (3)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