Random Quotes V1.3Description:This mod gives you two new tags that produce random quotes in the language of the poster, or the member.
For in the main template there is the tag:
Code:{yabb tagline}
And for the signature and posts there is the UBBC tag:
Code:[tagline]
Credits:This Mod was originally coded by Ron (Spikecity) for YaBB 2.1, so full credit and thanks go to him. I have done very little to update it.
Link to 2.1 ModUsage:Add the appropriate tag where you want it to be displayed and depending on your language settings it will produce random quotes in the correct language.
You can add or delete quotes as you like, but the value in taglines.dat must be set to the same number of qoutes in taglines.txt.
Examples/Screenshots:To add Random Quotes to your main template, open Templates/default/defaualt.html and add the new YaBB tag wherever you want it to be displayed.
For example, this will display just below the main forum image:


For signatures and posts, simply add [tagline] which will display like this:
Installation:Modify YaBB files using BoardMod or manually.
Upload modified files to your server.
Upload the taglines.txt and taglines.dat to the appropriate language directory and chmod equal to other lng files.
Files to edit:Admin/Modlist.pl
Sources/Display.pl
Sources/Printpage.pl
Sources/Profile.pl
Sources/Subs.pl
Sources/YaBBC.pl
Zip package:Random_Quotes_V1_3.mod
Languages/English/taglines.dat
Languages/English/taglines.txt
Languages/German/taglines.dat
Languages/German/taglines.txt
Languages/Nederlands/taglines.dat
Languages/Nederlands/taglines.txt
Restrictions and Short comings:There is no admin section to edit/add taglines.
The taglines.txt is a flatfile plain ascii file holding one tagline per line.
The taglines.dat holds one variable which must be set manually to the number of lines found in the taglines.txt, and it holds the text in front of the quote.
For each language you should have a set of these files, but if no files are found or the user has no language set the taglines will default to the board language set.
History:1.0 - First release by Spikecity for YabBB 2.1 - 12th February 2007
1.1 - Updated for YaBB 2.3 by Derek Barnstorm - 16th November 2008
1.2 - Updated for
YaBB 2.3.1 Forum Software by Derek Barnstorm - 4th January 2009
1.3 - Updated for YaBB 2.4 by Derek Barnstorm - 15th April 2009