Go Back   vBulletin Setup > vBulletinSetup Information > vBulletin Questions


Please Register to get full access to the forums.
Post New Thread  Reply



#1   05-26-2007, 05:13 PM
Posts: n/a


Recipe Mod
By: whitemike
Support Site: Here
Requests: Here
Preview: Here


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="$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>
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.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



Attached Images
File Type: jpg screen1.jpg (25.5 KB, 27 views)
File Type: jpg screen2.jpg (29.3 KB, 21 views)
Attached Files
File Type: xml product-recipe_whitemike.xml (17.8 KB, 4 views)

Last edited by Brandon; 12-20-2007 at 07:45 AM..
Quote   |  



#2   05-26-2007, 06:11 PM
Send a message via AIM to Brandon Send a message via MSN to Brandon Send a message via Yahoo to Brandon Brandon is a glorious beacon of lightBrandon is a glorious beacon of lightBrandon is a glorious beacon of lightBrandon is a glorious beacon of light Join Date: Jul 2006 Posts: 11,296 Location: Topeka, KS
iTrader: (0)
Submit your RSS feeds to over 58 search engines and top directories
Re: Recipe Mod Database


Thanks man

I've seen some real interest in this hack. I appreciate you sharing it here
--------------------
Brandon Sheley / vBulletin Setup Staff
Check out our Newsletter for the latest vB and SEO news.
Are you looking for vBulletin work to be done on your forums ?
Would you like to Help Support vBulletin Setup.


Add our Facebook Blog, Group and LinkedIn group.. Thanks
Stay up to date by installing our Tool Bar
Quote   |  



#3   05-28-2007, 01:52 AM
Send a message via AIM to cajunboy2208 cajunboy2208 has a spectacular aura about Join Date: May 2007 Posts: 267 Location: Central, Louisiana
iTrader: (0)
Re: Recipe Mod Database


Awesome! Bookmarked. This will be great for my Fitness Receipe section. Thanks!
--------------------
Owner of www.bleepd.com
Quote   |  



#4   05-28-2007, 10:36 PM
ICY ICE will become famous soon enough Join Date: May 2007 Posts: 18 Location: Los Angeles
iTrader: (0)
Re: Recipe Mod Database


Very nice job!

I saw this on vb.org, now I'll put it on my Recipe forum and expand as needed with the "array".

How dificult is it to modify excisting posts/recipes if possible?
--------------------
ICE
Quote   |  



#5   12-20-2007, 07:19 AM
Gurl will become famous soon enough Join Date: Dec 2007 Posts: 2
iTrader: (0)
Re: Recipe Mod Database


The demo links in the op don't work. is there a demo?
Quote   |  



#6   12-20-2007, 07:46 AM
Send a message via AIM to Brandon Send a message via MSN to Brandon Send a message via Yahoo to Brandon Brandon is a glorious beacon of lightBrandon is a glorious beacon of lightBrandon is a glorious beacon of lightBrandon is a glorious beacon of light Join Date: Jul 2006 Posts: 11,296 Location: Topeka, KS
iTrader: (0)
Submit your RSS feeds to over 58 search engines and top directories
Re: Recipe Mod Database


Quote:
Originally Posted by Gurl View Post
The demo links in the op don't work. is there a demo?
I updated the demo link to one of the test recipes
--------------------
Brandon Sheley / vBulletin Setup Staff
Check out our Newsletter for the latest vB and SEO news.
Are you looking for vBulletin work to be done on your forums ?
Would you like to Help Support vBulletin Setup.


Add our Facebook Blog, Group and LinkedIn group.. Thanks
Stay up to date by installing our Tool Bar
Quote   |  



#7   12-20-2007, 07:47 AM
Gurl will become famous soon enough Join Date: Dec 2007 Posts: 2
iTrader: (0)
Re: Recipe Mod Database


Thanks, Brandon!
Quote   |  



#8   12-25-2007, 01:14 PM
ahmed-samara will become famous soon enough Join Date: Dec 2007 Posts: 1 Location: egypt
iTrader: (0)
Re: Recipe Mod Database


Thanks man >>>
Quote   |  



#9   12-30-2007, 07:02 PM
Send a message via ICQ to DrussRob Send a message via AIM to DrussRob Send a message via MSN to DrussRob Send a message via Yahoo to DrussRob DrussRob has a spectacular aura about Join Date: Sep 2007 Posts: 53 Location: Central Florida
iTrader: (0)
Re: Recipe Mod Database


In reference to the attached demo images in the first post. What size mexican do you suggest using? Don't wanna use too much ya know...
--------------------
Wise men talk because they have something to say;
fools, because they have to say something.

We Need Alan Keyes For President!
Quote   |  



#10   12-30-2007, 07:47 PM
Send a message via AIM to Brandon Send a message via MSN to Brandon Send a message via Yahoo to Brandon Brandon is a glorious beacon of lightBrandon is a glorious beacon of lightBrandon is a glorious beacon of lightBrandon is a glorious beacon of light Join Date: Jul 2006 Posts: 11,296 Location: Topeka, KS
iTrader: (0)
Submit your RSS feeds to over 58 search engines and top directories
Re: Recipe Mod Database


Quote:
Originally Posted by DrussRob View Post
In reference to the attached demo images in the first post. What size mexican do you suggest using? Don't wanna use too much ya know...
lol...

You should see some of the ones mike and I have posted in the test rooms :p
--------------------
Brandon Sheley / vBulletin Setup Staff
Check out our Newsletter for the latest vB and SEO news.
Are you looking for vBulletin work to be done on your forums ?
Would you like to Help Support vBulletin Setup.


Add our Facebook Blog, Group and LinkedIn group.. Thanks
Stay up to date by installing our Tool Bar
Quote   |  
Post New Thread  Reply
vBulletin Setup > vBulletinSetup Information > vBulletin Questions


Tags
recipe mod database, recipie mod, vbulletin, vbulletin mod, vbulletin recipie, vbulletin recipie mod

Thread Tools
Display Modes

 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -6. The time now is 03:18 PM.

vBulletin Setup, vBulletin Setup Forums, vBulletin Services, vBulletin Blogs, vBulletin SEO, vBulletin Questions
vBulletin Skins, Styles, Templates, vBulletin Monetization, Blogs, vBulletin Link Directory,Quality Link Directory