Back to vBulletin 3.8 Template Modifications

Create Classifieds using Easy Forms
Mod Version: 1.00, by blind-eddie

vB Version: 3.8.7 Rating: (1 vote - 5.00 average) Installs: 10
Released: 22 Mar 2013 Last Update: Never Downloads: 37
Not Supported  

This will show you how to use Easy Forms by bananalive in a forum as a Classifieds and only allow a form to be used when creating a new thread in the classifieds forums.

After you install easy forms, create new forums and forms for your classifieds forums.

Examples:
Cars for sale
Parts for Sale
Wanted/Trade
Misc. Items for sale.

Set the first question to be the title of what the member is selling.
( I added the four forms below, edit them to your liking)
Example: 2008 Honda Drivers Door
(This will be your thread title)
In the Thread/ PM/ Email Title Section add {q_1} ( Change 1 to question one id per form)

In the Post New Thread section, select the proper forum per form for that form to create new thread in.
Save Changes

In the Advanced Options Section, second line, Answer BBcode.
Remove[INDENT][I] from first input box, leave blank and change the second input box to \r\n\r\n
Set permissions

In the After Form is Submitted section, leave it all blank, Save Changes.

Now create your questions, remembering In the Thread/ PM/ Email Title Section add {q_1} ( Change 1 to question one id per form) as stated above.
==================================================

Now we need to hide the New thread button from showing on the classifieds forums and add the Create Ad button just for the classifieds forums.

Backup the forumdisplay template before you edit it just in case you mess up.

The edit below shows the four classifieds forums and forms.

Open the FORUMDISPLAY template

Find:
Note: There will be two instances of this & you will need to repeat this edit on the second instance also.

Code:
<td class="smallfont"><if condition="$show['newthreadlink']">
Add above:
Change the forum and form ids to reflect your classifieds forum and classifieds form id's

Code:
<if condition="$forumid == 13">
<a href="/misc.php?do=form&fid=1">
<img border="0" src="images/misc/ad.png"></a>
</if>
<if condition="$forumid == 14">
<a href="misc.php?do=form&fid=4">
<img border="0" src="images/misc/ad.png"></a>
</if>
<if condition="$forumid == 15">
<a href="misc.php?do=form&fid=5">
<img border="0" src="images/misc/ad.png"></a>
</if>
<if condition="$forumid == 16">
<a href="misc.php?do=form&fid=6">
<img border="0" src="images/misc/ad.png"></a>
</if>
<if condition="!in_array($forumid, array(13,14,15,16))">
Add </if> very end of the newthread code like this:

Again, there are two instances of this & both need </if> added.

Code:
            <td class="smallfont"><if condition="$show['newthreadlink']"><a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]" rel="nofollow"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a><else />&nbsp;</if></td></if>
Click Save

I also use Thread Thumbnails by Null Parameter in the classifieds forums. If you use this set the options to pick up first image.

And I also use Mark as Sold by venom2124 for the classifieds forums.

Code:
Demo: http://blind-eddie.com/forum/forumdisplay.php?f=30
Temporary Login info:
Login: Test Account One
password:00000000
Login: Test Account Two
password:00000000
Login: Test Account Three
password:00000000
Enjoy!

Download

File Type: %1$s form-id-1.xml (5.3 KB, 29 downloads)
File Type: %1$s form-id-4.xml (5.3 KB, 24 downloads)
File Type: %1$s form-id-5.xml (5.3 KB, 21 downloads)
File Type: %1$s form-id-6.xml (5.2 KB, 30 downloads)

Screenshots

Click image for larger version
Name:	display.PNG
Views:	337
Size:	59.5 KB
ID:	144219   Click image for larger version
Name:	form_questions.PNG
Views:	247
Size:	40.4 KB
ID:	144220  

Similar Mods

New Posting Features Easy Forms v4.x - Create a form or multiple forms without php or html knowledge vBulletin 4.x Add-ons
New Posting Features Easy Forms - Create a form or multiple forms without php or html knowledge vBulletin 3.8 Add-ons

vblts.ru supports vBulletin®, 2022-2024