YaBB SE Community

Development => Completed mods => Topic started by: [Unknown] on June 22, 2003, 09:00:43 PM

Title: [Alpha 1.5.4] phpNuke Integration 0.2
Post by: [Unknown] on June 22, 2003, 09:00:43 PM
PLEASE note that this is an alpha.  All this does is allow you to install YaBB SE as a module and use it...
It also uses phpNuke's cookie.  However, do be sure to remember - you still have to register in both places with the same username and password.  You may have to attempt to login to the forum, so it can convert your YaBB SE password to phpNuke's encryption.

Use this at your own risk.  This is not complete, and is only some of what is needed - far from complete, and only barely usable.

I'd like to thank Andrea for giving me information on how to do this, and encouraging me to do it.  Of course, I haven't gone very far with it... but I/someone else may.

Package Server: http://unknown.network32.net
Boardmod: http://unknown.network32.net/phpnuke.zip

Not that this ONLY makes changes to YaBB SE - phpNuke is left alone.  This is done so you can use the YaBBpak Center, which I adore ;).

-[Unknown]
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: oldiesmann on June 22, 2003, 10:40:55 PM
Not that this ONLY makes changes to YaBB SE - phpuke is left alone.  This is done so you can use the YaBBpak Center, which I adore ;).

-[Unknown]

lol... (hint: p-h-puke)
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: [Unknown] on June 22, 2003, 11:02:30 PM
lol... (hint: p-h-puke)

My mistake, now fixed.

Tried it at all?  If no one's interested, I won't continue it.

-[Unknown]
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: Surfy on June 23, 2003, 04:44:45 AM

a very cool Idea :D

It would be very cool, to use only one registration. Without this, something like faBB works better i think.

Please do this mod  :-* I hope you can use same registration for both  :D

Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: BiErLeEuW on June 23, 2003, 05:01:44 AM
the idea is very nice! have u got a Demo place so we can look before installing it?
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: andrea on June 24, 2003, 12:04:54 AM
Wow, thanks [Unknown]. I will test this mod asap.  :)
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: BiErLeEuW on June 24, 2003, 01:51:37 AM
can you plz put the url of your testing andrea for my first look :) if it's nice i will intergrade it to my new site!
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: [Unknown] on June 24, 2003, 02:01:14 AM
Demo phpNuke install: http://unknown.network32.net/demos/phpnuke/

Step by step instructions...

1. Install YaBB SE to /modules/Forum normally... with the same username you have for phpNuke.
2. Change you $boardurl to the url of phpNuke.
3. Go to the package manager and install the mod.
4. You'll be logged out.  Don't worry - log back in.
5. Done... they work fine together.  Now just edit the forum template and activate the module.

-[Unknown]
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: lilb on June 25, 2003, 01:45:20 AM
[Unknown], you're my hero!   :-*  :-*

I'm about to go ahead and test it out in the next day or so...I am a diehard YaBB fan, but I've also fallen in love with the diversity and usefulness that the nuke offers.  I run a webmaster message board, and the ability to offer news, industry events, etc., in addition to the forum is something I'd like to do for my members.

Honestly, I've got the nuke installed and ready to go, but have dreaded having to manually re-register all my members (they're spoiled, what can I say..lol!) just so they wouldnt have the cookie/session issues that I experience from time to time from working with the 2 seperate databases.  

I've been practically begging the PHP gods  every day, to be kind, and to send me somebody that would write this script for me!  

I'm curious, though....is it going to be at all possible to import my current board stats/users etc?  or am I gonna have to do a fresh install and start from scratch?  (thats what I'd have to do anyhow, but I want a YaBB, dammit!)

Thanx [Unknown]!  I'll be sure to let ya know how things work out!
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: [Unknown] on June 25, 2003, 02:10:55 AM
Currently, you have to register in both places.... but, as I said - if there are people who want me to continue the mod (such that the same memebr table is used, maybe some other things...) I will....

And you seem to want me to, so I will work on it...

But, you might have to wait a week - I'm going on a weeklong trip in which I won't touch the internet... probably.... I think.

Anyhow, I will work on this when I get back.

Thanks for the encouragement,
-[Unknown]
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: 1979Z28 on June 25, 2003, 05:38:46 AM
I too would like to see more work on this :D I hadn't known of PhpNuke until I saw this mod out there, but it looks pretty interesting. I'd love to be able to have the two of these together :D
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: lilb on June 25, 2003, 12:44:23 PM
Currently, you have to register in both places.... but, as I said - if there are people who want me to continue the mod (such that the same memebr table is used, maybe some other things...) I will....

And you seem to want me to, so I will work on it...

But, you might have to wait a week - I'm going on a weeklong trip in which I won't touch the internet... probably.... I think.

Anyhow, I will work on this when I get back.

Thanks for the encouragement,
-[Unknown]
I'm assuming that the dual registration is when one does a fresh install of the yabb.  that was an issue I faced just about a year ago, the first time I tried to integrate the 2.  But, I had only iframed the current board, not actually made it a nuke module.

Needless to say, that lasted about a minute...as soon as my spoiled-webmaster members started whining about having to login to 2 seperate places plus having to do a new registration for the nuke, I put the project on the back burner, and went back to using just the YaBB.  

The end result was major cookie issues that my non-geeklike members had no clue how to fix...and that in turn made for extremely looong ICQ sessions between my members and myself on how to fix the problem.  But, I live and breathe for them, so I surely didnt mind!   :)

Since then, I've relentlessly quested for a solution - a solution that wasn't  (no offense folks) an eztarch, a pfabb, a yapp, or a ttcms.  These are all wonderful scripts, but they just dont do everything I need them to...

just like I gotta have my YaBB, I gotta have my nuke, and will wait forever and a day for the integration of the two to happen seemlessly!   ;D

Yes, I certainly would appreciate your continued work on this!  But, take your break from the "evil box" that I'm quite sure you're more than overdue for.  I've waited a year already...waiting one more week or even a month is definately no big thang!

You've taken on quite the challenge, [Unknown]...kudos!  
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: PZ on June 25, 2003, 11:06:27 PM
Yes! Please! I'm just not much of a phpBB forum fan. I had to Iframe my Yabb Board into my Portal ::)

Please continue. I'll be lurking around waiting patiently (http://www.pzsweb.com/nuke/images/qshoutblock/smilewinkgrin.gif)
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: onzinnet on June 26, 2003, 09:44:24 AM
i'm also very interested. it looks kinda cool to me, because i ador yabb... its so much better than phpbb
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: Toon Dawg on June 26, 2003, 03:22:39 PM
I would definitely be interested in this!!   :D
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: gandolphxx on June 26, 2003, 09:33:34 PM
This is quite interesting - seems to be an alternative to pfabb which seems to be taking forever to get a news content portion.
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: lilb on June 26, 2003, 10:34:37 PM
Hmmmm...I was thinking...

Would it be possible to, say, do a fresh install of a YaBB in a newly created directory and populate the database with the info that i have for my current board (except not the info that tells the yabb which tables to read from), and then run the mod?  It makes sense that I wouldnt be losing any of my info in the conversion, nor would I be  running the risk of my current board taking a nosedive on me.  

Just thinking aloud...   :)
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: Nerd3d on June 26, 2003, 10:56:46 PM
Goooo! yes yes. This is what I've been waiting for. I want to build a "managed" site ani I wan to use YaBB.
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: lilb on June 26, 2003, 11:18:42 PM
well, I've decided to test my theory this evening...will let you know if its sucessful, or if I kill my current board...lol!
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: docbones on June 27, 2003, 06:46:57 AM
I am interested very interested, been waiting along time for this, I hope you continue with it. thanks. ::)
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: Guardian2003 on June 27, 2003, 07:58:09 AM
Me Too!
I used Yabb when it first went into Yabb SE release and it was fantastic.
I only changed because I need a portal to fulfill my needs.
If you can get these two to work seamlessly, then I would be one among many to use it.

Another consideration would HAVE to be the ability to move posts from the current php nuke board into Yabb, not eveyone will be happy to lose all their valuable posts.
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: lilb on June 27, 2003, 11:40:29 PM
Well, so far so good....well, as far as installing the mod goes anyhow.  Beyond that, ohhh boy, there are definately bugs to work out.

[Unknown] is probably gonna not like me by the time he gets back, hehe...he'll have a whole list just starin him in the face, waitin for his hero-like expertise.   ;D

Heres what I've done so far, and the problems that have arisen...

1. I found out that this mod will not work with a myphpnuke.  That was what I originally had installed...but it was lame anyhow, so I did a fresh install of Nuke 6.5 (minus the /modules/Forums/*.*).  In place of the phpbb, I installed the YaBBSE.

2. After the YaBB was in, I went to the package server and got the mod and ran it as per instructions.  Yes, it did indeed integrate the yabb ito the nuke modules!  I clicked on "Forums" from the modules menu, and voila, there it was!  But...it was also telling me i had to login...

3. I clicked "Login"....ummm, and I ended up on my 404 page.  Same thing when I clicked "Register".

Here's the errors:
login -  it *should* be taking me to
/modules/Forums/index.php?board=;action=login

 but instead it takes me to
/modules/Forums/modules.php?name=Forums&board=;action=login

register - *should* take me to
/modules/Forums/index.php?board=;action=register

but instead, it takes me to
/modules/Forums/modules.php?name=Forums&board=;action=register

and now, I'm really really tired...lol..so I aint gonna mess withthis no more tonite.  siiigh!

But...It DOES work!

*doin a little snoopy dance!*
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: Darkone on June 29, 2003, 01:09:35 AM
WOW YaBB & PHP-Nuke?
now this is a good thing, i love YaBB & PHP-Nuke
Great idea, yes please continue the work :)
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: lilb on June 30, 2003, 05:49:28 PM
HA!  I do believe I figured out just how to possibly fix the little problem of the login and register (as well as any other actions from the menu)!  

the mod is not properly changing the info that the mysql database receives in the way of URL's that these buttons link to...rather than a link to /modules.php I'm thinking it should be /index.php because that's what exists in the directory, afterall.  

Off to test my theory...thank the gods for phpmyadmin, i tell ya!  :P
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: tmcguire on July 01, 2003, 08:25:04 PM
YESS!!! FINALLY SOMEONE STEPS UP THE PLATE!!

I would gladly offer hosting space for this mod.

-T
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: sol812 on July 02, 2003, 06:00:19 PM
this subject is a very hot one -  a lot of people have ask for YABB support to intergrate into most famous portal systems - I have seen a lot of questions been made -

I have a big network of school system with many yabb board   PHP and PERL vertions - I know we wait also here for PHP nuke / Post nuke support - and we also hope later other cms systems will be supportet  . 1 company I was surprise about - and made a very fast and honest support was from http://www.envolution.com  a new CMS - shut be 98% postnuke compatible with modes and thems - and have a professional steff behind the carpet -  also MYPHPNUKE.com is a strong performer -

KEEP the good work going - we will do out job from here make yabb even more famous - and thanks to all staff people with yabb who help make this possible -

kind regards
sol812
my bbs : http://www.sol812.com ( powered by perl)
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: lilb on July 02, 2003, 08:20:08 PM
 >:( well, that theory sucked!  >:(
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: [Unknown] on July 03, 2003, 03:01:31 AM
>:( well, that theory sucked!  >:(

No.... It should NOT be index.php.  It's supposed to be modules.php.

I built it to work for /modules/Forum/ but Forums *might* work.  I really dunno, I said "at your own risk".

Umm, anyhow... it should be off modules.php.  If not, the mod was not completely installed.  This is a requirement for proper phpNuke integration.

-[Unknown]
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: lilb on July 04, 2003, 11:27:20 PM
[Unknown] - was jsut one of my "bright ideas that didn't work" type things..lol!  I do understand that it should be and why it is off modules.php.  I actually did get it to work for a minute...till it asked me to log in, and the menu buttons werent properly routed.    and the nuke folder *is* Forums...maybe the missing "s" could be helpful if added.

Just thinking out loud...  ::)
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: rito2k on July 05, 2003, 05:22:04 AM
Hi everybody there!

Maybe remember me for having the Yabbse Help translated to Spanish a time ago, but thats only a simple note.

I recently heard about this project and the needed support to make the Yabbse integration into PhpNuke as a module. Do you have any idea of how much time I've been waiting this great idea??

With a community of more than 2500 users in my web, I still use my lovely Yabbse forum, but had been thinking of moving it to Phpbb just because of its integration into PhpNuke.

Having heard about this project has opened a ray of light for me in this dark world of php-webs.

The answer is: YES!! My support to this great idea is given since now, and just mail me if any help needed for testing the many releases till the final one.

No problem 4 me of course of having the module translated to Spanish, just let me get to know. I'm really looking forward of having this great forum in my nuked site. Go on man!
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: lilb on July 05, 2003, 05:02:47 PM
well [Unknown], looks like ya got a boatload of folks supporting ya, huh?  This is something that many of us have been waiting for, for what may seem like eons.  

When ya do finally finish, you'll be the hero of millions!   ;)
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: jack-uk on July 07, 2003, 01:30:12 PM
Unknown, you must be prescient .. only days after doing yabbse/coppermine integration, the peeps on my board only go & throw in PHP Nuke as well

/me saw more sleepless nights writing integration stuff

Now I've gotta figure out how PHPNuke works now  ::)
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: lilb on July 07, 2003, 04:32:18 PM
Jack - PHPNuke is da BOMB!!  it's also relatively easy to administer...and with a YaBBSE integrated into it, well, life just wont be able to get any better than that!   ;D
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: groundup on July 08, 2003, 08:57:03 PM
Jack - PHPNuke is da BOMB!!
please don't ever say that again. Nuke sites are the reason why the internet is flooded with crappy sites and people thinking they are experts in fields where they have no knowledge (HTML, programming, SQL, etc). I have 100x more expertise than 99.9% of them and I still don't consider myself an expert/guru/advanced person in those fields.

/me runs to the bathroom to wash his mouth out with soap after using so many 'potty-words' such as Nuke and PHPNuke
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: Nerd3d on July 08, 2003, 10:27:04 PM
Is's not *nukes fault that the net is flooded with crappy sites. I've seen plenty of crappy sites that weren't *nuke sites and some really fine sites running *nuke.

The real problem is the lack of skill you mentioned.

I blame lame WYSIWYG development tools that generate poor/proprietary code for the code blight on the net. If they only knew the most important site on the net, w3.org
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: groundup on July 09, 2003, 02:09:46 AM
nope.. I am pretty sure nukes have atleast 50% of the blame :P
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: BiErLeEuW on July 09, 2003, 07:38:25 AM
I think i will wait for 1.6.0 because it says it would be possible with a portal template
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: lilb on July 09, 2003, 01:15:15 PM
Nuke sites are the reason why the internet is flooded with crappy sites and people thinking they are experts in fields where they have no knowledge (HTML, programming, SQL, etc).
Sorry, but I have to disagree with ya, groundup...It isnt the fault of the script, but rather of the script administrators...Ya can't blame a script for having no sense of fashion or for the ill-conceived contents within the domain itself.  The script does it's job as perfectly as it was written to do...

Just think...with a nuke, at least people can present a half-way decent site that is consistantly themed throughout, which is much more deal-able than say, a site that you might find in the hometowns of aol, or yahoo...or geocities...now ya wanna talk no html knowledge, and some gods awful lookin sites!  Just take a tour of these places..lol!

I have 100x more expertise than 99.9% of them and I still don't consider myself an expert/guru/advanced person in those fields.
Well, personally I've found that not having this sort of expertise is mostly why people are using the nuke script.  "Insta-Site in a Box!" is what I've become fond of calling it...and because its soooo easily installed and administered, people without a clue are just flocking to use it.

I'm a FAR cry from an expert/guru but I tend not to look down on those that are even less educated or web savvy. than me...every newbie has to start somewhere, and if I have opportunity to help in furthering their knowledge, I'm more than glad to help out and share what I know.  Especially when the end result of that sharing turns out to be a site that isnt quite as hideous as it coulda been...lol!

Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: David on July 09, 2003, 01:22:06 PM
every newbie has to start somewhere, and if I have opportunity to help in furthering their knowledge, I'm more than glad to help out and share what I know.  Especially when the end result of that sharing turns out to be a site that isnt quite as hideous as it coulda been...lol!
Amen to that
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: Topiatic on July 09, 2003, 02:06:33 PM
Hi,

First of all cudos Lilb.

Second... would it be all that difficult to make this work with PostNuke as well?

Thnx in advance.
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: groundup on July 09, 2003, 02:36:16 PM
Isn't postnuke perl? I would think it would be slightly harder
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: Worzel on July 09, 2003, 03:37:07 PM
No PostNuke is PHP too and in my opinion it's better  ;) . This is a great idea keep up the good work.  :P
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: [Unknown] on July 09, 2003, 03:42:20 PM
Alright, long story short - I'm parched for time and won't be able to work on this for a little while.

But, my plans are:
- include a default template that looks okay in phpNuke.
- look at postNuke and see if I can do one for that.
- figure out which version of phpNuke this mod requires.
- figure out some method of profile shadowing...
- coregistration - auto-register in both places.
- check if phpBB converter can be used to convert existing posts/topics/boards.

-[Unknown]
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: jack-uk on July 09, 2003, 05:18:55 PM
- figure out some method of profile shadowing...
- coregistration - auto-register in both places.

I've started looking at this aspect (to be honest, I'm not too fussed about running Yabbse as a module, I just want 'single sign-on'. If I get it going in any reasonable time, I'm more than happy to donate it to your mod if you want, Unknown.

However, PHPNuke seems a lot more confusing code-wise thatn yabbse - is it just me, or are there no less than three authentication routines (admin, user & forum) ?

Does anyone know where I can get an overview of what does what in the code, or am I just gonna have to go through the hard slog of figuring it out ?
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: [Unknown] on July 09, 2003, 05:24:49 PM
Single signon - that's this mod.  It does it already.  If that's what you're doing, you're too late :P.

-[Unknown]
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: jack-uk on July 09, 2003, 05:31:22 PM
Sorry, I meant to only have one 'account', single registration, one authentication secret, synced user ids and all that.

Many of our users can't seem to figure out the 'delete' button in coppermine ::) so I want o make things as simple for them as possible.

I'm probably going to attack it more from the Nuke sside than Yabb, though .. initial ideas include having nuke authenticate the user against the Yabbse cookie & load relevant bits from both it's and yabbse's user tables.
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: [Unknown] on July 09, 2003, 09:08:12 PM
Well, I suppose if you're gonna do it, I need not bother.

-[Unknown]
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: Topiatic on July 10, 2003, 10:20:58 PM
Ok I bite  ;D, sounds too good to be true but I'm "sure" the registration can't be THAT different.

And too be honest I was only looking for that as well. I don't much like the idea of cramming a forum like this... hard on the eyes.

Will let you know what I find when I look.
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: Feho on July 14, 2003, 01:35:30 PM
It's a great idea, this mod!  I don't use any portal system, but some of my fiends do, and they are "obligated" to use  PhpBB because it is the only forum they know...  With this mod, probably more persons will use YaBB SE!
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: lilb on July 14, 2003, 11:49:49 PM
[Unknown] - why wouldnt ya do it?  why not bother with something  just because others offer help?  c'mon dude...I'm sure you're bogged down and could use some outside perspective on some things, no??

I found something that needs to be done...err, i should say, added to the mod.  all the forum settings links, and their submit buttons to change things need to be set to run outta the modules.php, just like the rest of the stuff that changes with the mod.  because the way it sits right now, clicking a link outta admin puts ya back at the board index.  I know that it has to do with the $cgi function located in subs.php (least i think so..lol!)

take for instance this link:  http://www.mydomain.com/modules.php?name=Forums&?action=managecats

it should read:
http://www.mydomain.com/modules.php?name=Forums&board=;action=managecats

I've tested this out...by changing the action in my address bar, I'm able to access these areas...course, i cant change anything because the submit buttons dont go where they're supposed to, lol

i know the mod changes the $cgi, but I believe there's a set of quotation marks out of place, so it doesnt change it properly (i've played with it way too much..i need an outside perspective, heh!)  it doesnt change it to: board=;  it leaves the question mark in there.  and as to the submit buttons, the script calls for . $scripturl .  shouldnt it be . $cgi .?

Just my perspective on things....   ;)
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: [Unknown] on July 15, 2003, 02:54:23 AM
No, no... it should be solving this.  Are you sure you didn't mess up the mod?

   if (substr($QUERY_STRING, 0, 12) == 'name=' . $module_name . '&?')
      $QUERY_STRING = substr($QUERY_STRING, 12);

Should fix that issue.  See?  It removes everything before and including name=Forum&? and then parses the querystring.  This makes it act normal, although the links are odd.

-[Unknown]
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: lilb on July 15, 2003, 05:37:17 PM
yes, I'm sure I didnt mess up the mod, silly!  how could I when all I did was install it as per your instructions?   ::)

But I'm tellin ya, trying to link to anything in the admin area puts me back at the board index.  If ya wanna, hit me up on ICQ, and I'll show ya...and I can show ya my files, too.  that is, if ya want....
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: [Unknown] on July 15, 2003, 05:53:42 PM
This URL works perfectly for me:
http://unknown.network32.net/demos/phpnuke/modules.php?name=Forum&?action=editnews

Step 1. It gets this in the QUERY_STRING:
name=Forum&?action=editnews

It notices that it starts with 'name=Forum&?' and removes that part.  Now QUERY_STRING is:
action=editnews

It then parses that string, coming up with:
$action = 'editnews';

Which works fine.  If, however, something went arye with the modification to QueryString.php, it may not do this - in which case:
$?action = 'editnews';
Which would do little good.

-[Unknown]
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: lilb on July 15, 2003, 06:59:12 PM
[Unknown] IS THE HERO OF THE DAY!  

heh, well, at least to me, he is!  by changing 2 lines in QueryString.php, I now have a fully functional YabbSE within a Nuke!  WOOHOO!!!  ya rock, dude!!!
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: jami on July 18, 2003, 02:39:57 PM
only the index page works. with every links I get 404
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: [Unknown] on July 18, 2003, 02:55:42 PM
only the index page works. with every links I get 404

Then you did something wrong.  Make sure you're accessing it via modules.php?name=Forum or soemthing.

-[Unknown]
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: jami on July 19, 2003, 03:19:27 PM
re-modded and re-installed.

it's working better, but with some problems:

the links to board and post redirect to the forum's index page ( for example http://localhost/nuke/modules.php?name=Forums&?board=1 ) and the amministration link after loading the page for 1 second redirect immediately to index page.

when trying to modify the profile the ansewr is : Sorry, such file doesn't exist...

but if you're demo is running, this mean I've did something wrong again. To me it seems something in the settings, not in the modding...

plus: why have login and logout in the forum if this operations aren't working and all it's done with phpnuke?
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: jami on July 22, 2003, 03:22:19 AM
Second post but with different content...

Dear [Unknown], you're the only one who cares about this mod, don't stop.

By the way, there' s something wrong with you're demo:
I've tried to register in the Forum ( and now i'm the latest member ) but

Code: [Select]
2: mail() [function.mail]: SMTP server response: 550 User not local. Authentication required for relay
(G:\Inetpub\unknown\www\demos\phpnuke\modules\Forum\Sources\Subs.php ln 453)

So now I'm a forum member ( to post in Issues ) but i can't login both nuke ( module inactive ? ) and yabb.
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: [Unknown] on July 22, 2003, 11:15:20 AM
Darn.  I took everything offline because I didn't want to bother with it...

Alright, I'll see what I can do.

I don't have a lot of time on my hands as current, is all.

-[Unknown]
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: Purple Raine on July 22, 2003, 03:33:07 PM
This, in my humble opinion, could possibly be the single-most groundbreaking mod in yabbse history if you follow through with it and make something that works.

I for one am very interested in it, and would love to see it completed.

I would also like to see others help!  =)
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: [Unknown] on July 22, 2003, 04:15:37 PM
Well, I've dropped it for now for a couple reasons.

 - I'm working on other things, notably the next version of YaBB SE.
 - If I finish that, I'll have to totally rewrite anything I do here for that version.
 - I'm wondering how many options need to be in the BLIMEY DATABASE MODIFIER for this too.

-[Unknown]
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: David on July 22, 2003, 04:38:03 PM
I would like to see this integration, along with XOOPS, to go along with the release, or shortly after, of our upcoming 1.0 version under the new name.  ;)
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: lilb on July 27, 2003, 01:22:33 AM
I would like to see this integration.....
David?  ummm, you can actually...well I mean, ya can see the Nuke integration part.  As I stated in an earlier post, I do have a fully functional YaBBSE within my nuke.  

However, for various reasons that I dont wish to explain publicly, I'm going to have to ask that you contact me either via ICQ, or thru a private message here in the forum in order to obtain the link.  I will make the necessary explanations then....[Unknown] is aware of what they are, and I'm sure he would totally agree with my request...wouldn't ya [Unknown]?

I look forward to hearing from you....

Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: David on July 27, 2003, 01:44:43 AM
I think you misunderstood me.  I would like to see an official phpNuke and XOOPS modules along with the next release.
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: [Unknown] on July 27, 2003, 01:47:36 AM
Yeah, I'll work on them.  I don't know about *at the same time as* the next release.... but, I definitely will make sure to get some of that stuff underway - even if I'm not personally doing it.

-[Unknown]
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: lilb on July 27, 2003, 01:50:35 AM
I think you misunderstood me.  I would like to see an official phpNuke and XOOPS modules along with the next release.
Yes, I suppose I did misunderstand you, then...

My apologies...it's getting rather late here in Cali...
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: Nerd3d on July 27, 2003, 02:02:41 PM
This is good news. With my sporadic following of this thread I misunderstood [Unknown] to mean this mod was being abandoned.

I would like to use YaPP/pFaBB/Enigma but it seems it is quite  a way from a "release" version.
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: TMike on September 29, 2003, 07:31:39 PM
Hiho,
I need your help!!

I installed Yabb Se and PHPNuke on my system, but after the modding, all I get is a white screen!

No Error Message!

What can I do??

PLZ Help me. THX
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: Harm on October 14, 2003, 04:04:50 AM
I think it will be great if Yabb en phpnuke can work together!

I will integrate Yabb in Phpnuke and give support!!

Thankxx!!
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: FaSan on October 16, 2003, 06:26:27 PM
I have made a modification on PHPNuke so that it can read the cripted password of YabbSe..

In practical enough copying the algorithm of the jam used in YabbSe and replacing it to that one of PHPNuke.

If interests I posted it.


Excuse My Little English...



FaSan
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: lilb on October 22, 2003, 03:36:04 AM
FaSan, I'd be really interested in seeing waht youve done!!
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: Harm on October 22, 2003, 08:00:43 AM
Hi FaSan,

I´m also really interested in the mod!


Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: FaSan on October 23, 2003, 04:37:05 PM
Ok !! This Is the Modification on PHPNuke 6.7 / 6.9 :


/MainFile.php
Quote
<Search>
?>
</Search>

<Add Before>
// MD5 Encryption
function md5_hmac($data, $key)
{
   if (strlen($key) > 64)
      $key = pack('H*', md5($key));
   $key  = str_pad($key, 64, chr(0x00));

   $k_ipad = $key ^ str_repeat(chr(0x36), 64);
   $k_opad = $key ^ str_repeat(chr(0x5c), 64);

   return md5($k_opad . pack('H*', md5($k_ipad . $data)));
}
</Add Before>

/Admin.php
Quote
<Search>
$pwd = md5($pwd);
</Search>

<Replace>
$pwd = md5_hmac($pwd, strtolower($name));
</Replace>

/Auth.php
Quote
<Search>
$pwd = md5($pwd);
</Search>

<Replace>
$pwd = md5_hmac($pwd, strtolower($aid));
</Replace>

/Admin/Modules/Authors.php
Quote
<Search>
$chng_pwd = md5($chng_pwd);
</Search>

<Replace>
$chng_pwd = md5_hmac($chng_pwd, strtolower($chng_aid));
</Replace>

<Search>
$add_pwd = md5($add_pwd);
</Search>

<Replace>
$add_pwd = md5_hmac($add_pwd, strtolower($add_aid));
</Replace>

/Admin/Modules/Users.php
Quote
<Search>
$cpass = md5($chng_pass);
</Search>

<Replace>
$cpass = md5_hmac($chng_pass, strtolower($chng_uname));
</Replace>

<Search>
$add_pass = md5($add_pass);
</Search>

<Replace>
$add_pass = md5_hmac($add_pass, strtolower($chng_uname));
</Replace>

/includes/usercp_register.php
Quote
<Search>
if ( $row['user_password'] != md5($cur_password) )
</Search>

<Replace>
if ( $row['user_password'] != md5_hmac($cur_password, strtolower($username)) )
</Replace>

<Search>
$new_password = md5($new_password);
</Search>

<Replace>
$new_password = md5_hmac($new_password, strtolower($username));
</Replace>

<Search>
if ( $row['user_password'] != md5($cur_password) )
</Search>

<Replace>
if ( $row['user_password'] != md5_hmac($cur_password, strtolower($username)) )
</Replace>

/includes/usercp_sendpasswd.php
Quote
<Search>
SET user_newpasswd = '" . md5($user_password) . "', user_actkey = '$user_actkey'
</Search>

<Replace>
SET user_newpasswd = '" . md5_hmac($user_password, strtolower($username)) . "', user_actkey = '$user_actkey'
</Replace>

/Modules/Your_Account/index.php
Quote
<Search>
$new_password = md5($user_password);
</Search>

<Replace>
$new_password = md5_hmac($user_password, strtolower($username));
</Replace>

<Search>
$cryptpass = md5($newpass);
</Search>

<Replace>
$cryptpass = md5_hmac($newpass, strtolower($username));
</Replace>

<Search>
$old_crypt_pass = crypt($user_password,substr($dbpass,0,2));
$new_pass = md5($user_password);
</Search>

<Replace>
$old_crypt_pass = crypt($user_password,substr($dbpass,0,2));
$new_pass = md5_hmac($user_password, strtolower($username));
</Replace>

<Search>
$db->sql_query("LOCK TABLES ".$user_prefix."_users WRITE");
$user_password = md5($user_password);
</Search>

<Replace>
$db->sql_query("LOCK TABLES ".$user_prefix."_users WRITE");
$user_password = md5_hmac($user_password, strtolower($username));
</Replace>



**** This modification is for Forum PHPBB Integrated On PHPNuke ****

/Modules/Forums/login.php
Quote
<Search>
$row['user_password'] = md5($password);
</Search>

<Replace>
$row['user_password'] = md5_hmac($password, strtolower($username));
</Replace>

<Search>
if( md5($password) == $row['user_password'] && $row['user_active'] )
</Search>

<Replace>
if( md5_hmac($password, strtolower($username)) == $row['user_password'] && $row['user_active'] )
</Replace>

/Modules/Forums/Admin/admin_users.php
Quote
<Search>
$password = md5($password);
</Search>

<Replace>
$password = md5_hmac($password, strtolower($username));
</Replace>


Now you must copy in the DB Users of PHPNuke the Password of Users YABBSE and This is OK  ;) ;D 8)


FaSan
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: FaSan on October 27, 2003, 02:51:59 AM
If you want use the integration's mod you need another changes in YabbSe sources.

Now i've a portal with phpnuke e yabbse integrated but need two operation of login. One on portal and one in yabbse forum, but the forum work right.

I've change the mod of Unknow because is not working correctly with nuke 6.9

I posted the change later.


Bye, FaSan
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: Harm on October 27, 2003, 11:55:52 AM
Hi FaSan,

I tried to use your mod but it is indeed not working properly.

I wait untill you post the new mod.

Thanx,


Harm
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: FaSan on October 27, 2003, 07:03:32 PM
Hi FaSan,

I tried to use your mod but it is indeed not working properly.

I wait untill you post the new mod.

Thanx,


Harm



The module is born in order to make that PHPNuke it is able to reading the cripted passwords of YabbSE without integration (if as an example you have 2000 customers and you do not want to make to record newly them).  


The Unknown's mod modification:

Quote
<edit file>
index.php
</edit file>

<search for>
$types_to_register = array('GET', 'POST', 'COOKIE', 'SESSION', 'SERVER');
</search for>

<replace>
$types_to_register = array('GET', 'POST', 'SESSION', 'SERVER');
</replace>

<search for>
include_once("QueryString.php");
</search for>

<replace>
if (!eregi('modules.php', $PHP_SELF))
   die ('You can\'t access this file directly...');
$module_name = basename(dirname(__FILE__));
chdir('modules/' . $module_name);

include_once("QueryString.php");
</replace>


<edit file>
QueryString.php
</edit file>

<search for>
if (strlen($QUERY_STRING) > 0)
{
</search for>

<replace>
if (strlen($QUERY_STRING) > 0)
{
   if (substr($QUERY_STRING, 0, 12) == 'name=' . $module_name . '&?')
      $QUERY_STRING = substr($QUERY_STRING, 12);
</replace>


<edit file>
Sources/Admin.php
</edit file>

<search for>
is_admin();
</search for>

<replace>
yabbse_is_admin();
</replace>


<edit file>
Sources/Errors.php
</edit file>

<search for>
   is_admin();
   $yytitle = $txt['errlog1'];
</search for>

<replace>
   yabbse_is_admin();
   $yytitle = $txt['errlog1'];
</replace>

<search for>
   is_admin();
   if ($delall)
</search for>

<replace>
   yabbse_is_admin();
   if ($delall)
</replace>


<edit file>
Sources/Load.php
</edit file>

<search for>
function LoadCookie()
</search for>

<replace>
/* On Include  insert the root path of PHPNuke/mainfile.php

include_once ("/mainfile.php");

function LoadCookie()
</replace>

<search for>
// MD5 Encryption
function md5_hmac($data, $key)
{
   if (strlen($key) > 64)
      $key = pack('H*', md5($key));
   $key  = str_pad($key, 64, chr(0x00));

   $k_ipad = $key ^ str_repeat(chr(0x36), 64);
   $k_opad = $key ^ str_repeat(chr(0x5c), 64);

   return md5($k_opad . pack('H*', md5($k_ipad . $data)));
}

/* Load the users settings into the array settings.  This array has
      been kept as close to the settings array in Y1G as possible*/
function LoadUserSettings()
</search for>

<replace>
/* Load the users settings into the array settings.  This array has
      been kept as close to the settings array in Y1G as possible*/
function LoadUserSettings()
</replace>

<search for>
function LoadAdmins()
{
   global $administrators, $db_prefix;
   is_admin();
</search for>

<replace>
function LoadAdmins()
{
   global $administrators, $db_prefix;
   yabbse_is_admin();
</replace>

<search for>
unction LoadLogCount()
{
   global $yyclicks, $db_prefix;
   is_admin();
</search for>

<replace>
unction LoadLogCount()
{
   global $yyclicks, $db_prefix;
   yabbse_is_admin();
</replace>


<edit file>
Sources/ManageAttachments.php
</edit file>

<search for>
is_admin();
</search for>

<replace>
yabbse_is_admin();
</replace>


<edit file>
Sources/ManageBoards.php
</edit file>

<search for>
is_admin();
</search for>

<replace>
yabbse_is_admin();
</replace>


<edit file>
Sources/ManageCats.php
</edit file>

<search for>
is_admin();
</search for>

<replace>
yabbse_is_admin();
</replace>


<edit file>
Sources/ModSettings.php
</edit file>

<search for>
is_admin();
</search for>

<replace>
yabbse_is_admin();
</replace>


<edit file>
Sources/PackageGet.php
</edit file>

<search for>
is_admin();
</search for>

<replace>
yabbse_is_admin();
</replace>


<edit file>
Sources/Packages.php
</edit file>

<search for>
is_admin();
</search for>

<replace>
yabbse_is_admin();
</replace>


<edit file>
Sources/RepairBoards.php
</edit file>

<search for>
   is_admin();
</search for>

<replace>
   yabbse_is_admin();
</replace>


<edit file>
Sources/Security.php
</edit file>

<search for>
function is_admin()
</search for>

<replace>
function yabbse_is_admin()
</replace>


<edit file>
Sources/Subs.php
</edit file>

<search for>
$scripturl = "$boardurl/index.php";
$cgi = "$scripturl?board=$board";
</search for>

<replace>
$scripturl = "$boardurl/modules.php?name=$module_name&";
$cgi = $scripturl . "board=$board";

$pagetitle = $yytitle;

/* On Chdir  insert the root path of PHPNuke

   chdir ('/');
   include('header.php');
   chdir('modules/' . $module_name);
</replace>

<search for>
   if ($yycopyin == 0)
      echo '
         <div align="center"><font size="5"><b>Sorry, the copyright tag <yabb copyright> must be in the template.<br />Please notify this ' . "forum's" . ' administrator that this site is using an ILLEGAL copy of YaBB!</b></font></div>';
}
</search for>

<replace>
   if ($yycopyin == 0)
      echo '
         <div align="center"><font size="5"><b>Sorry, the copyright tag <yabb copyright> must be in the template.<br />Please notify this ' . "forum's" . ' administrator that this site is using an ILLEGAL copy of YaBB!</b></font></div>';

/* On Chdir  insert the root path of PHPNuke

   chdir ('/');
   include('footer.php');
   chdir('modules/' . $module_name);
}
</replace>

<search for>
   global $yycopyin, $yytemplatemain, $yytitle, $yyVBStyleLogin, $timeformatstring, $timeoffset, $modSettings, $imagesdir;
   global $mnum, $munred, $ID_MEMBER;

</search for>

<replace>
   global $yycopyin, $yytemplatemain, $yytitle, $yyVBStyleLogin, $timeformatstring, $timeoffset, $modSettings, $imagesdir;
   global $mnum, $munred, $ID_MEMBER;
   global $pagetitle, $module_name;
</replace>




With this mod + PHPNuke mod, you have a YabbSe integration on PHPNuke. The YabbSe is not finished. Some functions (IM and Calendar+some functions on Admin Panel) is not work correctly but a later i posted the modification for that.

The PHPNuke is now able to read the cripted password, but need the manual copy on the DB.


Excuse my little English...


FaSan
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: FaSan on October 27, 2003, 07:13:02 PM
If you see the screenshot :


http://www.ilmalocchio.it/images/Screen01.jpg

http://www.ilmalocchio.it/images/Screen02.jpg


 ;) ;)


FaSan
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: [Unknown] on October 27, 2003, 07:17:33 PM
I don't know about your mod, I don't like the chdir's.... but....

There is a long standing mistake in my mod:

if (substr($QUERY_STRING, 0, 12) == 'name=' . $module_name . '&?')

Should be:

if (substr($QUERY_STRING, 0, 7 + strlen($module_name)) == 'name=' . $module_name . '&?')

-[Unknown]
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: FaSan on October 27, 2003, 07:41:55 PM
I don't know about your mod, I don't like the chdir's.... but....

There is a long standing mistake in my mod:

if (substr($QUERY_STRING, 0, 12) == 'name=' . $module_name . '&?')

Should be:

if (substr($QUERY_STRING, 0, 7 + strlen($module_name)) == 'name=' . $module_name . '&?')

-[Unknown]


Hi !

no... with that not work... see :

http://www.ilmalocchio.it/images/Screen03.jpg

Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: FaSan on October 27, 2003, 07:55:05 PM
My Mod is made for working with the Mod for PHPNuke.

In The Load.php removed MD5Encrypt because is already present on MainFile.php and is not possibile Reclared this.

I've removed LoadCookie modification because not work the authentication of user (see your demo) !!

however you have made a great beautiful job!  ;)
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: [Unknown] on October 28, 2003, 03:51:16 AM
First, like I said, it's alpha.

Second, it was not finished (alpha remember?) so the authentication of the forum etc. had not changed.  You could only log in via phpNuke and have it work.

Third, that does fix the bug where it would not check the query string properly.  I just forgot the next line, which should be change from:
$QUERY_STRING = substr($QUERY_STRING, 12);
To:
$QUERY_STRING = substr($QUERY_STRING, 7 + strlen($module_name));

The query string in your picture's case should be:
name=forum&board=;action=admin

This checks it to see if the first 7 + 5 = 12 characters are "name=forum&?" because $scripturl . '?board=1' will show that sort of link.

The error you're getting is something along the lines of "the board does not accept / in the URL" or something... but there is no invalid character.  This may be caused by other changes to your sources, or another bug I have missed with portability.

Again, I by no means guarantee this works AT ALL for ANYONE.

-[Unknown]
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: FaSan on October 28, 2003, 12:38:13 PM
First, like I said, it's alpha.

Second, it was not finished (alpha remember?) so the authentication of the forum etc. had not changed.  You could only log in via phpNuke and have it work.

Third, that does fix the bug where it would not check the query string properly.  I just forgot the next line, which should be change from:
$QUERY_STRING = substr($QUERY_STRING, 12);
To:
$QUERY_STRING = substr($QUERY_STRING, 7 + strlen($module_name));

The query string in your picture's case should be:
name=forum&board=;action=admin

This checks it to see if the first 7 + 5 = 12 characters are "name=forum&?" because $scripturl . '?board=1' will show that sort of link.

The error you're getting is something along the lines of "the board does not accept / in the URL" or something... but there is no invalid character.  This may be caused by other changes to your sources, or another bug I have missed with portability.

Again, I by no means guarantee this works AT ALL for ANYONE.

-[Unknown]

I did not want to offend but to only participate to you, in fact I have asked if it interested before posted...

however, ok for only log in via phpNuke, but for reading the Password of the YabbSe User is it only system...


FaSan
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: FaSan on October 29, 2003, 06:03:58 AM
$QUERY_STRING = substr($QUERY_STRING, 12);
To:
$QUERY_STRING = substr($QUERY_STRING, 7 + strlen($module_name));


Yeah, it's work...  ;)

I've some problem with Advanced IM Mod... but i work to fix it.


FaSan
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: Purple Raine on November 01, 2003, 02:39:25 AM
I love the fact that Nuke and YaBB are being merged here... but is not better just to wait for SMF to come out before you work on this more, FaSan?  Don't get me wrong, I'd be the first person to use PHPNUKE + SMF on my site, but I just don't want you to be wasting your time since SMF is very different from YaBBSE.
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: [Unknown] on November 01, 2003, 11:40:46 AM
That would be EXACTLY why I have dropped this mod.  I mean, that was a PERFECTLY worded (or at least certainly better than I could/did word it...) reason ;).

-[Unknown]
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: oldiesmann on January 27, 2004, 04:05:30 PM
I decided to check out php-nuke today because I've seen a lot of sites using it and think it would make a great addition to my site... I can't wait til SMF comes out and we can integrate phpNuke with it... :)
Title: Re:[Alpha 1.5.4] phpNuke Integration 0.2
Post by: oldiesmann on February 01, 2004, 04:32:47 PM
Well, I may switch to phpnuke at some point, but for right now, LSP is the perfect thing for me... Not as fancy as phpNUKE or as interesting (why do they include so doggone many language files? How many people out there would need Macedonian or Euskara??)