Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Topic started by: stang7043 on May 03, 2011, 04:04:18 PM

Title: Hopefully an easy answer need a small addition
Post by: stang7043 on May 03, 2011, 04:04:18 PM
Hopefully this is in the right section if not mods please move it to the correct section.

So to my issue/request is we have quite a few new members to our site (m-g-club.com). I would like to set something up to after the person logs in instead of being re-directed to the main /front page another page comes displaying the sites/clubs rules. Either for a given amount of time or having a link on the page they can click on re-directing them to the main / front page. We have had some issues with new members and would like to refresh everyone's memory on what the site / club is about.

Login ---> rules and regs of the site / club ---> re-directs to main page.

Powered by SMF 1.1.13
TinyPortal v1.0 beta 3
m-g-club.com

thanks in advance for any help.
Title: Re: Hopefully an easy answer need a small addition
Post by: kat on May 03, 2011, 04:24:54 PM
As an ex-MGB GT owner, myself, can I ask if this'd help?

http://custom.simplemachines.org/mods/index.php?mod=2666

That only redirects on registration.

Title: Re: Hopefully an easy answer need a small addition
Post by: stang7043 on May 04, 2011, 11:33:15 AM
hmm yeah it would work for new registrations which would help with new members signing up but I really would like it for existing members once they log in to have a pop up or a page they are sent to that has our rules and regs to remind them we dont tolerate hackers or glitching and basically treat each gamer with respect and courtesy no matter their skill level.
Title: Re: Hopefully an easy answer need a small addition
Post by: kat on May 04, 2011, 12:40:40 PM
EVERY time they log in?

That'd drive me mental, that.

Why not have a sticky at the top of each board, or something?
Title: Re: Hopefully an easy answer need a small addition
Post by: stang7043 on May 04, 2011, 01:02:15 PM
No every time. Just want to run it for like a week. Yeah I suppose putting a sticky at the top of the front page would be the best and simplest option.
Title: Re: Hopefully an easy answer need a small addition
Post by: kat on May 04, 2011, 01:09:59 PM
Well, you COULD alter index.php, in the root of your forum, to redirect them somewhere else, if you really want to do this. Although, that would show it to everyone who visits your site.

I'd have to figure out how, though, coz a coder, I ain't. :)

Thinking on it, though, I suspect there maybe a mod which we can butcher around to achieve this.

I'll have a look around, to see if I can find something likely.
Title: Re: Hopefully an easy answer need a small addition
Post by: kat on May 04, 2011, 01:16:40 PM
TaDa!

http://custom.simplemachines.org/mods/index.php?mod=1443
Title: Re: Hopefully an easy answer need a small addition
Post by: stang7043 on May 04, 2011, 02:18:35 PM
Wow sweet ... I appreciate it. Ill toy around with it on our test site. But from reading the description it looks like what Im looking for. 
Title: Re: Hopefully an easy answer need a small addition
Post by: kat on May 04, 2011, 02:20:40 PM
Sorted! :)