|
|
|
|
- Readme First! - Read and follow the rules, otherwise your posts will be closed |
|
|
|
|
|
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 |
|
|
|
|
|
| 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 | | | | | |
|