FM Design is in read-only mode, please click here for more information.

Latest topics
» Forumactif Edge - Releases
by Ange Tuteur Fri 08 Jun 2018, 11:02

» 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 -
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

» Numbering of messages in the topic
by SLGray Mon 04 Dec 2017, 22:40

Recent Tutorials
Top posting users this month

Who is online?
In total there are 13 users online :: 0 Registered, 0 Hidden and 13 Guests :: 1 Bot


[ View the whole list ]

Most users ever online was 172 on Fri 19 Feb 2016, 05:17

[REQUEST] Advertisement form

View previous topic View next topic Go down


PostGuest on Fri 23 Dec 2016, 08:55


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,

Contact name:

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.
Ange Tuteur
Gender : Male
Age : 22
Posts : 4733
Points : 9875
Reputation : 2366
Location : Macungie, PA
Language : EN, JA, FR
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
View user profile

PostAnge Tuteur on Fri 23 Dec 2016, 11:50

Something similar to this, but in a button on the editor, right ?


Ange Tuteur
Tips and TricksContact Me


PostGuest on Fri 23 Dec 2016, 12:01

@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. Wink

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 Crazy Dance

PostGuest on Mon 26 Dec 2016, 20:54

@Ange Tuteur: I found this on the ESF:

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:

        $(function() {
            if (location.pathname == '/post' && == '?f=FORUM_ID&mode=newtopic') {

to add multiple forums, should I do something like this?

        $(function() {
            if (location.pathname == '/post' && == '?f=FORUM_ID1&mode=newtopic' || == '?f=FORUM_ID2&mode=newtopic' || == '?f=FORUM_ID3&mode=newtopic') {

- 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:

        $(function() {
            if (location.pathname == '/post' && == '?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

PostSponsored content

View previous topic View next topic Back to top

Create an account or log in to leave a reply

You need to be a member in order to leave a reply.

Create an account

Join our community by creating a new account. It's easy!

Create a new account

Log in

Already have an account? No problem, log in here.

Log in

Permissions in this forum:
You cannot reply to topics in this forum