Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
welcome/login panel on non-vB page Details »»
welcome/login panel on non-vB page
Version: 1.00, by Darren Lewis Darren Lewis is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 04-06-2002 Last Update: Never Installs: 124
 
No support by the author.

I've seen a lot of requests for this around here, but no solutions.

Latest version is 1.30
Works with V2.2.9 Should work with earlier version of 2.2.x too.


OVERVIEW
========
This hack/modification is designed to create a welcome panel on your non-vB homepage, so that users are either welcomed back if they are registered, or invited to login/register if they are not.

There are config options to show avatar and/or PM information and/or who's online (with or without usernames) in your welcome panel.

If you want to see a working example, then go to http://www.thebookforum.com The hack installed there does not show all of its features, but gives a general idea. The templates allow complete control over the look of the login/welcome panel.

There is one PHP file (webwelcome.php) to upload, and ten custom VB templates to create.

The templates can be modified to suit the design of your site. The ones that I have included in the zip file are those that I created for my site.

There are options to include the following additional info
- Avatar for guests or user's own avatar if logged in. If no avatar selected, a default one will be shown. Example guest and default avatars included in this release package.
- PM info to logged in users (will not show if user cannot use PMs or has chosen not to)
- Who's online (number of members of guests). Additional option to choose whether to show usernames.


CREDITS
======
This hack also uses some code originally written by several members of vbulletin.org in particular Firefly and MrLister.

Full credit is given in the php file for the relevent bits of code used. I have modified their code slightly to work with this hack.

I have not formally asked their permission due to the open source nature of the hacks at vbulletin.org
If they object I will remove their code from this hack release.


HISTORY
======
V1.30 13 September 2002
Hack creation now very simple. No more copy & paste. I've changed a lot of the original vb code so copy & paste would be nearly impossible.
Added option to include PM info and who's online (with or without usernames) in the welcome panel.
Default templates included in the hack release altered to include these new options.
New templates for the additional info to be shown.

V1.20 11 September 2002
Added option to include user's avatar in the welcome panel.
Default templates included in the hack release altered to include these new options.
Default templates altered to be more generic.

V1.10 13 May 2002
Fixes the bug where the "most users online...." on the forum page keeps reseting to zero.
Removes a lot of the unecessary bloat from the script.
Creation of script simplified. Now just cut and paste.
NB template name change in this version - webwelcome_home is now called webwelcome.

V1.00 07 April 2002
Original release.

Show Your Support

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

Comments
  #192  
Old 08-27-2003, 06:52 PM
harsh harsh is offline
 
Join Date: Aug 2003
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hello everyone...

I have installed this and everything seems to be working fine.. Version 2.3 but i get this error...

Warning: Cannot modify header information - headers already sent by (output started at /usr/home/yp/htdocs/test/boardadd.php:2) in /usr/home/yp/htdocs/board/admin/functions.php on line 1652

Now i have this on an iframe because i can't have my homepage in a php format...

Any suggestions on how i can integrate this properly with an iframe...
Reply With Quote
  #193  
Old 08-29-2003, 04:56 AM
danchuee danchuee is offline
 
Join Date: Aug 2003
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
08-09-03 at 07:08 AM dcevoclub said this in Post #188
Fatal error: Call to undefined function: gettemplate() in C:\Personal Sites\dcevoclub\vbulletin\webwelcome.php on line 156

eval("\$whosonline = \"".gettemplate('webwelcome_whosonline')."\";") ;

and webwelcome_whosonline template exisits

www.dcevoclub.com/main.php is the test for it

Change gettemplate to file_get_contents
Also you may have to go in the webwelcome_files and replace " with '

I have this hack working with vB 3 at the basic level. I'm still working out some tweaks but it is showing the correct information.
Reply With Quote
  #194  
Old 09-02-2003, 03:58 PM
harsh harsh is offline
 
Join Date: Aug 2003
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks i got this working correctly now.... I guess i can use this with some other hack i have going... I just removed that other one...

Thanks
Reply With Quote
  #195  
Old 09-05-2003, 12:39 AM
Logtenberg Logtenberg is offline
 
Join Date: Nov 2001
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to get the private message to blink when there is a message?

https://vborg.vbsupport.ru/showthrea...rivate+message
Reply With Quote
  #196  
Old 09-07-2003, 10:36 PM
digitalJE5U5 digitalJE5U5 is offline
 
Join Date: Sep 2002
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anyone know an easy way to change the layout of this? the font, table colors, tablea heading image, etc? Its hard to imagine the outcome of changes when the table code is spread across so many templates.

make sense?
Reply With Quote
  #197  
Old 09-09-2003, 06:20 AM
danchuee danchuee is offline
 
Join Date: Aug 2003
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Yesterday at 12:36 AM digitalJE5U5 said this in Post #195
anyone know an easy way to change the layout of this? the font, table colors, tablea heading image, etc? Its hard to imagine the outcome of changes when the table code is spread across so many templates.

make sense?
Just make your table in webwelcome.html You can display it how ever you want. Make extra rows, put a background, display the messages in a different way. Where you want the message to be displayed in the table, just put that variable where you want at. The variables are: $avatarimage, $unregwelcomemessage, $welcometext, $logincode, $pminfo, $whosonline


Quote:
09-05-03 at 02:39 AM Logtenberg said this in Post #194
Is it possible to get the private message to blink when there is a message?

https://vborg.vbsupport.ru/showthrea...rivate+message
This can be done but it matters which version of vBulletin you use. Version 3.0 has different variables than previous versions. I can try and write something real quick, but without a way to test it on an old version, it may not work properly. I use vB 3.0 so I'm not sure the exacts on earlier versions.
Reply With Quote
  #198  
Old 09-09-2003, 04:31 PM
Logtenberg Logtenberg is offline
 
Join Date: Nov 2001
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to link to the members profile page when they are signed in?

the templates won't give a result when $post[userid] is inserted.
Reply With Quote
  #199  
Old 09-14-2003, 10:46 PM
EVO VIII Chris EVO VIII Chris is offline
 
Join Date: Aug 2003
Location: Portland, OR
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've got something really wierd goin on here. I used to have my forums at www.vorspann.net/forums but I recently switched them over to forums.vorspann.net Well I got the webwelcome panel working however it is odd because when you log into the main site you are redirected to the www.vorspann.net main page (I am using a hack from someone on here that goes in the member.php file and simply redirects you to the home page and not the forum page when you login) but when you are redirected to the main page it still shows the login form as if you havent logged in. But when you go to the forum mainpage sure enough it shows you as being logged in... Any idea on this and whats going on here?
Reply With Quote
  #200  
Old 09-20-2003, 08:38 PM
misterfade misterfade is offline
 
Join Date: Jun 2003
Location: MTL
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Question - I set this hack up no problem in a PHP page, but now I'm using a template-based website, and this means that the code placed at the top of the page will originate on my template. It doesn't work.

So I changed the last part to "include('global.php');" instead of "require". It works great now, but would using "include" screw something up eventually? Just want to make sure.

Thanks.
Reply With Quote
  #201  
Old 10-18-2003, 01:40 PM
Kid1412x Kid1412x is offline
 
Join Date: Mar 2003
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice hack! very cool!
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 03:31 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.05091 seconds
  • Memory Usage 2,309KB
  • Queries Executed 27 (?)
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
  • (1)pagenav_pagelinkrel
  • (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_postinfo_query
  • fetch_postinfo
  • 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