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, 722 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
$user_prefix and $prefix
Bug FixesLaffer writes "Hello Nuke Cops,

Please be aware of the existence of $user_prefix and $prefix. More and more people do not pay attention to this very important difference. There are many users out there sharing the USER Table through different installations. Whenever you refer to the user-table, please USE $user_prefix!

In the Forum you should use as Prefix $user_prefix and NOT $prefix, because we want to share the FORUM on all our Nuke Sites. For all users who do not want to share, they just set $user_prefix at the same value as $prefix!!!

In private Messages and everywhere where you access to userinformation please be aware! There are many blocks ignoring the existence of $user_prefix!!!"
Posted on Wednesday, August 20 @ 10:20:00 CEST by Zhen-Xjell
 
Related Links
· More about Bug Fixes
· News by Zhen-Xjell


Most read story about Bug Fixes:
Downloads & Web Links vulnerability Patch

Article Rating
Average Score: 0
Votes: 0

Please take a second and vote for this article:

Excellent
Very Good
Good
Regular
Bad


Options

 Printer Friendly Page  Printer Friendly Page

 Send to a Friend  Send to a Friend

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 Mighty_Y on Wednesday, August 20 @ 10:30:54 CEST
(User Info | Send a Message) http://www.code-area51.com
You can say what you want, but I never had problems with them. And I DON'T want to share my forums, cause I don't see any use in it why you would have two different sites with the same forum

I only agree on the part of the blocks where lots of blocks ignore the use of $user_prefix. When you applied one of the secfixes in the right way then the user table gets also shared through the forums.

Just my little opinion



Re: $user_prefix and $prefix (Score: 1)
by Jeruvy on Thursday, August 21 @ 13:29:10 CEST
(User Info | Send a Message)
Maybe someone could actually explain this (lack of) logic, because I'm not getting it.

I understand this much, there are two variables, and neither get used effectively as they could, ok.

Why would you share forums on all sites? You want my forums on your site? Why have two variables if you (typically) only use one? Considering they are globals (I hope I'm right on this =) less is definately better!!!

Thanks,

J.


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.051 Seconds - 465 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::