Go Back   vb.org Archive > vBulletin Article Depository > Read An Article > vBulletin 3 Articles
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[How-To] Fieldname reference
Sean S's Avatar
Sean S
Join Date: Jan 2004
Posts: 301

 

Chicago
Show Printable Version Email this Page Subscription
Sean S Sean S is offline 08-04-2006, 10:00 PM

Phrasetypeid => Fieldname

With the release of vbulletin 3.6 gold I know that many of you will try to upgrade your boards to the latest version and many of you will try to upgrade your older hacks and mods for the latest vbulletin version.

That's what I did, however, during this process and reading the vbulletin announcements, I noticed that 'phrasetypeid' has been replaced with 'fieldname'. This has caused some of the vb 3.5 hacks to stop functioning after the upgrade with errors referencing to 'phrasetypeid'.

Now as for it's full functionality, I'm not 100% sure so someone has to correct me if I'm wrong, but what 'fieldname' does is that it let's you select the phrase category that the phrases are stored in.

Here I'm going to list the changes that have taken place to make it easier for you to find the changes that have taken place. In the older version of vbulletin, phrase categories or their type was referenced by a number. For example, the number 5000 represented 'vbsettings',

You can also find this reference in the 'upgrade_300b3.php', on step 24.

Mostly used:
Code:
Phrasetypeid                Fieldnames

* 1000                  --> fronterror
* 2000                  --> frontredirect
* 3000                  --> emailbody
* 4000                  --> emailsubject
* 5000                  --> vbsettings
* 6000                  --> cphelptext
* 7000                  --> faqtitle
* 8000                  --> faqtext
* 9000                  --> cpstopmsg
The rest:
Code:
* 1                       --> global
* 2                       --> cpglobal
* 3                       --> cppermission
* 4                       --> forum
* 5                       --> calendar
* 6                       --> attachment_image
* 7                       --> style
* 8                       --> logging
* 9                       --> cphome

* 10                     --> promotion
* 11                     --> user
* 12                     --> help_faq
* 13                     --> sql
* 14                     --> subscription
* 15                     --> language
* 16                     --> bbcode
* 17                     --> stats
* 18                     --> diagnostic
* 19                     --> maintenance

* 20                     --> profilefield
* 21                     --> thread
* 22                     --> timezone
* 23                     --> banning
* 24                     --> reputation
* 25                     --> wol
* 26                     --> threadmanage
* 27                     --> pm
* 28                     --> cpuser
* 29                     --> accessmask

* 30                     --> cron
* 31                     --> moderator
* 32                     --> cpoption
* 33                     --> cprank
* 34                     --> cpusergroup
* 35                     --> holiday
* 36                     --> posting
* 37                     --> poll
* 38                     --> fronthelp
* 39                     --> register

* 40                     --> search
* 41                     --> showthread
* 42                     --> postbit
* 43                     --> forumdisplay
* 44                     --> messaging
Hope this helps someone out. I just posted this cause many of the tutorials here helped me out and I always use them as a reference when upgrading or creating a mod.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:49 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05993 seconds
  • Memory Usage 2,195KB
  • Queries Executed 16 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_article
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete