Advertisement:

Forum Registration on Website

Aloittaja RelaxRelapse, tammikuu 19, 2008, 06:36:42 IP

« edellinen - seuraava »

RelaxRelapse

I think this might be a better place for this...

Is it possible through html or other means to make an area on my website where it shows the registration to my forum than you sign up, and After you do that you go to the websites homepage and it says welcome Back, Username and gives you the other info on your about you on the website.

- Thanks

SleePy

You could edit either the activation page or the registration completion page (as you don't want to redirect them until they activated their account) have it do a redirectexit with the url to your page instead of going to the board index.
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

Daniel15

Hi :)
Sure, this is possible to show the welcome message using SMF's SSI functions. At the very very top of your page, put the following:
<?php require('forum/SSI.php'); ?>
(change the path if your forum is not in a "forum" directory.
Then, to show the welcome message:
<?php ssi_welcome(); ?>
This will show the "Welcome, guest. Please <login> or <register>" message to guests, or the "Hello, [username]" message if you're logged in.

To see more examples of SMF's SSI functions, take a look at ssi_examples.php (it's included with SMF). Nearly anything you can think of is possible, even if it's not listed in that file. Just feel free to ask :)
Daniel15, former Customisation team member, resigned due to lack of time. I still love everyone here :D.
Go to smfshop.com for SMFshop support, do NOT email or PM me!

Advertisement: