These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE General Discussion

 
  • Topic is locked indefinitely.
 

IGB Problems

Author
Incursion Guru
Center for Advanced Studies
Gallente Federation
#1 - 2013-06-07 18:25:34 UTC
So I have made a fan site and built it around incursions.
Site is running pretty good thus far.
However, im encountering a few problems with making the site.

#1
When I try and link a chat channel nothing is happening.
I have came across a few fan sites that have the ability to have their fans join a public channel with just a click in the IGB.

Examples:

1. http://www.evealopalous.com/
They use the script.
a href="javascript:void(0)" onclick="CCPEVE.joinChannel('EVEalopalous')">Chat Room

2. http://saqd-friends.comuv.com/
They use the script.
a href="javascript:CCPEVE.joinChannel('SAQD.Pub');return false;">SAQD Incursions

3. http://cogdev.net/blink/
I cant for the life of my find how they link theirs.

I have tried all of the scripts, and even tried manipulating it in my way.
A large percentage of the time im getting "404. Sorry, we can't seem to find that page, click here to return to the homepage"

#2
Trying to set destinations via IGB.
Im getting much of the same problem when trying to link the chat channels.

I have referred to this plenty if time, but it doesn't seem to help.
http://wiki.eveonline.com/en/wiki/IGB_Javascript_Methods

One thing that stands out to me is the "http://wiki.eveonline.com/en/wiki/IGB_Javascript_Methods#Website_Trust'
Does this have something to do with the problems im having ?
I'm so very lost, this is my first website which I started making May 22nd 2013
I'm very patient and will to learn.

Thank you for your time.
Fly Safe
IG

http://incursionguru.com/

EvieMay Ronuken
#2 - 2013-06-07 19:03:31 UTC  |  Edited by: EvieMay Ronuken
You need to use the ID from what I understand rather than the channel name.

For example to link a channel using this method in game you can do something like this (wrapped in url tags forum won't allow me to post that).


(open url tag)joinChannel:-1234567>SAQD Public(close url tag)

(-1234567 being the Channel ID)

I do not remember if this is the correct format but it is roughly right. The ID of the channel you are trying to link can be found at the top of one of its corresponding chat logs which can be found in the Documents\EVE\Logs\Chatlogs\

Hope this helps.
Incursion Guru
Center for Advanced Studies
Gallente Federation
#3 - 2013-06-08 00:39:12 UTC
This forum is giving me such a hard time I had to put this in a pastebin for you too see.

http://pastebin.com/zLVmErgy

Im trying more and more, but im getting tired atm so this is what I have and will be trying more, just hope I can get some form of help :(

http://incursionguru.com/

Steve Ronuken
Fuzzwork Enterprises
Vote Steve Ronuken for CSM
#4 - 2013-06-08 01:02:23 UTC  |  Edited by: Steve Ronuken
Now that I've reread your post:

Step one: Get trust for the site. joinChannel requires trust.


< body onload="CCPEVE.requestTrust('http://wiki.eveonline.com')">

is a bad, but working, way to get trust.

Ideally you want to use a try catch, to see if you have trust, and if you don't, request it.

Woo! CSM XI!

Fuzzwork Enterprises

Twitter: @fuzzysteve on Twitter

Incursion Guru
Center for Advanced Studies
Gallente Federation
#5 - 2013-06-08 01:58:10 UTC
Steve Ronuken wrote:
Now that I've reread your post:

Step one: Get trust for the site. joinChannel requires trust.


< body onload="CCPEVE.requestTrust('http://wiki.eveonline.com')">

is a bad, but working, way to get trust.

Ideally you want to use a try catch, to see if you have trust, and if you don't, request it.


Sorry but what do you mean is bad ?
I don't want to put in anything that might scare away players :(

http://incursionguru.com/

Steve Ronuken
Fuzzwork Enterprises
Vote Steve Ronuken for CSM
#6 - 2013-06-08 02:07:24 UTC
Incursion Guru wrote:
Steve Ronuken wrote:
Now that I've reread your post:

Step one: Get trust for the site. joinChannel requires trust.


< body onload="CCPEVE.requestTrust('http://wiki.eveonline.com')">

is a bad, but working, way to get trust.

Ideally you want to use a try catch, to see if you have trust, and if you don't, request it.


Sorry but what do you mean is bad ?
I don't want to put in anything that might scare away players :(


bad as in: not elegant.

It will fail on any other browser, and log to the console, for example.

And it's requesting it, even when you already have trust. it'll work, few people would see an error, but it just offends me a little. Call it being a perfectionist Smile

< body onload="try {CCPEVE.requestTrust('http://wiki.eveonline.com') }catch(err) { }">

is a little more elegant.

You can use something similar on the joinChannel call, with an alert in the catch block telling people it only works in game, if they have trust.

Woo! CSM XI!

Fuzzwork Enterprises

Twitter: @fuzzysteve on Twitter

Incursion Guru
Center for Advanced Studies
Gallente Federation
#7 - 2013-06-08 02:18:12 UTC
Steve Ronuken wrote:


bad as in: not elegant.

It will fail on any other browser, and log to the console, for example.

And it's requesting it, even when you already have trust. it'll work, few people would see an error, but it just offends me a little. Call it being a perfectionist Smile

< body onload="try {CCPEVE.requestTrust('http://wiki.eveonline.com') }catch(err) { }">

is a little more elegant.

You can use something similar on the joinChannel call, with an alert in the catch block telling people it only works in game, if they have trust.


I would VERY much like mine to be elegant, I to am a perfectionist, I would like this all to be perfect and make the users job as easy and flowing as possible.

I tried the one you gave me on a test site and it doesn't seem to do anything for me ?
I'm to assume this is going into the site CSS ?

Thank you so very much for your help, I appreciate it more then you can understand.

http://incursionguru.com/

Steve Ronuken
Fuzzwork Enterprises
Vote Steve Ronuken for CSM
#8 - 2013-06-08 02:32:45 UTC  |  Edited by: Steve Ronuken
A working page (well, for me. you'll need to change the http://www.fuzzwork.co.uk/test/ in it)

Pretty much the simplest way to do it.

http://pastebin.com/f9yfM5Az


If you want it to be underlined, and look like a link, just style it with css.

Woo! CSM XI!

Fuzzwork Enterprises

Twitter: @fuzzysteve on Twitter

Incursion Guru
Center for Advanced Studies
Gallente Federation
#9 - 2013-06-08 02:44:57 UTC
Steve Ronuken wrote:
A working page (well, for me. you'll need to change the http://www.fuzzwork.co.uk/test/ in it)

Pretty much the simplest way to do it.

http://pastebin.com/f9yfM5Az


If you want it to be underlined, and look like a link, just style it with css.


YOUR A GOD!
Will you have my babies ?
Thank you so very much ^_^
So once the site is trusted will it open any chat link I make, or must I do them individually ?

http://incursionguru.com/

Steve Ronuken
Fuzzwork Enterprises
Vote Steve Ronuken for CSM
#10 - 2013-06-08 02:48:10 UTC
Incursion Guru wrote:
Steve Ronuken wrote:
A working page (well, for me. you'll need to change the http://www.fuzzwork.co.uk/test/ in it)

Pretty much the simplest way to do it.

http://pastebin.com/f9yfM5Az


If you want it to be underlined, and look like a link, just style it with css.


YOUR A GOD!
Will you have my babies ?
Thank you so very much ^_^
So once the site is trusted will it open any chat link I make, or must I do them individually ?



Well...

You could have a link opening multiple channels if you want to. just use:
CCPEVE.joinChannel('channel1');CCPEVE.joinChannel('channel2');CCPEVE.joinChannel('channel3');

instead of the single joinchannel call. I'm sure you know that if you're not careful, you'll really annoy your users Blink

Woo! CSM XI!

Fuzzwork Enterprises

Twitter: @fuzzysteve on Twitter

Incursion Guru
Center for Advanced Studies
Gallente Federation
#11 - 2013-06-08 02:55:09 UTC
Steve Ronuken wrote:



Well...

You could have a link opening multiple channels if you want to. just use:
CCPEVE.joinChannel('channel1');CCPEVE.joinChannel('channel2');CCPEVE.joinChannel('channel3');

instead of the single joinchannel call. I'm sure you know that if you're not careful, you'll really annoy your users Blink


No no, only 1 channel at a time.
Here take a look if you wish at my site.
http://incursionguru.yolasite.com/

Im making a page separately for the Incursion Communities within eve.
I just want people to have the ability to joining their public channel with a simple click that would only open a tab to that specific chat channel, no others.

By looks of it, the would only have to do the trust site thing once ?
On my test page I have several channels and they all seem to open or create individually.

http://incursionguru.com/

Steve Ronuken
Fuzzwork Enterprises
Vote Steve Ronuken for CSM
#12 - 2013-06-08 03:00:01 UTC
Incursion Guru wrote:
Steve Ronuken wrote:



Well...

You could have a link opening multiple channels if you want to. just use:
CCPEVE.joinChannel('channel1');CCPEVE.joinChannel('channel2');CCPEVE.joinChannel('channel3');

instead of the single joinchannel call. I'm sure you know that if you're not careful, you'll really annoy your users Blink


No no, only 1 channel at a time.
Here take a look if you wish at my site.
http://incursionguru.yolasite.com/

Im making a page separately for the Incursion Communities within eve.
I just want people to have the ability to joining their public channel with a simple click that would only open a tab to that specific chat channel, no others.

By looks of it, the would only have to do the trust site thing once ?
On my test page I have several channels and they all seem to open or create individually.



Oh, yes. Once you're trusted by someone, you're trusted until they remove that trust relationship.

Woo! CSM XI!

Fuzzwork Enterprises

Twitter: @fuzzysteve on Twitter

Incursion Guru
Center for Advanced Studies
Gallente Federation
#13 - 2013-06-08 03:08:51 UTC
Steve Ronuken wrote:



Oh, yes. Once you're trusted by someone, you're trusted until they remove that trust relationship.


Absolutely perfect I tell ya.
The level of gratitude is at its peak.
I have been struggling with this now for at least a week,
Thank you very much for your time and service.

FlySafe o7
IG

http://incursionguru.com/