Welcome to Geeklog, Anonymous Tuesday, April 23 2024 @ 09:19 am EDT

Geeklog Forums

Geeklog integrate with vBulletin NOW


Status: offline

d404

Forum User
Chatty
Registered: 01/21/05
Posts: 41
Geeklog integrate with vBulletin NOW


Geeklog integrate with vBulletin NOW

i found project that had been integrate the vBulletin with Nuke

So i am now working On same project to develop it to make them work for geeklog

NOW .. what i need is clear start to release this project ,,

SO the full information form developer of geeklog about the different between the Nuke User System and the Geeklog User System .. this will help me to track the changes

I HOPE I GET QUICK REPLAY Leaves me speechless ..



Thank's
 Quote

Status: offline

DTrumbower

Forum User
Moderator
Registered: 01/08/03
Posts: 507
Well, I suppose you could do what other plugin developers do, read the code and start creating your VBulletin plugin.

You will need to look at the database tables and link the two databases. You might want to start at looking at the Wiki Docs and the Plugin Developers Guide. You might also want to look at some previous plugins and see how they integrated with other products. Maybe the phpbb plugin might be a good start.

Happy integration. Smile

P.S. Difference betweek Nuke and Geeklog, Geeklog is more secure.

 Quote

Status: offline

d404

Forum User
Chatty
Registered: 01/21/05
Posts: 41
Quote by DTrumbower: Well, I suppose you could do what other plugin developers do, read the code and start creating your VBulletin plugin.

You will need to look at the database tables and link the two databases. You might want to start at looking at the Wiki Docs and the Plugin Developers Guide. You might also want to look at some previous plugins and see how they integrated with other products. Maybe the phpbb plugin might be a good start.

Happy integration. Smile

P.S. Difference betweek Nuke and Geeklog, Geeklog is more secure.



i Know all of those steps ..

what i was aim to is avoid waste time by get the similar points in user system that geeklog have as nuek has ...

thank's Smile
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
What do you expect? Leaves me speechless

Ask specific questions ...

bye, Dirk
 Quote

Status: offline

d404

Forum User
Chatty
Registered: 01/21/05
Posts: 41
vBulletin User table
Text Formatted Code


CREATE TABLE  user
(
        userid INT UNSIGNED NOT NULL AUTO_INCREMENT,
        usergroupid SMALLINT UNSIGNED NOT NULL DEFAULT '0',
        membergroupids CHAR(250) NOT NULL DEFAULT '',
        displaygroupid SMALLINT UNSIGNED NOT NULL DEFAULT '0',
        username CHAR(50) NOT NULL DEFAULT '',
        password CHAR(32) NOT NULL DEFAULT '',
        passworddate date NOT NULL DEFAULT '0000-00-00',
        email CHAR(100) NOT NULL DEFAULT '',
        styleid SMALLINT UNSIGNED NOT NULL DEFAULT '0',
        parentemail CHAR(50) NOT NULL DEFAULT '',
        homepage CHAR(100) NOT NULL DEFAULT '',
        icq CHAR(20) NOT NULL DEFAULT '',
        aim CHAR(20) NOT NULL DEFAULT '',
        yahoo CHAR(32) NOT NULL DEFAULT '',
        showvbcode SMALLINT UNSIGNED NOT NULL DEFAULT '0',
        usertitle CHAR(250) NOT NULL DEFAULT '',
        customtitle SMALLINT NOT NULL DEFAULT '0',
        joindate INT UNSIGNED NOT NULL DEFAULT '0',
        daysprune SMALLINT NOT NULL DEFAULT '0',
        lastvisit INT UNSIGNED NOT NULL DEFAULT '0',
        lastactivity INT UNSIGNED NOT NULL DEFAULT '0',
        lastpost INT UNSIGNED NOT NULL DEFAULT '0',
        posts INT UNSIGNED NOT NULL DEFAULT '0',
        reputation INT NOT NULL DEFAULT '10',
        reputationlevelid INT UNSIGNED NOT NULL DEFAULT '1',
        timezoneoffset CHAR(4) NOT NULL DEFAULT '',
        pmpopup SMALLINT NOT NULL DEFAULT '0',
        avatarid SMALLINT NOT NULL DEFAULT '0',
        avatarrevision INT UNSIGNED NOT NULL DEFAULT '0',
        options INT UNSIGNED NOT NULL DEFAULT '15',
        birthday CHAR(10) NOT NULL DEFAULT '',
        birthday_search DATE NOT NULL,
        maxposts SMALLINT NOT NULL DEFAULT '-1',
        startofweek SMALLINT NOT NULL DEFAULT '1',
        ipaddress CHAR(15) NOT NULL DEFAULT '',
        referrerid INT UNSIGNED NOT NULL DEFAULT '0',
        languageid SMALLINT UNSIGNED NOT NULL DEFAULT '0',
        msn CHAR(100) NOT NULL DEFAULT '',
        emailstamp INT UNSIGNED NOT NULL DEFAULT '0',
        threadedmode SMALLINT UNSIGNED NOT NULL DEFAULT '0',
        autosubscribe SMALLINT NOT NULL DEFAULT '-1',
        pmtotal SMALLINT UNSIGNED NOT NULL DEFAULT '0',
        pmunread SMALLINT UNSIGNED NOT NULL DEFAULT '0',
        salt CHAR(3) NOT NULL DEFAULT '',
        PRIMARY KEY (userid),
        KEY usergroupid (usergroupid),
        KEY username (username),
        KEY birthday (birthday),
        KEY birthday_search (birthday_search)
);

 


Geeklog user table
Text Formatted Code

CREATE TABLE {$_TABLES['users']}
 (
  uid mediumint(8) NOT NULL auto_increment,
  username varchar(16) NOT NULL default '',
  fullname varchar(80) default NULL,
  passwd varchar(32) NOT NULL default '',
  email varchar(96) default NULL,
  homepage varchar(96) default NULL,
  sig varchar(160) NOT NULL default '',
  regdate datetime NOT NULL default '0000-00-00 00:00:00',
  photo varchar(128) DEFAULT NULL,
  cookietimeout int(8) unsigned default '28800',
  theme varchar(64) default NULL,
  language varchar(64) default NULL,
  pwrequestid varchar(16) default NULL,
  PRIMARY KEY  (uid),
  KEY LOGIN (uid,passwd,username)
) TYPE=MyISAM
;
 


if i want 2 chaneg the table of uid (geek table) 2 work in userid (vB table) how !!

and what is the files in geeklog i have 2 change .. pls all of related

thank's
 Quote

Benta

Anonymous
curious

You should probably start a little more basic by thinking about how your integration will work.

It is pretty tricky to go over all files and database calls. There are better ways.

One successful integration project that has been done earlier was the Mambo/SMF one.

That was solved by writing ONLY a separate login module.

This login module logged the user in to both systems at the same time and gave the user cookies for both.

That way, the two systems could keep separate userlists etc, and very little code had to be changed. It was also easy to keep up with new versions of the systems.

The geeklog forums work pretty well, so I am not sure why you wanna do this, though. The same effort that you would put into this could probably be spent on changing the geeklog forums to whatever you want instead.


 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by d404: if i want 2 chaneg the table of uid (geek table) 2 work in userid (vB table) how !!

Don't change any of Geeklog's tables. If you want to store all those extra fields, start a new table for them.


Quote by d404: and what is the files in geeklog i have 2 change .. pls all of related

You don't have to change anything in Geeklog. Use the plugin API instead. It provides functions that let you know when a user logs in or out, is new, etc. Check system/lib-plugins.php for the details (the newer functions are only documented in there, unfortunately).

But, as Benta said, maybe you should try to get a better understanding of how things work first before you try to come up with any brute-force hacks ...

bye, Dirk
 Quote

Benta

Anonymous
Quote by Dirk: Use the plugin API instead. It provides functions that let you know when a user logs in or out, is new, etc.


Oh, right, Geeklog actually has these (i'm an ex-mamber, there's no such API in Mambo).

That makes it easy to make a bridge (bridges are easier than integration). Just use the "events" from the Geeklog API to call the login routines of vBull with a mapped table of users.

Done.

 Quote

Status: offline

d404

Forum User
Chatty
Registered: 01/21/05
Posts: 41
i failed !!

can any one do this for me as payment service ?!
 Quote

Status: offline

d404

Forum User
Chatty
Registered: 01/21/05
Posts: 41
hello Mr. Green Doh! - that was a mistake
 Quote

All times are EDT. The time is now 09:19 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content