Uutiset:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu
Advertisement:

Mod/code to popup a dialog before entering a board

Aloittaja softtouch, joulukuu 11, 2007, 08:44:40 AP

« edellinen - seuraava »

softtouch

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.

Jade Elizabeth

Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

Sakae

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.
http://www.tigrelog.com.br
l: simple p: machines

Kindred

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.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Jade Elizabeth

^ 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 :)
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

Sakae

#5
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
http://www.tigrelog.com.br
l: simple p: machines

Jade Elizabeth

Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

Sakae

http://www.tigrelog.com.br
l: simple p: machines

Jade Elizabeth

Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

softtouch

#9
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?

Jade Elizabeth

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 :)
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

softtouch

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.

softtouch

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.

Jade Elizabeth

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
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

softtouch

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.

Jade Elizabeth

Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

softtouch


Jade Elizabeth

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 :(
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

softtouch

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.

Jade Elizabeth

Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

Advertisement: