Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Mod Requests => Aiheen aloitti: softtouch - joulukuu 11, 2007, 08:44:40 AP

Otsikko: Mod/code to popup a dialog before entering a board
Kirjoitti: softtouch - joulukuu 11, 2007, 08:44:40 AP
I am looking for a mod which popup a dialog in the browser with some text and a button to accept or cancel and only if the user accept it shall enter the board. I looked around but did not find anything like that.
Otsikko: Re: Mod/code to popup a dialog before entering a board
Kirjoitti: Jade Elizabeth - joulukuu 11, 2007, 08:41:02 IP
what sort of popup?
an agreement?
http://www.simplemachines.org/community/index.php?topic=200133 <like what i suggested there?
Otsikko: Re: Mod/code to popup a dialog before entering a board
Kirjoitti: Sakae - joulukuu 16, 2007, 09:02:46 AP
Well, I don't know if it is your intention, but I have a mod that allow/disallow members by age and sex (male/female).

Is because you want to add a adult board in your forum?

If so, contact me, I have this (great) mod.
Otsikko: Re: Mod/code to popup a dialog before entering a board
Kirjoitti: Kindred - joulukuu 16, 2007, 09:16:57 AP
if it is such a great mod, then please submit it to the mod site for review. That way everyone will be able to use it, and they will know that it has been checked out by SMF staff.
Otsikko: Re: Mod/code to popup a dialog before entering a board
Kirjoitti: Jade Elizabeth - joulukuu 16, 2007, 02:13:12 IP
^ i agree with kindred

but i wanted it for my storywriting section to make them sign that they will respect others works and not steal ect ect :)
Otsikko: Re: Mod/code to popup a dialog before entering a board
Kirjoitti: Sakae - joulukuu 17, 2007, 09:12:57 IP
Lainaus käyttäjältä: Kindred - joulukuu 16, 2007, 09:16:57 AP
if it is such a great mod, then please submit it to the mod site for review. That way everyone will be able to use it, and they will know that it has been checked out by SMF staff.

Sorry, I'm not the creator. So I won't do that.

ps.: I know it looks "strange", but it's not like this mod will destroy your server or whatever. I can send you this mod too, Kindred, if you wish to take a look.

ps2.: I received this mod when I asked in this topic: http://www.simplemachines.org/community/index.php?topic=103884.20
Otsikko: Re: Mod/code to popup a dialog before entering a board
Kirjoitti: Jade Elizabeth - joulukuu 17, 2007, 09:35:45 IP
ill get jb to post it...
Otsikko: Re: Mod/code to popup a dialog before entering a board
Kirjoitti: Sakae - joulukuu 19, 2007, 03:09:35 IP
Lainaus käyttäjältä: Alundra - joulukuu 17, 2007, 09:35:45 IP
ill get jb to post it...

Go Go, Alundra Conundrum :)
Otsikko: Re: Mod/code to popup a dialog before entering a board
Kirjoitti: Jade Elizabeth - joulukuu 19, 2007, 04:35:05 IP
lol :P
Otsikko: Re: Mod/code to popup a dialog before entering a board
Kirjoitti: softtouch - joulukuu 30, 2007, 04:25:48 AP
No, its not an adult board...
I am a programmer and offer for my member free products I wrote. They are attached to topics in a board.
If member try to enter that board, I want a popup where they have to agree some conditions I will write.
If they agree, they can enter the bord, if they disagree, nothing will happen, they stay where they are.

I could hardcode it myself, but I dont know where I have to intercept the function which "open" the board, I mean, where is the function executed if you click a board?
Otsikko: Re: Mod/code to popup a dialog before entering a board
Kirjoitti: Jade Elizabeth - joulukuu 30, 2007, 04:43:11 AP
Lainaus käyttäjältä: softtouch - joulukuu 30, 2007, 04:25:48 AP
No, its not an adult board...
I am a programmer and offer for my member free products I wrote. They are attached to topics in a board.
If member try to enter that board, I want a popup where they have to agree some conditions I will write.
If they agree, they can enter the bord, if they disagree, nothing will happen, they stay where they are.

I could hardcode it myself, but I dont know where I have to intercept the function which "open" the board, I mean, where is the function executed if you click a board?

what i requested wasnt just for an adult board. it was customisable, i wish to use it in my story writing section :)
Otsikko: Re: Mod/code to popup a dialog before entering a board
Kirjoitti: softtouch - joulukuu 30, 2007, 04:46:21 AP
Yeah, what you want is exactly what I want, they have to agree something. Hope anybody has an idea...
Its not a real popup, it is just another page, which appears in the forum where they have to agree, like the registration agreement.
They click that they agree and will be forwarded to the board, the disagree and go back to the page from where they came.
Otsikko: Re: Mod/code to popup a dialog before entering a board
Kirjoitti: softtouch - joulukuu 30, 2007, 04:56:40 AP
It is in fact the same thing what the registration is doing, if I think about it.
It displays another page (just like the registration agreement), where the member can agree or disagree.
If he agree, he get forwarded to the board, if he disagree, he goes back to the page from where he came.
Otsikko: Re: Mod/code to popup a dialog before entering a board
Kirjoitti: Jade Elizabeth - joulukuu 30, 2007, 05:20:25 AP
Lainaus käyttäjältä: softtouch - joulukuu 30, 2007, 04:56:40 AP
It is in fact the same thing what the registration is doing, if I think about it.
It displays another page (just like the registration agreement), where the member can agree or disagree.
If he agree, he get forwarded to the board, if he disagree, he goes back to the page from where he came.

well theres a mod that lets you reset the reg agreement. basically that sort of function.
where it pops up...
yeah okay time for bed lol
Otsikko: Re: Mod/code to popup a dialog before entering a board
Kirjoitti: softtouch - joulukuu 31, 2007, 01:08:29 AP
Just identical with the agreement function, but displaying another text which the member who want to enter that specific board has to read and agree.
Otsikko: Re: Mod/code to popup a dialog before entering a board
Kirjoitti: Jade Elizabeth - joulukuu 31, 2007, 02:31:37 AP
yup!

(someone should bump my thread) ;)
Otsikko: Re: Mod/code to popup a dialog before entering a board
Kirjoitti: softtouch - tammikuu 01, 2008, 03:37:10 AP
Any news about this mod?
Otsikko: Re: Mod/code to popup a dialog before entering a board
Kirjoitti: Jade Elizabeth - tammikuu 01, 2008, 05:27:32 AP
i know someone who wants to do it and could do it EXTREMELY well but hes lazy :(

he wont do it :(

ill keep nagging i suppose :(
Otsikko: Re: Mod/code to popup a dialog before entering a board
Kirjoitti: softtouch - tammikuu 01, 2008, 08:10:35 AP
I think this topic can be closed, I realize that it can not be done with a popup, so I opened another, more specific request.
Otsikko: Re: Mod/code to popup a dialog before entering a board
Kirjoitti: Jade Elizabeth - tammikuu 01, 2008, 02:24:40 IP
link me!!