vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   PHP-Nuke & vBulletin integration? (https://vborg.vbsupport.ru/showthread.php?t=35278)

fantom 02-21-2002 05:05 AM

Ok, I am just wondering does this hack (http://www.vbulletin.org/hacks/index...hack&hackid=20) support vBulletin 2.2.2 and php-Nuke 5.5?

I can't download it, since I don't have the licence yet, so I can't really tell... anyone else installed it on vb 2.2.2 and phpnuke 5.5?

Also, the author of the hack (apollyon) is not a registered user on this board at all, so I couldn't even get to him to ask him about this detail...

MibBlack 02-22-2002 02:34 PM

i have this question, too. (but i?m registered ;))

in phpnuke 5.5 is no user.php, but the hack http://www.vbulletin.org/hacks/index...hack&hackid=20 just works with that. help please :(

fantom 02-22-2002 03:38 PM

Well, I am just waiting to find out if this hack works with PHPNuke 5.5 so I can go ahead and purchase a licence for vBulletin... otherwise, if it doesn't work with PHPNuke 5.5 and the latest version of vBulletin, I'm not spending my money on it... cuz I already have 2500 users registered on my site (+ getting 15-20 new users each day), and I don't want to force all of them to re-register again for the vBulletin too.

firestorm 02-22-2002 06:39 PM

yeh, i need it to! :o(

my site only holds 20 people, but its still not gd for them to reregister

MibBlack 02-23-2002 06:08 AM

www.boardbase.de <- vbulletin

www.chefe.mibblack.de/boardnuke <- pn 5.5

it works with pn 5.5 ;), see the member lists (Mitglieder liste)

wakawaka 02-23-2002 02:49 PM

does anyone know how to get the last 10 hack for showing the last 10 posts of vbulletin to show up on phpnuke 5.5? I tried looking everywhere but it no longer works by just putting it on the index.php

firestorm 02-23-2002 03:04 PM

Quote:

Originally posted by MibBlack
www.boardbase.de <- vbulletin

www.chefe.mibblack.de/boardnuke <- pn 5.5

it works with pn 5.5 ;), see the member lists (Mitglieder liste)

Yeh, but do you know where I can get the hack? If so can you add the url, or better still, contact me on msn or icq @ robert_obuch@hotmail.com or 122559445

MibBlack 02-23-2002 03:22 PM

It?s really easy:

go to register.php

dbusername = the username you use for your database
dbpass = the password you use for your database
dbname = the name of your database


replace this:

// ############################### start activate form ###############################
if ($a=="ver") {
// get username and password
if ($bbuserinfo[userid]==0) {
$bbuserinfo[username]="";
}
eval("dooutput(\"".gettemplate("activateform")."\" );");
}

with this:

// ############################### start activate form ###############################
if ($a=="ver") {
// get username and password
if ($bbuserinfo[userid]==0) {
$bbuserinfo[username]="";
}
eval("dooutput(\"".gettemplate("activateform")."\" );");
}
mysql_connect("localhost", "dbusername", "dbpass");
mysql_select_db("dbname");
//empty pn userdb and fill it with fresh userdata
$query=mysql_query("delete from nuke_users");
$query=mysql_query("INSERT INTO nuke_users (uid,uname,email,url,user_sig,pass,user_icq) select userid,username,email,homepage,signature,password, icq from user");
$query=mysql_query("update nuke_users set umode='nested', theme='ExtraLite' ");

mysql_close();


Then FIND:

$DB_site->query("INSERT INTO user
(userid,username,password,email,".$newstylefield." parentemail,coppauser,
homepage,icq,aim,yahoo,signature,adminemail,showem ail,invisible,usertitl
e,joindate,cookieuser,daysprune,lastvisit,lastacti vity,usergroupid,timez
oneoffset,emailnotification,receivepm,emailonpm,op tions,birthday,maxpost
s,startofweek,ipaddress,pmpopup,referrerid,nosessi onhash) VALUES
(NULL,'".addslashes(htmlspecialchars($username))." ','".addslashes($passw
ord)."','".addslashes(htmlspecialchars($email))."' ,".$newstyleval."'".ad
dslashes(htmlspecialchars($parentemail))."','$copp auser','".addslashes(h
tmlspecialchars($homepage))."','".addslashes(htmls pecialchars($icq))."',
'".addslashes(htmlspecialchars($aim))."','".addsla shes(htmlspecialchars(
$yahoo))."','".addslashes($signature)."','$adminem ail','$showemail','$in
visible','".addslashes($usertitle)."','".time()."' ,'$cookieuser','".adds
lashes($prunedays)."','".time()."','".time()."','$ newusergroupid','".add
slashes($timezoneoffset)."','$emailnotification',' $receivepm','$emailonp
m','$options','".addslashes($birthday)."','".addsl ashes($umaxposts)."','
".addslashes($startofweek)."','".addslashes($ipadd ress)."','$pmpopup','"
.addslashes($testreferrerid['userid'])."','$nosessionhash')");
$userid=$DB_site->insert_id();
$user_regdate = date("M d, Y");
--------------------------------------------------------------
AFTER THAT PLACE:

$cryptpass=crypt($password);
mysql_query("insert into nuke_users (uname, email, url, user_regdate,
user_icq, user_aim, user_yim, user_viewemail, pass) values ('$username',
'$email', '$homepage', '$user_regdate', '$icq', '$aim', '$yahoo',
'$showemail', '$cryptpass')");

-----------------------------------------------------------------

The Php Nuke 5.5 Part:

Search in Modules/My Account/index.php
(search for it 2 or 3 times)
This: op=new_user/

and replace the hole link there with:
http://www.yoururl.org/forum/registe...action=signup/



Thats it :)

firestorm 02-23-2002 04:36 PM

can i talk to you on icq, 122559445 , im having a slight problem

DjSap 02-23-2002 05:15 PM

from what ive understood vb3 will be somekind of portal script, so i would wait and see how good it is until u start messin around with integrating phpnuke


All times are GMT. The time now is 09:57 AM.

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.01084 seconds
  • Memory Usage 1,740KB
  • 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
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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