PrestaShop Forums: [MODULE] [free] Block Yahoo Status v0.9 - PrestaShop Forums

Jump to content


Welcome to the PrestaShop Forum! We hope you'll share your comments and suggestions with us. We ask that you please post in English to the main sections of the PrestaShop Forum. If you want to write in another language, please post in the corresponding PrestaShop Community section below.

Please note that PrestaShop Community sections are largely self-moderated. PrestaShop team members may or may not participate in non-English sections. To improve the chances of receiving feedback to your question or comment, please post it in English to the main sections of our Forum.

NYC

Vous parlez français ? par ici !


[MODULE] [free] Block Yahoo Status v0.9


[MODULE] [free] Block Yahoo Status v0.9

#1 ggedamed

    PrestaShop Apprentice

  • 30 Oct 2008
  • Moderators
  • 215 posts
  • Location:Bucharest

Posted 05 September 2009 - 11:05 PM

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.

Attached File(s)


design de identitate vizuală (site-uri web, sigle, şabloane, formulare) în Bucureşti, România

visual identity design (web sites, logo, templates, stationery) in Bucharest, Romania

NB: Fara prezentare, cererile de add la lista vor fi ignorate.

#2 jolvil

    PrestaShop Fanatic

  • 22 Dec 2007
  • Members
  • PipPipPipPip
  • 2676 posts
  • Location:Paris

Posted 06 September 2009 - 07:07 AM

Thanks for sharing, added to Prestashop modules list :-)

#3 artshop

    PrestaShop Apprentice

  • 18 Feb 2009
  • Members
  • PipPip
  • 26 posts
  • Location:Croatia

Posted 06 September 2009 - 11:13 AM

I do everything you say,everything works fine except status: online-offline, allways is off, can you help me?

#4 ggedamed

    PrestaShop Apprentice

  • 30 Oct 2008
  • Moderators
  • 215 posts
  • Location:Bucharest

Posted 06 September 2009 - 07:13 PM

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 :lol: ):

Quote


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.
design de identitate vizuală (site-uri web, sigle, şabloane, formulare) în Bucureşti, România

visual identity design (web sites, logo, templates, stationery) in Bucharest, Romania

NB: Fara prezentare, cererile de add la lista vor fi ignorate.

#5 artshop

    PrestaShop Apprentice

  • 18 Feb 2009
  • Members
  • PipPip
  • 26 posts
  • Location:Croatia

Posted 07 September 2009 - 07:01 PM

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...

#6 ggedamed

    PrestaShop Apprentice

  • 30 Oct 2008
  • Moderators
  • 215 posts
  • Location:Bucharest

Posted 07 September 2009 - 08:29 PM

@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.
design de identitate vizuală (site-uri web, sigle, şabloane, formulare) în Bucureşti, România

visual identity design (web sites, logo, templates, stationery) in Bucharest, Romania

NB: Fara prezentare, cererile de add la lista vor fi ignorate.

#7 artshop

    PrestaShop Apprentice

  • 18 Feb 2009
  • Members
  • PipPip
  • 26 posts
  • Location:Croatia

Posted 07 September 2009 - 08:32 PM

Once again thank you for your help....

#8 Fabbritzio

    PrestaShop Newbie

  • 06 Sep 2009
  • Members
  • Pip
  • 10 posts

Posted 08 September 2009 - 08:55 PM

I can't move the position....

Attached File(s)

  • Attached File  eroare.JPG (46bytes)
    Number of downloads: 4878


#9 ggedamed

    PrestaShop Apprentice

  • 30 Oct 2008
  • Moderators
  • 215 posts
  • Location:Bucharest

Posted 09 September 2009 - 08:06 AM

Read this: http://www.prestasho...bled_transplant.

I would really appreciate if you would search the forum before asking me to do the search.

And don' rely on the romanian translation of the Prestashop for the Back Office, it confuses you.
design de identitate vizuală (site-uri web, sigle, şabloane, formulare) în Bucureşti, România

visual identity design (web sites, logo, templates, stationery) in Bucharest, Romania

NB: Fara prezentare, cererile de add la lista vor fi ignorate.

#10 Fabbritzio

    PrestaShop Newbie

  • 06 Sep 2009
  • Members
  • Pip
  • 10 posts

Posted 09 September 2009 - 10:04 AM

10x I found.....

#11 langbianiam

    PrestaShop Apprentice

  • 26 Jun 2008
  • Members
  • PipPip
  • 96 posts

Posted 08 October 2009 - 02:25 AM

Hi,
Anyone think your website will be slowly if install yahoo status module (v.0.4)?
This is nice module.
My site have problem, it slowly if active this module
any idea?
sorry my bad English

Thanks

#12 ggedamed

    PrestaShop Apprentice

  • 30 Oct 2008
  • Moderators
  • 215 posts
  • Location:Bucharest

Posted 08 October 2009 - 05:37 AM

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.
design de identitate vizuală (site-uri web, sigle, şabloane, formulare) în Bucureşti, România

visual identity design (web sites, logo, templates, stationery) in Bucharest, Romania

NB: Fara prezentare, cererile de add la lista vor fi ignorate.

#13 langbianiam

    PrestaShop Apprentice

  • 26 Jun 2008
  • Members
  • PipPip
  • 96 posts

Posted 09 October 2009 - 02:37 AM

From 1254976621:

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.

Thanks for support.
Faster than with new ver.

#14 diu1so

    PrestaShop Apprentice

  • 17 Feb 2009
  • Members
  • PipPip
  • 121 posts
  • Location:Timisoara, Romania

Posted 06 January 2010 - 11:24 PM

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.

#15 ggedamed

    PrestaShop Apprentice

  • 30 Oct 2008
  • Moderators
  • 215 posts
  • Location:Bucharest

Posted 06 January 2010 - 11:53 PM

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.
design de identitate vizuală (site-uri web, sigle, şabloane, formulare) în Bucureşti, România

visual identity design (web sites, logo, templates, stationery) in Bucharest, Romania

NB: Fara prezentare, cererile de add la lista vor fi ignorate.

#16 AffordableFiberOptics

    PrestaShop Apprentice

  • 21 Dec 2009
  • Members
  • PipPip
  • 63 posts

Posted 07 January 2010 - 08:51 PM

Awesome module!!!

Thanks!

#17 diu1so

    PrestaShop Apprentice

  • 17 Feb 2009
  • Members
  • PipPip
  • 121 posts
  • Location:Timisoara, Romania

Posted 07 January 2010 - 10:56 PM

From 1262818401:

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.


well, that was real easy!

Thanks a lot for the module and for help!

#18 befneh

    PrestaShop Newbie

  • 26 Dec 2009
  • Members
  • Pip
  • 12 posts

Posted 14 January 2010 - 02:30 AM

I tried this module but it made my website loading very slow.
But thanks anyway.Maybe it is just that my hosting is slow to load this module.
http://www.jencell.com/shop
Yoobao Indonesia : Battery & accessories for Gadgets/Smartphones/PDA

#19 AffordableFiberOptics

    PrestaShop Apprentice

  • 21 Dec 2009
  • Members
  • PipPip
  • 63 posts

Posted 19 January 2010 - 07:11 PM

First of all, I love the module. THANK YOU!

I have a formatting problem. If I add a "call-to-action" telephone number in the product listing, the text is too far to the left of the block. The text is on top of the phone image.

Is there a way to change that? It looks fine on the right side of the page but only occurs when viewing a product.

Thanks for your help.
Patrick

#20 ggedamed

    PrestaShop Apprentice

  • 30 Oct 2008
  • Moderators
  • 215 posts
  • Location:Bucharest

Posted 30 January 2010 - 06:20 PM

From 1263432604:

I tried this module but it made my website loading very slow.
But thanks anyway.Maybe it is just that my hosting is slow to load this module.


No, it's the Yahoo server the takes ~500ms (in my case) for every enabled ID. To make it clear you should time your site with the module installed versus uninstalled.
I just released version 0.7. This one makes simultaneous requests, so it should help if you have more than one enabled ID.

From 1263924679:

Is there a way to change that? It looks fine on the right side of the page but only occurs when viewing a product.


Hi, Patrick! Thank you for your interest.
The just released 0.7 version has a corrected .css file that should help you.

Best regards,
Gabriel Tenita
design de identitate vizuală (site-uri web, sigle, şabloane, formulare) în Bucureşti, România

visual identity design (web sites, logo, templates, stationery) in Bucharest, Romania

NB: Fara prezentare, cererile de add la lista vor fi ignorate.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users