Page Index Toggle Pages: [1] 2  Send TopicPrint
Hot Topic (More than 10 Replies) [DONE] Random Quotes V1.0 (Read 9398 times)
Spikecity
God Member
*****
Offline


Beer anyone ?

Posts: 2630
Location: New York
Joined: Apr 16th, 2002
Gender: Male
[DONE] Random Quotes V1.0
Feb 12th, 2007 at 9:24pm
Print Post  
Random Quotes Y2.1

version 1.0

Languages (including tagline datebases)
English
Dutch
German

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 <yabb tagline>, for in the signature there is the UBB tag [tagline].

Usage
Actually quite self explanory, you add the appropriate tag where you want it and depending on your language settings it will produce random quotes in the correct language

Installation
Apply the mod, upload the changed YaBBC.pl, Display.pl,Subs.pl, Profile.pl.
Upload the taglines.txt and taglines.dat in the appropriate language dirs and chmod equal to other lng files

Restrictions and Short comings
There is no admin section to edit/add taglines yet.
The taglines.txt as a flatfile plain ascii file holding one tagline per line.
The tagline.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.

Version History
1.0
First release
« Last Edit: Mar 31st, 2007 at 2:51pm by Spikecity »  

Random_Quote_Y2_1_V1_0.zip ( 54 KB | Downloads )

Nothing to add here Smiley
Back to top
 
IP Logged
 
Outumuro
God Member
*****
Offline


Publisher - YaBB Toolbar

Posts: 569
Location: Los Angeles
Joined: Apr 14th, 2004
Gender: Male
Re: [YaBB2.1] Random Quotes V1.0
Reply #1 - Feb 13th, 2007 at 1:27am
Print Post  
This looks like it'll be very popular.  Thanks Ron! Smiley
  


Back to top
WWW  
IP Logged
 
Spikecity
God Member
*****
Offline


Beer anyone ?

Posts: 2630
Location: New York
Joined: Apr 16th, 2002
Gender: Male
Re: [YaBB2.1] Random Quotes V1.0
Reply #2 - Feb 13th, 2007 at 8:43am
Print Post  
Outumuro wrote on Feb 13th, 2007 at 1:27am:
This looks like it'll be very popular.  Thanks Ron! Smiley

Just having some fun and have a go at Modwriter of the year Tongue

Edited:
Added German taglines in the zip, no new version number.
« Last Edit: Feb 13th, 2007 at 10:55am by Spikecity »  

Nothing to add here Smiley
Back to top
 
IP Logged
 
Larian
Senior Member
****
Offline



Posts: 316
Location: Leipzig
Joined: Oct 22nd, 2002
Gender: Male
Re: [YaBB2.1] Random Quotes V1.0
Reply #3 - Feb 14th, 2007 at 2:58pm
Print Post  
Installs fine!

But my profile.pl has only the line

Code
Select All
	# do some ubbc on the signature to display in the view profile area
 



not the second comment-line.

And it works fine!

Could you implement in the next version a function to edit the quotes?

Larian
  
Back to top
 
IP Logged
 
Spikecity
God Member
*****
Offline


Beer anyone ?

Posts: 2630
Location: New York
Joined: Apr 16th, 2002
Gender: Male
Re: [YaBB2.1] Random Quotes V1.0
Reply #4 - Feb 16th, 2007 at 6:53pm
Print Post  
Larian wrote on Feb 14th, 2007 at 2:58pm:
Installs fine!

But my profile.pl has only the line

Code
Select All
	# do some ubbc on the signature to display in the view profile area
 



not the second comment-line.

And it works fine!

Could you implement in the next version a function to edit the quotes?

Larian

Strange as I took the mod anchors from a fresh YaBB2.1 Wink

Next version probably will have an editor of some kind, however (like the english tagline file already has 1300+ lines) this could be quite a long load/save on large files.
  

Nothing to add here Smiley
Back to top
 
IP Logged
 
D0T-C0M
God Member
*****
Offline



Posts: 806
Location: Tracadie
Joined: Sep 22nd, 2001
Gender: Male
Re: [YaBB2.1] Random Quotes V1.0
Reply #5 - Feb 18th, 2007 at 4:00pm
Print Post  
Anyone know of a good site to get nascar quotes. I run a nascar board and this mod might be a fun addition
  
Back to top
 
IP Logged
 
MF-B
Senior Member
****
Offline



Posts: 410
Location: Moscow
Joined: Apr 11th, 2006
Gender: Male
Re: [YaBB2.1] Random Quotes V1.0
Reply #6 - Feb 18th, 2007 at 4:36pm
Print Post  
Take a paper, pencil and... go to NASCAR races... write fans quotes... Grin
  
Back to top
WWW  
IP Logged
 
Spikecity
God Member
*****
Offline


Beer anyone ?

Posts: 2630
Location: New York
Joined: Apr 16th, 2002
Gender: Male
Re: [YaBB2.1] Random Quotes V1.0
Reply #7 - Feb 18th, 2007 at 9:20pm
Print Post  
MF-B wrote on Feb 18th, 2007 at 4:36pm:
Take a paper, pencil and... go to NASCAR races... write fans quotes... Grin

I always knew Russians have a great sense of humour Wink

BTW
I just returned from Moscow, and wow, this is a great place, even at -18 degrees C.
  

Nothing to add here Smiley
Back to top
 
IP Logged
 
MF-B
Senior Member
****
Offline



Posts: 410
Location: Moscow
Joined: Apr 11th, 2006
Gender: Male
Re: [YaBB2.1] Random Quotes V1.0
Reply #8 - Feb 18th, 2007 at 9:24pm
Print Post  
Spikecity wrote on Feb 18th, 2007 at 9:20pm:
I just returned from Moscow
Shocked OMG... I live in this town... Wink
  
Back to top
WWW  
IP Logged
 
D0T-C0M
God Member
*****
Offline



Posts: 806
Location: Tracadie
Joined: Sep 22nd, 2001
Gender: Male
Re: [YaBB2.1] Random Quotes V1.0
Reply #9 - Feb 19th, 2007 at 12:56am
Print Post  
I wish I could go to the nascar races, I'm from Canada and the only race that nascar comes to Canada is 1000 miles away. But I will probably have to use your idea and manually make my own list.
  
Back to top
 
IP Logged
 
Spikecity
God Member
*****
Offline


Beer anyone ?

Posts: 2630
Location: New York
Joined: Apr 16th, 2002
Gender: Male
Re: [YaBB2.1] Random Quotes V1.0
Reply #10 - Feb 19th, 2007 at 7:30pm
Print Post  
MF-B wrote on Feb 18th, 2007 at 9:24pm:
Shocked OMG... I live in this town... Wink

Next time I visit Moscow I'll tell you, perhaps we can meet in person Wink
  

Nothing to add here Smiley
Back to top
 
IP Logged
 
MF-B
Senior Member
****
Offline



Posts: 410
Location: Moscow
Joined: Apr 11th, 2006
Gender: Male
Re: [YaBB2.1] Random Quotes V1.0
Reply #11 - Feb 19th, 2007 at 9:44pm
Print Post  
Spikecity wrote on Feb 19th, 2007 at 7:30pm:
Next time I visit Moscow I'll tell you, perhaps we can meet in person Wink
Ok... I wait... Smiley

What about you "previous" nick - what Beer? Grin Wink
  
Back to top
WWW  
IP Logged
 
Spikecity
God Member
*****
Offline


Beer anyone ?

Posts: 2630
Location: New York
Joined: Apr 16th, 2002
Gender: Male
Re: [YaBB2.1] Random Quotes V1.0
Reply #12 - Feb 20th, 2007 at 12:45pm
Print Post  
MF-B wrote on Feb 19th, 2007 at 9:44pm:
Ok... I wait... Smiley

What about you "previous" nick - what Beer? Grin Wink

I had a few local russian draft beers last week (don't know the brand but it was a lager beer) and that tasted great, so whatever it is you have there Wink
  

Nothing to add here Smiley
Back to top
 
IP Logged
 
MF-B
Senior Member
****
Offline



Posts: 410
Location: Moscow
Joined: Apr 11th, 2006
Gender: Male
Re: [YaBB2.1] Random Quotes V1.0
Reply #13 - Feb 20th, 2007 at 1:24pm
Print Post  
Spikecity wrote on Feb 20th, 2007 at 12:45pm:
I had a few local russian draft beers last week
Aha... Nice...

One russian saying... (I translate approximately)... beer without vodka - money to trash...
  
Back to top
WWW  
IP Logged
 
Karman888
New Member
*
Offline



Posts: 18
Joined: Jul 24th, 2006
Gender: Male
Re: [YaBB2.1] Random Quotes V1.0
Reply #14 - Feb 23rd, 2007 at 3:54pm
Print Post  
I did install this and got rid of the javascript I was using. Now My quotes file has gone from 143 to 1449.

Very nice and thank you.
No issues on install.

Karman
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: [1] 2 
Send TopicPrint