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:
http://www.vbulletin.org/forum/showt...984#post318984

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!!!

Also...BACK UP YOUR DATABASE FIRST!!!!

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 vBulletin.org 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 syntax..ie...using 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 PostNuke.com

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.
  #46  
Old 25 Jan 2003, 07:39
UnForums2k UnForums2k is offline
 
Join Date: Dec 2001
iv been waiting on this for along time... this is a must install... but i cant find my modules/NS-Your_Account/user/modules/user.php it doesnt exist.... thanx

Last edited by UnForums2k; 27 Jan 2003 at 21:21.
  #47  
Old 25 Jan 2003, 07:41
bharvey42 bharvey42 is offline
 
Join Date: Jan 2002
anybody have an extra vB they want to donate to developing the hack further?
  #48  
Old 27 Jan 2003, 04:32
Rezin's Avatar
Rezin Rezin is offline
 
Join Date: Oct 2002
I'm willing to make a donation to get this moving too.

I'd really like to get this hack going, I have a pretty decently trafficked site (and it's only 4 months old!) and we have some beautiful hacks done (compared to comepeting sites) and this would be the icing on the cake.......

I am also interested in skins and the like. If we have talented peeps here, who could design a smooth skin/theme that would match my site, I am willing to pay for that as well. (emial rezin@cycleforums.com if interested)

Thanks for taking it this far, MANY of us anxiously await the outcome!

Rezin
www.cycleforums.com
  #49  
Old 27 Jan 2003, 05:19
bharvey42 bharvey42 is offline
 
Join Date: Jan 2002
Once I get an extra vB I will start working on some better integration for it. Rezin if your looking for some help on some integration shoot me an e-mail.
  #50  
Old 27 Jan 2003, 17:24
UnForums2k UnForums2k is offline
 
Join Date: Dec 2001
ok im tryin to install this hack but i am lost on the first step of modifing the vb.... iv hacked alot of vbs but i dont know wether to replace the whole thing or what? can anyone clear this up???

and hint for future updates... update your instructions to be more easily read... *just suggestion* thanx

And change everything after the above line up to $action="modify"; (but don't change this line)

Last edited by UnForums2k; 27 Jan 2003 at 17:41.
  #51  
Old 27 Jan 2003, 18:34
UnForums2k UnForums2k is offline
 
Join Date: Dec 2001
also found this on the last step of editing forums/member.php

Near line 919 find the following:

//` put password into PN user table
$pnuser='$bbuserinfo[userid]';
if ($pnuser=1) {$pnuser=2; }
$DB_site->query("UPDATE nuke_users SET pn_pass='".addslashes(md5($newpassword))."' WHERE pn_uid='$pnuser'");
that is obviosly nowere in member.php so were do i add it?
  #52  
Old 15 Feb 2003, 17:12
msimplay's Avatar
msimplay msimplay is offline
 
Join Date: Aug 2002
Originally posted by Nomb
I have our site integrated. Brew did some great work here but I had to change A LOT of things to make this work correctly.

Things I'd still like to do when I have time:

1) Pull avatars over from vB. The php included in this hack was pretty sloppy. I didn't even look into it cause I mainly wanted to get the two integrated so I could open our pN site and allow new registrations.

2) Integrate PM system.

3) Integrate the vB calendar and the pN module Ė PostCalendar.

4) Tighten up the banning integration, that code was somewhat sloppy as well. It was made for moderators, but wasnít setup for admins to simply move a vB user into the banned group.

5) Tighten up User Group integration. If I get this straight banning will be all set as well.

6) Create frames so that vB forms appear in pN. I think there is a module out there called PostWrap Ö dunno havenít looked into this?

Just FYI, this hack creates a channel between vB and pN. Meaning, after it is implemented you will still have 2 mysql databases. Furthermore, user administration, registration, and all other features are done using the vB forms. After one of these vB forms are submitted there are small sql queries that update the pN database to reflect any changes. I donít know about you but I like it this way. As I do more work and tighten up some of the features I mentioned above Iíll post a full release hack, unless someone else finishes one first.

You can check it out at http://www.otllive.com

( :
Hmm with this intergration i see many problems i was considering doing it myself afterall an intergrated site feels the best
but after seeing this site and its Login problems the hack leaves much to be desired
  #53  
Old 15 Feb 2003, 21:15
bharvey42 bharvey42 is offline
 
Join Date: Jan 2002
Like I said still willing to help out.
  #54  
Old 20 Feb 2003, 04:21
Nomb's Avatar
Nomb Nomb is offline
 
Join Date: Nov 2002
Originally posted by msimplay

Hmm with this intergration i see many problems i was considering doing it myself afterall an intergrated site feels the best
but after seeing this site and its Login problems the hack leaves much to be desired
What do you mean login problems?
  #55  
Old 20 Feb 2003, 12:36
msimplay's Avatar
msimplay msimplay is offline
 
Join Date: Aug 2002
Unhappy Go to that site and see

it seems to be out of synch
i login and i get messages ur not logged in when i try to do something
doesn't matter now i suppose Vbportal does the job altho less support its not too bad
  #56  
Old 21 Feb 2003, 13:27
Nomb's Avatar
Nomb Nomb is offline
 
Join Date: Nov 2002
msimplay, you never email verified. You're not going to be able to do anything until you do that. Both at the forums and the main site.
__________________
http://www.teamxbox.com
  #57  
Old 05 Mar 2003, 08:54
dkny dkny is offline
 
Join Date: Aug 2002
anyone still trying to get this to work?
  #58  
Old 21 Mar 2003, 20:08
Hurricane Hurricane is offline
 
Join Date: Mar 2002
I have not had the time, but I am going to get back to making this work. It is very important to me. I almost had it, but had to undo it temporarily.

I will keep my findings posted here.

[EDIT - I have spent the majority of the night working on this. I almost have it. It will take me a little time to write it up though. --GS]
__________________
Hurricane

Last edited by Hurricane; 22 Mar 2003 at 05:20.
  #59  
Old 22 Mar 2003, 14:08
Hurricane Hurricane is offline
 
Join Date: Mar 2002
I got it! I think I have tested everything. I will do a write up asap! Let me be the first to say, this is so sweet!

I want to thank Brew for starting this. He gave me enough info to head in the right direction, and enough errors to make it a challenge!
__________________
Hurricane
  #60  
Old 24 Mar 2003, 02:58
Hurricane Hurricane is offline
 
Join Date: Mar 2002
I am in the process of writing it all up! I should have it ready sometime tomorrow night.
__________________
Hurricane
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 16:04.

Layout Options | Width: Wide Color: