vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   *vb+php-nuke hack* (https://vborg.vbsupport.ru/showthread.php?t=36531)

w4u 03-24-2002 10:00 PM

*vb+php-nuke hack*
 
OK, what i've made:
-----------------------------
hacked 3 vb files, so when user registers, changes his info, or admin is adding user, changes user info, deletes it- all this information goes
into nuke_users table too. and when user changes info in nuke, same info goes into vb's user table (i included php-nuke 5.5 hacked Your_account/index.php)
-----------------------------

note: this hack is running in my site, without any problem :)

btw, i included small install script, which transfers vbulletin users to php-nuke users table

more info in file.........

-----------------------------
Questions? Suggestions?

tested on 2.2.5 too :)

Floris 03-25-2002 08:20 AM

I think a lot of users can really use this ! Nice work man :) Thank you for sharing.

w4u 03-25-2002 08:40 AM

it's just a small step into full nuke and vb integration
(latest nuke+latest vb)

:)

E 03-25-2002 09:11 AM

what does it do... wats the point of the nuke table?

w4u 03-25-2002 09:35 AM

vb and nuke uses diff. users tables (vb- users; nuke- nuke_users)

trainer 03-25-2002 12:49 PM

are we talking vb in one database and nuke in another or both in the same?

w4u 03-25-2002 01:09 PM

currently it supports only one db. if you want to use 'em you must add several lines, so that vb 'll write user info and to other db.

PBC 03-25-2002 06:47 PM

There's already a portal out there that uses the PHPNuke engine and is completely compatible with vB.

It can be found here:
http://www.phpportals.com

Kumaro 03-25-2002 06:59 PM

hey i'm using phpnuke 5.3 > will it work? and also, is the database of users merged or wut?

Sigon 03-25-2002 07:21 PM

Yes that portal costs money if you want help and its called vBportal. At least phpnuke is always coming out with different modules and such. Yeah they aren't the best with releases but hey it works better than vBportal I think. Great hack man nice work.

w4u 03-25-2002 07:22 PM

to pbc: vbportal? :) it based on nuke :) (not the latest version). and, yah- news as threads.... sorry it's not for me. what else?
will you get FULL nuke power? nope nope nope
-----------------------------
to kumaro: i worked with 5.5, so there is only it's Your_Account/index.php file (btw, test it with 5.3 by yourself)
-----------------------------
db's are not merged- point is when user or admin from vb or nuke changes profile- all this info goes TO nuke AND vb tables.

Marshalus 03-25-2002 08:10 PM

vBPortal will always be my weapon of choice, but this hack is very nice too, I was looking for something like it before I found vBPortal and invested $20 in that ;)

DemiNeo0101 03-25-2002 08:16 PM

ohhh. nice :)
I can't wait till i find out how to get the vbb inside the phpnuke :)

dyt4 03-25-2002 09:56 PM

great work

thx ;)

tpearl5 03-26-2002 12:25 AM

This is what I've done with vBP: http://degster.com/midi/

I have no complaints, except for the way some of the templates are setup.

So... if there was another version out there specifically for phpnuke with vB I'd go for it.

WonderBoy 05-29-2002 12:37 AM

Has anyone got this to work with vbb 2.2.6 and postnuke?

ManagerJosh 06-06-2002 08:04 AM

Quote:

Originally posted by w4u
currently it supports only one db. if you want to use 'em you must add several lines, so that vb 'll write user info and to other db.
What addition lines of coding do I need? I have PHP-Nuke 5.5 and VB 2.2.6

Lethal 06-16-2002 05:37 AM

so does this work or what? Do you mean you can use phpnuke to power your site and still have vb for the forums and when a user signs up, does it sign them up for the site and the forums at the same time? If so that would be sweet that is what i am looking for........I was going to use vbportal but if this works, I would rather use phpnuke. Let me know.

ManagerJosh 06-20-2002 06:58 AM

I think this allows a user to register at one place but registered them for both places.

[hhhh] 06-22-2002 12:43 PM

how i can creat module of phpnuke for vbb forum ????

filth 07-02-2002 05:50 AM

Hi

I have been trying for days to get this information but does this hack work on vb2.2.6 and phpnuke 5.6.

If not what extra do I have to do (I wish too know before I embark on it)

Cheers in advance

Peter

bonnmac 07-12-2002 09:23 AM

These are the messages I get when I run the install script.... Any ideas? Thanks :)

Warning: Access denied for user: 'dHRzdHJhZA==@localhost' (Using password: YES) in /home/virtual/site2/fst/var/www/html/transfer_vb_users.php on line 5

Warning: MySQL Connection Failed: Access denied for user: 'dHRzdHJhZA==@localhost' (Using password: YES) in /home/virtual/site2/fst/var/www/html/transfer_vb_users.php on line 5

Table _users deleted!
Table _users created!

Warning: Supplied argument is not a valid MySQL result resource in /home/virtual/site2/fst/var/www/html/transfer_vb_users.php on line 15

You have total users in your vb user table.
Now, we'll transfer them into nuke's table

All users transfered!

VB+PHP-NUKE user transfering install finished!

Visit:
us www.webz4u.com

Lethal 07-15-2002 06:43 PM

well i am very dissappointed in vbportal so I hope this hack works. Can anyone tell me if this hack truly works and works well on vb 2.2.6 please. I guess I am just going to have to use this and php nuke.

Lethal 07-16-2002 04:09 AM

bump, does this work?

big_cheese 07-21-2002 01:55 AM

what lines do I have to add if I would like to have the VB and Nuke DB separte db's?

DrkFusion 07-21-2002 02:07 AM

Lol...was this abandoned...I do not know how to integrate the vb into the module?blah=Forum

so I just moved my forum files into that modules/Forum

lol, it worked too

Zachariah 07-22-2002 02:09 PM

Well I know i am not the guru in PHP and code ... but I got a test server up and will try this out with Nuke5.6 & VB2.6.

ill give ya some info as i get it :D

big_cheese 07-24-2002 08:25 PM

alright well let us know beacuse I have 5.6 and 2.2.6 and Im not sure if it will work. God bless us :P

dreamhost 07-26-2002 12:50 AM

haven't tried this particular hack, but his concept will work. I use postnuke .714 with encompass, and vbulletin 2.2.6 on my website http://www.annointed.net
The idea of having one database is the way to go. We personally use a custom "bridge" to integrate users etc. Basically on our site you register using vb process, which in turn sets user in pn db, and sets the session. At this point we have merged all user db, with the exception of our custom pm and buddy system. That is next. But basically one login, after registration process, through postnuke, and your in both. The only glitch I have that I see, is you don't show logged into vb untill you refresh the forum one time, then your set perfectly. Still working that display bug out.
Our key was writing a bridge, so that neither pn, nor vb db is effected, making upgrades no problem.
I applaud the author of this module, it is not easy, took us weeks, to get our program to work smoothly.

YodaX 07-29-2002 05:03 PM

so anyone tried this with 226 and 5.6?

JoshFink 07-29-2002 05:15 PM

Instead of everyone askin if this work with so and so, why not try it. If you get error messages try to figure out where they are coming from and tweak it.

It's easier to do this than keep asking.

Josh

YodaX 07-29-2002 08:04 PM

I tried it but the server is so slow, If someone let me use a server or a subdomain for a day I could get it going.!

nghiasi 07-31-2002 04:17 AM

lol, Why you or everyone ask would it work> That is a very different and hard question, You will never knwo if it work or not until you try it. Even someone got it work,,,,,, will it work in your server,,,,,,, so the answer is Try it :)

anyway Thanks.
I can use this method to transfer and convert other portal
to cms with VB Thanks.!

YodaX 08-01-2002 12:37 AM

Okay it works I tried it with 5.6 and 2.2.6!

meteore 08-01-2002 01:04 PM

will it works with postnuke ?

dadymac 08-04-2002 08:23 PM

worked like a charm, took some tweaking if you have heavily modded php nuke, cuz now it points to the vbulletin db, its not hard at all to figure out.

i did this with phpnuke 5.2 and vbulletin 2.2.5, and then it still let me upgrade to 5.6, so all i can say is great hack.

ManagerJosh 08-04-2002 08:26 PM

Does it convert all the current Nuke users into vb users? or vice versa?

dadymac 08-04-2002 09:11 PM

copies current vbb users to nuke ones.

ManagerJosh 08-05-2002 07:55 AM

Does anyone have a script that retains my current users, but merges them both into the nuke and vb database?

I have a few thousand users in my nuke db and I don't want to loose them compared to my 200 something users registered in vb.

I don't wnat to loose my vb users nor my nuke users. Suggestions anyone?

KC8SHP 08-27-2002 04:36 AM

I"m curious about people's issues with vbportals? I run it on my site and it runs beautifully.... I love having my news forum show up on my homepage and having the latest post show up on my homepage as quick links to them post. If someone can get Postnuke to do this, I MIGHT consider switching. It would be even better if it would work between two databases. Then I could run Post off of my other server and keep my forums on the server they are registered to....

Just by making one site's users automatically part of a certain user group, it would be easy to create forums only they can see... I'm rambling... Shutting up now LOL...

Chip


All times are GMT. The time now is 01:11 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01445 seconds
  • Memory Usage 1,805KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete