The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vBulletin [2.2.8] and Post Nuke [.7.2.1] Integration Details »» | |||||||||||||||||||||||||||
vBulletin [2.2.8] and Post Nuke [.7.2.1] Integration
Developer Last Online: Dec 2012
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: https://vborg.vbsupport.ru/showthrea...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 Show Your Support
|
Comments |
#32
|
|||
|
|||
OK, I think I have a problem here! In the docs it says:
Code:
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 completes the hacks for forums/member.php! EDIT-- It looks like another problem: Code:
In the PostNuke file modules/NS-Your_Account/user/modules/user.php find the following near the top:
function edituser($htmltext)
{
$ThemeSel = pnConfigGetVar('Default_Theme');
Sorry guy, this really needs some work. And I know the sad part is that I am sure you have put many, many hours into it. You are close, but it has issues. |
#33
|
|||
|
|||
For anyone thinking about doing this, be patient. I am working on some corrections and update install file. I tried to contact Brew, but never got a reply. It is a nice setup. I have also done it with a fully populated VB and moved my members to postnuke.
Sit tight I will post my findings soon! |
#34
|
|||
|
|||
Does this mean that we can integrate, VB with PHP nUKE??
regarding the users registerations and latests topics..?? |
#35
|
|||
|
|||
Quote:
IT WORKS WITH POSTNUKE. If you use phpnuke and really want this to work upgrade to PostNuke. |
#36
|
|||
|
|||
I've tried using this hack with no luck. I had the same problems that Hurricane was talking about. There are things that aren't quite right with the install file.
Brew, where ya at man? This hack is huge ... if you get it done!!! |
#37
|
||||
|
||||
I'm going to be looking at this hack in a week or so. If I figure it out I'll post here. If Brew get's back and fixes it ... Woohoo!
( : |
#38
|
|||
|
|||
Hello guys, I just did this hack and it worked! Is there a way we can make it so that all PN users who sign up on the site can post on the forum as well with the same username? The hack only ports the users over, so if new users were to sign up afterwards, it wouldn't work. Is there a way we can make it so that all PN users can post on the forum as well with the same DB?
|
#39
|
|||
|
|||
I have successfully tied them together! (Well for a while anyway) There are quite a few bumps in this project and I am still working through it. I have just been quite busy. I have all the scripts for moving the members from vBulletin into Post Nuke. As soon as I can get my sh*t together I will post it all here. This is a wonderful hack. Another MAJOR change I made was to keep the databases seperate. It is more load on the server as it has to do more queries, but it is worth it.
Let's keep this alive! |
#40
|
|||
|
|||
Quote:
|
#41
|
|||
|
|||
where is this file:
modules/NS-Your_Account/user/modules/user.php i dont have it |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|