Welcome, Guest. Please Login or Register.
May 14, 2025, 11:27:14 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Quote of the day Mod - Please help to make it « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Quote of the day Mod - Please help to make it  (Read 1943 times)
hprod
Jr. Member
**
Posts: 84


En mi debilidad me haces fuerte, Señor (San Pablo)

Quote of the day Mod - Please help to make it
« on: August 20, 2003, 01:16:52 PM »
Reply with quote

I was looking for a script to put the 'Quote of the day' at my website. Then I thought that it is possible to do it as a MOD in YaBBSE.
Maybe some coder will help me to make this little dream come true  ;).
Here is idea:
- We create a new forum in which we will introduce all MOTD's. I mean, we create one new topic for each Quote, we put in the subject the Quote an in the body the meaning/history/comment of the Quote.
- Now there is a function that reads all topic's subject of this forum and randomly select one of them. We invoke this function from our main PHP page and... ¡WOWO the quote of the day!
- And clicking on the quote we are redirected to the topic

I think it must be easy to code it.
Any coder wants to try it?

Thanks a lot for your support!!!
Regards,
hprod
« Last Edit: August 20, 2003, 01:18:00 PM by hprod » Logged
Metho
Sr. Member
****
Posts: 342


I'm a llama!

Re:Quote of the day Mod - Please help to make it
« Reply #1 on: August 20, 2003, 01:40:48 PM »
Reply with quote

You could pretty much just hack up news.php and add a little random script into it and you'd have it done.

Methonis
Logged

hprod
Jr. Member
**
Posts: 84


En mi debilidad me haces fuerte, Señor (San Pablo)

Re:Quote of the day Mod - Please help to make it
« Reply #2 on: August 20, 2003, 01:54:28 PM »
Reply with quote

I'm not skilled on coding.
If you have time may you help me with it?
Thanks!!
Logged
Metho
Sr. Member
****
Posts: 342


I'm a llama!

Re:Quote of the day Mod - Please help to make it
« Reply #3 on: August 20, 2003, 02:06:06 PM »
Reply with quote

I could take a look at it, sure. Might be a fun little project.

Methonis
Logged

hprod
Jr. Member
**
Posts: 84


En mi debilidad me haces fuerte, Señor (San Pablo)

Re:Quote of the day Mod - Please help to make it
« Reply #4 on: August 20, 2003, 02:24:37 PM »
Reply with quote

Thanks a lot!!!! METHO!!!!!

:D

Waiting for your surprise!
;-)
Logged
Metho
Sr. Member
****
Posts: 342


I'm a llama!

Re:Quote of the day Mod - Please help to make it
« Reply #5 on: August 21, 2003, 09:21:05 AM »
Reply with quote

This is done. Polishing and getting feedback from hprod, then I'll release it. (Though the mod was so easy to do I think YaBB SE gets the credit)

Methonis
Logged

hprod
Jr. Member
**
Posts: 84


En mi debilidad me haces fuerte, Señor (San Pablo)

Re:Quote of the day Mod - Please help to make it
« Reply #6 on: August 21, 2003, 02:13:32 PM »
Reply with quote

¡YUJUUUUU!
IT WORKSSSSS like I dreamt!!!
HAHAHA
Thank very much.
Your kindness is amazing, thanks again!!!

You can see it running at this temporaty site, at bottom, where you can read Cita del día: .... quote ...

Simple amazing!
Thanks again
« Last Edit: August 21, 2003, 02:14:19 PM by hprod » Logged
hprod
Jr. Member
**
Posts: 84


En mi debilidad me haces fuerte, Señor (San Pablo)

Re:Quote of the day Mod - Please help to make it
« Reply #7 on: August 21, 2003, 02:27:33 PM »
Reply with quote

Hi Metho,
it would be possible to make quotes showed ordered and not ramdomly? I mean, that only one (the same) quote is showed all the day, and next day the next quote, and so... and when it arrives till the end then begins from the beginning.
Logged
Metho
Sr. Member
****
Posts: 342


I'm a llama!

Re:Quote of the day Mod - Please help to make it
« Reply #8 on: August 21, 2003, 02:43:10 PM »
Reply with quote

Are you saying that you want it to randomly select one quote each day, and display that quote for one day and then randomly select another the next OR are you saying to select a quote by post date (like start at the oldest), display it for one day, and then select that is next oldest?
Logged

hprod
Jr. Member
**
Posts: 84


En mi debilidad me haces fuerte, Señor (San Pablo)

Re:Quote of the day Mod - Please help to make it
« Reply #9 on: August 21, 2003, 02:48:08 PM »
Reply with quote

The second one:
to select a quote by post date (like start at the oldest), display it for one day, and then select that is next oldest

Maybe it would be better to give the the two possibilities.
What do you think about it?
« Last Edit: August 21, 2003, 02:48:21 PM by hprod » Logged
Metho
Sr. Member
****
Posts: 342


I'm a llama!

Re:Quote of the day Mod - Please help to make it
« Reply #10 on: August 21, 2003, 02:59:14 PM »
Reply with quote

Yep, yep. I was thinking about that. I'll think I'll extend it to choose the quote by several methods. I had originally set it to random because in your first post you said 'randomly selects'. I'll start making the changes after breakfast. :D

Methonis
Logged

hprod
Jr. Member
**
Posts: 84


En mi debilidad me haces fuerte, Señor (San Pablo)

Re:Quote of the day Mod - Please help to make it
« Reply #11 on: August 21, 2003, 03:05:06 PM »
Reply with quote

I'll wait for it impatiently!!
:D

Tomorrow I go away for one week,
maybe I wont be able to test it.
When I come back I will check it!
Logged
hprod
Jr. Member
**
Posts: 84


En mi debilidad me haces fuerte, Señor (San Pablo)

Re:Quote of the day Mod - Please help to make it
« Reply #12 on: August 29, 2003, 02:02:29 PM »
Reply with quote

Hello Metho!
I've just came back!
Have you made changes on the mod?!!
Logged
Metho
Sr. Member
****
Posts: 342


I'm a llama!

Re:Quote of the day Mod - Please help to make it
« Reply #13 on: September 01, 2003, 05:36:31 AM »
Reply with quote

Actually, haven't even had a chance to work with it. Been busy with two jobs and wedding plans. Work is lighter this week so hopefully I'll get something whipped up with this in between my other stuff.

Methonis
Logged

hprod
Jr. Member
**
Posts: 84


En mi debilidad me haces fuerte, Señor (San Pablo)

Re:Quote of the day Mod - Please help to make it
« Reply #14 on: September 01, 2003, 06:00:28 AM »
Reply with quote

Thanks Metho!
¡I didnt want to push you!

Thanks again for your great work.
Hope to help you soon.
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Quote of the day Mod - Please help to make it « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.118 seconds with 21 queries.