Jump to content

Recommended Posts

04.09.2013:

 

Good day, gentlemen!

 

As I promised very long ago, the Yahoo Status module has now its own web page on my new site:

 

http://www.tenita.eu/lab/yahoo-status/.

 

The link below is an old version and I'll have it removed.

From now on, this thread will be for support and the last versions will reside on my site. Of course you can comment there, too. Right now, there are versions for Prestashop 1.3, 1.4 and 1.5.

I tested them, but if you still spot problems please let me know.

 

Of course, I'm open to adding features to the module. Let me know what would you like in it and I'll work it out.

 

Have a nice prestashopping.

 

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

 

It is a module for the display of the employees Yahoo status IDs on your Prestashop site. Tested on Prestashop 1.3 - 1.5.

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 the module page (the link above).

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


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

 

15.06.2010: v 0.9.1

 

 

07.04.2011: v 0.9.2

 

09.07.2011: v 0.9.3

 

11.07.2011: v 0.9.3.1

 

02.08.2011: v 0.9.4

 

13.08.2013: v 0.9.5.1

 

06.10.2013: v 0.9.5.2

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

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.

 

blockyahoostatus_v0-9.zip Please download the latest version from the module page: http://www.tenita.eu/lab/yahoo-status/.

18280_Z2KC0JdQHO746ze0Y95J_t

18281_zxLTefGL0wfhJYcovNdF_t

Edited by geedamed (see edit history)
  • Like 2

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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


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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites
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!

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites
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.

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

Share this post


Link to post
Share on other sites

hei i had install it.. but why its not work for me?? if i install it.. that's all of the right module will not be shown.. could you help me?? and about your css.. coudl you explain it more detail which part should i paste it.. thx

Share this post


Link to post
Share on other sites

Give more details if you want help. And the URL so I can see your problem.

Share this post


Link to post
Share on other sites

i haved installed the blockyahoostatus 0.4 and when i install version 0.7 it dosen't work.
i can't enter the Yahoo IDs
what should be the problem?
thanks

Share this post


Link to post
Share on other sites
i haved installed the blockyahoostatus 0.4 and when i install version 0.7 it dosen't work.thanks

Let me spell it for you:
UPGRADE:

1. it is now mandatory to delete the ps_employee_yahoo_status table from the DB, since from the 0.6 version I changed the table structure. You can do it from phpMyAdmin (easiest) or by uncommenting line 29 from /modules/blockyahoostatus/blockyahoostatus.php (uninstall section) before actually uninstalling the module.

You can find this text in the first page of this topic and in the readme.txt in the module's archive.

Please, do read the instructions before posting.

Share this post


Link to post
Share on other sites

HI,
Someone knows why I cant delete yahoo status block from Header of pages in modules positions? I just want this block in right column but if I try delete it from header of page, block in right columns change his shape for something weird...

Share this post


Link to post
Share on other sites

Hi ggedamed,

Thanks for sharing this module, it's very nice and I really love it.
I think, many use both YM & skype, so could you please intergrate Skype chat into this module?
I think it's very useful.

Thanks,
venintech from vietnam

Share this post


Link to post
Share on other sites
HI,
Someone knows why I cant delete yahoo status block from Header of pages in modules positions? I just want this block in right column but if I try delete it from header of page, block in right columns change his shape for something weird...


The header hook code contains only the style (CSS) for the code. If you remove it the module's HTML code remains unstyled.
The header hook is different from the top hook. I suppose you want to get rid of the top block. You can do it from Back Office >> Modules >> Positions >> Top of pages, or - better yet - you can install the last version (0.9), which installs only in the right column by default.


How Can I delete this module from center columns?


Back Office >> Modules >> Positions, check Display non-positionable hook, go to Extra actions on the product page (right column), click on the red X.


I think, many use both YM & skype, so could you please intergrate Skype chat into this module?


Thank you for your kind words. I will work towards it, only I don't have too much spare time, so it'll take a while. Do you have in mind status check like for Yahoo?

All the best.

Share this post


Link to post
Share on other sites

I've installed the 0.9 but in back office where I should select id's, it doesn't show me any employees at all. What can I do to show me all employees and add their id's to the module?
P.S.: It does't shows the module in front office as well but since I can't select any id's I thought that that's the reason. Please help!
Thank you.

Share this post


Link to post
Share on other sites

Gussy!
I think it is a some bug. You should go to phpmyadmin and try add all employes in this place. I make that and its ok.

Share this post


Link to post
Share on other sites

Sorry, guys, I've just tested the module in fresh installations of Presta 1.1.0.5, 1.2.0.5 and 1.3.0.3, and it is just working.

Tell me what versions of Presta are you using.

Also if you had installed previous versions try to uninstall the module from the BO, delete the /blockyahoostatus/ folder from the /module/ folder and the ps_employee_yahoo_status table from the database. Then install the new version. I'll make some tests to see what happens during upgrade.

NB. Anyway, until version 1.0 I recommend to uninstall the module and to delete the module folder before installing the new version.

Share this post


Link to post
Share on other sites

tq for this fully free block sir
a little suggestion
im a newbie in prestashop
is theres any ways to change the "ask our expert:" and "order here" writing,
because im using a different language
if possible why not make the writing to be editable in configuration module block
tq once again

Share this post


Link to post
Share on other sites

Go to BO to translations and pick Translate Modules, you'll find those fields are already editable.

Share this post


Link to post
Share on other sites
Go to BO to translations and pick Translate Modules, you'll find those fields are already editable.


wow thanks for the info sir Abh
sorry i kinda newbie in prestashop
but with this kind of help...makes me want to learn and use ps more oftenly...
thanks again

Share this post


Link to post
Share on other sites

Hallo, i'm add block yahoo status v0.9 on my website, but on configure menu i only have 1 yahoo account i can add, why it's happen?

thanks

Share this post


Link to post
Share on other sites

I think this module is still buggy. This module causes a lot errors in my server. You can check it in the attachment

Also, there is another problem I found. When I add a new employee, the new user will not appear on the YM status list until I uninstall and then re-install the module.

I hope someone can fix this bug because this module is so useful.

error_log.zip

Share this post


Link to post
Share on other sites
Hallo, i'm add block yahoo status v0.9 on my website, but on configure menu i only have 1 yahoo account i can add, why it's happen?

thanks


you add Employees fist,then you install modules .

Share this post


Link to post
Share on other sites

am o problema cu acest modul

dupa instalare la modules>positions exista "Header of pages" ca nu am nevoie de el aici
dupa ce dau x nu se sterge din FO sa ramana doar in "right column" iar iconu gri coboara un pic mai jos

si o sugestie - se poate pune si skype ar fi grozav

Share this post


Link to post
Share on other sites

RECTIFICARE

la module>positions

trebuie bifata optiunea "Afiseaza carligul nepozitionabil"

si sters modulul de la sectiunea

"Extra actions on the product page (right column)"

Share this post


Link to post
Share on other sites

Mai nou din cauza modulului coloana din dreapta nu mai apare, decat dupa dezinstalarea modulului, pur si simplu nu mai apare, la-am reinstalat, sters tot si din db si degeaba

Incercam si altele poate gasim mai stabile :), are avantajul acelor nr de tel

Share this post


Link to post
Share on other sites

hi - i have this module installed on 2 sites - and it's working just fine.

But when i try to install it to another site - the right column just dissapears - i checked the DB settings, i uninstalled- reinstall on different versions, 1.4, 1.3.5.0 (as the other 2 sites that work).

But on this one it just does not work - the right column and the content in product page just dissapears :(

What might be the problem? i use it on every site cause of the "call to action" phone numbers.

Share this post


Link to post
Share on other sites

Hi, guys, sorry for being so rarely here.

The reason for the right column dissappearance is a PHP error. First version of the module verified each of the IDs one-by-one, introducing around 0.6 seconds of delay per each ID due to Yahoo. Later I switched to curl, which allowed my module to simultaneously check all the IDs.

So, the error means that your server doesn't have curl activated. Check this with your web host.

I'll have a support page for this module soon - as soon as my new site will be ready. I'll put there all the versions and information I have.

Share this post


Link to post
Share on other sites

how can I add another field ?...in back office I managed to add another one but it doesn't save

Share this post


Link to post
Share on other sites

this doesnt work when I wanted to show more than 1 YM user.
I have added my employee in back office, but when trying to configurate, the second id menu doesnt show up.

I'm using prestashop 1.4

Share this post


Link to post
Share on other sites

Thanks for your module! I really love it.

But can you do one more thing, make different yahoo ID, phone ID for each product or for each catalog?

So that I can have multi seller in my shop

====================================
Tô Đình Hiếu
Website: http://www.luachonhoanhao.com

Share this post


Link to post
Share on other sites

hey

i have a problem with yahoo module

 

dosent work anymore , i men show that im offline but am online , i put many others yahoo ID ..same results

 

it was ok more then 8 months

 

i add 1 employee this is all what i remeber what i change

 

vad ca sunt si romani aici poate stie careva

Share this post


Link to post
Share on other sites

Thank you so much. The lastest version 0.9.9.1.5 was awesome. but still have big problem.
the image tag was missing (not showing), picture should have .png or something. in my 1.5.5 PS, it written as 

fetch_yahoo_status.php 

which i guess the tpl file made a failure calling image tag. 

<img class="ysicon" src="{$modules_dir}blockyahoostatus/fetch_yahoo_status.php?yid={$ysid.id}&ypos=top" alt="{$ysid.id} Yahoo Status" width="16" height="16" />

 

a missing smarty code or something?

Thanks a lot. hope you fixed it soon.  :)

Share this post


Link to post
Share on other sites

Presta 1.5.4.1 working

 

I have a question, how do I add a new user ID please?

 

Thanks

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More