result ticker

Questions about specific modules and mambots
User avatar
timoline
Joomleague Core Developer, Donator
Joomleague Core Developer, Donator
Posts: 3331
Joined: Thu Mar 12, 2009 8:03 am
Contact:

result ticker

Postby timoline » Wed Apr 01, 2009 3:18 pm

http://www.joomleague.de/forum/index.ph ... 518.0.html

Here is a mod_result_ticker

Is there anyone interested in developing this module with new additions/features / bug fixes?
Joomla 1.5.x
Joomleague 1.5.....latest git version

User avatar
Jippe
.
Posts: 42
Joined: Thu Sep 04, 2008 10:54 am

Re: result ticker

Postby Jippe » Thu Apr 02, 2009 9:03 am

Hi Timoline,

Did not know people already made a module for this, just downloaded latest version, translated it and put it on my site.... :biggrin:

I am actually very happy with this module, but there could be made some more options available. I would like to suggest we make a list of option/features/etc.

Just translated it to english. This weekend I will have a look at the CSS, make it a little bit more versatile..

cheers
You do not have the required permissions to view the files attached to this post.

User avatar
timoline
Joomleague Core Developer, Donator
Joomleague Core Developer, Donator
Posts: 3331
Joined: Thu Mar 12, 2009 8:03 am
Contact:

Re: result ticker

Postby timoline » Thu Apr 02, 2009 9:18 am

Great !

-One thing I couldn't get to work was "date"
-I also would like to see the option to show small logos
-show last results instead of last "10' or something

Kr,
-timoline
Last edited by timoline on Thu Apr 02, 2009 9:31 am, edited 1 time in total.
Joomla 1.5.x
Joomleague 1.5.....latest git version

User avatar
Jippe
.
Posts: 42
Joined: Thu Sep 04, 2008 10:54 am

Re: result ticker

Postby Jippe » Fri Apr 03, 2009 8:22 am

Had a look yesterday evening.

I think I will rewrite the module for joomla 1.5. Why???:

1) I had a look at the German thread, and if I look at the features that are requested, I just think it will be a combination of the ticker module and the latest result module. So people who want to stay at 1.0 will probably already have their site running to their wishes.
2) The future will be 1.5.
3) Joomleague 1.5 is there within a year probably >:D
4) Will be my first module so why start with old API

Groet

User avatar
timoline
Joomleague Core Developer, Donator
Joomleague Core Developer, Donator
Posts: 3331
Joined: Thu Mar 12, 2009 8:03 am
Contact:

Re: result ticker

Postby timoline » Fri Apr 03, 2009 8:26 am

...... :)

no problem  :biggrin:

mzzl
Joomla 1.5.x
Joomleague 1.5.....latest git version

User avatar
farzad123
.
Posts: 171
Joined: Thu Nov 29, 2007 9:18 pm

Re: result ticker

Postby farzad123 » Fri Apr 03, 2009 1:38 pm

hi , first thanks for this module .
but this module shows my first games of all projects not last games ! :confused:
for example it shows results of 11.08.2007  :(

how can i fix it ?
Last edited by farzad123 on Fri Apr 03, 2009 3:42 pm, edited 1 time in total.
Joomla version : 1.5.26
Joomleague version: 1.6.0.9826ddb

User avatar
Jippe
.
Posts: 42
Joined: Thu Sep 04, 2008 10:54 am

Re: result ticker

Postby Jippe » Fri Apr 03, 2009 2:14 pm

haha, is because of the SQL query in the module..

It is looking for:
- results >0
- report activated
- last modified (which is probably your problem. Is it possible you changed those matches recently??)

But thanks, in the new module I will have to come up with a smarter SQL query I think  :biggrin:

Cheers

User avatar
farzad123
.
Posts: 171
Joined: Thu Nov 29, 2007 9:18 pm

Re: result ticker

Postby farzad123 » Fri Apr 03, 2009 3:43 pm

then when you do it ? :d I am waiting for that .  :biggrin:

and 1 suggestion for you , can you write something to  scroll results like FIFA.com ??

tanx  ;)
Joomla version : 1.5.26
Joomleague version: 1.6.0.9826ddb

User avatar
Jippe
.
Posts: 42
Joined: Thu Sep 04, 2008 10:54 am

mod_joomleague_ticker Joomla 1.5

Postby Jippe » Sat Apr 04, 2009 8:53 pm

Well done some investigating in Joomla API and module programming and I have composed something.

Joomleague ticker module 1.5.0 Alpha, implemented features are:
- shows results for a specific project or for all projects
- show/hide project name
- define the format for the date
- show/hide date
- input of maximum number of results
- show team names as: long name, middle name, short name or as icon
- list mode
- ticker mode
- pause time between results (ticker mode only)

Let me know what you all think of it.

cheers

@farzad123
This module shows the games which have entered a result in, sorted on match date (not on edited date as the former module).

User avatar
benio07
.
Posts: 457
Joined: Fri Feb 08, 2008 9:24 am
Contact:

Re: result ticker

Postby benio07 » Sun Apr 05, 2009 8:28 am

Hi!
I tested this module and i have problem when result is 0-0 and 1-0 this result  is ignored in this module
Joomla 1.0.15
Joomleague 0.93b
Joomla 1.5.14 joomleague 1.505a

User avatar
farzad123
.
Posts: 171
Joined: Thu Nov 29, 2007 9:18 pm

Re: result ticker

Postby farzad123 » Sun Apr 05, 2009 11:24 am

@Jippe : wow this version is perfect  :biggrin: and date problem is ok , no problem  :)

but i think it have one bug : team icons doesn't show in FireFox 3 and Opera but it is ok in IE7  :confused:
in FireFox 3 the link is :
http://127.0.0.1/j158\components/com_joomleague/images/placeholders/placeholder_small.gif
instead of : http://127.0.0.1/j158/components/com_joomleague/images/placeholders/placeholder_small.gif

another question  :whistling: : how can i fix it for Right To Left Languages ? what i should write in CSS file?  :)

tanx man.
Joomla version : 1.5.26
Joomleague version: 1.6.0.9826ddb

User avatar
timoline
Joomleague Core Developer, Donator
Joomleague Core Developer, Donator
Posts: 3331
Joined: Thu Mar 12, 2009 8:03 am
Contact:

Re: result ticker

Postby timoline » Sun Apr 05, 2009 12:36 pm

Hej Jippe great work!

some little suggestions:
can you make it so;
-icon+longname/middle/short name

-Also allign this to left and score to right

-option to change "vs" text
-option to show link to showresults

again, great work, thx
Joomla 1.5.x
Joomleague 1.5.....latest git version

User avatar
Jippe
.
Posts: 42
Joined: Thu Sep 04, 2008 10:54 am

Re: result ticker

Postby Jippe » Sun Apr 05, 2009 2:16 pm

@benio07
As explained before, the old (joomla 1.0) module is searching for matches where results are >0. If you go to mod_results_joomleague_ticker.php and replace:

Code: Select all

$sql = "SELECT * FROM #__joomleague_matches WHERE matchpart1_result>0 AND matchpart2_result>0 AND show_report=1 ORDER BY modified DESC LIMIT " . $results;

for

Code: Select all

$sql = "SELECT * FROM #__joomleague_matches WHERE matchpart1_result>=0 AND matchpart2_result>=0 AND show_report=1 ORDER BY modified DESC LIMIT " . $results;

It should work better.

I am not going to do anything on the J1.0 module in the future.

User avatar
Jippe
.
Posts: 42
Joined: Thu Sep 04, 2008 10:54 am

Re: result ticker

Postby Jippe » Sun Apr 05, 2009 6:48 pm

Well... updated again. Now version 1.5.0. extra feature: vertical scrolling.

have fun with it.

Next few weeks will be very busy for me, so no big updates in the near future.

@farzad123
- I have changed the way of getting base URL slightly, you should have no problems now.
- to change to right->left language, I have no idea how that should be implemented into the code.

@timoline
- Not implemented icon+longname/middle/short name
- Not implemented teams left, results right

For both, look in /tmpl/default.php there you can change how the texts will be displayed. I will try to implement this option also in the module configuration, but to implemented that, it will be take some time which I do not have at this moment and in the coming two weeks, sorry.

Cheers

Jippe

User avatar
farzad123
.
Posts: 171
Joined: Thu Nov 29, 2007 9:18 pm

Re: result ticker

Postby farzad123 » Sun Apr 05, 2009 7:26 pm

tanx Jippe ,
next time Horizontal Scrolling  :biggrin:
Good Luck
Joomla version : 1.5.26
Joomleague version: 1.6.0.9826ddb

User avatar
benio07
.
Posts: 457
Joined: Fri Feb 08, 2008 9:24 am
Contact:

Re: result ticker

Postby benio07 » Sun Apr 05, 2009 7:36 pm

Thanks now is OK very nice and powerful module
Joomla 1.5.14 joomleague 1.505a

User avatar
timoline
Joomleague Core Developer, Donator
Joomleague Core Developer, Donator
Posts: 3331
Joined: Thu Mar 12, 2009 8:03 am
Contact:

Re: result ticker

Postby timoline » Mon Apr 06, 2009 7:51 pm

Jippe,

thx for the info, I'll try..

I  see you have a SVN account
I think xBlues or Kurt can give you the permissions to upload your module

http://joomlacode.org/gf/project/joomleague/scmsvn/
Joomla 1.5.x
Joomleague 1.5.....latest git version

User avatar
Jippe
.
Posts: 42
Joined: Thu Sep 04, 2008 10:54 am

Re: result ticker

Postby Jippe » Mon Apr 06, 2009 10:07 pm

Hmmm, I think I have found a new addiction...

New update again, now you can put results in the module in three ways: above each other, results in the middle and results on the right....

See if I can get rid of my addiction tomorrow, else.... who knows....

Cheers

User avatar
timoline
Joomleague Core Developer, Donator
Joomleague Core Developer, Donator
Posts: 3331
Joined: Thu Mar 12, 2009 8:03 am
Contact:

Re: result ticker

Postby timoline » Tue Apr 07, 2009 7:08 am

Hello,

hmmm vertical scrolling isn't working anymore...

This is gettingbetter and better

I changed line 62 and 63 to:

Code: Select all

$home_name = '<img src="'.$url.$getdata->home_icon.'" alt="'.$getdata->home_name.'" title="'.$getdata->home_name.'" border="0"/>'.'</br>'.$getdata->home_name;
$away_name = '<img src="'.$url.$getdata->away_icon.'" alt="'.$getdata->away_name.'" title="'.$getdata->away_name.'" border="0"/>'.'</br>'.$getdata->away_name;

And line 148 an extra:

Code: Select all

$textdiv .= "<div><br/></div>";


To have Icon + longname.
I think this should be in a "new case"

-Timoline
Last edited by timoline on Tue Apr 07, 2009 7:39 am, edited 1 time in total.
Joomla 1.5.x
Joomleague 1.5.....latest git version

User avatar
Jippe
.
Posts: 42
Joined: Thu Sep 04, 2008 10:54 am

Re: result ticker

Postby Jippe » Tue Apr 07, 2009 7:36 am

@timoline

Did indeed made a mistake in my hurry last night  :(

Attached version 1.5.1b

Looking good those lines of code (I always have to try which quotes I have to use in lines like those (" or ' or both)); have yesterday rewritten the code in such way that three extra cases can be added (icon+long name/middle name/short name). See if I find some time today.

Cheers

Jippe
You do not have the required permissions to view the files attached to this post.

User avatar
farzad123
.
Posts: 171
Joined: Thu Nov 29, 2007 9:18 pm

Re: result ticker

Postby farzad123 » Tue Apr 07, 2009 11:03 am

dear Jippe ,
Result Outlinig > Right ... does not work true . I see 2 " vs " ... :confused:

Jippe can you create somthing like : http://www.fifa.com/worldfootball/world ... index.html
that scrolling horizontaly ?  :oops:
Joomla version : 1.5.26
Joomleague version: 1.6.0.9826ddb

User avatar
Jippe
.
Posts: 42
Joined: Thu Sep 04, 2008 10:54 am

Re: result ticker

Postby Jippe » Tue Apr 07, 2009 1:20 pm

@farzad123

It is working as I programmed it. the separator you can fill out in the back end will show between the team names and between the results.

horizontal scrolling means another JavaScript inclusion in the module. I want to focus first on getting the features (list, ticker and vertical scrolling) which are included now to work properly and as versatile as possible and than go for new features.

User avatar
Jippe
.
Posts: 42
Joined: Thu Sep 04, 2008 10:54 am

Re: result ticker

Postby Jippe » Thu Apr 09, 2009 5:40 pm

Just before for my long weekend off!!

Ticker module 1.5.2 Alpha (made it an alpha version because I did not have time to fully test it yet)

* three new options for displaying the results (now you can choose to put the Icon above the team (long/middle/short)name
* Only show results for X days back.

Have fun with it!!

Happy Easter

Jippe
You do not have the required permissions to view the files attached to this post.

User avatar
timoline
Joomleague Core Developer, Donator
Joomleague Core Developer, Donator
Posts: 3331
Joined: Thu Mar 12, 2009 8:03 am
Contact:

Re: result ticker

Postby timoline » Thu Apr 09, 2009 7:19 pm

Heej.
Just wanna let you know.
Scroll mode is not working anymore

thx again and Happy Easter

Gr
Joomla 1.5.x
Joomleague 1.5.....latest git version

User avatar
farzad123
.
Posts: 171
Joined: Thu Nov 29, 2007 9:18 pm

Re: result ticker

Postby farzad123 » Fri Apr 10, 2009 7:57 am

Jippe this version is professional  :biggrin:
can you add one filed to Except Some project to show ?
Joomla version : 1.5.26
Joomleague version: 1.6.0.9826ddb

User avatar
Jippe
.
Posts: 42
Joined: Thu Sep 04, 2008 10:54 am

Re: result ticker

Postby Jippe » Tue Apr 14, 2009 12:30 pm

Version 1.5.2

Chocolate eggs are very good for my brains, just added quickly some additional features and scrolling is working again..

* Bugfix: vertical scroll mode working again
* Module function added: Project id now expanded to selection of multiple projects (separated by ;)
* Module function added: Vertical scrolling enable pause while mouse over
* Module function added: Possible to add selectable link to team names

cheers
You do not have the required permissions to view the files attached to this post.

User avatar
timoline
Joomleague Core Developer, Donator
Joomleague Core Developer, Donator
Posts: 3331
Joined: Thu Mar 12, 2009 8:03 am
Contact:

Re: result ticker

Postby timoline » Tue Apr 14, 2009 1:43 pm

Hello,

thx for new version,
link to to match report should be something like this, it s not working at the moment:

index.php?option=com_joomleague&func=showReport&mid=438&Itemid=11&p=5

Br
-timoline
Joomla 1.5.x
Joomleague 1.5.....latest git version

User avatar
Jippe
.
Posts: 42
Joined: Thu Sep 04, 2008 10:54 am

Re: result ticker

Postby Jippe » Tue Apr 14, 2009 2:17 pm

Hmm, it is working on my site, but I saw that a lot is wrong with the URL which shows up (will get into the code again).

Two issues identified:

- part of the code has fallen away in default.php

Code: Select all

index.php/league?func=

should everywhere in that file be replaced by:

Code: Select all

index.php?option=com_joomleague&func=


- a bit more work involved there for me. At the moment the menu item is not inserted in the URL (&Itemid=). I will try to find out on Thursday if I can come up with a solution for that.

Thanks for the bug finding

cheers

User avatar
bo-craven
.
Posts: 158
Joined: Mon Dec 03, 2007 10:05 am
Contact:

Re: result ticker

Postby bo-craven » Tue Apr 14, 2009 3:56 pm

Good work! Thanks for this extension!!!
Joomleague Version: 1.5.5 RC 2 Amber
Joomla Version: 1.5.25
Homepage: http://www.fsv-in-zwickau.de

User avatar
timoline
Joomleague Core Developer, Donator
Joomleague Core Developer, Donator
Posts: 3331
Joined: Thu Mar 12, 2009 8:03 am
Contact:

Re: result ticker

Postby timoline » Tue Apr 14, 2009 6:25 pm

Jippe wrote:Hmm, it is working on my site, but I saw that a lot is wrong with the URL which shows up (will get into the code again).

Two issues identified:

- part of the code has fallen away in default.php

Code: Select all

index.php/league?func=

should everywhere in that file be replaced by:

Code: Select all

index.php?option=com_joomleague&func=


- a bit more work involved there for me. At the moment the menu item is not inserted in the URL (&Itemid=). I will try to find out on Thursday if I can come up with a solution for that.

Thanks for the bug finding

cheers



heeej

After making this change the links are working,
I checked other modules , but they also do not have (&Itemid=). in a link...I'm not sure its needed

ltrz
Joomla 1.5.x
Joomleague 1.5.....latest git version


Return to “Modules & Bots”

Who is online

Users browsing this forum: No registered users and 2 guests

cron