Latest topics
» Forumactif Edge - Releases
by Ange Tuteur Tue 03 Sep 2019, 11:49
» GIFActif - Giphy Button for the Editor
by Ange Tuteur Wed 08 May 2019, 17:21
» Forum Closure
by Ange Tuteur Mon 01 Jan 2018, 01:28
» Chit Chat Thread
by Valoish Sun 31 Dec 2017, 19:15
» Font/Text background color.
by Valoish Sun 31 Dec 2017, 19:11
» Forumactif Messenger - Instant Message Application for Forumotion
by Wolfuryo Sun 31 Dec 2017, 18:24
» [GAME] Count to One Million!
by brandon_g Fri 29 Dec 2017, 18:58
» Post Cards
by manikbiradar Wed 20 Dec 2017, 07:50
» [GAME] Countdown from 200,000
by Valoish Wed 13 Dec 2017, 23:22
» GeekPolice Tech Support Forums - GeekPolice.net
by Dr Jay Mon 11 Dec 2017, 19:12
» Asking about some plugin for Forumotion
by Dr Jay Mon 11 Dec 2017, 19:10
» [GAME] What are you thinking right now?
by Van-Helsing Sat 09 Dec 2017, 14:51
» Widget : Similar topics
by ranbac Wed 06 Dec 2017, 18:11
» Change the Background of the Forum and put an image and how to make prefixs?
by Clement Wed 06 Dec 2017, 15:19
» Hello from Western Australia
by SarkZKalie Wed 06 Dec 2017, 05:34
by Ange Tuteur Tue 03 Sep 2019, 11:49
» GIFActif - Giphy Button for the Editor
by Ange Tuteur Wed 08 May 2019, 17:21
» Forum Closure
by Ange Tuteur Mon 01 Jan 2018, 01:28
» Chit Chat Thread
by Valoish Sun 31 Dec 2017, 19:15
» Font/Text background color.
by Valoish Sun 31 Dec 2017, 19:11
» Forumactif Messenger - Instant Message Application for Forumotion
by Wolfuryo Sun 31 Dec 2017, 18:24
» [GAME] Count to One Million!
by brandon_g Fri 29 Dec 2017, 18:58
» Post Cards
by manikbiradar Wed 20 Dec 2017, 07:50
» [GAME] Countdown from 200,000
by Valoish Wed 13 Dec 2017, 23:22
» GeekPolice Tech Support Forums - GeekPolice.net
by Dr Jay Mon 11 Dec 2017, 19:12
» Asking about some plugin for Forumotion
by Dr Jay Mon 11 Dec 2017, 19:10
» [GAME] What are you thinking right now?
by Van-Helsing Sat 09 Dec 2017, 14:51
» Widget : Similar topics
by ranbac Wed 06 Dec 2017, 18:11
» Change the Background of the Forum and put an image and how to make prefixs?
by Clement Wed 06 Dec 2017, 15:19
» Hello from Western Australia
by SarkZKalie Wed 06 Dec 2017, 05:34
Recent Tutorials
Top posting users this month
Top Achievers
Who is online?
In total there are 35 users online :: 0 Registered, 0 Hidden and 35 Guests :: 2 Bots
None
Most users ever online was 515 on Tue 14 Sep 2021, 15:24
None
Most users ever online was 515 on Tue 14 Sep 2021, 15:24
[REQUEST] Advertisement form
Page 1 of 1 • Share
- GuestGuest
Hey!
I've got a request. We 'd like to have a sort of form for people to be able to do some advertising in a forum (selling stuff, garage sales, etc.).
So we need a button (both in the normal reply as well as the quick reply) to be added to the sceditor and a form to complete. I was thinking about the postcards style, where people can insert a picture or a video to show their item and next to it a couple of fields with information like,
Description:
Contact name:
Phone:
E-mail:
Price:
Fields shouldn't be mandatory of course and people should be able to easily delete the advert if they're not satisfied with it and start over again. Who can help me create such a thing? I've got no experience whatsoever in doing so.
I've got a request. We 'd like to have a sort of form for people to be able to do some advertising in a forum (selling stuff, garage sales, etc.).
So we need a button (both in the normal reply as well as the quick reply) to be added to the sceditor and a form to complete. I was thinking about the postcards style, where people can insert a picture or a video to show their item and next to it a couple of fields with information like,
Description:
Contact name:
Phone:
E-mail:
Price:
Fields shouldn't be mandatory of course and people should be able to easily delete the advert if they're not satisfied with it and start over again. Who can help me create such a thing? I've got no experience whatsoever in doing so.
- GuestGuest
Ange Tuteur wrote:Something similar to this, but in a button on the editor, right ?
Yeah, in a way it's a smart table, but styled like the postcards. The avatars in the postcards, well in this case, replace them with the pics of the items to be sold the members can upload (hovering over it should enable a member to upload a pic, or just add a link to enable the option), and then the info next to the pic.
I've got no idea how to approach this and I've got totally no experience & idea how to complete this. Perhaps you can write something up for me pls? ty
- GuestGuest
@Ange Tuteur: I found this on the ESF:
http://help.forumotion.com/t131789-add-a-form-on-creation-of-a-new-topic#884013
which basically covers my request. I've got 2 questions about the tuto though:
- How to add multiple forums in the script?
The script says to use this code for a forum:
to add multiple forums, should I do something like this?
- And, to be able to add a picture, it would be nice to have an 'Add Picture' button in one of the text areas in this script:
http://help.forumotion.com/t131789-add-a-form-on-creation-of-a-new-topic#884013
which basically covers my request. I've got 2 questions about the tuto though:
- How to add multiple forums in the script?
The script says to use this code for a forum:
- Code:
$(function() {
if (location.pathname == '/post' && location.search == '?f=FORUM_ID&mode=newtopic') {
$('#text_editor_textarea').val('FORM');
}
});
to add multiple forums, should I do something like this?
- Code:
$(function() {
if (location.pathname == '/post' && location.search == '?f=FORUM_ID1&mode=newtopic' || location.search == '?f=FORUM_ID2&mode=newtopic' || location.search == '?f=FORUM_ID3&mode=newtopic') {
$('#text_editor_textarea').val('FORM');
}
});
- And, to be able to add a picture, it would be nice to have an 'Add Picture' button in one of the text areas in this script:
- Code:
$(function() {
if (location.pathname == '/post' && location.search == '?f=1&mode=newtopic') {
$('#text_editor_textarea').val('[b]Add a picture[/b]:<picturebuttongoeshere>\n[b]Field 1[/b]:\n[b]Field 2[/b]: Don\'t fill this field in\n[b]Field 3[/b]:');
}
});
- Sponsored content
Similar topics
Create an account or log in to leave a reply
You need to be a member in order to leave a reply.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum