[RC]MMH Random Quotes

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
phenomkw
Registered User
Posts: 63
Joined: Mon Jan 16, 2012 5:07 pm

[RC]MMH Random Quotes

Post by phenomkw » Sun Feb 12, 2012 5:37 am

Modification Name: MMH Random Quotes
Author: PhenomKW

Modification Description:: Adds a nice little Random Quotes section to your board.

Modification Version:: 1.0.2

Screenshots:
Image

Image

Demo URL: Mihalism Script

Modification Download: http://www.mihalismscript.com/dm_eds/index.php

Update: added a next button at the end of the quotes, fixed the style so that when using long quotes it will not break the board layout.

If you do not wish to use the next button version 1.0.1 is still in download section. with update to fix board layout.
Last edited by phenomkw on Wed Feb 15, 2012 4:11 pm, edited 2 times in total.

phenomkw
Registered User
Posts: 63
Joined: Mon Jan 16, 2012 5:07 pm

Re: [RC]MMH Random Quotes

Post by phenomkw » Sun Feb 12, 2012 11:45 am

updated to v1.0.1 to fix a few things in the install.xml

Th3 Cr0w
Registered User
Posts: 72
Joined: Fri Sep 18, 2009 4:43 pm

Re: [RC]MMH Random Quotes

Post by Th3 Cr0w » Sun Feb 12, 2012 3:04 pm

interesting I'll try, thanks. :D
Sorry, I know my English is very bad.

User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [RC]MMH Random Quotes

Post by 4_seven » Sun Feb 12, 2012 4:58 pm

modx + package structure

root/language/mods/*.*

should be

root/language/en/mods/*.*
Current Mods | Mod Base | php(BB) programming | No help via PM

User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: [RC]MMH Random Quotes

Post by Jessica » Sun Feb 12, 2012 7:03 pm

nice mod. gonna give it a try
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein

phenomkw
Registered User
Posts: 63
Joined: Mon Jan 16, 2012 5:07 pm

Re: [RC]MMH Random Quotes

Post by phenomkw » Sun Feb 12, 2012 8:59 pm

4_seven wrote:modx + package structure

root/language/mods/*.*

should be

root/language/en/mods/*.*
thank you will fix.

NiceBoardGuy
Registered User
Posts: 82
Joined: Fri Oct 07, 2011 9:37 am

Re: [RC]MMH Random Quotes

Post by NiceBoardGuy » Tue Feb 14, 2012 7:05 pm

Is there a minimum / maximum Quote count? I tried it with 4 quotes (deleted the others in mmh_random_quotes.php and mmh_random_quotes.html) but most of the time I see a blank quote box, sometimes one of my 4 quotes appear.

Another thing: I set the pause time to 20 seconds, but before the first quote appears, the box is empty for 20 seconds. Is there a way to let the quote appear faster but still let it least for 20 seconds?

phenomkw
Registered User
Posts: 63
Joined: Mon Jan 16, 2012 5:07 pm

Re: [RC]MMH Random Quotes

Post by phenomkw » Wed Feb 15, 2012 6:39 am

very easy fix.

open: styles\(your theme)\template\overall_header.html

find:

Code: Select all

setInterval(show,pause);
before add:

Code: Select all

show();

this should fix it.

NiceBoardGuy
Registered User
Posts: 82
Joined: Fri Oct 07, 2011 9:37 am

Re: [RC]MMH Random Quotes

Post by NiceBoardGuy » Wed Feb 15, 2012 11:00 am

Works fine, thanks a lot!

Another question :D Would it be possible to add Button to the right side of the quote box to skip to the next quote?

phenomkw
Registered User
Posts: 63
Joined: Mon Jan 16, 2012 5:07 pm

Re: [RC]MMH Random Quotes

Post by phenomkw » Wed Feb 15, 2012 2:17 pm

yes it can be done but i would have to rewrite the script.

I'll see what i can come up with when i get time.

NiceBoardGuy
Registered User
Posts: 82
Joined: Fri Oct 07, 2011 9:37 am

Re: [RC]MMH Random Quotes

Post by NiceBoardGuy » Wed Feb 15, 2012 2:28 pm

That would be aweseome :) No hurry, only if you can find the time to do it :)

phenomkw
Registered User
Posts: 63
Joined: Mon Jan 16, 2012 5:07 pm

Re: [RC]MMH Random Quotes

Post by phenomkw » Wed Feb 15, 2012 2:33 pm

no question do you still want it to auto rotate or do you just want it to where you can go next and prev on your own?

NiceBoardGuy
Registered User
Posts: 82
Joined: Fri Oct 07, 2011 9:37 am

Re: [RC]MMH Random Quotes

Post by NiceBoardGuy » Wed Feb 15, 2012 2:47 pm

Auto rotation + skipping would be neat.
So if somene already knows a Quote he can skip it, but if he does nothing, the next quote appears after X milliseconds.

This is mod is so usefull, I can casually spread a little knowledge / tipps and inform my users.

phenomkw
Registered User
Posts: 63
Joined: Mon Jan 16, 2012 5:07 pm

Re: [RC]MMH Random Quotes

Post by phenomkw » Wed Feb 15, 2012 4:08 pm

updated to version 1.0.2 link in first post

NiceBoardGuy
Registered User
Posts: 82
Joined: Fri Oct 07, 2011 9:37 am

Re: [RC]MMH Random Quotes

Post by NiceBoardGuy » Wed Feb 15, 2012 7:18 pm

Thank you very much! :)

Locked

Return to “[3.0.x] Abandoned MODs”