PDA

View Full Version : Welcome users on homepage


c0bra
05-29-2001, 02:47 PM
Hi vbulletineers,

Does anyone know if it's possible to post a welcome message to users on our homepage? Our vbulletin board is located at www.domain.com/boards/. What I'd like to do is the following:

Greet a member already logged in with:

"Hello <username, welcome back to our site!"

If they're not logged on in as a member I want:
"Hello guest. If you're haven't already registered, please sign-up for a free (link)membership here(/link). Existing members (link) login here (/link)."

Any ideas?

Best Wishes,
The C0bra.

jojo85
05-29-2001, 04:08 PM
This function is allready on the vbulletin default package..

c0bra
05-29-2001, 04:18 PM
It is? I'm lost as to how I post this on www.ourdomain.com as opposed to just the forums at www.ourdomain.com/forums/.

Please explain how I implement it.

c0bra
05-31-2001, 09:52 PM
Somebody, pleeeeeeeeeeeeeeease?

Steve Machol
05-31-2001, 10:06 PM
What version of vB are you running? You seemed to have deleted this from your footer.

c0bra
06-01-2001, 05:42 PM
The very latest version.

Steve Machol
06-02-2001, 12:47 AM
You're either not running the latest version or you failed to install it properly. Did you upgrade from a previous beta? If so, from which version?

The fact that your forum doesn't show the vB version number is very suspicious to me. This indicates that you've either made changes that removed this critical bit of information, or you didn't install it correctly. Either situation could be why you're not seeing what is, in fact, a default configuration in the standard vB 2.0.0 package.

c0bra
06-02-2001, 01:41 PM
Erm no I customised the footer to fit into the look of our site and I guess left out the mysql call for the version number.

May I ask what this has to do with my original question?

Steve Machol
06-02-2001, 03:01 PM
[QUOTE]Originally posted by c0bra
Erm no I customised the footer to fit into the look of our site and I guess left out the mysql call for the version number.

May I ask what this has to do with my original question?

Wayne Luke
06-02-2001, 03:14 PM
He doesn't want it on the forum home page.. He wants it one his site index page...

i.e.

http://www.mysite.com/forums/index.php

http://www.mysite.com/index.php <--- wants welcome here


Cobra if you look in index.php you will see how this is done and could modify it for your index page.

If you don't have PHP on your mainsite you can run a script as a cron job periodically (like every 5 minutes) and write the results to a text file which you can SSI in.

Another option you can look at is phpportals.com. This is a portal add-on for vBulletin. It is similar to php Nuke but already integrated.

Steve Machol
06-02-2001, 03:18 PM
[QUOTE]Originally posted by wluke
He doesn't want it on the forum home page.. He wants it one his site index page...

c0bra
06-02-2001, 05:59 PM
Yep that's what I want.. having taken a look at the code I'm still lost as to how I get this working away from the forums. How long would this take to code? I'm willing to pay someone to do this for me. Anyone interested?

Steve Machol
06-02-2001, 06:05 PM
Wayne's advice is good. You should check out phpportals.com.