vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   News and Announcements (https://vborg.vbsupport.ru/forumdisplay.php?f=2)
-   -   Using Products in RC1? (https://vborg.vbsupport.ru/showthread.php?t=92998)

Colin F 07-27-2005 11:57 AM

Using Products in RC1?
 
Hi Coders,

RC1 was released yesterday with the new product management system. If you're thinking of using it, make sure to read the following:

Quote:

Originally Posted by Kier
Product ids should contain only lowercase characters and underscores please.

This was always supposed to be the case, but we forgot to put enforcement code into RC1 (it's in RC2 though).

Basically, a product ID is invalid if the following returns false:
PHP Code:

 if (preg_match('#^[a-z0-9_]+$#s'$productid))
{
// product id is valid



Please make sure to take this into account when using the product system.

Additionally, Jelsoft is reserving productnames prefixed with vb for official products. Once again, please take this into account.

Thanks :)

Paul M 07-27-2005 12:58 PM

Yes, so I discovered ........ :(

(and reported) :)

amykhar 07-27-2005 01:05 PM

Also, note that product id's must be 15 characters or less at this point.

Colin F 07-27-2005 03:03 PM

Jelsoft is reserving the prefix vb for official products, so please take that into account.
I've updated the first post to include that.

Thanks :)

Chris M 07-27-2005 06:43 PM

May I suggest that you use your vB.org username and a small shorthand name for your products that you release?

For my Attachments Per Forum Mod, I used hellsatan_apf (hellsatan_attachmentsperforum) ;)

Satan

Andreas 07-27-2005 06:46 PM

Hmm, why should the ID contain the Nickname?
Don't see a point for that ...

amykhar 07-27-2005 06:48 PM

cause we want people to remember how we suffered for them while coding these mods, Kirby :D

Marco van Herwaarden 07-27-2005 07:16 PM

And to avoid 2 coders choosing the same name. Personally i always use 'mh' followed by an abreviation of the hack. I also do this for phrases, new tablenames or columns i add to existing tables. Not to forget function names etc.

Chris M 07-27-2005 07:25 PM

Exactly - Nobody else (I hope:p) will release a modification under my name, therefore I'm almost sure that hellsatan_ will be unique to me ;)

Satan

Link14716 07-27-2005 07:26 PM

hellsatan sig hack maybe? ;)


All times are GMT. The time now is 01:58 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02134 seconds
  • Memory Usage 1,727KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete