[MODULE] [free] Block Yahoo Status v0.9
Publié : 06 Septembre 2009 02:05 AM
[ Ignorer ]
Club Member
Messages :
au total : 224
7 derniers jours : 0
Inscrit: 2008-10-30
by Gabriel Tenita from Digitalicon , web with purpose
It is a module for the display of the employees Yahoo status IDs on your Prestashop site. Tested on Prestashop 1.1.0.5 – 1.3.0.6.
Features:
Displays the Yahoo status of selected employees in Front Office
Provide an ymsgr link, so your customers can click it to start messaging
Has an administration interface in Back Office
Provides an extra hook, although you’ll have to implement it yourself in the chosen pair of php/tpl files.
The data entered in Back Office is kept in the database, in the “employee_yahoo_status” table. This table can be exported as CSV file.
CHANGELOG , INSTALLATION & USE , UPGRADE & UNINSTALLATION : see readme.txt files in the archive
————————————————————————————
05.09.2009: v 0.1
07.09.2009: v 0.2
03.10.2009: v 0.3
04.10.2009: v 0.4
08.10.2009: v 0.5
23.11.2009: v 0.6
30.01.2010: v 0.7
22.02.2010: v 0.7.1
28.02.2010: v 0.8
23.03.2010: v 0.9
————————————————————————————
Please share your comments and suggestions.
Also it would be nice to hear from you if it’s working, not only if it’s not.
Images jointes
Cliquez sur la miniature pour voir l'image complète
Fichiers joints
Signature
design de identitate vizuală (site-uri web, sigle, şabloane, formulare) în Bucureşti, România
(zona de demonstraţii )
NB: Celor care dau add la lista mea de messenger: pentru a nu fi ignoraţi daţi o explicatie/prezentare.
visual identity design (web sites, logo, templates, stationery) in Bucharest, Romania (demo area )
Publié : 06 Septembre 2009 10:07 AM
[ Ignorer ]
[ # 1 ]
Partner
Messages :
au total : 2129
7 derniers jours : 5
Inscrit: 2007-12-22
Thanks for sharing, added to Prestashop modules list
Publié : 06 Septembre 2009 02:13 PM
[ Ignorer ]
[ # 2 ]
Apprentice
Messages :
au total : 29
7 derniers jours : 0
Inscrit: 2009-02-18
I do everything you say,everything works fine except status: online-offline, allways is off, can you help me?
Signature
Publié : 06 Septembre 2009 10:13 PM
[ Ignorer ]
[ # 3 ]
Club Member
Messages :
au total : 224
7 derniers jours : 0
Inscrit: 2008-10-30
I suspect wrong spelling of the Yahoo ID.
I did this module just for exercise, the only code in it (beside the code that makes it a module) is this line:
if ( $y[ 'yahooid' ] ) $status = @ file_get_contents ( 'http://opi.yahoo.com/online?u=' . $y[ 'yahooid' ] . '&m=t&t=1' ) == '01' ? 'online' : 'offline' ;
It checks the status and returns ‘online or ‘offline’ strings.
Try entering this in the browser’s address bar (use your real Yahoo ID instead of ‘YOUR _ID’ part ):
opi.yahoo.com/online?u=YOUR _ID &m=t&t=1
You should get ‘00’ or ‘01’ answers, depending on the status of your ID.
Or you could try changing the last digit to 0, if you like more verbose answers.
Signature
design de identitate vizuală (site-uri web, sigle, şabloane, formulare) în Bucureşti, România
(zona de demonstraţii )
NB: Celor care dau add la lista mea de messenger: pentru a nu fi ignoraţi daţi o explicatie/prezentare.
visual identity design (web sites, logo, templates, stationery) in Bucharest, Romania (demo area )
Publié : 07 Septembre 2009 10:01 PM
[ Ignorer ]
[ # 4 ]
Apprentice
Messages :
au total : 29
7 derniers jours : 0
Inscrit: 2009-02-18
Thank you for your answer. I try enter the line you give me to browser and works fine, when online and when offline, my yahoo ID is correct, but still I`am allways offline for my site…anything else? Will link to my page help? Thank you in advance…
Signature
Publié : 07 Septembre 2009 11:29 PM
[ Ignorer ]
[ # 5 ]
Club Member
Messages :
au total : 224
7 derniers jours : 0
Inscrit: 2008-10-30
@artshop
Right now it works. To be honest I don’t know why [it didn’t work before and it works now]. I suspect Yahoo black voodoo.
If it is happening again, let me know.
Signature
design de identitate vizuală (site-uri web, sigle, şabloane, formulare) în Bucureşti, România
(zona de demonstraţii )
NB: Celor care dau add la lista mea de messenger: pentru a nu fi ignoraţi daţi o explicatie/prezentare.
visual identity design (web sites, logo, templates, stationery) in Bucharest, Romania (demo area )
Publié : 07 Septembre 2009 11:32 PM
[ Ignorer ]
[ # 6 ]
Apprentice
Messages :
au total : 29
7 derniers jours : 0
Inscrit: 2009-02-18
Once again thank you for your help….
Signature
Publié : 08 Septembre 2009 11:55 PM
[ Ignorer ]
[ # 7 ]
Beginner
Messages :
au total : 13
7 derniers jours : 0
Inscrit: 2009-09-06
I can’t move the position….
Images jointes
Cliquez sur la miniature pour voir l'image complète
Publié : 09 Septembre 2009 01:04 PM
[ Ignorer ]
[ # 9 ]
Beginner
Messages :
au total : 13
7 derniers jours : 0
Inscrit: 2009-09-06
Club Member
Messages :
au total : 224
7 derniers jours : 0
Inscrit: 2008-10-30
Try the new version. I removed 3 hooks (which were not used anyway) and it seems to me that the page loads faster. And please, give me some feedbak.
As soon I will have more time I will look into it.
Best regards.
Signature
design de identitate vizuală (site-uri web, sigle, şabloane, formulare) în Bucureşti, România
(zona de demonstraţii )
NB: Celor care dau add la lista mea de messenger: pentru a nu fi ignoraţi daţi o explicatie/prezentare.
visual identity design (web sites, logo, templates, stationery) in Bucharest, Romania (demo area )
Club Member
Messages :
au total : 140
7 derniers jours : 0
Inscrit: 2009-02-17
I installed the module and I dont want to show it in the center column of the products.. where should I edit?
Please sorry for my bad english, and thanks again.
Signature
My Prestashop’s:
http://www.pronat.ro
http://www.jolibijou.net
Club Member
Messages :
au total : 224
7 derniers jours : 0
Inscrit: 2008-10-30
Back Office >> Modules >> Positions .
Check Display non-positionnable hook .
Go down to Extra actions on the product page (right column) .
Press the little red x to the right of the module.
Signature
design de identitate vizuală (site-uri web, sigle, şabloane, formulare) în Bucureşti, România
(zona de demonstraţii )
NB: Celor care dau add la lista mea de messenger: pentru a nu fi ignoraţi daţi o explicatie/prezentare.
visual identity design (web sites, logo, templates, stationery) in Bucharest, Romania (demo area )
Regular
Messages :
au total : 72
7 derniers jours : 0
Inscrit: 2009-12-21
Awesome module!!!
Thanks!