Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Wanted: Bible verse of the day

Asked Modified Viewed 7,042 times
R
RevCeg
R
RevCeg 10
My sites...
http://anandaquest.org - AnandaQuest - Prayer center
http://porchweb.com - PorchWeb - Paranormal
http://cegsworld.com - CegsWorld - My desk
  • Junior Member, joined since
  • Contributed 11 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions
asked
Junior Member

I've been searching for a Bible verse of the day panel/infusion for PF 7 but have not had any luck. Would appreciate being pointed toward one. Thanks.
0 replies

26 posts

C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

Here mate try this,

Just paste this in to a new panel (Admin >>> System >> Panels >>> New Panel and paste this code in the editor.

You just need to change the stuff for your bible verses and change the number at the top if you use more than 29.


[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]opentable("Random quotes"wink;
?>
<script type="text/javascript">
<!--//

//Enter the amount of quotes you are using.
var quotnum = "29";

//In between the " "; enter in your message. Remember not to use double
//quote ("wink in your message. You may use a single quote ('wink.

var sds = new Array(1000);
sds[0]="I can only help 1 person a day. And today's not your day. Tommorow don't look good either.";
sds[1]="I borrowed cd's and copied them from friend's before napster.";
sds[2]="It's not my fault.";
sds[3]="OXY MORON:<br>Microsoft Works";
sds[4]="I'm not poor. I'm financially challenged.";
sds[5]="If you can read this, you don't need glasses.";
sds[6]="After all is said and done, usually more is said than done.";
sds[7]="After all is said and done, usually more is said than done.";
sds[8]="I am a nobody, nobody is perfect, therefore I am perfect. ";
sds[9]="No one ever says 'It's only a game', when their team is winning.";
sds[10]="How come we choose from just two people for president and 50 for Miss America?";
sds[11]="Ever notice that people who spend money on beer, cigarettes, and lottery tickets are always complaining about being broke and not feeling well?";
sds[12]="On my first day of school my parents dropped me off at the wrong nursery. There I was...surrounded by trees and bushes.";
sds[13]="I earn a seven-figure salary. Unfortunately, there's a decimal point involved.";
sds[14]="The next time you feel like complaining, remember: Your garbage disposal probably eats better than thirty percent of the people in this world.";
sds[15]="The closest I ever got to a 4.0 in high school was my blood alcohol content. ";
sds[16]="Home is where you can say anything you like 'cause nobody listens to you anyway. ";
sds[17]="I live in my own little world, but it's ok, they know me here.";
sds[18]="I don't do drugs anymore 'cause I find I get the same effect just by standing up really fast.";
sds[19]="Money can't buy happiness, but it sure makes misery easier to live with. ";
sds[20]="I don't have a big ego, I'm way too cool for that.";
sds[21]="If flying is so safe, why do they call the airport the 'terminal'?";
sds[22]="Regular naps prevent old age..... especially if you take them while driving.";
sds[23]="When I was born, I was so surprised I couldn't talk for a year and a half.";
sds[24]="I don't approve of political jokes...I've seen too many of them get elected. ";
sds[25]="How much can I get away with and still go to heaven? ";
sds[26]="Travel is very educational. I can now say 'Kaopectate' in seven different languages.";
sds[27]="If life deals you lemons, make lemonade; if it deals you tomatoes, make Bloody Marys.";
sds[28]="If it was only a 3 hour tour, then why did they bring all their luggage?";
sds[29]="";
sds[30]="";
sds[31]="";
sds[32]="";
sds[33]="";
sds[34]="";
sds[35]="";
sds[36]="";
sds[37]="";
sds[38]="";
sds[39]="";
sds[40]="";
sds[41]="";
sds[42]="";
sds[43]="";
sds[44]="";
sds[45]="";
sds[46]="";
sds[47]="";
sds[48]="";
sds[49]="";
sds[50]="";
sds[51]="";
sds[52]="";
sds[53]="";
sds[54]="";
sds[55]="";
sds[56]="";
sds[57]="";
sds[58]="";
sds[59]="";
sds[60]="";
sds[61]="";
sds[62]="";
sds[63]="";
sds[64]="";
sds[65]="";
sds[66]="";
sds[67]="";
sds[68]="";
sds[69]="";
sds[70]="";
sds[71]="";
sds[72]="";
sds[73]="";
sds[74]="";
sds[75]="";
sds[76]="";
sds[77]="";
sds[78]="";
sds[79]="";
sds[80]="";
sds[81]="";
sds[82]="";
sds[83]="";
sds[84]="";
sds[85]="";
sds[86]="";
sds[87]="";
sds[88]="";
sds[89]="";
sds[90]="";
sds[91]="";
sds[92]="";
sds[93]="";
sds[94]="";
sds[95]="";
sds[96]="";
sds[97]="";
sds[98]="";
sds[99]="";
sds[100]="";

var arandomn=Math.random() * quotnum;
arandomn=Math.round(arandomn);
var daquote =sds[arandomn];

document.write("<table border=0 align=center><tr><td align=center><b>"+daquote+"</font></b></td></tr></table>"wink;

//-->
</script>
<?php

closetable();[/syntaxhighlighter]

Script from...

http://thescriptcenter.com/random-quote.html grin
0 replies
S
smokeman
S
  • Veteran Member, joined since
  • Contributed 920 posts on the community forums.
  • Started 79 threads in the forums
answered
Veteran Member

@FC: Ain't this "just" a random text-generator ? If yes, you can make this in PHP too. But I don't think it's what @RevCeg is looking for. He made the subject of this thread as "Wanted: Bible verse of the day"..

If I not get it wrong I think he want it to change every 24 hour ?
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

Sure cool. ;)
0 replies
R
Rolf Mayer
R
Ex
  • Senior Member, joined since
  • Contributed 391 posts on the community forums.
  • Started 7 threads in the forums
answered
Senior Member

And I guess, we need 365 Bible verses. Is there a rule, on which day a special verse has to show up?
0 replies
R
RevCeg
R
RevCeg 10
My sites...
http://anandaquest.org - AnandaQuest - Prayer center
http://porchweb.com - PorchWeb - Paranormal
http://cegsworld.com - CegsWorld - My desk
  • Junior Member, joined since
  • Contributed 11 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions
answered
Junior Member

Hey, fellas...I certainly appreciate your replies. I was able to get a script to work. If you'd like to see it take a look here...
http://anandaquest.org .
Thanks again.
0 replies
B
behrooz
B
  • Member, joined since
  • Contributed 122 posts on the community forums.
  • Started 29 threads in the forums
answered
Member

nice:D
0 replies
S
smokeman
S
  • Veteran Member, joined since
  • Contributed 920 posts on the community forums.
  • Started 79 threads in the forums
answered
Veteran Member

Can you post the script here ? - maybe other want to use it..
0 replies
R
RevCeg
R
RevCeg 10
My sites...
http://anandaquest.org - AnandaQuest - Prayer center
http://porchweb.com - PorchWeb - Paranormal
http://cegsworld.com - CegsWorld - My desk
  • Junior Member, joined since
  • Contributed 11 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions
answered
Junior Member

I got the script from the site listed below. They have a number of different scripts available. I found that I needed to change the double quotes around the link to single quotes.

http://www.verse-a-day.com/js/index.php
0 replies
H
Homdax
H
Homdax 10
  • Fusioneer, joined since
  • Contributed 2,247 posts on the community forums.
  • Started 108 threads in the forums
answered
Fusioneer

That will of course work, but it would be nice to see a PHP implementation. Smokey, Craig?

Hmm, that site has errors
Warning: Invalid argument supplied for foreach() in /hsphere/local/home/heincm/verse-a-day.com/verses/table_verselist.php on line 12 Warning: array_multisort(): Argument #1 is expected to be an array or a sort flag in /hsphere/local/home/heincm/verse-a-day.com/verses/table_verselist.php on line 17
        
0 replies
K
KonickMultimedia
K
Free Online Games: http://www.gamescut.com
  • Member, joined since
  • Contributed 76 posts on the community forums.
  • Started 9 threads in the forums
answered
Member

Hmm ive made a game of the day panel for my site, which takes a random game from the database and displays it for 24 hours. I can modify the script to work with something like this if someone is interested
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

I just made a Random Fish Panel out of this, its quite cool like. I will use that on my Angling website. hehe

[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]
opentable("Random Fish"wink;
?>
<script type="text/javascript">
<!--//

//Enter the amount of quotes you are using.
var quotnum = "14";

//In between the " "; enter in your message. Remember not to use double
//quote ("wink in your message. You may use a single quote ('wink.

var sds = new Array(1000);
sds[0]="Trout";
sds[1]="Salmon";
sds[2]="Haddock";
sds[3]="Cod";
sds[4]="Sole";
sds[5]="Mullet.";
sds[6]="Snapper";
sds[7]="Whitening";
sds[8]="Pollok";
sds[9]="Kippers";
sds[10]="Gold";
sds[11]="Phrana";
sds[12]="Skate";
sds[13]="sardine";
sds[14]="catfish";


var arandomn=Math.random() * quotnum;
arandomn=Math.round(arandomn);
var daquote =sds[arandomn];

document.write("<table border=0 align=center><tr><td align=center><b>"+daquote+"</font></b></td></tr></table>"wink;

//-->
</script>
<?php

closetable();[/syntaxhighlighter]
0 replies
H
Homdax
H
Homdax 10
  • Fusioneer, joined since
  • Contributed 2,247 posts on the community forums.
  • Started 108 threads in the forums
answered
Fusioneer

You should specify that you are actually closing the php execution before setting up the js exec and the reopening it at the end, since we have enough issues with folks confusion single ' with double".

:P
0 replies
E
emilife93
E
  • Member, joined since
  • Contributed 176 posts on the community forums.
  • Started 49 threads in the forums
answered
Member

Craig...is dont want random can? That mean is it turning with a day
0 replies
S
smokeman
S
  • Veteran Member, joined since
  • Contributed 920 posts on the community forums.
  • Started 79 threads in the forums
answered
Veteran Member

@FC: On line 34 there's a </font> but no start-tag for the font. ;)
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

@Everyone the code is not mine its from where I said in post # 2 so don't report things to me.
0 replies
S
smokeman
S
  • Veteran Member, joined since
  • Contributed 920 posts on the community forums.
  • Started 79 threads in the forums
answered
Veteran Member

Im aware of that @FC. It was only because now when you have made it into a panel you maybe would correct the code..
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

Ah lol I see this joke is not working, the Fish Panel is just my weird sense of humour and not to be taken seriously.

The Code used is useless and badly written there for it is no good, there for it's FISH. Fish to me is things that are bad or useless is called Fish.

The Code is Useless and bad there for it is FISH, there for I made it into a Fish Panel! lol
0 replies
R
Rolf Mayer
R
Ex
  • Senior Member, joined since
  • Contributed 391 posts on the community forums.
  • Started 7 threads in the forums
answered
Senior Member

I miss the I like it button! (I like that kind of humour...
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

Miss it? we never had it to miss.
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 26 posts
  • Votes 0 votes
  • Topic users 11 members

11 participants

H
H
Homdax 10
  • Fusioneer, joined since
  • Contributed 2,247 posts on the community forums.
  • Started 108 threads in the forums
C
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
S
S
  • Veteran Member, joined since
  • Contributed 920 posts on the community forums.
  • Started 79 threads in the forums
S
S
  • Member, joined since
  • Contributed 116 posts on the community forums.
  • Started 11 threads in the forums
K
K
Free Online Games: http://www.gamescut.com
  • Member, joined since
  • Contributed 76 posts on the community forums.
  • Started 9 threads in the forums
B
B
  • Member, joined since
  • Contributed 122 posts on the community forums.
  • Started 29 threads in the forums
R
R
RevCeg 10
My sites...
http://anandaquest.org - AnandaQuest - Prayer center
http://porchweb.com - PorchWeb - Paranormal
http://cegsworld.com - CegsWorld - My desk
  • Junior Member, joined since
  • Contributed 11 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions
E
E
  • Member, joined since
  • Contributed 176 posts on the community forums.
  • Started 49 threads in the forums
R
R
Ex
  • Senior Member, joined since
  • Contributed 391 posts on the community forums.
  • Started 7 threads in the forums
B
B
  • Newbie, joined since
  • Contributed 1 post on the community forums.
R
R
raokat 10
  • Newbie, joined since
  • Contributed 1 post on the community forums.

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet