Milad's vBulletin Services

Random Quotes

by on Dec.16, 2008, under Hacks & Modifications

Mr. James Lee the founder of Traders Laboratory had a Random Quotes hack, which wasn’t functioning well and causing conflicts in vBulletin script. he’d asked me whether I can fix the problem or build the hack again from scratch. I prefer to go with the second option.

Here is the main page in the Admin CP where all the quotes are listed along with their writers, every quote has its own edit & delete links.

Main admin page for the Random Quotes hack

Main admin page for the Random Quotes hack

Here is the form to add quotes. the editing form is identical.

Add / Edit Quote Form

Add / Edit Quote Form

Mr. Lee wants the random quote to be shown in the footer, and here it’s:

A random quote in the footer

A random quote in the footer

Each time a page is shown a random quote will be selected and shown within. Also this hack is optimized as no queries are done to pull the quotes from the database. a datastore record is in use here.

Of course there is two links in the navigation sidebar in the Admin CP. one for the main admin “Random Quotes” page, plus one to add a quote.

:, ,
No comments for this entry yet...

Leave a Reply

 

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!