The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Recipe Mod Database Details »» | ||||||||||||||||||||
NOTE: Support will be provided here, but I will get to it sooner on my official site. vBulletin Zone Installation:
Instructions:
Find: Code:
<!-- / subject field --> Add Under: Code:
<if condition="$threadinfo[firstpostid] == $postinfo[postid] AND $foruminfo[enable_recipe]"> $editrecipe <else /> 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> Code:
<input type="submit" class="button" name="preview" value="$vbphrase[preview_post]" accesskey="r" tabindex="1" /> 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> Code:
<div>$vbphrase[recipe_stats]: $post[recipe_stats]</div> Fixes: 1.6
1.5
Thats it! Configure
Please Click Install if you use Supporters / CoAuthors Show Your Support
|
Благодарность от: | ||
sternenfee |
Comments |
#2
|
|||
|
|||
Reserved for Future Use
|
#3
|
|||
|
|||
hi, 2 questions
1-Can you add a pic? 2-can you print recipe? If it's part of showthread it will not unless you add support code. |
#4
|
|||
|
|||
No and Not tested. Will think about these in future release though.
|
#5
|
|||
|
|||
In the process of trying to install. I keep getting this in the postbit legacy.
The following template conditional expression contains function calls: <if condition="$post[postcount] == 1 && $thread[forumid] == x(22)"> Function Name Usage in Expression x x(22) With a few exceptions, function calls are not permitted in template conditional expressions. Please go back and re-write this expression. The following functions are allowed in template conditional expressions: in_array() is_array() is_numeric() isset() empty() defined() array() can_moderate() can_moderate_calendar() exec_switch_bg() is_browser() is_member_of() We have almost 700 recipes on our forum. This would be some sweet hack. Thank's for that. |
#6
|
|||
|
|||
replace x with 22 so its
<if condition="$post[postcount] == 1 && $thread[forumid] == 22"> |
#7
|
|||
|
|||
Thanks. Must have done something wrong along the way. Guess I will check everything out and see where I went wrong. lol
hmmmm have gone through every template again and have installed the product. Try clicking on new thread and still isn't showing. yikes |
#8
|
||||
|
||||
I don't have time right now but when I get off work I will install this. It's something that I can really really use, thanks!
|
#9
|
|||
|
|||
Can this be made exclusive to one forum? I have a section for recipes on my forum, can I make it so that it only applies in that section and the usual post box appears elsewhere?
|
#10
|
|||
|
|||
Not a bad mod for quite a few sites, nice work.
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|