Modules

Status: finished.
Here you can find pre-releases of JoomLeague, Errors and problems with these versions should only be discussed in this board.
NOTICE: BETA and RC versions should not be used on a live site! No support on upgrading to the final version!

Moderator: And_One

User avatar
Trubadix
.
Posts: 338
Joined: Fri Oct 24, 2008 4:35 pm
Joomleague version: 2.0.x
Location: 31542
Contact:

Re: Modules

Postby Trubadix » Wed Aug 25, 2010 6:57 pm

joomleague.class.php is missing on the hole system.
I searched on the GID for it, no result.

doofy59280
.
Posts: 20
Joined: Sun Aug 30, 2009 10:12 am

Re: Modules

Postby doofy59280 » Wed Aug 25, 2010 6:58 pm

the secret is to disable the module. i try :) but it does'nt work.
Trubadix, you have a menu on the left, what's it ?

User avatar
Trubadix
.
Posts: 338
Joined: Fri Oct 24, 2008 4:35 pm
Joomleague version: 2.0.x
Location: 31542
Contact:

Re: Modules

Postby Trubadix » Wed Aug 25, 2010 7:16 pm

The picboxes are not menu-based, They are with mod_ssb (Simple Select Box) produced.
All other is from Joomleague for testing the parts.

User avatar
Trubadix
.
Posts: 338
Joined: Fri Oct 24, 2008 4:35 pm
Joomleague version: 2.0.x
Location: 31542
Contact:

Re: Modules

Postby Trubadix » Thu Aug 26, 2010 5:57 am

@timonline
Hi Chefe FYI, "mod_joomleague_events_setzliste" will work now.
Thats the Parts of Coding, not the best, but it works:

Code: Select all

else {
   $query = sprintf("SELECT COUNT(t.short_name) AS 'teams',
   COUNT(me.event_type_id) AS 'starts',
   SUM(me.event_sum) AS 'total',
   AVG(me.event_sum) AS 'schnitt', pl.firstname,  pl.lastname, t.middle_name as team, me.event_type_id as wk_id, pl.id as wk_pe, pl.weight as old_weight, pl.height as old_height
         FROM  #__joomleague_match_event AS me
             INNER JOIN #__joomleague_team_player AS tp ON tp.id = me.teamplayer_id
             INNER JOIN #__joomleague_person AS pl ON tp.person_id = pl.id
             INNER JOIN #__joomleague_project_team AS pt ON pt.id = tp.projectteam_id
             INNER JOIN #__joomleague_team AS t ON t.id = pt.team_id
          WHERE  pt.project_id = $id AND
               me.event_type_id BETWEEN $eventtype AND 10
      GROUP BY me.event_type_id, pl.id
      ORDER BY schnitt DESC",$eventtype, $id->$id, $limit);
}
...............
   else {
   ?>

   <table width="95%" align="center" border="0" cellpadding="2" cellspacing="0">
   <?php

      $k = 0;
      foreach($rows as $row){
         $class = ($k == 0)? 'sectiontableentry5' : 'sectiontableentry7';
         $wk_id = sprintf($row->wk_id);
         $wk_pe = sprintf($row->wk_pe);
         $old_height = sprintf("%6.2f",$row->old_height);
         $old_weight = sprintf("%6.2f",$row->old_weight);
         $schnitt = sprintf("%6.2f",$row->schnitt);
         $start_text = ($wk_id == 10)? 'Vorlauf:':'Schnitt:';
         $query = sprintf("UPDATE #__joomleague_person
               SET height = $old_weight, weight = $schnitt
               WHERE  id = $wk_pe");
    $database->setQuery($query);
    if (!$database->query()) {
        echo "<script> alert('" . $database->getErrorMsg() . "'); window.history.go(-1); </script>\n";
        exit();
    }
         ?>
      <tr class="<?php print $class;?>">
       <td align="left"><?php echo sprintf("%s",$row->team);?></td>
      <td align="left"><?php echo sprintf("%s",$row->lastname);?></td>
       <td align="left"><?php echo sprintf("%s", $row->firstname);?></td>
       <td align="left"><?php echo sprintf("Starts: %s",$row->starts);?></td>
       <td align="left"><?php echo sprintf("Total: %04s",$row->total);?></td>
      <td align="left"><?php echo sprintf("Event: %02s",$row->wk_id);?></td>
       <td align="left"><?php echo sprintf("$start_text %10.2f",$row->schnitt);?></td>
      <td>&nbsp;</td>
      <td align="right"><?php echo $row->value;?></td>
      </tr>
   <?php
         $k = 1 - $k;
      }
   ?>

   </table>
   <a href="<?php
      echo sefRelToAbs( 'index.php?option=com_joomleague&amp;func=eventsstats'
                  . '&amp;p='.$id
                  . '&amp;evid='.$eventtype
                  . '&amp;itemid='.$mod_itemid);
          ?>">
      <?php echo ('Wettkampf&uuml;bersicht'); ?>
   </a>
   <?php
   }


PS.: Anny news about the missing "joomleague.class.php" for Navigation?

User avatar
Trubadix
.
Posts: 338
Joined: Fri Oct 24, 2008 4:35 pm
Joomleague version: 2.0.x
Location: 31542
Contact:

Re: Modules

Postby Trubadix » Sun Aug 29, 2010 6:12 am

JoomLeague Ranking und JoomLeague Results, nur so eine Idee.
Wenn es viele Ligen sind, währe ein Modul, welches ein Slide aller Ligen produziert eine Super Sache.

Also ein mod_joomleague_ranking und mod_joomleague_results, welches alle oder einen Bereich der existierenden Ligen nacheinander automatisch als Slide anzeigt.

Na Ja, träumen wird man ja noch dürfen :cool:
Life-System : Joomla 2.5.28 auf Strato, Joomleague 2.0.x
http://www.shootingleague.de/
Test-System: Joomla 3.6.x auf Strato, Joomleague 3.0.x
http://ligatest.ksv-nesselblatt.de/

User avatar
Trubadix
.
Posts: 338
Joined: Fri Oct 24, 2008 4:35 pm
Joomleague version: 2.0.x
Location: 31542
Contact:

Re: Modules

Postby Trubadix » Wed Sep 01, 2010 10:00 pm

mod_results, git from 1.9 looks not nice.
Layout should be for modulposition and not for mainbody!
Life-System : Joomla 2.5.28 auf Strato, Joomleague 2.0.x
http://www.shootingleague.de/
Test-System: Joomla 3.6.x auf Strato, Joomleague 3.0.x
http://ligatest.ksv-nesselblatt.de/

And_One
Joomleague Project Manager, Donator
Joomleague Project Manager, Donator
Posts: 3609
Joined: Fri Sep 11, 2009 4:00 pm
Joomleague version: 2.0.x
Location: Graz
Contact:

Re: Modules

Postby And_One » Wed Sep 01, 2010 10:09 pm

Trubadix wrote:mod_results, git from 1.9 looks not nice.
Layout should be for modulposition and not for mainbody!


i dont understand that :confused:

User avatar
Trubadix
.
Posts: 338
Joined: Fri Oct 24, 2008 4:35 pm
Joomleague version: 2.0.x
Location: 31542
Contact:

Re: Modules

Postby Trubadix » Wed Sep 01, 2010 10:15 pm

Sorry forgotten the link.
Means in the version before, the layout was not to large.

See on Mainpage

So I had a look wat's not OK.
Field for heading date is to small, should be like name heading, widht=auto, text-align center.
Pictures are get from medium-folder and not from smal-folder.
See left to mod_ranking there are the pictures from the smal-folder.

If it's possible, I placed the Link to the Testpage on profile, but it don't work :confused:
Life-System : Joomla 2.5.28 auf Strato, Joomleague 2.0.x
http://www.shootingleague.de/
Test-System: Joomla 3.6.x auf Strato, Joomleague 3.0.x
http://ligatest.ksv-nesselblatt.de/

User avatar
Trubadix
.
Posts: 338
Joined: Fri Oct 24, 2008 4:35 pm
Joomleague version: 2.0.x
Location: 31542
Contact:

Re: Modules

Postby Trubadix » Fri Sep 03, 2010 6:31 am

mod_joomleague_results

Code: Select all

"NetworkError: 404 Not Found - http://www.schuetzen-ligaverwaltung.shg24.com/modules/mod_joomleague_results/mod_joomleague_results.css"
Life-System : Joomla 2.5.28 auf Strato, Joomleague 2.0.x
http://www.shootingleague.de/
Test-System: Joomla 3.6.x auf Strato, Joomleague 3.0.x
http://ligatest.ksv-nesselblatt.de/

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

Re: Modules

Postby timoline » Fri Sep 03, 2010 6:59 am

Trubadix wrote:mod_joomleague_results

Code: Select all

"NetworkError: 404 Not Found - http://www.schuetzen-ligaverwaltung.shg24.com/modules/mod_joomleague_results/mod_joomleague_results.css"


Yes, I this is a bug.
Please create an issue on the bugtracker.

the css folder + css file does not exist yet :confused:
:thx:

User avatar
Trubadix
.
Posts: 338
Joined: Fri Oct 24, 2008 4:35 pm
Joomleague version: 2.0.x
Location: 31542
Contact:

Re: Modules

Postby Trubadix » Fri Sep 03, 2010 8:25 pm

mod_joomleague_results
Ich hab mal folgende Zeile angepasst:
alt:

Code: Select all

$document->addStyleSheet(JURI::base().'modules/mod_joomleague_results/mod_joomleague_results.css');


neu:

Code: Select all

$document->addStyleSheet(JURI::base().'modules/mod_joomleague_results/css/mod_joomleague_results.css');


seltsames Verhalten!
Da gehts los

Und dann Klick auf "Zum kompletten Spieltag" und beobachte das Verhalten von mod_joomleague_results, jetzt greift auch erst im mod das css.

Rundenergebnisse - 1. Wettkampf (16.10.2010) 1. Zeile hat Events, nur der Klick zeigt sie nicht. Die Uhrzeit ist nicht im 24 Std. Format!

Git Update ist von Heute 08:28
Life-System : Joomla 2.5.28 auf Strato, Joomleague 2.0.x
http://www.shootingleague.de/
Test-System: Joomla 3.6.x auf Strato, Joomleague 3.0.x
http://ligatest.ksv-nesselblatt.de/

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

Re: Modules

Postby timoline » Mon Sep 06, 2010 7:47 pm

timoline wrote:
Trubadix wrote:mod_joomleague_results

Code: Select all

"NetworkError: 404 Not Found - http://www.schuetzen-ligaverwaltung.shg24.com/modules/mod_joomleague_results/mod_joomleague_results.css"


Yes, I this is a bug.
Please create an issue on the bugtracker.

the css folder + css file does not exist yet :confused:
:thx:

Module Bug #357

User avatar
Trubadix
.
Posts: 338
Joined: Fri Oct 24, 2008 4:35 pm
Joomleague version: 2.0.x
Location: 31542
Contact:

Re: Modules

Postby Trubadix » Mon Sep 13, 2010 2:29 pm

After Today Update JoomLeague Ranking

Code: Select all

Warning: Invalid argument supplied for foreach() in /kunden/shg24.com/ligaverwaltung/administrator/components/com_joomleague/helpers/jlcommon.php on line 221


Outside Mainpage on the top right "joomleague/helpers/jlcommon.php"

dear mod, delete this one, it's placed in a new post
Last edited by Trubadix on Mon Sep 13, 2010 6:08 pm, edited 1 time in total.
Life-System : Joomla 2.5.28 auf Strato, Joomleague 2.0.x
http://www.shootingleague.de/
Test-System: Joomla 3.6.x auf Strato, Joomleague 3.0.x
http://ligatest.ksv-nesselblatt.de/

User avatar
Trubadix
.
Posts: 338
Joined: Fri Oct 24, 2008 4:35 pm
Joomleague version: 2.0.x
Location: 31542
Contact:

Re: Modules

Postby Trubadix » Mon Sep 13, 2010 2:36 pm

JL TeamPlayers

I selected in Settings Leagues but mod say NO ITEMS

dear mod, delete this one, it's placed in a new post
Last edited by Trubadix on Mon Sep 13, 2010 6:09 pm, edited 1 time in total.
Life-System : Joomla 2.5.28 auf Strato, Joomleague 2.0.x
http://www.shootingleague.de/
Test-System: Joomla 3.6.x auf Strato, Joomleague 3.0.x
http://ligatest.ksv-nesselblatt.de/

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

Re: Modules

Postby timoline » Mon Sep 13, 2010 2:38 pm

Trubadix wrote:JL TeamPlayers

I selected in Settings Leagues but mod say NO ITEMS



Please use the correct thread, otherwise it becomes very messy.
Or create an issue on the bugtracker
:thx:

And_One
Joomleague Project Manager, Donator
Joomleague Project Manager, Donator
Posts: 3609
Joined: Fri Sep 11, 2009 4:00 pm
Joomleague version: 2.0.x
Location: Graz
Contact:

Re: Modules

Postby And_One » Sat Sep 18, 2010 6:26 pm

Trubadix wrote:After Today Update JoomLeague Ranking

Code: Select all

Warning: Invalid argument supplied for foreach() in /kunden/shg24.com/ligaverwaltung/administrator/components/com_joomleague/helpers/jlcommon.php on line 221


Outside Mainpage on the top right "joomleague/helpers/jlcommon.php"

dear mod, delete this one, it's placed in a new post


fixed

meck-komm
Newbie
Posts: 13
Joined: Tue Apr 20, 2010 8:20 am

mod_joomleague_ranking - Link to Website

Postby meck-komm » Thu Sep 23, 2010 7:58 pm

Hallo,

gibt es vielleicht eine möglichkeit, noch etwas in das modul "mod_joomleague_ranking" einzubauen? Ich meine eine direkte verlinkung auf die Club-Websites bzw. team-websites?

Wäre echt toll, wenn es umgesetzt werden würde.


Vielen Dank im Voraus.

Macht weiter so...

---------------

Hi,

is there perhaps a possibility to add something in the module "mod_joomleague_ranking"? I mean a direct link to the club or team website?

Would really be great if it would be implemented.


Thanks in advance.

Keep it up ...

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

Re: mod_joomleague_ranking - Link to Website

Postby timoline » Fri Sep 24, 2010 9:57 am

meck-komm wrote:Hallo,

gibt es vielleicht eine möglichkeit, noch etwas in das modul "mod_joomleague_ranking" einzubauen? Ich meine eine direkte verlinkung auf die Club-Websites bzw. team-websites?

Wäre echt toll, wenn es umgesetzt werden würde.


Vielen Dank im Voraus.

Macht weiter so...

---------------

Hi,

is there perhaps a possibility to add something in the module "mod_joomleague_ranking"? I mean a direct link to the club or team website?

Would really be great if it would be implemented.


Thanks in advance.

Keep it up ...


You mean an external link to the team or club website?
Or to teaminfo or clubinfo created by joomleague?

meck-komm
Newbie
Posts: 13
Joined: Tue Apr 20, 2010 8:20 am

Re: Modules

Postby meck-komm » Fri Sep 24, 2010 10:31 am

timoline wrote:You mean an external link to the team or club website?
Or to teaminfo or clubinfo created by joomleague?


I mean external links, which i register in clubinfo/teaminfo in jommleague.


Return to “1.5.0-a (Alpha)”

Who is online

Users browsing this forum: No registered users and 1 guest

cron