Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Who's Online
3 registered (Craig Tempest, MacW, 1 invisible), 19 Guests and 28 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 10/31/08
Posts: 3
Top Posters (30 Days)
Ruben Rocha 155
Rick 122
Gizmo 110
Thelockman 62
driv 55
phoebe 39
ScriptKeeper 37
AllenAyres 35
Ian 31
Mark S 30
Latest Photos
My Home System
test photo gallery
Bernese Mountain Dogs
My Daimler
Dorado and shark
Topic Options
Rate This Topic
#177255 - 02/03/07 10:31 AM When you create modifications....
Rick Administrator Offline

*****

Registered: 06/04/06
Posts: 7880
Loc: Aberdeen, WA
Not exactly sure the best place to post this yet, but I'll post here for now.

For all of you modders out there. This is something that I stressed in earlier versions, but we'll revisit it again. Take a look at this thread.

A modification that was installed altered the database. The problem was, that the field names that were chosen for this modification were ones that we used for 7.1, so it ended up resulting in upgrade problems.

When creating a modification that alters the database, please give the new fields a custom prefix. In this case, instead of ONLINE_AGENT, use something like CUSTOM_ONLINE_AGENT. Just something that is different than the normal field naming convention. That way if future upgrades try to add a new field, there will be no conflicts.
_________________________
UBB.threads™ Developer
My Personal Website · StogieSmokers.com

Top
#177357 - 02/03/07 03:12 PM Re: When you create modifications.... [Re: Rick]
Gizmo Moderator Offline

***

Registered: 06/04/06
Posts: 11967
Loc: Portland, OR; USA
I agree here completely, your mod shouldn't use current variables, you should create new ones as to not break things should a user decide to upgrade; plus it'd be near impossible to find what is needed to uninstall a mod with using pre-existing variables so users would end up with content not needed...
_________________________
UGN Security, Elite Web Gamers & VNC Web Design Owner
Longtime UBB Supporter, UBB7 Beta Tester & Resident Post-A-Holic

Top
#177379 - 02/03/07 04:42 PM Re: When you create modifications.... [Re: Gizmo]
jgeoff Offline
Pooh-Bah

Registered: 08/08/06
Posts: 1885
Loc: NJ

Someone should post this to UBBDev, too...
_________________________
GangsterBB.NET (Ver. 7.3)
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Browsers: Firefox 3.0, Google Chrome, & Safari 3.1 (XP and iPhone)

Top
#188951 - 06/26/07 07:23 PM Re: When you create modifications.... [Re: jgeoff]
Mors Offline
addict

Registered: 06/26/06
Posts: 445
Loc: So. California
You should use the best practice of NEVER touching the original products data model.. Create your own tables and field names..
_________________________
Happy Customer !!!

Top


Shout Box

Today's Birthdays
Neptin
Recent Topics
Pruning Messages
by EMG
11/18/08 06:57 PM
7.4.1 Advanced Search - Default to Referer Forum?
by Jim
11/18/08 01:32 AM
Move charset out of language files?
by Gizmo
11/17/08 09:33 PM
Where is Moderation Queue?
by luket
11/17/08 08:27 PM
Custom Page or Content
by FordDoctor
11/17/08 05:28 PM
Forum Stats
4245 Members
33 Forums
30478 Topics
154602 Posts

Max Online: 978 @ 06/24/07 08:19 PM