Spice up your Joomla and Mambo website with 2 great extensions!
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

 
Advanced search

38849 Posts in 10517 Topics by 27458 Members
Latest Member: c3milkaa
Pages: [1]   Go Down
  Print  
Author Topic: Some remarkts and feature requests  (Read 3895 times)
0 Members and 1 Guest are viewing this topic.
jjonker
Newbie
*
Offline Offline

Posts: 3


View Profile
« on: December 30, 2009, 02:39:06 PM »

I'm really glad I found a JW module for the tweet feed. Always like JW stuff Grin.

I needed to translate the font end to dutch. No problem here. Just cop the English language ini file for this module to the NL language file, rename and change the translation in the ini file. Always good to see developers use the ini-way for translations...

About the translation:
1. There was one 'about' hard-coded in the script.Around line 80 of the file mod_jw_latesttweets.php. I also added

return '".JText::_('about a minute ago')."';

Instead of the hard-coded string here. (Line 79). Then added the translation string to the dutch ini file. This is missing in the English language file...
(ABOUT A MINUTE AGO=Ongeveer een minuut geleden)

Feature requests:

1. The ability to chose whether or not to add a link on the date or title (link to twitter). And the option to select where to put the link. On the tweet message or the time/date.

2. Use multiple tweet accounts (combine). Maybe by allowing to insert multiple usernames (separated by ,)in the Twitter username field.

3. Allow filtering of the tweet feed. (Words?)

Or do I have to submit feature request somewhere else? Huh?




Logged

Signatures appear only for members with more than 10 posts
Fotis
JoomlaWorks Team / Forum Administrator
Administrator
Hero Member
*****
Offline Offline

Posts: 3966


K2 wins "Joomla! component of 2010" at J & Beyond!


View Profile WWW
« Reply #1 on: December 30, 2009, 08:00:15 PM »

Thank you for your suggestions.

Regarding no.2, I think it's better to use our Simple RSS Feed Reader module to combine multiple Twitter feeds. Wink
Logged

Frontpage Slideshow! The uber slideshow system for Joomla! & other PHP based sites by JoomlaWorks

Thinking of blogging with Joomla? Try SuperBlogger!

BREAKING NEWS! K2 has won the "Joomla! component of 2010" award at J and Beyond 2010, the international Joomla! event
KSL
Newbie
*
Offline Offline

Posts: 4


View Profile
« Reply #2 on: January 07, 2010, 07:40:58 PM »

How about the ability to restrain the shown tweets to just tweets and not "@" replies?
Logged

Signatures appear only for members with more than 10 posts
Oceanwatcher
Jr. Member
**
Offline Offline

Posts: 35


A beautiful view


View Profile WWW
« Reply #3 on: January 31, 2010, 06:40:36 PM »

I second that last comment. I would love to be able to exclude @replies in the list. To me, they do not make sense on a webpage for a company. Sometimes it works, but most of the time it becomes weird.

A link to each Tweet on the internet from the module would not be bad either.

And I would like the ability to turn off the "Follow" link at the bottom in an easier way. I can always edit the .php file, but not a good ide when an upgrade comes.

A last word - of all the Twitter modules I have tried so far, this is the one that comes closest to being a standard tool for me. Simple, and it just works. Congratulations!
Logged

Regards,

Oceanwatcher
Blog: http://www.wisnaes.com/
Pictures: http://www.oceanwatcher.com/
Tips about software (in Norwegian): http://www.datahverdag.com/
DKcrm
Newbie
*
Offline Offline

Posts: 2


View Profile Email
« Reply #4 on: March 02, 2010, 11:58:20 PM »

Regarding the hardcoded 'About'... How exactly is it possible to change this to local language? I already took the en-GB file and made changes and saved as da-DK in my language/DA folder, and the changes I have made so far works perfectly.. I just keep getting the damn 'about'...

I guess there's something around lines 76-89 to be changed in the mod_jw_latesttweets.php but what?

I have tried just to write 'ABOUT=omkring' in my da-DK file, but do I need to take the whole term and translate or.... ??

Code:
 if (delta < 60) {
   return '".JText::_('less than a minute ago')."';
 } else if(delta < 120) {
   return 'about a minute ago';
 } else if(delta < (60*60)) {
   return (parseInt(delta / 60)).toString() + ' ".JText::_('minutes ago')."';
 } else if(delta < (120*60)) {
   return 'about an hour ago';
 } else if(delta < (24*60*60)) {
   return 'about ' + (parseInt(delta / 3600)).toString() + ' ".JText::_('hours ago')."';
 } else if(delta < (48*60*60)) {
   return '1 day ago';
 } else {
   return (parseInt(delta / 86400)).toString() + ' ".JText::_('days ago')."';

HA! - So much for patience... Tried myself with this code, which seems to have done the trick..
Code:
  if (delta < 60) {
    return '".JText::_('less than a minute ago')."';
  } else if(delta < 120) {
    return '".JText::_('about a minute ago')."';
  } else if(delta < (60*60)) {
    return (parseInt(delta / 60)).toString() + ' ".JText::_('minutes ago')."';
  } else if(delta < (120*60)) {
    return '".JText::_('about an hour ago')."';
  } else if(delta < (24*60*60)) {
    return '".JText::_('about ')."' + (parseInt(delta / 3600)).toString() + ' ".JText::_('hours ago')."';
  } else if(delta < (48*60*60)) {
    return '".JText::_('1 day ago')."';
  } else {
    return (parseInt(delta / 86400)).toString() + ' ".JText::_('days ago')."';
  }
« Last Edit: March 03, 2010, 08:18:01 PM by DKcrm » Logged

Signatures appear only for members with more than 10 posts
Pages: [1]   Go Up
  Print  
 
Jump to: