You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 386 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Threshold
The comments are owned by the poster. We aren't responsible for their content.

No Comments Allowed for Anonymous, please register

Re: $user_prefix and $prefix (Score: 1)
by Laffer on Monday, August 25 @ 05:42:04 CEST
(User Info | Send a Message) http://www.comicfan.de
OK, let's explain. In PHPNuke (like PostNUKE) the need for sharing some parts of a website have arised. A typical example (since PHPNuke is a WEB PORTAL System) is User Information.
Imagine you are running a Website talking about cars and another one talking about Computers. Users register to one site, and some to the other. There are some who register to both sites. Two logins, etc...

Now, if you like to have users registering only ONCE there must be another global table Prefix variable, since Nuke Installations user $prefix to identify the good tables for their config. That's why $user_prefix has been defined. So If you set $user_prefix to the same value as $prefix, without modifying Programm Code everything is as before, but if you set $user_prefix to another value than $prefix, then you can use a shared user_table.

Now instant-messaging, if you are using this function wouldn't it be great if the user on the cars site will see the messages the user from the computer site has written to him?

And why not discuss in a common forum, where the users do not need to register twice?


| Parent
Powered by TOGETHER TEAM srl ITALY http://www.togetherteam.it - DONDELEO E-COMMERCE http://www.DonDeLeo.com - TUTTISU E-COMMERCE http://www.tuttisu.it
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.083 Seconds - 195 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::