mytidbits.us

  • Increase font size
  • Default font size
  • Decrease font size
Home Rquotes Forum
MyTidBits Forum
Board Index
>
Rquote Feature Requests
"On This Day" Feature
Welcome, Guest

"On This Day" Feature
Post "On This Day" Feature
by rlfielding on Jul, 28.2010 23:43

I added an "On This Day feature" to my copy of RQuotes. I added a database feild for the entry date, and some parameters in the module configuration. Now, it checks the current date and then selects a random quote that has the same month and day.

Since I was using it to display some historical journal entries, I also made it so that if the quote is over a certain number of words long, it cuts it off. Clicking on the link pops open a shadowbox with the full quote. The NinjaShadow plugin has to be installed for this to work.

I've attached my changes. I didn't mark the new database in the SQL install file, but otherwise I tried to make sure I marked any of my changed sections with my initials and the date: //RLF-16Jun2010-...

I'm not a web programmer, so it may not be clean, or fast, or correctly done, or anything, but I think it might be a nice feature to add.

-Ricky


rlfielding

rlfielding

Joo!BB - Newie
Joo!BB - Newie
Registered

Posts: 1

Joined Board
Jul, 28.2010 23:31
Last Visit
Jul, 28.2010 23:31
Offline User is Offline

View all users posts


on this day
Post on this day
by admin on Jul, 31.2010 10:54

Hi!!
Thank you very much for your efforts. Very nice addition to add. I will definitely include your changes in the next version.
I too am not a real programmer but a hobbyist who enjoys getting a program to work (most of the time) as expected. Thanks again
Kevin


admin

admin

Joo!BB - Hero
Joo!BB - Hero
Administrator

Posts: 122

Joined Board
Oct, 01.2008 02:07
Last Visit
Sep, 06.2010 17:38
Offline User is Offline

View all users posts

undefined


MyTidBits Forum

How you want to use Rquotes component

Rquotes component
 

Daily-Tidbit

Why does a round pizza come in a square box?


How you want to use Rquotes module

Rrquotes Module
 

DB Sequential Quotes

" I have two banks but no money. What am I? "

A river


Welcome to www.mytidbits.us You are connected from 38.107.191.112 Have a great day!!

Random From Text File

"My mom said she learned how to swim. Someone took her out in the lake and threw her off the boat. That's how she learned how to swim. I said, 'Mom, they weren't trying to teach you how to swim.'"--Paula Poundstone

Daily from Text File

This line will be displayed on the 9thday of every mounth.

Forum Posts

W3 Validation failing

by Dozza
on Sep, 08.2010 07:58

DB-Multy Random

" You can pretend to be serious but ; can't pretend to be witty. "

Sacha Guitry


" People are like stained-glass windows.
They sparkle when the sun is out,
but when the darkness sets in,
their true beauty is revealed
only if there is a light from within.
"

Elisabeth Kubler-Ross


DB Daily Quote

Quote6. This information will be displayed all day.


DB Single Random

" Go to Heaven for the climate, Hell for the company. "

Mark Twain