Welcome to Geeklog Sunday, August 25 2019 @ 01:21 am EDT

Geeklog Forums

Random Quote Block


Status: offline

demianturner

Forum User
Newbie
Registered: 17/12/01
Posts: 14

Currently on offer there seems to only be a block that grabs quotes from a 'quotes' site.

This block allows you to store quotes in your own DB and pull them out once per page request. If an author name is available in the record, you can search it on google. The download comes with 119 quotes to get you started ;-)

Get the block here.


Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/02
Posts: 13073
Location:Stuttgart, Germany

Have you seen Tony's Fortune Plugin?

I also seem to remember that I downloaded a "random quotes" block once that read quotes from a text file. However, I was unable to find it again ...

But, as we all know, competition is a good thing ;-)

bye, Dirk


Status: offline

demianturner

Forum User
Newbie
Registered: 17/12/01
Posts: 14

Hi Dirk,

damn, I hadn't seen this, I usually only search under 'blocks'.

Well, my version is only a few lines of code, I guess it's enough for users looking for something simple ;-)

Was looking at the MVC stuff, you guys should check out PHPseagull for another approach to doing this:

http://www.phpkitchen.com/phpseagull/

If you look carefully you'll even find some GL methods in there, fully credited, of course. I'd be interested to hear your feedback.

cheers

Demian


Anonymous

Anonymous
I think your CMS is coming along very nicely. It has a lot of neat features already, and it's great not seeing a new entry which is yet another clone of Nuke without much originality. As a user of geeklog, I'm curious why you decided not to work with the developers here. It's apparent you are going down the same road or at least want to.

Status: offline

demianturner

Forum User
Newbie
Registered: 17/12/01
Posts: 14
thanks for the comments :-) good question about teaming up with geeklog folks, never occured to me really. i know tony et al. are slaving away on gl 2.0 and have been for some time now, i haven't been following that closely. at the same time i guess sometimes it's easier to start a project from scratch. yes PHPseagull has a some functionality goals in common with gl, probably because i've been a gl user for around 2 years now ;-) anyways, like any open source project, there's a lot of common requirements out there and it's great to be able to look at how others have solved the problems you're up against. having said that, it's been harder than i'd anticipated attracting developers to work on the project. anyone interested with code or feedback feel free to drop by phpkitchen.com/phpseagull ;-) cheers demian

Status: offline

santos_douglas

Forum User
Newbie
Registered: 09/12/03
Posts: 6
Location:East Lansing, MI
This may be a dumb question, but how do I use the .sql file included with this block?

Update

Never mind, I found I can drop it in using PHPmyAdmin

Gonzalo

Anonymous
Sorry... maybe this is a silly question but i still dont get it (sorry for my english)

I have a quotes.php file that return a random quote from a db, this works perfect, but i want to put this quote on the "header.thtml" (clean theme)...
anybody know how can i do this?

THANKS

All times are EDT. The time is now 01:21 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content