Author Topic: [mod][alpha] Integration 4images / Invisionboard 1.01  (Read 77401 times)

0 Members and 1 Guest are viewing this topic.

Offline genius001

  • Pre-Newbie
  • Posts: 5
    • View Profile
[mod][alpha] Integration 4images / Invisionboard 1.01
« on: September 27, 2002, 01:08:24 PM »
Zuerst, alle credits an Nicky.
Dieser mod ist nur eine Modifikation des Integration 4images/vbulletin 2.2x hacks, um ihn an Invisionboard anzupassen.

Beschreibung:
Dieser mod ermöglicht 4 sachen:
1) in 4images einloggen und gleichzeitig in ibf eingeloggt werden
2) in ibf einloggen und gleichzeitig in 4images eingeloggt werden
3) in 4images ausloggen und gleichzeitig in ibf ausgeloggt werden
4) in ibf ausloggen und gleichzeitig in 4images ausgeloggt werden

die gleichen restriktionen mit den usergruppen wie im vbulletin-integrations-hack passieren auch hier.

das anleitungsfile von nicky ist nur in den file-änderungen modifiziert worden, es dürfte also noch überall vbulletin drinstehen, nicht wundern.

da ich selbst nur mit trial and error weitergekommen bin, ist der support äußerst limitiert, wenn jemand das ding weiterentwickeln will / kann, ist er herzlich eingeladen.

url: http://www.codekitchen.org/integration_invision.rar

----------------------------------------------------------------------------

english to come

genius001

Offline singtel22

  • Newbie
  • *
  • Posts: 16
    • View Profile
[mod][alpha] Integration 4images / Invisionboard 1.01
« Reply #1 on: September 27, 2002, 10:41:31 PM »
do you have a zip version? can't seem to extract the files. thanks!

Offline genius001

  • Pre-Newbie
  • Posts: 5
    • View Profile
[mod][alpha] Integration 4images / Invisionboard 1.01
« Reply #2 on: September 28, 2002, 03:18:54 AM »

Offline DeGrey

  • Newbie
  • *
  • Posts: 14
    • View Profile
[mod][alpha] Integration 4images / Invisionboard 1.01
« Reply #3 on: September 29, 2002, 07:30:01 AM »
Got it half way working  :wink:
Still trying to figure parts of it out.
Thanks!

Offline windrider

  • Newbie
  • *
  • Posts: 10
    • View Profile
[mod][alpha] Integration 4images / Invisionboard 1.01
« Reply #4 on: September 30, 2002, 01:00:02 AM »
Very nice, glad someone is working on this.  Can't wait for English since I don't know anything else and haven't got a clue about anything you said above. :)

Offline DeGrey

  • Newbie
  • *
  • Posts: 14
    • View Profile
[mod][alpha] Integration 4images / Invisionboard 1.01
« Reply #5 on: September 30, 2002, 03:23:40 PM »
Has anyone got this working 100% ?

Offline windrider

  • Newbie
  • *
  • Posts: 10
    • View Profile
[mod][alpha] Integration 4images / Invisionboard 1.01
« Reply #6 on: September 30, 2002, 07:49:33 PM »
Quote from: DeGrey
Has anyone got this working 100% ?


Nope not really.  I tried working with it lastnight.  After awhile I finally got it to allow me to log in using the IB account. (was having a cookie issue until I deleted them all).

However the part where it tries to load up a template doesn't work right.   I tried changing some of the code here to load from the ibf_templates table but I couldn't get it to work properly.  So I just commented out the two lines that try to load/display from the templates folder.  This allowed me to at least get logged in.

I was unable to get into the Admin section.  Kept wanting me to log in and wouldn't accept anything.  Didn't play to long here as I was getting tired.

If I get a chance I may try playing around some more later, but between work and everything else going on currently not sure when that chance will come. :)

Offline DeGrey

  • Newbie
  • *
  • Posts: 14
    • View Profile
[mod][alpha] Integration 4images / Invisionboard 1.01
« Reply #7 on: September 30, 2002, 08:45:03 PM »
Sounds like the same thing I was going through. Doesn't seem to work quite right yet. I ended doing pretty much the same thing you did. I spent a couple of hours on it but no luck getting it fully integrated yet.

Offline genius001

  • Pre-Newbie
  • Posts: 5
    • View Profile
[mod][alpha] Integration 4images / Invisionboard 1.01
« Reply #8 on: October 01, 2002, 04:18:36 PM »
i went to this now too, sorry for the half-release.

from what i can see, the template-table is only used to query the option-template that vbb uses while invisionboard does not use an optiontable but a config-file. the information gathered from the options-table is as far as i can see only the cookie information. so i entered it by hand like this:

Code: [Select]
// $optionstemp = $site_db->query_firstrow("SELECT template FROM ".VB_TEMPLATE_TABLE." WHERE title='options'");
// eval($optionstemp['template']);

define('COOKIE_NAME', '');
define('COOKIE_PATH', '');
define('COOKIE_DOMAIN', 'codekitchen.org');
$secure = (isset($SERVER_PORT) && $SERVER_PORT == "443") ? 1 : 0;
define('COOKIE_SECURE', $secure);


and commented out the queries. i can get in the admin cp.
it will log me in from both ibf and 4images.
and it would log me out from both places.

Offline nobody2100

  • Newbie
  • *
  • Posts: 22
    • View Profile
[mod][alpha] Integration 4images / Invisionboard 1.01
« Reply #9 on: October 01, 2002, 05:53:50 PM »
thx genius001 that code worked fine ;) don't get that cookie error anymore .. but i still get that ugly:
Bad SQL Query: SELECT template FROM template WHERE title='options'
Table 'blablabla.template' doesn't exist
error .. anyone got any solutions how to fix this?

Offline DeGrey

  • Newbie
  • *
  • Posts: 14
    • View Profile
[mod][alpha] Integration 4images / Invisionboard 1.01
« Reply #10 on: October 01, 2002, 05:55:58 PM »
A buddy of mine is working on a fresh integration. Starting from the ground up.

Offline genius001

  • Pre-Newbie
  • Posts: 5
    • View Profile
[mod][alpha] Integration 4images / Invisionboard 1.01
« Reply #11 on: October 02, 2002, 06:10:11 AM »
Quote from: nobody2100
thx genius001 that code worked fine ;) don't get that cookie error anymore .. but i still get that ugly:
Bad SQL Query: SELECT template FROM template WHERE title='options'
Table 'blablabla.template' doesn't exist
error .. anyone got any solutions how to fix this?


yes nobody2100, i dont have the file here so i cant tell you the exact line. but somewhere near the top of sessions.php there must be a line similar to: $templatestable="templates";
if you comment this out or change the "templates" to "ibf_templates" or whatever prefix you chose, you should be fine. at least i hope so.

Offline windrider

  • Newbie
  • *
  • Posts: 10
    • View Profile
[mod][alpha] Integration 4images / Invisionboard 1.01
« Reply #12 on: October 02, 2002, 07:20:03 AM »
Quote from: nobody2100
thx genius001 that code worked fine ;) don't get that cookie error anymore .. but i still get that ugly:
Bad SQL Query: SELECT template FROM template WHERE title='options'
Table 'blablabla.template' doesn't exist
error .. anyone got any solutions how to fix this?


Doesn't sound like you commented out the couple lines he shows in his sample.

Offline windrider

  • Newbie
  • *
  • Posts: 10
    • View Profile
[mod][alpha] Integration 4images / Invisionboard 1.01
« Reply #13 on: October 06, 2002, 03:44:02 AM »
Quote from: DeGrey
A buddy of mine is working on a fresh integration. Starting from the ground up.


So how's that integration coming along?  Haven't quite figured out the best way yet to get 4images integrated into the Skin system and still have some random issues with cookies not quite working all the time.

Offline DeGrey

  • Newbie
  • *
  • Posts: 14
    • View Profile
[mod][alpha] Integration 4images / Invisionboard 1.01
« Reply #14 on: October 07, 2002, 03:17:00 PM »
He ended up re-writing the script to get it to integrate. Not really sure it could be called an "integration" anymore  :wink: