![]() |
Recipe Mod Database
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]"> Code:
$messagearea Add After: Code:
</if> Showthread: Find: Code:
$Navbar Add Under: Code:
<if condition="$foruminfo[enable_recipe]"> Find: Code:
<a name="poststop" id="poststop"></a> Add Under: Code:
<if condition="$no_posts"> 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]"> Find: Code:
<!-- / message area --> 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]))"> 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 |
Reserved for Future Use
|
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. |
No and Not tested. Will think about these in future release though.
|
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. |
replace x with 22 so its
<if condition="$post[postcount] == 1 && $thread[forumid] == 22"> |
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 |
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!
|
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?
|
Not a bad mod for quite a few sites, nice work.
|
Great idea!! I definately agree with the being able to upload a pic and a printable version!!
I'm gonna keep my eye on this thread :) |
great mod
i would like to make a suggestion: how about adding an image box somewhere so that a small picture of the dish can be uploaded then it would look like a cool cook book :D Great mod but unfortunately I wont be using it cos I already put like a 1000 recipes using GARS so it would be one heck of a job for me to transfer them over but ill click install all the same in support :D |
Ok, I have this installed and it works great.
However, it would be nice if when viewing the profile of a member, if it would show how many recipes they have contributed much like the thank you mod. Thanks. |
WOW! I have a recipe forum with hundreds of them!!! This is AWESOME!!!
|
Quote:
Can you maybe give vbux for posting recipes too? |
Do you mean just add the Stats to the user profile?
|
Is it possible to modify this hack so it automatically wraps img or code tags around certain input fields?
|
Only think I don't like is that previously added recipies (normal threads) aren't displayed anymore because you've gotten rid of the postbit with that conditional.
Like the hack, just not sure what I'm going to do to get the old recipies into the new system. |
The origional ones should still show up in the instructions part.
|
OK, I must be missing something here (which is highly possible for me at 1AM) I just add this Mod to my site (great idea!) and I modified all the templates as described in your above instructions, but I do not see where this mod is showing up?
I took a look at your Demo site and even registered. Again I do not see anything like in the screen shots, all I see was the normal Add a post box. What am I missing here? Thanks for setting me straight! :p |
Quote:
|
Quote:
|
Well I guess a little more help is in order, I am getting a Database (MySQL) Error.
Here is the actual error(Blue letters/numbers omitted for real letters and numbers): EDITED TO ADD: I only get this error when I enable the mod in my forum, and it effects all my templates not just the one I modified. When I DISABLE the Mod in the forum the MySQL Errors go away and forum works normally as before. Quote:
I used a existing forum (that might of had a total of 6 posts, it was recently added before I found this mod. I get this error when I try to add a new recipe and I get this error when I try to view any exisitng (pre-mod) posts in threads. Any ideas? |
Same here when I try and create a new recipe.
Database error in vBulletin 3.6.4: Quote:
|
Quote:
|
Quote:
|
Quote:
You can give it a try and see if it works, it won't delete your threads or posts. If it doesn't work, simply uninstall it :) |
Quote:
http://www.vbhackers.com/f76/recipe-...42/index8.html I don't know why the coder didn't use this info and place it here. |
So I got it all installed and it appears as if it work correctly. However upon filling in the fields. I get this error back:
The message you have entered is too short. Please lengthen your message to at least 1 characters. |
Quote:
Thanks. That worked. I appreciate it. :up: |
|
Sorry about that guys, thought I already applied this updated, its in now
|
Sorry for double posting but it is updated now, so it will fix the post count problem
|
Quote:
and no your 700 recipies wont be lost, they will be in the instructions as well, might want to have users go back and edit it according |
OK I downloaded the lastest update, but why is it when I click on "post preview" or "submit new thread" I get the following:
The following errors occurred when this message was submitted: 1. The message you have entered is too short. Please lengthen your message to at least 15 characters. I have WELL over the number of characters I have the minimum set in vB, so whats the fix for this? |
Quote:
|
Not a problem. I thought about this problem during coding so the instruction part i left as message in sql rather then making a recipe_instructions like the rest
|
Quote:
|
Quote:
|
This hack has great potential! I am subbing. :)
|
All times are GMT. The time now is 04:46 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|