Transaction PHP Script.

Everything about Third Party and Add-ons Programs; request, support, suggestions, etc / Tout ce qui touche les programmes tiers: demandes, support, suggestions, etc
Post Reply
starfrit
The SuperStar
Posts: 1243
Joined: Fri May 12, 2006 11:21 am
Location: Sherbrooke
Contact:

Transaction PHP Script.

Post by starfrit »

Foo, j'ai vu sur ton site que ton script fonctionne maintenant avec la V2. Est-ce que tu as un lien pour le downloader ?
Martin poitras
STHS Beta Testers
Commissaire AHSQ, DG San Jose
http://www.ahsq.ca
http://www.goaliesarchive.com
Foo
The SuperStar
Posts: 1566
Joined: Thu Dec 29, 2005 12:56 pm

Re: NEWS FLASH

Post by Foo »

Non je roule pas encore avec la V2, mais bientôt ce sera disponible pour la V2
Image
Image
Image
Foo
The SuperStar
Posts: 1566
Joined: Thu Dec 29, 2005 12:56 pm

Re: NEWS FLASH

Post by Foo »

Ok voici la 2ème version qui fonctionne avec la V2, finalement diront certains!

www.wchlsim.com/ticker.zip
Image
Image
Image
Foo
The SuperStar
Posts: 1566
Joined: Thu Dec 29, 2005 12:56 pm

Re: NEWS FLASH

Post by Foo »

Hey! pourquoi ce topic est dans le SIM Hockey League Web Portal, ça n'a rien à voir avec ça et je n'ai rien à voir avec ce Portal... c'est un Add-on point final.
Image
Image
Image
SimonT
STHS Owner / Propriétaire du STHS
Posts: 14758
Joined: Sat Oct 08, 2005 4:18 pm
Location: Montreal, Canada
Contact:

Re: Transaction JavaScript.

Post by SimonT »

Topic Split.
-SimonT
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English V2 & V3 Manual - Manuel V2 & V3 Français
starfrit
The SuperStar
Posts: 1243
Joined: Fri May 12, 2006 11:21 am
Location: Sherbrooke
Contact:

NEWS FLASH

Post by starfrit »

Ça ne fonctionne pas, tout ce qui défile, c'est la ligne de   que tu as mis à la fin :(

J'ai remarqué que dans ton code, ta date est mm-jj-aaaa alors que dans mes fichiers, elle est aaaa/mm/jj, pour l'heure, j'ai PM d'inscrit, tu n'a rien prévu pour le AM/PM.

J'ai essayé de le modifier mais en vain...

Une solution ?

PS, comment ça le topic est passé de NEWS FLASH à Transaction JavaScript ? Ce n'est même pas du java, mais du php
Martin poitras
STHS Beta Testers
Commissaire AHSQ, DG San Jose
http://www.ahsq.ca
http://www.goaliesarchive.com
SimonT
STHS Owner / Propriétaire du STHS
Posts: 14758
Joined: Sat Oct 08, 2005 4:18 pm
Location: Montreal, Canada
Contact:

Re: NEWS FLASH

Post by SimonT »

starfrit wrote:PS, comment ça le topic est passé de NEWS FLASH à Transaction JavaScript ? Ce n'est même pas du java, mais du php
Pour tes beau yeux, je l'ai renommé!
-SimonT
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English V2 & V3 Manual - Manuel V2 & V3 Français
Foo
The SuperStar
Posts: 1566
Joined: Thu Dec 29, 2005 12:56 pm

Re: Transaction PHP Script.

Post by Foo »

Ok je crois que j'ai trouvé, en voulant tout adapter pour les ligues dont j'ai conçu le site, j'ai altéré la partie de votre ligue, donc remplace cette ligne:

if ($mode == "series")$path_to_dir = ''.$playoffs.'-PLF-Transactions.html'; else $path_to_dir = ''.$league.'-Transactions.html';

parce celle-ci

$path_to_dir= "TALIGUE-Transactions.html";

ça devrait fonctionner.
Image
Image
Image
Steelhawk
The Crazy / Le Fou
Posts: 411
Joined: Sat Apr 26, 2008 3:53 pm
Location: Hamilton
Contact:

Re: Transaction PHP Script.

Post by Steelhawk »

Is there an english version of this?
LHSIadmin
The Passion One / Le Passionné
Posts: 240
Joined: Wed Aug 10, 2011 8:09 pm

Re: Transaction PHP Script.

Post by LHSIadmin »

Deprecated: Function split() is deprecated in /home/u205021922/public_html/SOTCHI14/indexsotchi.htm on line 286

j'ai ca comme erreur ??????
SimonT
STHS Owner / Propriétaire du STHS
Posts: 14758
Joined: Sat Oct 08, 2005 4:18 pm
Location: Montreal, Canada
Contact:

Re: Transaction PHP Script.

Post by SimonT »

La fonction Split a été arrêté dans la version 5.3.0 de PHP (http://ca3.php.net/split). Essaye la fonction explode à la place.
-SimonT
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English V2 & V3 Manual - Manuel V2 & V3 Français
LHSIadmin
The Passion One / Le Passionné
Posts: 240
Joined: Wed Aug 10, 2011 8:09 pm

Re: Transaction PHP Script.

Post by LHSIadmin »

excellent ca fonctionne
philfo21
The Passion One / Le Passionné
Posts: 247
Joined: Wed Dec 16, 2009 9:07 am
Contact:

Re: Transaction PHP Script.

Post by philfo21 »

Que dois-je changer dans le script... je suis un peu nul en PHP... dois-je seulement changer ces lignes?
$path_to_dir = 'LNAHS1-Transactions.html/'.$playoffs.'http://www.lnahs.com/Output/PLF-LNAHS1- ... tions.html'; else $path_to_dir = ''.$league.'http://www.lnahs.com/Output/LNAHS1-Transactions.html'

Car en ce moment ca affiche de tres anciennes transactions :) Y doit y avoir quelque chose que je fais de pas correct:) Pouvez-vous me donner un coup de main?

Voici ma page test: http://lnahs.com/indextest.html
Post Reply