Welcome, Guest. Please login or register.

ShoutBox!

Scrubmeister

2024-04-19, 10:32:40
Good to see the site back faster than ever. :)
 

Skhilled

2024-04-18, 21:09:09
I've upgraded the server...more resources. ;)
 

Ken

2024-04-18, 20:57:10
Now that you mention it...  :D
 

Skhilled

2024-04-18, 20:47:19
...and, you should notice that the site is much faster.  :o
 

Ken

2024-04-18, 20:31:37
Hey Steve.
 

Skhilled

2024-04-18, 17:56:10
Re-read the message below...
 

Skhilled

2024-03-31, 15:22:06
Oh yeah, you need to upgrade the site first...
 

Ken

2024-03-30, 09:54:54
Whoops! I forgot that the SMF install here on OFF is out of date!  :'(
 

Ken

2024-03-30, 09:44:48
 Conga-Rats Steve!  :thumbup:
Me gonna install it here just for the fun of it!  :)
 

Skhilled

2024-03-29, 22:15:23
Released!  :D

Recent Topics

TP Articles


Search in titles
Search in article texts

Author Topic: Some Great new Recipes!  (Read 15225 times)

0 Members and 1 Guest are viewing this topic.

Offline Lesmond

Re: Some Great new Recipes!
« Reply #15 on: April 06, 2009, 06:30:56 PM »
I had to put mine in its own html page for it to work for some reason, then I used an Iframe in the article

Online Ken (OP)

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11676
  • Gender: Male
  • View Gallery
Re: Some Great new Recipes!
« Reply #16 on: April 06, 2009, 07:20:31 PM »
OK, I'll try that.  :wink2:
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Skhilled

  • Administrator
  • *
  • Posts: 9006
  • Gender: Male
  • All of my passwords are protected by amnesia...
  • View Gallery
    • Buildz Hosting
Re: Some Great new Recipes!
« Reply #17 on: April 07, 2009, 09:53:31 AM »
If I set up a category for recipes are you up for reposting your existing entries as articles? I know you've put a lot of work into them already, but if I do the articles it will list them in my name.

Thank you, thank you! I knew there was something I had wanted to talk to Bloc about for a long time and that was it. It has always bugged me to no end that category blocks do not show the original author. They only show the site owner and the article creator.

On my site RebelRose and Lord Anubis had created a few articles and I had always wanted their names on their articles. Les had shown me a work around. It was to create an html block and manually create the links. I wasn't too fond of this but it worked.

I've meant to post that in the requested features topic for almost a year now. LOL

BTW... you deserve a big thank you for what you've already posted, those are some great recipes that you've shared with the family.  :bigthumb: 

You're welcome. Lot's more are coming. ;)

Online Ken (OP)

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11676
  • Gender: Male
  • View Gallery
Re: Some Great new Recipes!
« Reply #18 on: April 07, 2009, 10:06:35 AM »
You are welcome.  :disted:

Thats one thing that would be a great help for an administrator, the ability to easily change 'ownership' for things like TP articles would make it so much simpler. I don't know what kind coding issues it would cause for Bloc but I know that it can be done because in the SMF Gallery Pro that option exists... the admin only needs to pull up the edit screen for an image and the ownership can be changed there. (the newly assigned owner can then do edits to that image) Works great.  :bigthumb:

Hopefully Bloc can add this option to an upcoming release.
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Skhilled

  • Administrator
  • *
  • Posts: 9006
  • Gender: Male
  • All of my passwords are protected by amnesia...
  • View Gallery
    • Buildz Hosting
Re: Some Great new Recipes!
« Reply #19 on: April 07, 2009, 10:12:34 AM »
I just posted it in the proper board. ;)

Online Ken (OP)

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11676
  • Gender: Male
  • View Gallery
Re: Some Great new Recipes!
« Reply #20 on: April 07, 2009, 10:13:56 AM »
I just posted it in the proper board. ;)

I saw that.  :bigthumb:
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Lesmond

Re: Some Great new Recipes!
« Reply #21 on: April 07, 2009, 02:02:39 PM »
I found another recipes script, set it up here http://www.lesmonds.co.uk/cook/index.php this does not require any log in, can be downloaded here http://www.cookdojo.com/cookdojo_home.php 

Online Ken (OP)

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11676
  • Gender: Male
  • View Gallery
Re: Some Great new Recipes!
« Reply #22 on: April 07, 2009, 03:53:30 PM »
This one has some possibilities.  :disted:

For the login part it... maybe could be placed in an article that was only visible to members?
Just wondering about the security part of having it be open to anyone.


Ps: I'm still not getting the converter to work.  :cry2:
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Lesmond

Re: Some Great new Recipes!
« Reply #23 on: April 07, 2009, 04:43:46 PM »

Ps: I'm still not getting the converter to work.  :cry2:

That is strange, I seen to remember I had some probs with it too, but for the life of me I cant remember what it was!!

Try this in an article....

Code: [Select]
<center>
<iframe name="I1" src="http://www.lesmonds.co.uk/forum/conversions.htm" width="547" height="228" scrolling="no" border="0" frameborder="0">
Your browser does not support inline frames or is currently configured not to display inline frames.
</iframe></center>

Online Ken (OP)

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11676
  • Gender: Male
  • View Gallery
Re: Some Great new Recipes!
« Reply #24 on: April 07, 2009, 05:12:57 PM »
Got it working using your code and link, I'm just doing something wrong or leaving out a step in my install.
http://www.ourfamilyforum.org/FamilyForum/index.php?page=178
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Lesmond

Re: Some Great new Recipes!
« Reply #25 on: April 07, 2009, 05:22:40 PM »
unless its the copy and paste let me post the code here, dont forget there are no body or head tags...

Code: [Select]
<script language="JavaScript"><!-- Generic Unit Conversion Program
// Author    : Jonathan Weesner (jweesner@cyberstation.net)  21 Nov 95
// Copyright : You want it? Take it! ... but leave the Author line intact please!
function convertform(form){
    var firstvalue = 0;
    for (var i = 1; i <= form.count; i  ) {
       // Find first non-blank entry
       if (form.elements[i].value != null && form.elements[i].value.length != 0) {
  if (i == 1 && form.elements[2].value != "") return false;
  firstvalue = form.elements[i].value / form.elements[i].factor;
  break;
       }
    }
    if (firstvalue == 0) {
       clearform(form);
       return false;
    }
    for (var i = 1; i <= form.count; i  )
       form.elements[i].value = formatvalue((firstvalue * form.elements[i].factor), form.rsize);
    return true;
}
function formatvalue(input, rsize) {
   var invalid = "**************************";
   var nines = "999999999999999999999999";
   var strin = ""   input;
   var fltin = parseFloat(strin);
   if (strin.length <= rsize) return strin;
   if (strin.indexOf("e") != -1 ||
       fltin > parseFloat(nines.substring(0,rsize) ".4"))
      return invalid.substring(0, rsize);
   var rounded = ""   (fltin   (fltin - parseFloat(strin.substring(0, rsize))));
   return rounded.substring(0, rsize);
}
function resetform(form) {
    clearform(form);
    form[1].value = 1;
    convertform(form);
    return true;
}
function clearform(form) {
    for (var i = 1; i <= form.count; i  ) form[i].value = "";
    return true;
}
<!-- done hiding from old browsers -->
</script>
<script language="JavaScript">
<!-- hide javascript
function calculate(){

var from = Number(document.forms[0].from.selectedIndex);
var toval = Number(document.forms[0].toval.selectedIndex);
var input = Number(document.forms[0].input.value);
var output = 0;
var x = 0;

if ( from == 0 ){ x = input * .00006485423519737;}
   if ( from == 1 ){ x = input * .0003080576;}
if ( from == 2 ){ x = input * .0006161152;}
   if ( from == 3 ){ x = input * .001;}
   if ( from == 4 ){ x = input * .1;}
   if ( from == 5 ){ x = input * .0036966914;}
   if ( from == 6 ){ x = input * .004927469540511968;}

    if ( from == 7 ){ x = input * .0046207343;}
if ( from == 8 ){ x = input * .014782408621535903;}
if ( from == 9 ){ x = input * .018482937;}
if ( from == 10 ){ x = input * .029564817243071806;}
if ( from == 11 ){ x = input * .028413075;}
if ( from == 12 ){ x = input * .23651853794457445;}
   if ( from == 13 ){ x = input * .01638706;}

if ( from == 14 ){ x = input * .11825926897228722;}
   if ( from == 15 ){ x = input * .1420654;}
   if ( from == 16 ){ x = input * .4730370758891489;}
   if ( from == 17 ){ x = input * .5682615;}
   if ( from == 18 ){ x = input * .9460741517782978;}
   if ( from == 19 ){ x = input * 1;}
   if ( from == 20 ){ x = input * 3.784296607113191;}
   if ( from == 21 ){ x = input * 4.546092;}


if ( toval == 0 ){ output = x / .00006485423519737;}
if ( toval == 1 ){ output = x / .0003080576;}
if ( toval == 2 ){ output = x / .0006161152;}
if ( toval == 3 ){ output = x / .001;}
if ( toval == 4 ){ output = x / .1;}
if ( toval == 5 ){ output = x / .0036966914;}
if ( toval == 6 ){ output = x / .004927469540511968;}
if ( toval == 7 ){ output = x / .0046207343;}
if ( toval == 8 ){ output = x / .014782408621535903;}
if ( toval == 9 ){ output = x / .018482937;}
if ( toval == 10 ){ output = x / .029564817243071806;}
if ( toval == 11 ){ output = x / .028413075;}
   if ( toval == 12 ){ output = x / .23651853794457445;}
   if ( toval == 13 ){ output = x / .01638706;}
   if ( toval == 14 ){ output = x / .11825926897228722;}
   if ( toval == 15 ){ output = x / .1420654;}
   if ( toval == 16 ){ output = x / .4730370758891489;}
   if ( toval == 17 ){ output = x / .5682615;}
   if ( toval == 18 ){ output = x / .9460741517782978;}
   if ( toval == 19 ){ output = x / 1;}
   if ( toval == 20 ){ output = x / 3.784296607113191;}
   if ( toval == 21 ){ output = x / 4.546092;}

document.forms[0].output.value = Math.round( 1000 * output)/ 1000;



document.forms[0].output.value = Math.round( 1000 * output)/ 1000;

}

// done hiding -->
</script><!-- end function -->

<div align="center">

<table width="527" cellspacing="1">  <tbody><tr>
                <td width="523" align="center"><form>
                  <div align="center"><center>
<table border="0" cellpadding="3" cellspacing="0" width="502" bgcolor="#0000FF">

                    <tbody>
                    <tr>
                      <td bgcolor="#0000FF" width="166"><input name="input" size="15" width="100%">
<font face="Arial" size="2" color="#FFFFFF">quantity</font></td>
                      <td bgcolor="#0000FF" width="261"><select name="from" size="1">
                        <option>Drop</option>
                        <option>Dash</option>
                        <option>Pinch</option>

                        <option>Milliliters/cc </option>
                        <option>Deciliter</option>
                        <option>Fluid Dram</option>
                        <option>Teaspoon (US)</option>
                        <option>Teaspoon (UK)</option>
                        <option>Tablespoon (US)</option>

                        <option>Tablespoon (UK)</option>
                        <option>Fluid Ounce (US)</option>
                        <option>Fluid Ounce (Imperial)</option>
                        <option>Cups </option>
                        <option>Cubic Inch</option>
                        <option>Gill (US) </option>

                        <option>Gill (UK) </option>
                        <option>Pint (US) </option>
                        <option>Pint (UK) </option>
                        <option>Quarts (US)</option>
                        <option>Liters </option>
                        <option>Gallons (US)</option>

                        <option>Gallons (UK)</option>
                      </select> <font face="Arial" size="2" color="#FFFFFF">f r o m</font></td>
                    </tr>
                    <tr>
                      <td bgcolor="#0000FF" width="166"></td>
                      <td bgcolor="#0000FF" width="261"><select name="toval" size="1">
                        <option>Drop</option>

                        <option>Dash</option>
                        <option>Pinch</option>
                        <option>Milliliters/cc </option>
                        <option>Deciliter</option>
                        <option>Fluid Dram</option>
                        <option>Teaspoon (US)</option>

                        <option>Teaspoon (UK)</option>
                        <option>Tablespoon (US)</option>
                        <option>Tablespoon (UK)</option>
                        <option>Fluid Ounce (US)</option>
                        <option>Fluid Ounce (Imperial)</option>
                        <option>Cups </option>

                        <option>Cubic Inch</option>
                        <option>Gill (US) </option>
                        <option>Gill (UK) </option>
                        <option>Pint (US) </option>
                        <option>Pint (UK) </option>
                        <option>Quarts (US)</option>

                        <option>Liters </option>
                        <option>Gallons (US)</option>
                        <option>Gallons (UK)</option>
                      </select><font color="#FFFFFF"> <font face="Arial" size="2">t o</font></font></td>
                    </tr>
                    <tr>

                      <td bgcolor="#0000FF" width="166"></td>
                      <td bgcolor="#0000FF" width="261"><input name="output" size="15" width="100%">
<font face="Arial" size="2" color="#FFFFFF">answer</font></td>
                    </tr>
                    <tr>
                      <td bgcolor="#0000FF" width="166"></td>
                      <td bgcolor="#0000FF" width="261">
<input value="Convert" onclick="calculate()" type="button"></td>
                    </tr>

                    <tr>
                      <td colspan="2" bgcolor="#0000FF" width="427">
<font color="#FFFFFF" face="Arial" size="3"><strong>Instructions</strong></font><font color="#FFFFFF" face="Arial" size="2"><br>
                      1.&nbsp; Type in a quantity <br>
                      2.&nbsp; Select "from" measurement&nbsp; <br>

                      3.&nbsp; Select "to" measurement<br>
                      4.&nbsp; Click "Convert&quot;</font></td>
                    </tr>
                  </tbody></table>
                  </center></div>
                </form>

                </td>
              </tr>
            </tbody></table>
           
        </div>

just copy this to note pad and save has conversions.htm then upload to your host
« Last Edit: April 07, 2009, 05:28:59 PM by Les »

Online Ken (OP)

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11676
  • Gender: Male
  • View Gallery
Re: Some Great new Recipes!
« Reply #26 on: April 07, 2009, 06:02:36 PM »
Got it!  :yahoo:

While you were doing that code I had realized what I was doing wrong; it needed to be saved to the site as a webpage and then pull that page into the article.

Yes, I'm slow!  :thud:
Thanks for the help on that one Les.


EDIT: And yes... I saw where you had already told me to do the webpage thingie.  :08:
« Last Edit: April 07, 2009, 06:07:42 PM by GPa Ken »
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Lesmond

Re: Some Great new Recipes!
« Reply #27 on: April 07, 2009, 06:35:38 PM »
lol glad you got it sorted Ken. and glad to of helped

Offline Lesmond

Re: Some Great new Recipes!
« Reply #28 on: April 08, 2009, 03:10:23 PM »
Found another recipe program I thought I would try out for you'll to see this one doesn't come with any recipes in, but got a few in it feel free to grab some, any ways here it is.

Just one note this is a cgi program/script not php, and was a little harder to install, it doesn't have sgl data base but a flat file database  :boring: the script is here

Online Ken (OP)

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11676
  • Gender: Male
  • View Gallery
Re: Some Great new Recipes!
« Reply #29 on: April 08, 2009, 04:47:28 PM »
This one looks good Les.

Just been reading the read me file and it dose seem a little more difficult to install... did you have any big issues on yours?

And what about the admin part after it's up and running, it sounds like you must do edits on the actual files, is there no 'admin panel'?
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.