View Single Post
Old July 16th, 2004, 02:00 PM   #12 (permalink)
petserrano
Registered User
 
Join Date: Dec 2003
Posts: 32
Quote:
Originally Posted by scrapendou
It would just be helpful if someone could tell me what PP looks at in the user table to determine whether a user is admin or a reg user....I am pretty sure the feilds in the table are user_rank and user_level......What should each of these be set to for admin and a reg user?

Lisa
Not sure if you got this fixed, but just in case someone with the same problem does a search, here you go:

The main problems with PP and phpnuke are that PP points to the nuke_ranks table instead of the nuke_bbranks table and the Admin is taken from Admin of the forum, not the Superuser (God). The nuke_ranks table was dropped somewhere between nuke 6.0 and 6.5.

About God:

The phpbb that PP gets its info from is a ported bb which has been modified to call admin from a different table, so it's not fully a part of Phpnuke, either. The God admin is in the author's table, and the admin PP looks for is in phpbb's user table. You don't have to change any tables, just normal admin stuff. To keep admin going, you have to go to phpnuke's admin module, click on "forums" and make sure you make your superuser admin of the forum as well. It's otherwise unneccessary to have anyone as admin of the ported phpbb because phpbb ignores it.

About ranks:

In forums/nuke.php you'll have to change around line 151:

Code:
Content visible to verified customers only.
to

Code:
Content visible to verified customers only.
or people who are logged in won't be able to showphoto. People who aren't logged in seemed to be able to.

Like I said, those are the main problems. Good luck with the rest of it. The thing is so buggy with nuke I got sick of spending all my time modding it and fielding complaints and got coppermine, which as far as phpnuke goes, is a much smoother ride and is quicker to update. I just came back here to see if it's legal to sell my license. A pity, really, because it's a great gallery. Just doesn't work seamlessly with phpnuke without a hundred mods.

Last edited by petserrano; July 16th, 2004 at 02:06 PM.
petserrano is offline   Reply With Quote