Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: babjusi on June 03, 2009, 12:54:34 AM

Title: Log out pop up message
Post by: babjusi on June 03, 2009, 12:54:34 AM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=1869)

This is a simple modification that when installed it will prompt the users with a are you sure that you want to log out pop up message on their way out.
Title: Re: Log out pop up message
Post by: Joe N on June 03, 2009, 12:40:22 PM
screenshot please
Title: Re: Log out pop up message
Post by: babjusi on June 03, 2009, 01:16:46 PM
Quote from: Joe N on June 03, 2009, 12:40:22 PM
screenshot please

For some reason it doesn''t work when I try to make a screenshot.
Title: Re: Log out pop up message
Post by: Joe N on June 03, 2009, 01:21:44 PM
Quote from: babjusi on June 03, 2009, 01:16:46 PM
Quote from: Joe N on June 03, 2009, 12:40:22 PM
screenshot please

For some reason it doesn''t work when I try to make a screenshot.

?
Title: Re: Log out pop up message
Post by: alex30 on June 03, 2009, 10:46:23 PM
Nice addition to every forum. Thanks. Here is a screen shot.

Title: Re: Log out pop up message
Post by: Sabre™ on June 03, 2009, 11:14:10 PM
Hey thats nice how youve got the users name in there.
Ive always used the ole onclick="return log_out()"  but Im gonna convert to your idea now lol

Thanks mate :)
Title: Re: Log out pop up message
Post by: Joe N on June 04, 2009, 03:19:34 AM
Quote from: alex30 on June 03, 2009, 10:46:23 PM
Nice addition to every forum. Thanks. Here is a screen shot.

Thanks For the SS. Nice Mod
Title: Re: Log out pop up message
Post by: babjusi on June 04, 2009, 06:53:19 AM
Quote from: alex30 on June 03, 2009, 10:46:23 PM
Nice addition to every forum. Thanks. Here is a screen shot.

Thanks for the screenshot. I attached it at the download page for the mod.

Quote from: Sabre™ on June 03, 2009, 11:14:10 PM
Hey thats nice how youve got the users name in there.
Ive always used the ole onclick="return log_out()"  but Im gonna convert to your idea now lol

Thanks mate :)

You are most welcome. And thanks for the feedback as well :)
Title: Re: Log out pop up message
Post by: Joe N on June 04, 2009, 07:03:13 AM
What smf version?

Default or custom theme?

Any errors with installation?


Title: Re: Log out pop up message
Post by: Sabre™ on June 04, 2009, 08:33:31 AM
@ Kevin
You could also add the changes to your custom theme aswell using the package parser on the mods download page, where it states "Manual Install Instructions for SMF"

If your themes code for that section differs to that of the default theme, then you may upload your themes index.template.php and someone may make the changes for you :)
Title: Re: Log out pop up message
Post by: Kevin Deguara on June 04, 2009, 09:15:17 AM
Thanks for the heads up Sabre  ;)

I've decided to leave it on the default theme for now as I would also like to add a few more mods (just added a shoutbox) as well and they all seem to be set up to work with the default setting without any modification.

Thanks again,

Kevin.
Title: Re: Log out pop up message
Post by: DNA27 on June 04, 2009, 08:59:46 PM
http://www.simplemachines.org/community/index.php?topic=315460

Thank You ..
Title: Re: Log out pop up message
Post by: -!¦[·ÃNÐ¥·]¦!- on June 04, 2009, 11:51:35 PM
Quote from: Sabre™ on June 04, 2009, 08:33:31 AMIf your themes code for that section differs to that of the default theme, then you may upload your themes index.template.php and someone may make the changes for you :)

I have that problem, I can't find it in my index.template.php  :(

Could you help me, please?
Title: Re: Log out pop up message
Post by: Sabre™ on June 05, 2009, 01:40:24 AM
Certainly.
Try the attached file.
I placed the code in a different position, but it should function as designed.

Enjoy :)
Title: Re: Log out pop up message
Post by: -!¦[·ÃNÐ¥·]¦!- on June 05, 2009, 09:21:06 AM
It works fine! Thanks!  :D
Title: Re: Log out pop up message
Post by: Joe N on June 05, 2009, 11:54:06 AM
Quote from: Kevin Deguara on June 04, 2009, 07:13:28 AM
Running SMF 1.1.19 but was on a custom theme, changed to default now and all is good  8)

Thanks for the help  ;)

Kevin

If you want it on your custom theme, add the edits to that one  ;)
Title: Re: Log out pop up message
Post by: the_shadow on June 05, 2009, 08:00:44 PM
can make this work to 2.0RC1-1?


thnkx
Title: Re: Log out pop up message
Post by: Sudhakar Arjunan on June 23, 2009, 02:54:58 PM
Quote from: the_shadow on June 05, 2009, 08:00:44 PM
can make this work to 2.0RC1-1?


thnkx

Yes when there will be compactable for 2.0 RC1-1
Title: Re: Log out pop up message
Post by: babjusi on June 23, 2009, 03:43:29 PM
When I will have some free time.