Thread: vBulletin 3 Request - Random Quotes
View Single Post
Old 01 Apr 2017, 20:48
Alice Alice is offline
Join Date: Mar 2013
Real name: Alice
Originally Posted by MarkFL View Post
What I would do is define a 2D array of quotes, where each element of the array contains a quote and the author, and then generate a random number between 1 and the length of the array (inclusive), then pass the selected array element to your template.
How would I interface that with a vbulletin template though? Like there are plenty of random tutorials out there that involve php code, but I don't know how to integrate that into a vBulletin template so its a little confusing, you know?
Reply With Quote