Register Members List Search Today's Posts Mark Forums Read

Closed Thread
Mod Options
vBulletin [2.2.8] and Post Nuke [.7.2.1] Integration Details »
vBulletin [2.2.8] and Post Nuke [.7.2.1] Integration
Mod Version: 1.00, by Brew (Member) Brew is offline
Developer Last Online: Dec 2012 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 2.2.x Rating: (0 vote - 0 average) Installs: 80
Released: 04 Nov 2002 Last Update: Never Downloads: 15
Not Supported Is in Beta Stage  

This post will be updated from time to time with new info. So check this first post whenever you want to see if there are any changes to the code or docs.

11-9-02 12:15pm est
Made the hack files into zip format.
Added BANNING in PostNuke! (cookie based atm)
Added a lot of instructions.
Changed the link to PostWrap at the bottom of this post.
A couple bug fixes.

11-05-02 12:50pm est
Fixed a bug in the display avatar in PostNuke user profile screen.
I changed the rar download to reflect this.
You can find the fix in this post:

The above fix is in the zip file attached.

11-04-02 11:00pm est
Updated both the docs and the rar file.
It includes instructions on disabling the PN Admin ability to add or modify users. Only the vBulletin admin screen should be use to update or delete users.

Added a to-do to the list for making the hack work when adding new custom fields. As it is now you should not add any custom fields untill this is worked out. Although you can add custom user fields with some tweaking of the hack. It just needs to be automated somehow...haven't figured out how yet.

Also added a to-do to be sure moderators can modify or delete users where allowed.

Be sure you re-read through the whole thing in case something was overlooked!

11-04-02 4:30pm est
Added a link to my test site at the bottom
Just noticed that I haven't done anything with the PostNuke admin. Don't use the PostNuke admin to change or delete users until I fix this.


Before you install this hack I must say:

This hack was only tested and used on a new install of vBulletin!!!


Once vBulletin is installed you use a small set of scripts that pulls users from the PostNuke tables and inserts them into the vB tables. The only user in the vBulletin database MUST be the admin of vBulletin! If your database already has members then you will have to search out a script that will merge the PostNuke database into vBulletins database.

The insertion files are included in the rar file with the instructions.

Above all else you MUST verify that the user tables are identical in the userid and username columns between PostNuke and vBulletin! If not then the hack will NOT work and you'll get information for wrong users and the whole thing will get buggered up and may even destroy the viability of your current user database!!! So complete and error free mirroring between the two user databases is absolutely essential!

Kier's avatar to file hack MUST be used with this hack as I tried many hours to get the hack to work without it. If you know of a working way to get the avatar from vB to display in a non-vB script I would appreciate the heads up (yes I rummaged through the hacks here at but none of them worked for me)

If you don't follow the above warnings then TUFF! You've been warned :smoke:

This hack was written using ver2.2.8 of vBulletin and ver .7.2.1 of PostNuke.

The hack is nearly 100% integration. That is to say that PostNuke will use the resources of vBulletin nearly 100% pertaining to the user system. If you find areas where there needs to be better integration or areas I have overlooked please let me know so I can correct it!

This hack shares the user names and ids, avatars, signatures and all other aspects of user information except permissions and groups(it does work with the PN groups though)....which I feel should be separate from each other anyway.

The only things I can think of that are not integrated is the private message system and the ability to add news to the front page from vBulletin and visa-versa. If you know of hacks that would do this would you please share it with me?

Some things this hack will do:

New users coming in from PostNuke who want to register will be redirected to vB to register.

Users who have used the vB registration form can log in to PN but not be allowed to do the same things as a fully registered user can do.

When users click their email link to finish registration they will then have registered status in PN.

The user profile screen in PN displays the same information used in vB.

When using Kier's avatar to file hack the user profile screen in PN will display the same avatar as the user has for vb. (again.....if you know how to get the avatar from vB I would appreciate the heads up!)

When a user needs to have a password emailed to them they will be redirected to the vB send password screen.

This is a very involved hack using 7 different files. I will try to give some support to this....But since I've had vBulletin for only a week (or so) I don't know how well I'll be able to. Yeah...sounds scary to hear but believe me the hack works

Thanks to all who would like to test this hack!

As you'll see I need a bit of work in the docs. If you could help with that I would appreciate it!

Some to-do things....

Make the hack more PostNuke API friendly.

Change areas to make it so it will automatically detect the table prefix for PostNuke.

Create a new field where one can poke info in for each domain in a multi-site setup then have the hack peek this field.

Integrate the news system of PostNuke into vBulletin so when news is posted it will be posted to a particular forum.

Make the docs easier to follow.

Clean it all up using appropriate arrays where needed in loops etc.

Add the ability for the hack to add custom fields from vB. As it is now you should NOT add any custom fields!

But, of course, only if there's enough interest in the hack for me to do this....

To see this hack in action visit the test site...this is ONLY a test site and is not open to the public. Only those interested in testing the hack may use it.

vBulletin and PostNuke integrated .... go ahead and create an account...mess with it...whatever...The test site will only be available until I am confident it is bug free then will be moved to another site and be live.

Also the test site is using a module called "PostWrap". It incorporates vBulletin logins into the main page and is not part of the hack above. You can find PostWrap at PostWrap 2.01 at

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Old 24 Mar 2003, 17:36
jwpexe2 jwpexe2 is offline
Join Date: Mar 2003
Hi Hurricane,

I just wanted to know what version of vb and postnuke you are using. I am trying this on
vBulletin Version 2.3.0 and

I have run into a few bumps in the member.php file at the end, looking forward for you write up..

Last edited by jwpexe2; 24 Mar 2003 at 18:16.
Old 24 Mar 2003, 19:25
Hurricane Hurricane is offline
Join Date: Mar 2002
That is the same versions that I used this weekend. I have the write up about 75% done and I should have it posted tonight. There were quite a few bumps along the way but I think I have most of it worked out.
Old 24 Mar 2003, 20:24
jwpexe2 jwpexe2 is offline
Join Date: Mar 2003

I have studied the code most of the weekend.
I have been trying to get the user conversion from pn to vb today.
Running into some problems with duplication. I am not a php master, but am willing to help get this project done.
Old 24 Mar 2003, 22:01
Hurricane Hurricane is offline
Join Date: Mar 2002
Once I have all of my stuff together, it will be very easy!
Old 25 Mar 2003, 01:30
Hurricane Hurricane is offline
Join Date: Mar 2002
Talking Here it is!

OK, here is my write up and files. PLEASE follow the instructions to a T. Also notice that this is still technically a BETA. Also remember that neither I, nor Brew are responsible for your data! Backup BEFORE you begin.

Also it is very important to go through the entire install file BEFORE you run the supporting scripts as there are things you must do first!

My version of this hack was written to use 2 separate databases. It does not integrate the 2 DBs. This way it is easier to undo.

I think that is all. Please let me know how it goes. Please contact me here for support. Do not email me for support!

The file attached is a new file! There was only one download since it was posted, but who ever it was, you need this one. The import script is broken in the old one!!!!
Attached Files
File Type: zip (13.1 KB, 60 views)

Last edited by Hurricane; 26 Mar 2003 at 04:03.
Old 25 Mar 2003, 03:28
jwpexe2 jwpexe2 is offline
Join Date: Mar 2003
Thanks for the update, I have been trying to figure out what went wrong

Thanks for your Help on this hack!
Old 25 Mar 2003, 05:17
Hurricane Hurricane is offline
Join Date: Mar 2002
It is my pleasure. I am glad I finally had time to finish it. There is still some issues with the Avatars being displayed in PN. I will try to have the fix posted by tomorrow. It is not a fatal error!
Old 25 Mar 2003, 05:29
jwpexe2 jwpexe2 is offline
Join Date: Mar 2003
Thanks Hurricane, and Brew sorry to forget about ya

I got it installed on the site.

Good Work!!

Last edited by jwpexe2; 25 Mar 2003 at 05:36.
Old 25 Mar 2003, 05:34
Hurricane Hurricane is offline
Join Date: Mar 2002
Well, just remember that it was not all me! Brew had a lot to do with it!
Old 25 Mar 2003, 05:58
jwpexe2 jwpexe2 is offline
Join Date: Mar 2003
I did notice one thing when I went to Retrieve lost password link I got an error
Parse error: parse error in /NS-LostPassword/user.php on line 141
Untill I took out two }}

include 'footer.php'; // <- This is approx line 138
*/ // <- This is what you are adding!

} /////// delete these
} //////// delete these


Last edited by jwpexe2; 25 Mar 2003 at 06:00.
Old 25 Mar 2003, 06:25
Hurricane Hurricane is offline
Join Date: Mar 2002
OK, I will check that out. There is another issue! In the member.php (vBull file) it should be this:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Zip file updated with both the above changes.

Last edited by Hurricane; 25 Mar 2003 at 06:31.
Old 25 Mar 2003, 20:52
jwpexe2 jwpexe2 is offline
Join Date: Mar 2003
I did the fix above, but have got a few emials today that say

Database error in vBulletin 2.3.0:

Invalid SQL: UPDATE pndb.nuke_users SET pn_pass='61c33ac309d60c87faea52ba65c15bd' WHERE userid=$bbuserinfo[userid] mysql error: You have an error in your SQL syntax near '[userid]' at line 1

mysql error number: 1064
Old 26 Mar 2003, 03:36
Hurricane Hurricane is offline
Join Date: Mar 2002
What were you attempting to do when the error occured?

I can not seem to recreate your error.

Last edited by Hurricane; 26 Mar 2003 at 03:43.
Old 26 Mar 2003, 04:02
Hurricane Hurricane is offline
Join Date: Mar 2002
Another error! In the member.php

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

The change is the last line. WHERE pn_uid='$userid' is to be WHERE pn_uid='$bbuserinfo[userid]'

Updating the ZIP file!
Old 26 Mar 2003, 06:09
dkny dkny is offline
Join Date: Aug 2002
Hurricane, You the man!
I'll try this hack over the weekend, will keep you updated. Now I have VB 2.9.0 will it be a problem?
Also I dont have a clean VB user database, I have 4k members, will that be a problem?
Closed Thread

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

New To Site? Need Help?

All times are GMT. The time now is 13:14.

Layout Options | Width: Wide Color: