Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 30 40 .. 44 :: one page |
|
Author |
Thread Statistics | Show CCP posts - 0 post(s) |
StuofBeef
Proletariat Projects Inc SoulWing Alliance
0
|
Posted - 2013.08.27 21:36:00 -
[901] - Quote
is there any sort of walk through on how to integrate with ejabberd? I saw on one of your tutorials you went into ejabberd_side.php but you didn't explain any more other than that. basically I want my forum users to get automatically registered for ejabberd. In testing at the moment i get the following error after entering the server address and a known username/password for the server
"Could not connect to Jabber server.
Error: open_socket() - No connection could be made because the target machine actively refused it.
Error: connect() #2"
I am only testing internally at the moment though with ejabberd running on a dedicated linux box but I can connect to the service fine using pidgin on my desktop showing that firewall isn't the problem.
Other than this minor issue, great work you are doing Cyerus |
Yugo Reventlov
Hax. Game Over.
21
|
Posted - 2013.08.27 23:04:00 -
[902] - Quote
StuofBeef wrote:is there any sort of walk through on how to integrate with ejabberd? I saw on one of your tutorials you went into ejabberd_side.php but you didn't explain any more other than that. basically I want my forum users to get automatically registered for ejabberd. In testing at the moment i get the following error after entering the server address and a known username/password for the server
"Could not connect to Jabber server.
Error: open_socket() - No connection could be made because the target machine actively refused it.
Error: connect() #2"
I am only testing internally at the moment though with ejabberd running on a dedicated linux box but I can connect to the service fine using pidgin on my desktop showing that firewall isn't the problem.
Other than this minor issue, great work you are doing Cyerus
First, set up external authentication in ejabberd config (usually /etc/ejabberd/ejabberd.cfg):
Comment out this line:
Quote:{auth_method, internal}. Becomes:
Quote:%%{auth_method, internal}.
Then activate external authentication:
Quote:{auth_method, external}. {extauth_program, "/opt/ejabberd_ext_auth/ejabberd_side.php"}.
This file is the ejabberd_side.php file provided in cyerus' package. It must be executable by the ejabberd system user. In this file you need to adjust the lines 7 and 8:
Quote:$auth->setSecret("secret between ejabberd and phpbb"); // Set the secret password to allow us access $auth->setForumURL("http://your.forum.url.com"); // Set the location where the base phpBB forum can be found at ( without the trailing '/' )
Also, if you use logging make sure the logfile exists and is writeable by ejabberd (see line 16 of ejabberd_side.php). For me this is /var/log/ejabberd/exauth_phpbb.log
You can now restart the ejabberd daemon.
Then you have to set your Eve API mod in phpBB for Jabber. In the Admin panel go to General -> Eve API Modules -> Jabber: Enable jabber and ejabberd management. Set the same secret as the one you entered in ejabberd_side.php.
Now try to authenticate to jabber in a Jabber client using your eve character name as jabber user. Replace spaces by underscores!
Also, if people have apostrophe's in their character names, you will have to hack /xmlrpc/forum_side.php to translate jabber users to forum names/Eve Character names.
Check for login attempts in /var/log/ejabberd/exauth_phpbb.log. Here you can at least check if they got their username and server correct. And if they actually tried connecting to Jabber ;)
EDIT: some more info about ejabberd external authentication: It is more limited than standard internal authentication. For example: you cannot use the "Search for users" feature in Pidgin. External authentication doesn't support that. You CAN however define shared rosters in your ejabberd admin. I recommend checking out the special @online@ roster (the @all@ doesn't work in external authentication). |
Tron 3K
Three Thousand Industries
45
|
Posted - 2013.08.28 12:47:00 -
[903] - Quote
I've never used PHPBB but didn't think it'd be difficult either.. I installed a new forum, installed automod, installed this mod through automod, added my corp, added my api to my character, and did the purging and refreshing of the templates.
So what does this mod exactly do? Cause I'm not seeing it show anything, it doesn't even show my Avatar that I told it to get.
Did I miss some step or is there something I have to install certain things?
*EDIT* Anyone have a working site so I can take a look at also what it should be doing? Thanks! |
Yugo Reventlov
Hax. Game Over.
21
|
Posted - 2013.08.28 12:56:00 -
[904] - Quote
Tron 3K wrote:I've never used PHPBB but didn't think it'd be difficult either.. I installed a new forum, installed automod, installed this mod through automod, added my corp, added my api to my character, and did the purging and refreshing of the templates.
So what does this mod exactly do? Cause I'm not seeing it show anything, it doesn't even show my Avatar that I told it to get.
Did I miss some step or is there something I have to install certain things?
*EDIT* Anyone have a working site so I can take a look at also what it should be doing? Thanks!
Did you use the correct Eve character name as your forum username?
Did you install automod and the UMIL mod as mentioned in the installation video?
Are you using a non-default template? In that case you need to mod your template to display the eve API fields during registration and in your user profile pages.
|
Tron 3K
Three Thousand Industries
45
|
Posted - 2013.08.28 13:23:00 -
[905] - Quote
Yugo Reventlov wrote:Tron 3K wrote:I've never used PHPBB but didn't think it'd be difficult either.. I installed a new forum, installed automod, installed this mod through automod, added my corp, added my api to my character, and did the purging and refreshing of the templates.
So what does this mod exactly do? Cause I'm not seeing it show anything, it doesn't even show my Avatar that I told it to get.
Did I miss some step or is there something I have to install certain things?
*EDIT* Anyone have a working site so I can take a look at also what it should be doing? Thanks! Did you use the correct Eve character name as your forum username? Did you install automod and the UMIL mod as mentioned in the installation video? Are you using a non-default template? In that case you need to mod your template to display the eve API fields during registration and in your user profile pages. How to do this is also explained in the installation video, after about 35-40 minutes if I recall correctly.
I must of missed the UMIL mod part. As for forum name and default yes to both of those. |
Yugo Reventlov
Hax. Game Over.
21
|
Posted - 2013.08.28 13:48:00 -
[906] - Quote
Define "fail". What do you expect to see/happen that you don't see/doesn't happen? The more information you provide, the more likely someone can help.
|
Tron 3K
Three Thousand Industries
45
|
Posted - 2013.08.28 13:59:00 -
[907] - Quote
Yugo Reventlov wrote:Define "fail". What do you expect to see/happen that you don't see/doesn't happen? The more information you provide, the more likely someone can help.
Thats my point what is it suppose to show...? The pictures by the OP shows the stuff to fill out but no actual pictures of it working. I thought it'd show who I have standings with from the website. Show basic info from the API its pulling from..
tron3k.com/EVE |
Yugo Reventlov
Hax. Game Over.
21
|
Posted - 2013.08.28 20:16:00 -
[908] - Quote
Tron 3K wrote:Yugo Reventlov wrote:Define "fail". What do you expect to see/happen that you don't see/doesn't happen? The more information you provide, the more likely someone can help.
Thats my point what is it suppose to show...? The pictures by the OP shows the stuff to fill out but no actual pictures of it working. I thought it'd show who I have standings with from the website. Show basic info from the API its pulling from.. tron3k.com/EVE
No, it allows (if you configure it that way) to have people who have standings with you to access your forum and such.
It's not a reporting tool that reports your eve blues, it's a forum that uses your api to decide who can register on your forum. |
Tron 3K
Three Thousand Industries
45
|
Posted - 2013.08.28 21:15:00 -
[909] - Quote
Yugo Reventlov wrote:Tron 3K wrote:Yugo Reventlov wrote:Define "fail". What do you expect to see/happen that you don't see/doesn't happen? The more information you provide, the more likely someone can help.
Thats my point what is it suppose to show...? The pictures by the OP shows the stuff to fill out but no actual pictures of it working. I thought it'd show who I have standings with from the website. Show basic info from the API its pulling from.. tron3k.com/EVE No, it allows (if you configure it that way) to have people who have standings with you to access your forum and such. It's not a reporting tool that reports your eve blues, it's a forum that uses your api to decide who can register on your forum.
Oh.... Gotcha.. Well it does also do the eve fit stuff in the forums so when it was talking about that stuff I figured it'd show a little bit more stuff.. |
StuofBeef
Proletariat Projects Inc SoulWing Alliance
0
|
Posted - 2013.08.29 22:21:00 -
[910] - Quote
Thanks for that Yugo, i'll have a look at the weekend when had a bit more sleep and hopefully figure it all out Was close to saying no we aren't having jabber the other day, but i've come this far so may as well give it ago |
|
Yugo Reventlov
Hax. Game Over.
21
|
Posted - 2013.08.30 09:28:00 -
[911] - Quote
StuofBeef wrote:Thanks for that Yugo, i'll have a look at the weekend when had a bit more sleep and hopefully figure it all out Was close to saying no we aren't having jabber the other day, but i've come this far so may as well give it ago
Believe me, I've been there :) |
StuofBeef
Proletariat Projects Inc SoulWing Alliance
0
|
Posted - 2013.09.01 01:59:00 -
[912] - Quote
ok am back to pulling my hair out again....
followed all your instructions to the letter, I have a ejabberd_side.php on the ejabberd server under /opt/ejabberd_ext_auth/ and set to writeable, i have copied the secret password and entered in the forums config under eve api modules > jabber.
Now when I try to put my name in and the server address I get the following, note this is with the server local IP address, ejabberd is on a seperate virtual machine to the rest of the site but still within my local network
"Could not authorise on Jabber server.
SEND:
SEND:
RECV:
RECV:
Notice: Unknown server response (stream:error)"
now that to me looks like it is trying to pick up the server from jabber.org somewhere? I went to their site but there is no option for registration.
I have also tried doing this with the external ip address from my laptop via a mobile connection (so i'm not on the local network) and i get
"Could not connect to Jabber server.
Error: open_socket() - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
Error: connect() #2"
I have checked that port 5222 is open so not so sure what to do next. |
StuofBeef
Proletariat Projects Inc SoulWing Alliance
0
|
Posted - 2013.09.01 04:02:00 -
[913] - Quote
ignore me, installed a turnkey linux distro and all is working fine now! |
StuofBeef
Proletariat Projects Inc SoulWing Alliance
0
|
Posted - 2013.09.01 19:49:00 -
[914] - Quote
and im back to pulling hair out. Although jabber is fine now for some reason teamspeak server groups aren't being assigned even though I haven't changed anything. I've checked the server logs and can see serveradmin connects (id:1) then disconnects less than a minute later.
nickname in teamspeak is exactly the same as on the forum, when assign the uid in the forum enter the password and hit save nothing happens, where previously you would get "server group assigned" now i get nothing.
Been into the control panel as admin to eve api modules > alliances, enable api check yes, alliance name is in there, assigned to alliance member group, default group no, assign teamspeak group 11 (which is same as on the server) Jabber: yes
Baffled... |
StuofBeef
Proletariat Projects Inc SoulWing Alliance
0
|
Posted - 2013.09.01 20:02:00 -
[915] - Quote
...and now its working ha. Random. I dont think it likes that i've been using one laptop for testing and seemed to of got some sort of memory of the uids despite me kicking all the uids out the server first. |
ILLADEN
Biohazard. WINMATAR.
5
|
Posted - 2013.09.01 22:19:00 -
[916] - Quote
If the faction warfare config is enabled, and a neutral tries to register with no militia, a bad request is returned from the API server, gets displayed and interuppts the registration. I have tried to write some error handling but failed.
Quote:$handle = curl_init($result); curl_setopt($handle, CURLOPT_RETURNTRANSFER, TRUE);
$response = curl_exec($handle);
$httpCode = curl_getinfo($handle, CURLINFO_HTTP_CODE); if($httpCode == 403) { $devilbug == 1; } curl_close($handle);
if ($devilbug == 1){ $foundFactionWarfare = true; $charArray["forumGroups"][$config['eveapi_fw_m_group']] = $config['eveapi_fw_m_default']; $charArray["TSGroups"][] = $config['eveapi_fw_m_tsgroup']; }
or
Quote:else { $foundFactionWarfare = true; $charArray["forumGroups"][34] = $config['eveapi_fw_m_default']; $charArray["TSGroups"][] = 150; } |
another salve
State War Academy Caldari State
0
|
Posted - 2013.09.05 11:38:00 -
[917] - Quote
Hi
I tried to install Eve_api_mod 6.2.4 on a new Debian based phpBB forum but got an error. AutoMOD and UMIL was successful, but got an error message when try to install the Eve_API_nod.
All file modification is success, expect styles/subsilver2/template/overall_footer.html
Error_image
and not copied the necessary files
I have tried to manualy copied it it, and install it. In this way I able to see the Eve Api Modules menu under the APC/General, BUT the eve_api related settings are missing from the Group Management.
Any help will appreciate.
|
Snitch Ashor
Black Rise Guerilla Forces Blinky Red Brotherhood
0
|
Posted - 2013.09.06 06:43:00 -
[918] - Quote
Hi,
I have one small request. We would like to use the fitting display in conjunction with a spoiler bbcode. In principal this works however whenever the fitting contains special chars such as an apostrophe these get converted to the html entities like &...; by the bbcode and the fitting fisplay will not work anymore. Anyone has an idea how to solve this?
Cheers, Snitch |
Detes cald
Argo Navis Ltd.
0
|
Posted - 2013.09.14 16:18:00 -
[919] - Quote
Hello Folks!! the mod with api registration is wonderfull!!
Though i want to use in my forum the Advanced BBCode Box 3 module and as i have seen it replaces the bbcodes tab with its own !!
The problem is that i have no way to make the eve api bbcodes to apear in this mod !! The bbcodes are working if i use the syntax in the phpbb posting area. i need to find a way to add in the module above those buttons as well but i cant find any way as it seems the abbc3 module stores its bbcodes to database! I am wondering if i could find the html replacements of the eve api bbcodes and add them there if it works but im searching the source of the eve api and cant find something related to :/ any help please !! |
Detes cald
Argo Navis Ltd.
0
|
Posted - 2013.09.14 17:10:00 -
[920] - Quote
Snitch Ashor wrote:Hi,
I have one small request. We would like to use the fitting display in conjunction with a spoiler bbcode. In principal this works however whenever the fitting contains special chars such as an apostrophe these get converted to the html entities like &...; by the bbcode and the fitting fisplay will not work anymore. Anyone has an idea how to solve this?
Cheers, Snitch
that depends on the forum what u html replacement code the spoiler is using !! ckeck if is using text or intext mode that could be the hint !! |
|
Go0fBall
Pwn 'N Play Nulli Secunda
3
|
Posted - 2013.09.16 18:21:00 -
[921] - Quote
For the life of me, I can't seem to get Jabber external authentication to work on a Windows box. I've added and modified all the lines in the .cfg as per the posts above, but it still doesn't seem to work. I can register any account name/password remotely using Pidgin, which is obviously not very secure.
Is there a chance of getting some type of walk through to help us to get this to work? Much appreciated. |
Yugo Reventlov
Hax. Game Over.
21
|
Posted - 2013.09.17 11:41:00 -
[922] - Quote
Go0fBall wrote:For the life of me, I can't seem to get Jabber external authentication to work on a Windows box. I've added and modified all the lines in the .cfg as per the posts above, but it still doesn't seem to work. I can register any account name/password remotely using Pidgin, which is obviously not very secure.
Is there a chance of getting some type of walk through to help us to get this to work? Much appreciated.
If you don't want users to be able to self register, you have to disable mod_register in your ejabberd config. Just commenting out the mod should be sufficient.
If you are able to self-register an account AND THEN LOG IN WITH THAT ACCOUNT, it would seem that you are not using external authentication at all, but rather internal authentication: self-register is not supported in external authentication. You will never be able to login with a self-registered user when you are running external authentication.
Are you sure you restarted the ejabberd daemon? When you are trying to authenticate, do you see authentication requests coming into your logfile? (see /var/log/ejabberd/exauth_phpbb.log like I mentioned in my post)
I think my post on ejabberd integration is (sadly) the most complete documentation there is atm: https://forums.eveonline.com/default.aspx?g=posts&m=3539374#post3539374
|
Gizmo Tinker
Point Precision Tactical Narcotics Team
2
|
Posted - 2013.09.18 09:58:00 -
[923] - Quote
hey guys want to be able to check characters api's for account expiry aswell and remove them from the forum when they unsub (also when they leave corp or alliance)
is it possible?
|
Sugar Von MurdererTits
D'reg The Methodical Alliance
66
|
Posted - 2013.09.22 11:46:00 -
[924] - Quote
I have a small problem with changing the style from Prosilver to subsilver2. It's not a major issue as I can still use the forum, but I have a subsilver2 based style I want to install use and currently cannot.
I did a fresh install of phpBB 3.0.11 and am using the EVE_API_6.2.4_for_phpBB_3.x
When I go to apply the style changes on the automod tab, I have one error:
Quote: styles/subsilver2/template/overall_footer.html
...
Find
< body
In-Line Find
< body
The In-Line Find specified by the MOD could not be found. The Find specified by the MOD could not be found
(added some spaces to avoid html).
If I force the style update, none of the Eve api changes are applied anyway.
Any ideas? |
Wafou Ka'Djo
Yellow Box Ltd. Gentlemen's Agreement
7
|
Posted - 2013.09.23 10:18:00 -
[925] - Quote
Perhaps I missed a post, is there an updated Odyssey 1.1 version of the mod? |
Yugo Reventlov
Hax. Game Over.
21
|
Posted - 2013.09.23 14:46:00 -
[926] - Quote
Sugar Von MurdererTits wrote:I have a small problem with changing the style from Prosilver to subsilver2. It's not a major issue as I can still use the forum, but I have a subsilver2 based style I want to install use and currently cannot. I did a fresh install of phpBB 3.0.11 and am using the EVE_API_6.2.4_for_phpBB_3.x When I go to apply the style changes on the automod tab, I have one error: Quote: styles/subsilver2/template/overall_footer.html
...
Find
< body
In-Line Find
< body
The In-Line Find specified by the MOD could not be found. The Find specified by the MOD could not be found
(added some spaces to avoid html). If I force the style update, none of the Eve api changes are applied anyway. Any ideas?
I encountered the same issue when upgrading from 6.2.2 to 6.2.4. Luckily I don't need subsilver. |
Go0fBall
Pwn 'N Play Nulli Secunda
3
|
Posted - 2013.09.23 18:20:00 -
[927] - Quote
Yugo Reventlov wrote:Go0fBall wrote:For the life of me, I can't seem to get Jabber external authentication to work on a Windows box. I've added and modified all the lines in the .cfg as per the posts above, but it still doesn't seem to work. I can register any account name/password remotely using Pidgin, which is obviously not very secure.
Is there a chance of getting some type of walk through to help us to get this to work? Much appreciated. If you don't want users to be able to self register, you have to disable mod_register in your ejabberd config. Just commenting out the mod should be sufficient. If you are able to self-register an account AND THEN LOG IN WITH THAT ACCOUNT, it would seem that you are not using external authentication at all, but rather internal authentication: self-register is not supported in external authentication. You will never be able to login with a self-registered user when you are running external authentication. Are you sure you restarted the ejabberd daemon? When you are trying to authenticate, do you see authentication requests coming into your logfile? (see /var/log/ejabberd/exauth_phpbb.log like I mentioned in my post) I think my post on ejabberd integration is (sadly) the most complete documentation there is atm: https://forums.eveonline.com/default.aspx?g=posts&m=3539374#post3539374
Yugo, between your write up and my experimenting, it took me a couple of days to figure it out as I am self-taught with all this, but finally got it working. First off, I could not get this to work on windows using the v2.1.11 release of ejabberd, I had to download and install v2.1.10.
I installed v2.1.10, and then followed all the steps in your post. I was having issues logging into the ejabberd web interface when I enabled external auth, so I did some poking around.
In Cyerus' "ejabberd_side.php" file, I changed the value of error reporting on line 4 to "error_reporting(1);"
Lines 13 & 14 to read:
private $_log = true; private $_debug = false;
And finally line 15 to read:
private $_logfile = "c:/exauth_phpbb.log";
Take note of the file "exauth_phpbb.log" in line 15, as I had to manually create that using notepad and save it directly to the c:\ drive, for it to work and write to the log.
Also, the only other problem I seemed to run into is the fact I am running XAMPP, and even though my PHP Path is set in Windows, it did not seem to execute the "ejabberd_side.php" file. In my ejabberd.cfg file, towards line 202/203, this is what I had to enter in order to get it to work:
{auth_method, external}. {extauth_program, "c:/xampp/php/php.exe C:/xampp/htdocs/forums/store/mods/eve_api_6/tools/ejabberd/ejabberd_side.php"}.
I am not the best at explaining things, but I do hope this helps my friends on Windows machines save some time and to get this mod up and running. This is an extremely valuable feature of this package and I thank all of you who helped develop it and have helped nubs like me to get it to work!
|
Yugo Reventlov
Hax. Game Over.
22
|
Posted - 2013.09.24 08:28:00 -
[928] - Quote
Yeah these issues you experienced are probably windows specific. My installation was on a Linux machine. |
Yugo Reventlov
Hax. Game Over.
22
|
Posted - 2013.09.25 08:11:00 -
[929] - Quote
I don't know if anyone else is experiencing this, but since the upgrade to 6.2.4 I have suddenly a whole bunch of users each day getting an "Invalid API Key" error.
People checked those keys and they were still valid keys according to the Eve API management thing (or so they claim to me), but still the forum doesn't accept them and their accounts get disabled.
When they create a new API key and enter that, their accounts are enabled again.
Am I the only one here? |
Yugo Reventlov
Hax. Game Over.
22
|
Posted - 2013.09.25 11:02:00 -
[930] - Quote
We need an update of the mod for Odyssey 1.1. Some of the modules changed names (specifically Logistics modules) and are no longer recognized in the EVEFIT thingie. e.g. "Large S95a Remote Shield Booster" etc. |
|
|
|
|
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 30 40 .. 44 :: one page |
First page | Previous page | Next page | Last page |