| Pages: [1] :: one page |
| Author |
Thread Statistics | Show CCP posts - 0 post(s) |

Lokien
|
Posted - 2008.01.02 13:54:00 -
[1]
I am managing a forum for my alliance, and i have found out that it takes really a lot of time to reg ppl.
since we want to have controll of who's regging, i have to contact all of the players ingame to check. I have heard of a script that registers players automaticly ingame, does anyone know about this script or something similar?
I could make one myself, but i am fairly noobish when it comes to php, and it's been 2 years since i coded something in php.
Basicly what i want is a script that identifies the character's name and corp, and let the person input his email and password.
Thanks for any help!
|

CyPhEr UmOs
Gallente CyPhEr TeChNoLoGiEs EvE Consortium
|
Posted - 2008.01.02 16:49:00 -
[2]
How much content do you have on your forums? The reason I ask is because I have a script that allows you to interface and access a phpbb2 forum from in game. If you didn't have too much on your forums and were interested then perhaps we could work something out.
I design in game compatible websites and out of game websites as well as forums and hosting. If you or anyone else are interested then please contact me in game only ( I don't browse these forums enough to do business here ). I can help you with your problem and maybe expand on it if you wish. We should be able to convert your content to phpbb2 if that was something you wanted to do. There are many things we can do with in game code and most are quite impressive. For instance, you can have an out of game website that looks like any other out of game site but when you view that site in game it shows in game compatible content instead of the out of game stuff. You can also restrict pages to be viewed by only alliance members or only corporation members and even restrict pages to be views by only directors and ceo's. There is much you can do with IGB coding you just have to know how to do it or have someone like me offer to help you for a fee of course.
Contact me in game if you are interested, that goes for all.
Fly safe! -x-x-x-x-x-x-x-x-x-x- Cypher Technologies We offer in game compatible website design and web hosting. Check out our website in/out of game. |

Sothis Antares
Department of War
|
Posted - 2008.01.02 17:26:00 -
[3]
ok, if you don't want to waste isk - lol - you may consider helping yourself. i assume you have access to the database the forum software uses. search for the table, which stores the user information. you can bypass registration crap of all forum software by inserting/updating or deleting datasets in this table (ok, maybe more if there is userinfo spreaded over the database :P).
you don't need to do some magic stuff. just google how to setup a simple php file with two input forms and a button. search for how to check http request headers within php. this way the igb transmits data to the http server. these are for example all headers the igb sends (with my details in it atm - nope don't try to find me :P) when you visit your site as trusted:
eve.solarsystemname: Ashab eve.allianceid: None eve.corprole: 9223372036854775807 eve.corpid: 1262015895 eve.alliancename: None eve.charid: 758842746 eve.stationname: Ashab VIII - Moon 10 - Theology Council Tribunal eve.regionname: Domain eve.constellationname: Parud connection: close eve.charname: Sothis Antares eve.trusted: yes eve.corpname: Department of War user-agent: EVE-minibrowser/3.0 eve.nearestlocation: None eve.serverip: 87.237.38.200:26000
after that you have allianceid, corpid, char name, etc., etc. use this and the data from the user (email, which shouldn't be necessary, and password) and update your database via php. don't forget if you execute, maybe a INSERT statement with the plain password of the user, to calculate the appropriate hashsum of it. i think vbulletin stores md5 hashes, so the statement would look like "INSERT table_users(username, password, email, ....) VALUES (uname, MD5(pword), mail, ...)". you may also implement a small php function to check if the user trusts you site, since this is necessary for the igb to send the relevant header data. something like that:
function checkIGB() { if ($_SERVER['HTTP_EVE_TRUSTED'] == 'no') { header('eve.trustme:http://www.eve-volt.com/eve::You need to trust this site in order to work.'); print '<h1>Trust Required</h1>'; print 'I need to be trusted to work properly</body></html>'; exit("No access"); } if ($_SERVER['HTTP_EVE_TRUSTED'] == '') exit("Only <b><u><font color=red>TRUSTED IGB</font></u></b> Allowed"); }
well, for coding all i am too lazy atm, but it should show the idea behind :P
|

Sabesto
Amarr xtort Rare Faction
|
Posted - 2008.01.03 17:13:00 -
[4]
I have made some great progress on the script considering i'm a noob in php. the script adds you to the user table in vbulletin if you are a member of the alliance. However, its not that easy to make the account work correctly, the temorarely fix is to do a "management -> update counters -> Fix broken user profiles", i might need to edit 2 more tables to make this work.
I have still not figured out how to make the password submitted in the registration process work (the user has to use the "forgot password" thingie to be able to log in. The password is hashed twice with a random 3-char "salt" stored with the user info. I might have done something wrong there "md5(md5(password.salt))"
If any vbulletin manangers is interested in helping out/getting the code, please contact Sabesto ingame
|

Sothis Antares
Department of War
|
Posted - 2008.01.03 17:40:00 -
[5]
Originally by: Sabesto
I have still not figured out how to make the password submitted in the registration process work (the user has to use the "forgot password" thingie to be able to log in. The password is hashed twice with a random 3-char "salt" stored with the user info. I might have done something wrong there "md5(md5(password.salt))"
mmhhh, i don't now how vBulletin calculate this in detail. I suggest to look into the vBulletin source how the hash is calculated and just copy over this code. phpBB3 uses something similar these days, first it calculates a random salt. Then the md5 sum of the password combinded with the salt and stores then the hash in a non-standard base64 encoding. It's a bit tricky, but looking at the original code how the forum software calculates the hashes should help.
|

Sabesto
Amarr xtort Rare Faction
|
Posted - 2008.01.03 22:21:00 -
[6]
I managed to insert a working hash and salt into the database, its calculated like this: $hash=md5(md5($pass) . $salt), where $salt lenght should be 3
|

Rynlam
Gallente
|
Posted - 2008.01.04 04:51:00 -
[7]
I may not finish it anytime soon, but I'm working on a hack for this :) I have required profile fields (must be filled in to register) of API user and pass, which will check player's corp. Still figuring out automatic forum permission editing, though. Once it's done I'll probably add an option in the admin panel for it to enter a name and select whether it is for corporation or alliance.
|

Max Kolonko
Caldari Domini Umbrus VENOM Alliance
|
Posted - 2008.01.06 11:41:00 -
[8]
as we are on hte subject - is there any nastive IGB forum engine out there?
Max Kolonko |

CyPhEr UmOs
Gallente CyPhEr TeChNoLoGiEs EvE Consortium
|
Posted - 2008.01.06 16:15:00 -
[9]
Originally by: Max Kolonko as we are on hte subject - is there any nastive IGB forum engine out there?
Not sure what you mean by "nastive". That is not a word in the english language.
eveBB is a very nice forum that is fully in game compatible. There is also a script mod for phpbb2 that you can use to make your phpbb2 forum accessible from in game, although it strips it down to simple text but it works very nicely. -x-x-x-x-x-x-x-x-x-x- Cypher Technologies We offer in game compatible website design and web hosting. Check out our website in/out of game. |

Max Kolonko
Caldari Domini Umbrus VENOM Alliance
|
Posted - 2008.01.06 17:04:00 -
[10]
Native :P - misstyped - writen especially for igb - anyway thanx for response - will look into it Max Kolonko |

Sabesto
Amarr xtort Rare Faction
|
Posted - 2008.01.27 22:48:00 -
[11]
Well, the project is on halt. My problem is still that when you post a thread after being registrated, your name will not be formatted right (running an admin script fixes it). also, when the script recognizes that you are member of a new corp, and makes a new usergroup, that usergroup is somehow set as banned. updating the usergroup options fixes that one. I might have to sit down and look through the original code again.
|

Ix Forres
Vanguard Frontiers Imperial Republic Of the North
|
Posted - 2008.01.30 21:40:00 -
[12]
I would recommend checking the actual signup PHP snippets from vBulletin itself and checking what they do to reset caches and so on.
In terms of native IGB forum services; eveBB is one but it's fairly old and not heavily maintained- there's not much else, though. It's always been a project I've considered doing (Something with good transparency between IGB and out of game browsers). If I do get anywhere with that I'll drop a line.
Blog |
| |
|
| Pages: [1] :: one page |
| First page | Previous page | Next page | Last page |