Follow vBSEO on Twitter
vBulletin Modifications
  • Forums
  • Add-Ons
  • Template Modifications
  • Styles
  • Graphics
  • Tutorials
  • Support Center
  • Register
  • vBulletin SEO

Member Log In

Site Navigation

  • Register
  • Members List
  • Social Groups
  • Search
  • Today's Posts
  • Mark Forums Read

Latest Modifications

  • [vB 3.8.4] THX - Hack for VB. 3.8.4
    By: bluedog
  • [vB 3.8.4] Cyb - Chatbox V.2.3
    By: bluedog
  • [vB 4.0.x] PHPKD - Advanced Quick...
    By: PHPKD
  • [vB 3.6.x] StopSpam
    By: flappi282
  • [vB 3.8.x] vBulletin Chat Addon for...
    By: 123flashchat

Latest Template Mods

  • [vB 4.0.x] Remove My Profile Link...
    By: Ak Worm
  • [vB 3.8.x] Images DownloadBox...
    By: cRs!MP
  • [vB 3.8.x] Adviertise Mod On Forum...
    By: MG4
  • [vB 3.8.4] Images PassWordBox...
    By: cRs!MP
  • [vB 3.8.4] Footer Follow Ups
    By: Ak Worm

Latest Styles

  • [vB 4.0.x] 4.0.3 - VB4STYLE-TWEETA...
    By: Belon
  • [vB 4.0.x] [4.0.3] vbdesigns.de...
    By: Belon
  • [vB 3.8.4] CompletevB - Skylight
    By: DreadKnight
  • [vB 3.8.3] [vB 3.8.4] Barcelona...
    By: hoiquantinhoc.com
  • [vB 3.8.3] Natures Walk by vBSkin...
    By: Chri5

Latest Graphics

  • [vB ] [anim.]Team Ranks
    By: cRs!MP
  • [vB ] Abstract Circles (3...
    By: cRs!MP
  • [vB ] PlayStation Rank Images
    By: cRs!MP
  • [vB 3.6.12] Heavy Stroked Button...
    By: Shelley
  • [vB ] Minature Ranks.
    By: Shelley
vBulletin Modifications » vBulletin Modifications » vBulletin 3.5 / 3.6 Hack Releases » Major Additions - Recipe Mod
Reply
Page 8 of 15 « First < 67 8 910 > Last »

 

  • Thread Tools
Download Options
You Must Register First
To Download This Modification

Report A Bug
Bugs
No bugs found in the system. If you have found a bug, please report a bug here
Submit A Bug | View All Bugs
  
Supported
[vB 3.6.7] Major Additions - Recipe Mod (174)
Released: 12-31-2006, 07:27 PM
Modification Information: Version: 1.6
Michael Biddle's Avatar Author: Michael Biddle
Last Online: 07-02-2010
Demo: View Online Demo!
Installer Included: 1 Additional queries added to database: 1 Template Edits: 3
File Edits: New Files: New Phrases: 12

Plugin
Recipe Mod
By: whitemike
Demo: Here

NOTE: Support will be provided here, but I will get to it sooner on my official site. vBulletin Zone

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



Screenshots
Screenshots
File Type: jpg screen1.JPG (39.2 KB, 1247 views)
File Type: jpg screen2.JPG (38.3 KB, 1331 views)

Old 03-03-2007, 03:09 PM   #71
radicalman
vB Newbie

radicalman's Avatar

Activity Longevity
0/20 11/20
Today Posts
0/3 sssssss26
Location: Minnesota, USA
Age: 59
radicalman is on a distinguished road
Status: Offline Default
Quote:
Originally Posted by whitemike View Post
lots of x's hard to see error, but is it showing your prefix correct?
I would be willing to pay to get this hack to work.
Recipe Mod

Can someone please help?

Thank you.
Reply With Quote Installed
Old 03-03-2007, 03:48 PM   #72
Nick R
vBulletin Guru

Nick R's Avatar

Activity Longevity
0/20 14/20
Today Posts
0/3 sssss4450
Location: Cyberspace, UK
Age: 30
Nick R is on a distinguished road
Send a message via MSN to Nick R Send a message via Yahoo to Nick R
Status: Offline Default
Any preference on who you pay? :p

Do you have an instant messenger?
Reply With Quote Installed
Old 03-03-2007, 04:50 PM   #73
Michael Biddle
Staff
Michael Biddle's Avatar

Activity Longevity
1/20 18/20
Today Posts
0/3 sssss2818
Location: Anaheim
Age: 22
Michael Biddle is on a distinguished road
Status: Offline Default
how about you let me cover my hacks nick....
Support will only be offered through forums
Michael Biddle / vBHackers.com
vBSEO 3.3.0 Gold Released with New "Virtual HTML Display" Feature Available for download now

vBSEO Google Sitemap Generator - Version 2.5 Released

Crawlability Network: vBulletin SEO | vBulletin Hackers
Reply With Quote Author of thread
Old 03-08-2007, 02:45 PM   #74
Nick R
vBulletin Guru

Nick R's Avatar

Activity Longevity
0/20 14/20
Today Posts
0/3 sssss4450
Location: Cyberspace, UK
Age: 30
Nick R is on a distinguished road
Send a message via MSN to Nick R Send a message via Yahoo to Nick R
Status: Offline Default
Seeing as you didn't seem to do anything he came back to me.

For anyone else that is having this problem; go to your ACP, open up the "recipe_showthread" plugin and replace it's contents with:
PHP Code:
if($foruminfo['enable_recipe'])
{

//explode ingrediants to add LI dot before each one
$tmp1 = $threadinfo[recipe_ingrediants];
$tmp_arr = explode("\r\n",$tmp1);
$ingrediants = "";
foreach (
$tmp_arr as $item) $ingrediants .= "<li>$item</li>";

//explode instructions to add OL LISTING
$tmp1 = $threadinfo[recipe_steps];
$tmp_arr = explode("\r\n",$tmp1);
$instructions = "<OL>";
foreach (
$tmp_arr as $item) $instructions .= "<li>$item</li>";
$instructions .= "</OL>";

//explode instructions to add OL LISTING
$tmp1 = $threadinfo[recipe_prep];
$tmp_arr = explode("\r\n",$tmp1);
$preps = "<OL>";
foreach (
$tmp_arr as $item) $preps .= "<li>$item</li>";
$preps .= "</OL>";

//get number of current posts, to know if needs to disable the threadtools + 1 extra reply button.
$tmp2 = $vbulletin->db->query_first("SELECT count(postid) AS post_count FROM " . TABLE_PREFIX . "post AS post WHERE post.threadid = '" . $threadinfo['threadid'] . "'");
$no_posts = $tmp2[post_count]==1 ? 1 : 0;

//check for EDIT permissions - only if you are original owner or admin
$tmp4 = $vbulletin->db->query_first("SELECT thread.postuserid AS postuserid FROM " . TABLE_PREFIX . "thread AS thread WHERE thread.postuserid = '" . $vbulletin->userinfo['userid'] . "'");
if (
$tmp4[postuserid]!="" || $vbulletin->userinfo[usergroupid]==6) $allow_edit = 1;
   else 
$allow_edit = 0;


eval(
' $recipe = "'.fetch_template('recipe').'";');

} 
Reply With Quote Installed
Old 03-08-2007, 03:22 PM   #75
radicalman
vB Newbie

radicalman's Avatar

Activity Longevity
0/20 11/20
Today Posts
0/3 sssssss26
Location: Minnesota, USA
Age: 59
radicalman is on a distinguished road
Status: Offline Default I waited 6 days and no reply to PM
I waited for 6 days and got no reply so took rogersnm up on his offer and he did an excellent job at fixing it and was fast.

Thank you rogersnm. Great job. And a great guy.
Reply With Quote Installed
Old 03-11-2007, 03:02 AM   #76
michael_s
vB Newbie

Activity Longevity
0/20 12/20
Today Posts
0/3 ssssssss5
michael_s is on a distinguished road
Status: Offline Default Submit loops back to blank edit page...
When I install this, add recipe info on the newthread page and click submit, it loops back to a blank submit page with the following error message:

Quote:
1. Please complete both the subject and message fields.

There are no subject fields... see the screenshot.


I found the issue... Put the newthread edit too early in the code... Fixed.
Attached Images
File Type: gif recipe_newthread.gif (15.4 KB, 19 views)

Last edited by michael_s; 03-11-2007 at 03:43 AM. Reason: I put the newthread edit too early in the code... Fixed.
Reply With Quote Installed
Old 03-11-2007, 04:40 AM   #77
michael_s
vB Newbie

Activity Longevity
0/20 12/20
Today Posts
0/3 ssssssss5
michael_s is on a distinguished road
Status: Offline Default Instructions are appearing as a post below the recipe
So is there any way to get this to stop showing?

See the screenshot. Basically a post is being shown with the exact same contents as the instrcutions box.

I added the part to showthread that is supposed to kill this section but it is not quite working right I think.
Attached Images
File Type: gif recipe_issue2.gif (23.4 KB, 34 views)
Reply With Quote Installed
Old 03-11-2007, 05:30 PM   #78
radicalman
vB Newbie

radicalman's Avatar

Activity Longevity
0/20 11/20
Today Posts
0/3 sssssss26
Location: Minnesota, USA
Age: 59
radicalman is on a distinguished road
Status: Offline Default
Quote:
Originally Posted by michael_s View Post
So is there any way to get this to stop showing?

See the screenshot. Basically a post is being shown with the exact same contents as the instrcutions box.

I added the part to showthread that is supposed to kill this section but it is not quite working right I think.

I get that to and it looks bad and confuses the members.
It should have just a reply ... and not that additional section.

I also notced it cuts off parts of the recipe in the Ingredients and Instructions.
Not sure about the other ones.
Reply With Quote Installed
Old 03-11-2007, 05:43 PM   #79
radicalman
vB Newbie

radicalman's Avatar

Activity Longevity
0/20 11/20
Today Posts
0/3 sssssss26
Location: Minnesota, USA
Age: 59
radicalman is on a distinguished road
Status: Offline Default
Quote:
Originally Posted by rogersnm View Post
If you look at the install code you'll see:
Code:
VARCHAR(250)
That means it the max length you can have it is 250, the highest you can make it before it will error is 255, you need to change it to mediumtext which is unlimited.

Where do you change it to mediumtext?
Since most recipes are much larger than this hack allows, I need more characters. Or most recipes are cut of... and sort of useless.
Reply With Quote Installed
Old 03-11-2007, 05:55 PM   #80
michael_s
vB Newbie

Activity Longevity
0/20 12/20
Today Posts
0/3 ssssssss5
michael_s is on a distinguished road
Status: Offline Default
Quote:
Originally Posted by radicalman View Post
Where do you change it to mediumtext?
Since most recipes are much larger than this hack allows, I need more characters. Or most recipes are cut of... and sort of useless.
You need to change the field properties of the database. Use phpmyadmin and change it from varchar to mediumtext. It is a pretty easy operation.
Reply With Quote Installed

Reply
Page 8 of 15 « First < 67 8 910 > Last »

« [vBulletin 3.5.x - 3.6.x] Cash Casino Center 2.4 | Time Count Down »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page

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

Forum Rules

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mod Request Goku vBulletin Modification Requests 2 11-30-2006 04:04 PM
Only admin and Mod forum !!! cyberman vBulletin Modification Requests 6 11-25-2006 08:36 AM
[Req] Transaction Mod For uCash/uShop..read please ;) TwiSteD vBulletin Modification Requests 57 04-09-2005 11:55 AM



All times are GMT. The time now is 05:30 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.
Transverse Styles
  • Top
  • Archive
  • vBSEO
  • Contact Us
LinkBack
LinkBack URL LinkBack URL
About LinkBacks About LinkBacks
Bookmark & Share
Digg this Thread! Digg this Thread!
Add Thread to del.icio.us Add Thread to del.icio.us
Bookmark in Technorati Bookmark in Technorati
Furl this Thread! Furl this Thread!