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

Knossos
|
Posted - 2006.02.14 02:40:00 -
[1]
Hello everyone,
If you, like me, have been unable to get PHPBB forums to work with the InGame Browser (IGB), then may be you will find this thread of use.
I have spent a fairly large amount of time working on a separate front end for PHPBB which the IGB can access. The current code provides the ability to view forums, topics and posts all at the appropriate group authing (to hide forums from uninitiated members). It also provides the functionality to generate new threads and posts. There may be a few bugs in there which I haven't spotted, in which case please let me know!
Feel free to abuse the code as much as you want, its on a free open source development license, so you can do pretty much what ever the hell you want with it.
Linkage.
If you want to contact me, you can use the ingame channel "projectIGB". I'm quite busy, but if I can I will attempt to help with any installation issues.
Hope someone finds it useful, and perhaps donates something for my work :)
|

Knossos
|
Posted - 2006.02.14 20:05:00 -
[2]
Could a mod sticky this, so more people will get to see it ;)
Thanks.
|

burning raven
|
Posted - 2006.02.14 22:35:00 -
[3]
I am going to setup a forum, so ill give it a shot.
Excellent work though assuming it works! :D
|

Knossos
|
Posted - 2006.02.14 23:04:00 -
[4]
It may need a bit of rejigging, I hadn't originally intended it for open sourcing.
But I thought other people could use it :)
|

Reiisha
|
Posted - 2006.03.17 21:23:00 -
[5]
Well, this should be a nice endeavour.
|

Yolo
|
Posted - 2006.03.29 11:31:00 -
[6]
make sure you post this one the official phpbb forum aswell.
will increase viewing alot.
|

Muslickz
|
Posted - 2006.04.10 19:57:00 -
[7]
Edited by: Muslickz on 10/04/2006 19:58:50 Edited by: Muslickz on 10/04/2006 19:58:03 Has anyone has a successfull installation of this script.. I am working on it now and have hit a few probs.. Specificly I have one question as I am no PHP Champion...
Could you give me an idea of what this should look like.
$sqlConnection = new MySQL_Service(); $sqlConnection->initConnection(); $sqlConnection->useDatabase("cwraforum");
My DB Name is "R3data" Would that simply replace "cwraforum"?
I have tried this and I still get nothing. When I hit the url from the IGB I get asked to be trusted and when I say yes I get a page with my Portrait and a link to the MAIN and FORUMS but either selection simply reloads the page. What am I missing.. I did everything else in the install instruction pertfectly. Does it work only with a certain version of PHPbb?
I am a lil lost..
Any help would be great.
-Muslickz
|

Knossos
|
Posted - 2006.04.25 15:14:00 -
[8]
A few people seem to be having problems with the code... In that clicking on the links after they have installed it just seems to refresh the page.
I haven't found a reason for this yet...
|

Graf Zeppelin
|
Posted - 2006.04.27 08:48:00 -
[9]
IŠll have a look at the mod, seems to be VERY useful :)
IŠve had a similar error once in phpbb (normal Browser), had to do something with a buged php-version on my server iirc.
|

Er 'k
|
Posted - 2006.05.22 22:17:00 -
[10]
don't know if this project is still alive...
I installed it in my root directory as the install told me to. Replaced the variables to match my database etc...
But when i acces it inside i get the following message Warning: imagejpeg(): Unable to open '../imgs/portraits/Creesch.jpg' for writing in /home/alleiets/public_html/igb/igb/index.php on line 54
figured it had something todo with my ingame portrait (it doesn't display here on the forum either).
If i create the file myself and make it writable it does work, atleast it doesn't give me any error messages anymore.
but if i want to access the forum it keeps empty and doesn't show anything.
|

Narusegawa Naru
|
Posted - 2006.05.24 08:46:00 -
[11]
Create /home/alleiets/public_html/igb/img/portraits/ and make sure it is readable and writable by either the apache user or group. In my case have apache running as admin in group admin. So I have ug=+rw set for these folders. Also remember PHP runs as the same user apache runs as, unless you have suPHP installed.
|

Er 'k
|
Posted - 2006.05.24 09:31:00 -
[12]
Ok I have that working now :)
The error messages are gone It still doesn't display the forums tho, maybe has something to do with user rights still have to figure that out :) |

Narusegawa Naru
|
Posted - 2006.05.24 09:40:00 -
[13]
No, it's more than that. I've had to modify the code myself to get it all working. But basically the code is loosing the $_GET/$_POST and some $_SERVER variables when the ob_start() is called. I've had to work around this myself, but my code also keeps the table prefixes and database names in db.php (i.e. 1 location). I'm going to release my amendments to the author but for now I will make a .tar.gz file on my site for download and post link here for you.
|

Narusegawa Naru
|
Posted - 2006.05.24 09:46:00 -
[14]
IGB Update
UID/GID is currently set to 1000:1000
Remember to chown these for your apache user.
|

Er 'k
|
Posted - 2006.05.26 14:29:00 -
[15]
Ok i got it working no but now it wont let me log in.
I can work around by putting the usernames in the extra database field by hand but that is to much work...
So the login part of the script does seem to work not as it is suposed to. I have been looking in the code but my php knowledge isn't that goed and I couldn't find a solution
|

Narusegawa Naru
|
Posted - 2006.05.26 14:52:00 -
[16]
All I did was add the ig_name field to the phpBB users table. then I went to http://domain/igb/index.php and clicked "Forum", got a login prompt and logged in as I normally do to phpBB.
I'm in the ingame channel "projectIGB" most of the time I'm in Eve so please feel free to message me.
|

Narusegawa Naru
|
Posted - 2006.05.26 23:13:00 -
[17]
IGB Updated
Fixed: Logging in (You can now login properly) Fixed: New Topic (Still some labels/captions to change, but this works now) Fixed: Pagination (No longer displays 20 Topics, and also paginates correctly)
|

Knossos
|
Posted - 2006.05.27 19:33:00 -
[18]
I'm back on the case. I'm working on a new version to stick on SourceForge at the moment.
|

Knossos
|
Posted - 2006.05.28 02:32:00 -
[19]
I have updated the code.
You can either goto SourceForge or get the code direct from one of these two links:
RAR File Link ZIP File Link
The two lower links may either run high speed or low speed, because its running on a shared connection. For reliability go with SourceForge.
Also, I am running a simple test server to show how the interface works. Go HERE in the IGB. You can log in as "TestIGB" user with the password "testigb". Again, if its going slowly - or only partially displaying - that can be because of my housemates downloading or uploading files.
|

Knossos
|
Posted - 2006.05.28 16:08:00 -
[20]
New Update:
Download
Or grab it from SourceForge.
It includes fixes for apostrophes in usernames.
|

Knossos
|
Posted - 2006.06.04 17:04:00 -
[21]
New update:
- Interface now checks to see if the ig_name field exists, if it doesnt it creates it. No need to access the database to install this script now. - Ability to register on the forums via the ingame browser.
SourceForge Link
Unstable Direct Link
|

Knossos
|
Posted - 2006.06.07 15:22:00 -
[22]
A new release is at SourceForge.
This fixes problems with the session and makes the navigation system flow more freely.
|

Narusegawa Naru
|
Posted - 2006.06.08 10:17:00 -
[23]
Excellent, keep up the good work. Not been able to you out this past week or 2. Working on my corps mineral tracker plugging into the eve data export. Might be able to add this as a per-user module to the IGB phpBB too :)
|

Knossos
|
Posted - 2006.06.12 22:09:00 -
[24]
Known issue:
- Forum registration via the IGB looks fine to start with, but for some reason permissions cannot be assigned to it. Currently being looked at.
|

Knossos
|
Posted - 2006.06.13 13:27:00 -
[25]
New version.
Fixes the registration problem. Thanks to FlyBaby for finding it.
File on Eve-files
File on SourceForge
|

evistin
|
Posted - 2006.06.18 06:35:00 -
[26]
Hi there,
I am tyring to get the program to work, but I am not sure what I am doing wrong.
I got the sql database data entered, but I do not know where you want to install it.
Is there a step by step guide on what to do?
------------------- Sig removed, please stay away from extremely cute and cuddly sigs, email [email protected] if you have any questions |

Tyr Harper
|
Posted - 2006.07.04 15:24:00 -
[27]
Nice ! Exactly what I need !
I will try it soon.
|

Ascano
|
Posted - 2006.07.13 23:01:00 -
[28]
Theres a new version out now that automatically adds the database entry (as the previous version was supposed to!)
|

Knossos
|
Posted - 2006.07.13 23:01:00 -
[29]
Edited by: Knossos on 13/07/2006 23:01:50 Woops, posted with alt :)
Files still available on SourceForge
|

Lireil Crow
Supero Omnia
|
Posted - 2006.08.12 08:24:00 -
[30]
I get the same error
Quote:
Warning mysql_num_rows(): supplied argument is not a valid MySQL result resource in / removed /base/db.php on line 88
How is is sending something to a table in the database, but the guys who made this forgot to umm give us the mysql info that is needed to use this program.
|

Kuame Lore
Supero Omnia
|
Posted - 2006.08.13 01:09:00 -
[31]
Edited by: Kuame Lore on 13/08/2006 01:09:54 ok fixed it, and also fixed some other small buds in your thing, like one,
updated your code with the following to fix the bbcode.
FIND
Quote: $rowPost[5] = ereg_replace("\n", "<BR>", $rowPost[5]); $rowPost[5] = preg_replace("/\[url=(\W?)(.*?)(\W?)\](.*?)\[\/url\]/", '<a href="$2">$4</a>', $rowPost[5]); $rowPost[5] = preg_replace("/\[b\](.*)\[\/b\]/", '<b>$1</b>', $rowPost[5]); $rowPost[5] = preg_replace("/\[i\](.*)\[\/i\]/", '<i>$1</i>', $rowPost[5]); $rowPost[5] = preg_replace("/\[u\](.*)\[\/u\]/", '<u>$1</u>', $rowPost[5]); $rowPost[5] = preg_replace("/\[img:.*\](.*)\[\/img:.*\]/", '<a target="_blank" href="$1">$1</a>', $rowPost[5])
Replace with
Quote: $query2 = "SELECT * FROM phpbb_posts_text WHERE post_id = $rowPost[2] ORDER BY post_id DESC"; $result2 = mysql_query($query2) or die(mysql_error()); $results2 = mysql_fetch_array($result2); $uid = $results2["bbcode_uid"];
$rowPost[5] = ereg_replace("\n", "<BR>", $rowPost[5]); $rowPost[5] = str_replace("[b:$uid]", '<b>', $rowPost[5]); $rowPost[5] = str_replace("[/b:$uid]", '</b>', $rowPost[5]); $rowPost[5] = str_replace("[i:$uid]", '<i>', $rowPost[5]); $rowPost[5] = str_replace("[/i:$uid]", '</i>', $rowPost[5]); $rowPost[5] = str_replace("[u:$uid]", '<u>', $rowPost[5]); $rowPost[5] = str_replace("[/u:$uid]", '</u>', $rowPost[5]); $rowPost[5] = str_replace("[quote:$uid]", '" <i>', $rowPost[5]); $rowPost[5] = str_replace("[/quote:$uid]", '</i> "', $rowPost[5]);
|

Ichani
Minmatar Huang Yinglong
|
Posted - 2006.08.16 06:58:00 -
[32]
I have been trying to get this working with a postgresql database. now i rewrote db.php for postgres download that here. the first problem i ran into was after you logedin and clicked the "please reload this page" all you got was the login page again. one of my corpmates fixed that by Quote: Changed this: if(!$sqlConnection->runCheck("SELECT * FROM " . $sqlConnection->db_table_prefix . "users WHERE ig_name='". addslashes($_SERVER['HTTP_EVE_CHARNAME'])."'")) To this: if($_SESSION['loggedIn'] == false)
it now that works and you can now see the forum. picture 1 now you should be able to see the subforums under those categories but they are not there. its almost as if its treating me as a unregistered user. when you click on the link for the two forums i can see you get this. picture 2 notice how you cant click on the thread title to read the post? any suggestions would be most welcomed.
|

Lireil Crow
Supero Omnia
|
Posted - 2006.08.16 08:10:00 -
[33]
no its working the way it "he" programed it to, I'm redoing most of the code fixing alot of bugs in it, I'll post an update with changes, looks like the guy who is running this doesnt do much work on it.
I will post a fix for this soon.
|

Fray Hewn
Amarr Dark Hewn Covent
|
Posted - 2006.08.19 07:17:00 -
[34]
I've notice a couple of things.
It seems that all access is in the areas of public. I have setup users to access private forums, the forum title can be seen but not any of the messages. Give me a clue what am I missing.
And is the image issue the same as the Eve forums, wait until they do the batch upload?
Fray Hewn
|

ERing
Gallente Pinnacle Technologies
|
Posted - 2006.08.21 20:00:00 -
[35]
Alright, I need help.
I downloaded the latest from Sourceforge: 12_07_06
I have no idea how to install this. Can someone please give me step by step instructions for how to install this please?
Thanks -ERing |

Tesar Sebatyne
|
Posted - 2006.09.01 11:43:00 -
[36]
Seeing all the problems people have had, i am glad i made my own Ingame Forum.
There is also a PunBB forum theme which is useable in the EVE IGB, however without the fancy corp authentication.
PunBB EvE Theme
|

Bambi
Gallente Existentialist Collective
|
Posted - 2006.09.22 13:22:00 -
[37]
Couple of things I am not sure are working/problems. They might not even be coded into it all....
A users post count doesnt increase when posts are made via IGB
Users dont have to submit an e-mail address, which causes an error when adding them to usergroups. It doesnt stop you adding them, you just get the php error for no e-mail address.
Are you supposed to see any character info when logged in other than your picture? I mean things like character name and corporation etc.
Other than that its awesome, nice work...
Knowledge is knowing a tomato is a fruit; Wisdom is not putting it in a fruit salad.
|

Tetsel
Caldari Bearn Mining Corp
|
Posted - 2006.11.10 21:20:00 -
[38]
I want to be sure of what this interface is doing. So I got couple of question. First, can this interface can be used on an existing DB or does it need a brand new fresh install due to Table name used by phpBB? Second, If yes on the first one :D, can I make this interface run ingame while user can use standard phpBB interface outgame, both using the same DB ?
Thanks for answers
|

kdRt
|
Posted - 2006.11.14 08:54:00 -
[39]
I don't understand very well how to install it ?
Have I to install it on my computer with a apache server ? Or on the host of my phpbb ?
Then in db.php & global.php - what have I to change ?
var $db_table_prefix = "igb_"; can I change igb to the table_prefix from phpbb or have I to install new tables ?
|

Wysia
Minmatar Neuronal Loneliness
|
Posted - 2006.11.15 14:37:00 -
[40]
Works like a charm. Thank you very much :)
|

Darul Naki
Octet Sunrise
|
Posted - 2006.11.15 22:02:00 -
[41]
Hello there!
I've done some work for porting the Solaris theme to phpBB, if you are interested, feel free to eve-mail me.
Some samples here (french forum) :
Rgds, [ Da ~ ]
__________ Astarte BYOC offer - check this thread !... |

kdRt
|
Posted - 2006.11.18 12:43:00 -
[42]
Nicely done sir !!
You owne
|

Darul Naki
Octet Sunrise
|
Posted - 2006.11.19 12:00:00 -
[43]
kdRt asked me how to handle the "&" in URLs, for instance IGB sends a "[...]/posting.php?mode=reply&t=51" instead of a "[...]/posting.php?mode=reply&t=51".
I've modified my php.ini in order to fix those variables:
arg_separator.output = "&" arg_separator.input = ";&"
Note : .output variable can be modified per script with the ini_set() function (PHP_INI_ALL), but not the .input one (PHP_INI_PERDIR), so you have to modify it from the php.ini.
* * *
A little trick to use my own php.ini instead of my web hosting provider's one, was to add inside my root .htaccess file this line:
SetEnv PHPRC "/<path_to_my_custom_php.ini_directory>/"
According to your provider's configuration and policy, it could be different. Just read its FAQs to know if he lets you create a customised php.ini, and how.
Warning : before doing this, double check with the phpinfo() function to see if your provider has modified some PHP parameters master value, in order to report them inside your custom php.ini file. If you don't check, you may encounter some annoying glitches or loss of functionality.
Enjoy ! [ Da ~ ]
__________ Astarte BYOC offer - check this thread !... |

Wysia
Minmatar Neuronal Loneliness
|
Posted - 2006.11.20 17:58:00 -
[44]
Is it possible to modify your script so it can deals with accentued characters, like TFa· ?
|

Darul Naki
Octet Sunrise
|
Posted - 2006.11.21 00:49:00 -
[45]
Originally by: Wysia Is it possible to modify your script so it can deals with accentued characters, like TFa· ?
I've changed the posting.php to handle htmlentities if client uses IGB, check again. |

Xooja
The Illucian Syndicate
|
Posted - 2006.12.15 22:38:00 -
[46]
Edited by: Xooja on 15/12/2006 23:03:30 Thanks for this Knossos stellar piece of work.
I had a go at getting this working with PHPBB 3.0 which is in beta at the moment (out early next year).
The data schema has changed which breaks the IGB interface but it was pretty easy to port - just a few hours work seeing as you have done most of the hard work.
The main changes are in user group membership, how hierarchies of forums are store and text in posts is stored slightly differently.
Some background on PHPBB 3 - they aren't freezing the database schema until the release version. Most people will stick with phpbb2 for a while as it will take time to convert phpbb2 styles and any mods they have installed to work with phpbb3.
|

Narusegawa Naru
Gallente The Nest Interstellar Alcohol Conglomerate
|
Posted - 2006.12.18 11:06:00 -
[47]
I am returning to the sourceforge project to continue this work after a break. If anyone has fixed a bug in the latest code on sourceforge. Can they please let me know what they fixed, how, and send me the files to [email protected]. I will update the code on sourceforge again and hopefully continue the project once more.
|

Razzy
Gallente Research Associates Intrepid Crossing
|
Posted - 2006.12.18 23:24:00 -
[48]
Originally by: Fray Hewn I've notice a couple of things.
It seems that all access is in the areas of public. I have setup users to access private forums, the forum title can be seen but not any of the messages. Give me a clue what am I missing.
This issue is what concerns me, I have usergroups seeing forums they should normally not - yes they are only seeing the forum name and not the post, but I would really only want them to see the forums they are allowed to see. Is there a fix or work around for this?
Razzy
|

Narusegawa Naru
Gallente The Nest Interstellar Alcohol Conglomerate
|
Posted - 2006.12.19 11:20:00 -
[49]
The code as it stands does not use many of the phpBB Engine code and rather uses it's own, hence things like security and stuff isn't fully implemented (atleast at my last glance over the code anyway)
Once I get it setup myself once more I will move it to use more of phpBB's native functionality where possible. This way a forum can have both IGB and OOG functionality which is a key feature I'd like to see.
|

Nerogen
VanderWerf Integrated Enterprises Gemini Federation
|
Posted - 2006.12.21 21:43:00 -
[50]
the interface seems to be broken due to img.eve.is being down
|

Revolution Rising
Venture Research and Resources
|
Posted - 2007.03.28 21:52:00 -
[51]
Edited by: Revolution Rising on 28/03/2007 21:50:27 Please make available a .tar.gz file or at least a zip. unrar is so hard to get working on linux due to the rar/unrar code being closed-source. You need all the correct glibc's and stuff which can be difficult on a production webserver.
Rev.
CEO Venture Research and Resources. VRR Homepage |

Mizzirahhi
|
Posted - 2007.05.26 05:38:00 -
[52]
does this mod work with phpbb 3?
|

R3V0LV3R
|
Posted - 2007.08.09 19:28:00 -
[53]
Im having some issues, do i need to use an older version of phpbb? Im using the latest version from the website, and it seems that the function: mysql_num_rows
Is erroring out, and not allowing the script to read the database.
igb: http://www.octanetek.com/forum
|

Sigos
ORIGIN SYSTEMS Atlas Alliance
|
Posted - 2007.08.10 17:44:00 -
[54]
Perhaps I'm missing something, but why not just use a style to accomplish this whole thing? You can also use a mod to make the style only used for users of the IGB. The only thing this would not add is the ability to register using their IGB credentials, but this could probably be accomplished by using a mod. You do not want to do this anyway, though, as you need to verify the information being recieved is correct.
|

R3V0LV3R
|
Posted - 2007.08.10 19:53:00 -
[55]
Got it working. Now i just need to figure out how to get things to display on the "Main" page.
Took me forever to get working, but it works now.
Anyways, if anyone knows how to get the main page update, please, let me know.
|

cinderbrood
Caldari An Tir Libertas Fidelitas
|
Posted - 2007.09.13 11:58:00 -
[56]
WEll ive installed it on my webserver and ingame works fine.. my issue is i tried to copy the normal phpbb2 files into OGB to get them to work outofgame as it usually would. ive gone through all teh major files and changed
define('IN_PHPBB', true); $phpbb_root_path = '/ogb/'; include($phpbb_root_path . 'extension.inc'); include($phpbb_root_path . 'common.'.$phpEx);
from
define('IN_PHPBB', true); $phpbb_root_path = './'; include($phpbb_root_path . 'extension.inc'); include($phpbb_root_path . 'common.'.$phpEx);
where valid. as i before the page would load but the links would repot back to being broken ( duh there no longer in root of the domain there in a folder called Ogb.) so logins and sch would be broken .
now it reports back when i try to acess the forum oog
Warning: main(/ogb/extension.inc) [function.main]: failed to open stream: No such file or directory in /mywww/ogb/index.php on line 25
Warning: main(/ogb/extension.inc) [function.main]: failed to open stream: No such file or directory in /mywww/ogb/index.php on line 25
Warning: main() [function.include]: Failed opening '/ogb/extension.inc' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /mywww//ogb/index.php on line 25
Warning: main(/ogb/common.) [function.main]: failed to open stream: No such file or directory in /mywww/ogb/index.php on line 26
Warning: main(/ogb/common.) [function.main]: failed to open stream: No such file or directory in /mywww/ogb/index.php on line 26
Warning: main() [function.include]: Failed opening '/ogb/common.' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in mywww/ogb/index.php on line 26
Fatal error: Call to undefined function: session_pagestart() in /mywww/ogb/index.php on line 31
id gladly pay isk for a fix ;/ ive got other thigns to play with i want to get to work ;/
|

Ki Shodan
Gallente deep blue
|
Posted - 2007.09.13 17:26:00 -
[57]
Originally by: cinderbrood
define('IN_PHPBB', true); $phpbb_root_path = '/ogb/'; include($phpbb_root_path . 'extension.inc'); include($phpbb_root_path . 'common.'.$phpEx);
from
define('IN_PHPBB', true); $phpbb_root_path = './'; include($phpbb_root_path . 'extension.inc'); include($phpbb_root_path . 'common.'.$phpEx);
Warning: main() [function.include]: Failed opening '/ogb/extension.inc' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /mywww//ogb/index.php on line 25
id gladly pay isk for a fix ;/ ive got other thigns to play with i want to get to work ;/
I dunno the script but you changed from a relative path ("$phpbb_root_path = './';") for the included files to an absolut path ("$phpbb_root_path = '/ogb/';"). As the error messeage shows the index.php you used is already in the path "/mywww/ogb/index.php", so i do not see the need to change it to the path "/ogb/". Change it back to "./" since the files to be included should reside in the same directory as the "index.php", that includes them.
(If you have a switch, in your forums start page that redirects the OOG User than try to set the phpbb_root_path to "./ogb/" instead of "/ogb/". In that case the index.php redirecting the OOG user is the toplevel script and a relative include-path must be relative to the top-level script.) --
Evemail me, if my name is used as guarantor! |
| |
|
| Pages: 1 2 :: [one page] |