News:

Wondering if this will always be free?  See why free is better.

Main Menu

Toksta Integration

Started by Fustrate, May 02, 2009, 08:15:54 PM

Previous topic - Next topic

CerebralJam

The only thing that is not working for me bar the "smileys"  and "avatars" for ordinary members - (no idea why that is) is the top search bar. "search, friends, and settings/tools"

The bottom - add friend etc all works.  If anyone has this working in Firefox  3, can you let us know here please what you did to make it work.  It all looks very nice otherwise and the forum is not hanging.

Filipina

#61
Quote from: Fustrate on May 08, 2009, 02:05:26 PM
Just added this to the readme per Grischa's instructions:

Thanks Frustrate. He was on my site with a test account yesterday. After moving that file to the root it helped a little. I was able to actually get into the chat from the menu bar created at the bottom of the page, but the links in profiles still do not work. Also the chat sessions we had only lasted a minute before IE7 crashed. He is working on it and said he will get back to me on Monday. I actually think the chat has potential if these bugs can be worked out.

P.S. Will there be anyway to remove yourself from this MOD or opt out if you are a member that chooses not to receive these chat requests? I never had it working long enough to see if this is even an option.

Never mind there is a status online/offline I was able to use during my FF testing.

Filipina

#62
One more things all appears to be working fairly well in FF. The forum does not hang. I noticed the avatars showing who is available for chat are just a tiny small portion of the avatar, and usually you can not make out who it is. I think it is showing a small portion of the top right section of the avatar.  I have a test account available if anyone needs to see it in FF.

Grischa the error in IE now seem to happen on the forum main page, and not when I am on any other page of the forum. On the forum main page the status bar at the bottom does not show up and it has this error now.

line: 4
char: 1
Error: "toksta.im.bar" is null or not an object
Code: 0
URL: http://www.melindaspenpals.com/penpal-community/index.php?action=forum


then pop up says

Line: 444
Char: 2
Error: Permission denied
Code: 0

URL: http://embed.toksta.com/im/client.html?
frame_name=tokstaCommunication


Since this error does not happen on my portal hub, but instead on the "index.php?action=forum" page I wonder if my problem could be related to the URL of my forum which is no longer the standard "index.php"

Bigguy

I just installed this on smfhelper.info and it works great in firefox. I can't see it at all in IE though.

CerebralJam

Bigguy, did you manage to get the top search, friends, settings icons to work?  Mine still are dud, I've not had time to explore any further.  If you have can you tell me what you did, I'm willing to go change code etc, but just don't know where.  Your comment about the theme was exactly what was wrong for me.  But sadly can't get those main bits to work.

If I could I'd be a very happy bunny!  LOL  :D

Fustrate

As I recall, you can't search for people because SMF doesn't have constant gender/single/etc. fields to use.
Steven Hoffman
Former Team Member, 2009-2012

CerebralJam

#66
Ah, okay, pity some coding can't be written like 'real_name' or something, I don't know this strange language.  If it can pick up individual's names who are online, surely it can transfer that to a search?  But I guess we can't modify the actual IM.

What about settings?  I'm assuming audio and things like that will be under this information and if you want to use your webcam and sing?  LOL yes, I'm desperate to sing to anyone who will have me... but not here, don't worry!    :P

I just find it strange that I can add friends using the bottom icons, and it adds them across where it should but it won't work up the top part of the actual messenger?  I just get the feeling it's not going somewhere it should, like with the theme.


Modify, I just checked on another website where it is working *cough* and I see the audio is about hearing things, not being able to speak to the person! Pity, that would have been really cool.  Guess I'll just have to sing the Sound of Silence then.  Sigh!

Toksta if you can add that feature into your IM that would be brilliant.

Bigguy

The search sort of works. All it does is basically give you a list of who is online. Searching for a name doesn't though. All the other buttons work like friends and tools. Not really sure how I got it it just started to work. I did a lot of ctrl + f5 though and clearing of forum cache but thats about it.

Right now I get a message that if I want to use a banner for my site on the toksta chat I can but I have to update the code I use.

Filipina

This chat is pretty buggy as it stands now. Bigguy or CerebralJam are the links in member profiles opening the chat pop up in IE or FF for you? I cannot get them to work in either one, at least I couldn't today. The only time the chat works without a problem is when I am in FF and use the bar at the bottom to request a chat.   

CerebralJam

Yes, I do get a few problems.  I initiate a chat, that person accepts but it doesn't open straight away so I pm them to request me to chat, it comes up on my task bar or the messenger then I accept and eventually we both seem to enter the room.  Same on IE it was like a double ask before it worked.  Perhaps we are impatient and eventually it will load itself without the need to ask again? :D

Bigguy

The profile links work fine for me but I can't see anything to do with toksta in IE

Filipina

Quote from: Bigguy on May 10, 2009, 10:28:33 PM
The profile links work fine for me but I can't see anything to do with toksta in IE

Maybe it is hard to see through the smoke? LOL just teasing bigguy. My links profile links only work sometimes. Well I didn't hear from Grischa yet.

toksta

#72
sorry for the delays, but due to the news that hxxp:plentyoffish.wordpress.com/2009/05/04/userplane-going-out-of-business/ [nonactive], we have an increased support volume...



According the profile link problem:
At the moment a link to chat with a person directly looks like this (e.g. on each profile):
Quote<a href="javascript:tokstaChat('123')">start chat</a>

IE is having problems with this and can't handle the function. There must not be a "href"... Please change the code and let it look like this:
Quote<a onClick="tokstaChat('123')" style="cursor: pointer; cursor: hand;">start chat</a>
You need just a few CSS skills to let it appear like a "normal" link... The popup blocker (IE8) is still acting a bit strange. We are working on it.




The broken toolbar should be fixed now...




If you want a logo in your IM, add the marked lines in your code

Quote[...]
   var TOKSTA_CONFIG = {
      app_id : "', $modSettings['toksta_id'], '",
      user_id: "', $context['user']['id'], '",
      user_hash: "', $tk_hash, '",
      user_data: "', $tk_user_data, '",
      generated : "1240698402",
      im : {
         advanced_search : ["gender","age","city","country","single"]
              design : {
                      logoImageURL : "hxxp:www.your-website.com/images/your-logo.png [nonactive]"
              }

      },
      chatbar : {
         showUserData : ["gender","age"]
      }
   };
[...]

Filipina

Ok I will ask. So what does the above mean then as far as the chat? Do I try to make these changes in the files or is this part of a MOD update?  Thanks :)

Fustrate

I've been busy taking finals this week, but I'll try to push a mod upgrade package later tonight.
Steven Hoffman
Former Team Member, 2009-2012

Filipina

Thanks Fustrate sounds good... by the way love the referrals mod :)

Filipina

hi just checking back :) Any ETA on when we might be able to try the upgrade? I know you are busy, just want to give this another try whenever possible. Thanks  :)

Fustrate

Whenever I can upload new packages to the mod site... there's an error from the upgrade to 2.0 RC1-1, so I can't do much of anything right now.
Steven Hoffman
Former Team Member, 2009-2012

Fustrate

Try this (v1.0.1), attached. If it works as expected, tell me and I'll add it to the mod site.
Steven Hoffman
Former Team Member, 2009-2012

Filipina

Do I uninstall the old and then install this?

Advertisement: