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 |
#12
|
|||
|
|||
Quote:
PHP Code:
Hope that helps. Quote:
This sounds like a problem with the cookie. I've had a look at your page and it runs the script OK. I can click on "View Today's Active Threads" and it runs that query OK. Must be a problem with your cookie. I cannot reproduce the problem on my site. I deleted my cookie and re-started my browser (IE6). I was able to log in from my website homepage, view the forum and post replies. I shut the browser, re-opened and went back to my site. The welcome message was displayed that I was already logged in. What browser are you running? Could be something to do with the cookie or privacy settings on that? Might be something to do with viewing cached pages? Sorry I can't be of any more help EDIT - I've just noticed that your forums are on a subdomain of your main site. What is the cookie set to in your vBulletn admin panel? This might be causing some problems? Just an idea. |
#13
|
||||
|
||||
Quote:
|
#14
|
|||
|
|||
Quote:
Select "vBulletin Options" from the left menu Select "HTTP Headers & Output" from the top menu. |
#15
|
|||
|
|||
Cool.. I set it to absolute now it works! thanks!
but... now that the index is a PHP file.... will it work the same way as a index.html file... where.. when someone goes to www.gopednation.com... it pulls up the index.html file... ? Thanks eso Quote:
|
#16
|
|||
|
|||
also... the rest of my PHP scripts don't work... any work arounds for this? thanks again
eso |
#17
|
||||
|
||||
lol, I think I know what I forgot to do...I'll get back to you if it works or not
*added*lol, I forget to fell put in ".simon-soft.com" in the "Cookie Domain" part :nervous: well...it's working now, thank you |
#18
|
|||
|
|||
Ok, I can get the script to run, but I can't get it to recognize that I'm logged in. It just keeps giving me the same unregistered message whether I login through the forums or through the script itself. I've setup the cookies as stated previously in this thread, so I'm not sure if that is it or not. Thanks for you help, I've been looking for a hack like this for a long time!
EDIT: To see what I'm talking about you can go to my test page @ http://www.lhbcyouth.com/test2.php |
#19
|
|||
|
|||
I`ve just installed this hack but i`m getting this error
Quote:
|
#20
|
|||
|
|||
Quote:
Quote:
PHP Code:
Quote:
In my admin settings the cookie domain is left blank, and the path to save cookies is left as the default / My forums are at www.thebookforum.com/forums not on a subdomain. Hope that helps everyone. Let me know how things go. I may try to add some more options in the future when I've learnt a lot more about PHP and how vBulletin works. I can then update the install instructions with known workarounds etc... Darren. |
#21
|
|||
|
|||
Quote:
PHP Code:
Darren |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|