Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Yahoo Messenger Status infobox - not showing status


Guest

Recommended Posts

Posted

First off... Thanks for reading my message!

 

I have configured the Yahoo Messenger Status infobox within my new osCommerce project and I can't seem to get it to actually show status. The infobox is there, but the status is not.

 

Take a look... http://www.ugottasalsa.com/catalog/

 

Has anyone else installed the Yahoo Messgenger Status infobox??? I've scanned the osCommerce Forums and did not find anything pertaining to the Yahoo Messenger. Even if you haven't installed it, one of you Guru's could probably figure it out in about 3 seconds!

 

I'm new to osCommerce, but totally stoked by what it can do! Any help that anyone can provide, even just a push in the right direction, would be greatly appreciated!

 

Thanks in advance for your help!

 

-R

Posted

Did you follow the instructions exactly ?

 

Did you add the function to general.php ?

Did you define the defines ?

Posted

Burt... Thanks for your response!

 

Yes, I followed the instructions exactly...

Yes, I did add the function to general.php...

 

Now, about the defines... those I didn't find in the instructions. I was being logical when I modifed the following line in the function...

 

$read = ereg_replace($username, "", $read);

 

To this...

 

$read = ereg_replace($username, "ugottasalsa", $read);

 

I also modified the following statement in yahoo.php...

 

'text' => yahooStatus(YAHOONAME)

 

To this...

 

'text' => yahooStatus(ugottasalsa)

 

Are these modifications correct??? There isn't any reference in the yahoo_status.php file that describes what defines are required. Your insight is appreciated!

 

Thanks again!

 

-R

Posted

No, what you have done is break the script ;)

 

Undo all of your changes, or better would be to rip it out and start again.

 

All you need to do is add the function inot general.php (this function controls most everything).

 

Then add the following defines:

 

3) ADD the following to catalog/includes/languages/english.php

// categories box text in includes/boxes/yahoo.php

define('BOX_HEADING_YAHOO', 'Yahoo Messenger Status');

 

4) ADD the following to catalog/includes/application_top.php

// Define Yahoo Profile Name

define('YAHOONAME', 'your_yahoo_name');

 

HTH

Posted

I took out all of my changes, started over and I followed your instructions to the letter...

 

The infobox does appear where I want it to, but it's still blank.

 

Is there a particular place within the general.php or application_top.php files where these additions are supposed to go, or can I put them anywhere in the files?

 

I swear, I'm following your instructions as you wrote them. Any other ideas???

 

Thanks.

 

-R

Posted

One other question...

 

Does it matter that the WebServer resides behind a firewall?

 

Just a thought.

 

-R

Posted

As a sidenote...

 

I have also just installed the ICQ Status infobox mod. It also appears in the right place, but it always shows a status of "OFFLINE", regardless of your actual status. I'm wondering if these issues are one in the same?

 

Within the Yahoo Messenger status infobox, what is supposed to be displayed when you are online/offline?

 

Is there someplace you can direct me to see a working version of YMS?

 

Thanks again for your assistance!

 

-R

Posted

It appears that since the contribution was made, the page at Yahoo for checking whether the username is online or offline has been changed by them. So it doesn't work anymore :(

Posted

Are you referring to the url from your code....

 

http://opi.yahoo.com/online?u=

 

...If so... that url does work with a correct Yahoo name.

 

If not, what is the url that doesn't work anymore?

 

Please advise.

 

Thanks.

 

-R

Posted

That is the page that has changed. It used to say "online" or "offline" rather than give an image.

 

So the script won't work anymore as is, you will need to code it up again from scratch.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...