Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 08:17 pm EDT

Geeklog Forums

Random Quote Block


Status: offline

demianturner

Forum User
Newbie
Registered: 12/17/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.

 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/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

 Quote

Status: offline

demianturner

Forum User
Newbie
Registered: 12/17/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

 Quote

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.
 Quote

Status: offline

demianturner

Forum User
Newbie
Registered: 12/17/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
 Quote

Status: offline

santos_douglas

Forum User
Newbie
Registered: 12/09/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
 Quote

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
 Quote

All times are EDT. The time is now 08:17 pm.

  • 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