Repository is developed by The SmartFactory (http://www.smartfactory.ca), a division of InBox Solutions (http://www.inboxsolutions.net)
Module Repository > Miscellaneous > Quotes > Random Quotes 1.0.1

Quotes

Quotes

Random Quotes 1.0.1



Description:

This is a minor modification of the Random Quotes module developed by Mario Figge (a.k.a. Eggmcmuffin).

There are two changes:

1) The template file has been modified to correct display errors when using xoopsQuotes class. Instead the blockContent class is used so that it blends into current block background (rather than the white border). If you like the white block just replace this file with the one from Mario's download.

2) The SQL syntax has changed. I was having a problem with the quote displaying as a blank. This was because quotes had been put in and deleted leaving "holes" in the id list that is used to select quotes. I have simplified the query so that it just selects a random row from total number of rows available. This eliminates the use of the id number. This is much simpler and probably faster because one less SQL query is involved.

Note this module still does not contain:
1) Textsanitizer
2) Test to see if any quotes exist in the database. Therefore you must have at least ONE quote to display.
3) A submission method (that would be great).

Hope you find it useful.

P.S. Mario - hope this doesn't step on your toes. I just needed this module and decided to go off of yours! Please use these mods if you want.

Features:

    System Requirements:

      Submitter: goghs
      Released: 2004/04/28

      Version: 1.0.1
      Release Status: 
      Downloads: 9265
      File Size: 40.6 Kb

      Rating:   (1 Vote)

      Reviews:  (1)

      Mirrors Available: 0

      Download Times:
      Modem(56k) : 7s
      ISDN(64k) : 6s
      DSL(768k) : 0.48s
      LAN(10M) : 0.04s
       
      Price: Free | Platform: 2.2.x | License: SGI Free Software License B (v. 1.1) | Limitations: None

      XOOPS Web Application System User Reviews

      Other files by: goghs
      iContent (2004/04/28)
      ArMS (2004/04/28)
      Frozen Bubble (2004/04/28)
      TinyContent (2004/04/28)
      WikiMod (2004/04/28)
      FreeContent WebDigest (2004/04/28)
      ArchContact (2004/04/28)
      Stories (2004/04/28)
      MS Weather (2004/04/28)
      WMP Downloads (2004/04/28)
      Chat MX 1.1 (2004/04/28)
      MyReviews (2004/04/28)
      Galeria (2004/04/28)
      IRC Chat (2004/04/28)
      MyAds (2004/04/28)
      Topics Blocks (2004/04/28)
      Trackback (2004/04/28)

      Random Quotes 1.0.1 © copyright 2025 https://xoops.org

      The comments are owned by the author. We aren't responsible for their content.
      user

       Re: Random Quotes 1.0.1 php5


      to make this work in php5

      in admin/index.php replace

      $HTTP_GET_VARS by $_GET

      $HTTP_POST_VARS by $_POST

       
      user

       Re: Random Quotes 1.0.1 php5


      Thank you for the inspiration Mjoel

      Edited core, "hacked" template and Czech language files are available on my pages:

      http://www.zirafoviny.cz/modules/mydownloads/singlefile.php?cid=4&lid=40

      Tested on XOOPS 2.4.4

       
      Author Thread

      Login

      Top Module Downloads

      Who's Online

      177 user(s) are online (6 user(s) are browsing Module Repository)


      Members: 0


      Guests: 177


      more...

      Donat-O-Meter

      Stats
      Goal: AU$15.00
      Due Date: Apr 30
      Gross Amount: AU$0.00
      Net Balance: AU$0.00
      Left to go: AU$15.00
      Make donations with PayPal!