FM Design will be closing soon, please click here for more information.

Latest topics
» Forum Closure
by Michael_vx Yesterday at 05:52

» Forumactif Edge - Releases
by Ange Tuteur Thu 14 Dec 2017, 11:25

» [GAME] Count to One Million!
by Valoish Wed 13 Dec 2017, 23:23

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

» Support Forums and Social Networks
by SLGray Mon 04 Dec 2017, 22:38

» Browsers & Updates
by Wolfuryo Mon 04 Dec 2017, 15:20

» Logo/Favicon
by Mr_Grande Mon 04 Dec 2017, 09:55

» Broadcasting Duo
by brandon_g Sun 03 Dec 2017, 11:01

Recent Tutorials
Who is online?
In total there are 5 users online :: 0 Registered, 0 Hidden and 5 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

View all awards

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
Title :
Coffee Addict
Gender : Male
Age : 22
Posts : 4718
Points : 9625
Reputation : 2346
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile

PostAnge Tuteur on Fri 23 Dec 2016, 11:50

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

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
View all awards

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]:');

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