Back to vBulletin 3.6 Add-ons

Recipe Mod Database
Mod Version: 1.6, by Michael Biddle

This modification is in the archives.
vB Version: 3.6.x Rating: (14 votes - 3.79 average) Installs: 117
Released: 23 Mar 2007 Last Update: 26 Jun 2007 Downloads: 724
Not Supported Uses Plugins Template Edits  

Recipe Mod
By: whitemike
Demo: http://www.vbulletinzone.com
Official Requests: http://www.vbulletinzone.com/f9/
NOTE: Support will be provided here, but I will get to it sooner on my official site. http://www.vbulletinzone.com/

Installation:
  1. Templates to add:3
  2. Templates to edit:3
  3. Plugins Added: 14
  4. Phrases Added: 12
  5. Quires ran: 9

Instructions:
  1. Import the Product .xml
  2. Edit templates
Editpost:

Find:

Code:
<!-- / subject field -->


Add Under:

Code:
<if condition="$threadinfo[firstpostid] == $postinfo[postid] AND $foruminfo[enable_recipe]">
$editrecipe 
<else />
Find:
Code:
        $messagearea
        <!-- / message area -->
        $posticons
            </td>
        </tr>
        </table>
        </div>
    </div>


Add After:

Code:
</if>


Showthread:

Find:

Code:
 $Navbar


Add Under:

Code:
<if condition="$foruminfo[enable_recipe]">
$recipe
</if>


Find:
Code:
<a name="poststop" id="poststop"></a>


Add Under:
Code:
<if condition="$no_posts">
<else />


Find:
Code:
<div id="posts">$postbits<div id="lastpost"></div></div>


Add Above:
Code:
</if>


Newthread:

Find:
Code:
<!-- / subject field -->


Add Under:
Code:
<if condition="$foruminfo[enable_recipe]">
$newrecipe
<else />


Find:

Code:
        <!-- / message area -->
        $imagereg
        $posticons
            </td>
        </tr>
        </table>
        </div>
    </div>


Add After:
Code:
</if>
Find:
Code:
<input type="submit" class="button" name="preview" value="$vbphrase[preview_post]" accesskey="r" tabindex="1" />
Replace with:
Code:
<if condition="$foruminfo[enable_recipe]"></else><input type="submit" class="button" name="preview" value="$vbphrase[preview_post]" accesskey="r" tabindex="1" /></if>

Postbit(_legacy):

Add at Top:

Code:
<if condition="$post[postcount] == 1 && in_array($thread['forumid'], array($vboptions[recipe_forums]))">
<if condition="$show['attachments']">
        <!-- attachments -->
            <div style="padding:$stylevar[cellpadding]px">
            <if condition="$show['thumbnailattachment']">
                <fieldset class="fieldset">
                    <legend>$vbphrase[attached_thumbnails]</legend>
                    <div style="padding:$stylevar[formspacer]px">
                    $post[thumbnailattachments]
                    </div>
                </fieldset>
            </if>
            <if condition="$show['imageattachment']">
                <fieldset class="fieldset">
                    <legend>$vbphrase[attached_images]</legend>
                    <div style="padding:$stylevar[formspacer]px">
                    $post[imageattachments]
                    </div>
                </fieldset>
            </if>
            <if condition="$show['imageattachmentlink']">
                <fieldset class="fieldset">
                    <legend>$vbphrase[attached_images]</legend>
                    <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                    $post[imageattachmentlinks]
                    </table>
                    </fieldset>
            </if>
            <if condition="$show['otherattachment']">
                <fieldset class="fieldset">
                    <legend>$vbphrase[attached_files]</legend>
                    <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                    $post[otherattachments]
                    </table>
                </fieldset>
            </if>
            <if condition="$show['moderatedattachment']">
                <fieldset class="fieldset">
                    <legend>$vbphrase[attachments_pending_approval]</legend>
                    <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                    $post[moderatedattachments]
                    </table>
                </fieldset>        
            </if>
            </div>
        <!-- / attachments -->
        </if>
<else />


Add at End:

Code:
</if>


Find:

Code:
<div>$vbphrase[posts]: $post[posts]</div>
Add After:
Code:
<div>$vbphrase[recipe_stats]: $post[recipe_stats]</div>


Fixes:

1.6
  1. Added another template edit into the newthread template to remove the preview post option

1.5
  1. Added a vboption for the forumid's for the templates to make easier on client side
1.4
  1. Added Template Grouping
  2. Cached Templates
  3. Other small minor changes
1.3
  1. Fixed Spelling - Duh
1.2
  1. Fixed Major Edit Post Bug - Thanks to Nick for opening my eyes
1.1
  1. Fixed Edit Post Bug
  2. Fixed Spelling Error

Thats it!

Configure
  1. Go to ACP -> Forums & Moderators -> Forum Manager -> Pick a forum and at bottom it has a new yesno setting
  2. Go to ACP -> vBulletin Options -> Recipe Mod Database -> Enter the forumid's used for your forum

Please Click Install if you use

Download

This modification is archived, downloads are still allowed.

File Type: %1$s product-recipe_whitemike.xml (17.9 KB, 455 downloads)

Addons

Supporters / CoAuthors

  • whitemike

Screenshots

Click image for larger version
Name:	screen1.jpg
Views:	3082
Size:	25.5 KB
ID:	62197   Click image for larger version
Name:	screen2.jpg
Views:	3349
Size:	29.3 KB
ID:	62198  

Similar Mods

Add-On Releases Print Recipe for Recipe Mod Database vBulletin 3.6 Add-ons

vblts.ru supports vBulletin®, 2022-2024