The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
welcome/login panel on non-vB page Details »» | |||||||||||||||||||||||||
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
|
Comments |
#142
|
|||
|
|||
I still haven't seen a definitive reply as to if/how this works with other php scripts. I have a php include at the top of my page already for my content management system...how can I add the php require/chdir line for this hack and not screw up that? I'm not well versed in this stuff so please help!
|
#143
|
|||
|
|||
I definitely can't get this to work properly with my other include statement because of the way it changes directories to the forum...I have the last 10 posts hack by tubedogg...it seems to be able toa access forum info (and plays nice with my other php scripts) without having to chdir?
Is this possible? I really need a log-in on my front page. |
#144
|
|||
|
|||
magic168:
You may have to chdir back to your original directory after including the vbulletin global.php file, or before your other includes. |
#145
|
|||
|
|||
If I access my vB forums directly (shortcut, per se) and then visit the other, non-vB with the hack, I get that awful error that says "Warning: Cannot add header information - headers already sent by ..."
Why does it do that? |
#146
|
||||
|
||||
Hi, I wonder if anyone can help with this problem. I have done all needed to install the hack and it sort of works... BUT..
If you are NOT logged in then it simply jumps to the "normal" login page. What I want is to display my non-vbb HTML page (well PHP actually) but with a nice neat little login box. Any ideas on what is going wrong ? |
#147
|
|||
|
|||
All right! Just about to install this one to our test setup
Cheers and thanks for the hack D.Lewis |
#148
|
||||
|
||||
hello
on my server where the forum is it workz perfectly but............. on the server where the page (forum and page are on seperated servers) is hostet it shows this error message Warning: ChDir: No such file or directory (errno 2) in /homepages/45/d72897891/htdocs/vashXT/laststyle2/index2.php on line 2 Fatal error: Failed opening required 'global.php' (include_path='.:/usr/local/lib/php') in /homepages/45/d72897891/htdocs/vashXT/laststyle2/index2.php on line 3 |
#149
|
|||
|
|||
Does anyone know how to get rid of this?
PHP Code:
|
#150
|
||||
|
||||
Cool hack , added this without a hitch , easily customizable look thru the templates too
Thanks for the hack ! |
#151
|
|||
|
|||
BrAinZ
You may need to check your templates to make sure that the paths to the forums are correct in the login form. Or make sure the cookie setup is correct in the vbulletin admin panel (see earlier in this thread). Kamui Shirou Check the path to the vbulletin global.php file. PHP cannot find it, so displays that message. TYorke Make sure the call to the vbulletin global.php file is at the very top of your non-vb page not at the top of the webwelcome.php file, as you mention in your earlier post. Make sure there is nothing before that line apart from the <?php opening tag. Make sure no white space before this tag too. Jethro & cinq Thanks for the kind comments. Glad you like it. |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|