vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Phrasegroups (https://vborg.vbsupport.ru/showthread.php?t=59865)

Link14716 01-07-2004 08:24 PM

Phrasegroups
 
Ok, how do you add and use your own phrasegroups? I added a row to phrasetype, added a field to language, and added it to $phrasegroups array and they still do not work. What exactly am I missing?

NTLDR 01-07-2004 08:59 PM

There is a hack to do this ;) If you don;t want to install it look at the add_phrase_type() function in includes/adminfunctions_language.php which can be used to add types/groups and provides the queries needed to do it :)

Link14716 01-07-2004 09:05 PM

add_phrase_type does the exact same thing I did... :|

NTLDR 01-07-2004 09:11 PM

Does it appear in the phrase manager? Does the group have phrases in it?

Link14716 01-07-2004 09:13 PM

Yes and yes.

Link14716 01-07-2004 09:28 PM

I think I found my problem....
PHP Code:

phrasetypeid 1000 

I put my phrasetypeid as 14716 to make sure it was unique, but it obviously has to be under 1000.... bah.

Gary King 01-07-2004 11:01 PM

Quote:

Originally Posted by Link14716
I think I found my problem....[code]phrasetypeid < 1000[/php] I put my phrasetypeid as 14716 to make sure it was unique, but it obviously has to be under 1000.... bah.

I don't think you'll ever have over 1000 phrase groups anyways :p

gmarik 02-14-2004 08:07 PM

Download http://www.vbulletin-germany.com/for...&threadid=8760 and reattach it here so we could test it ... it is PhraseGroupManager 1.0

NTLDR 02-15-2004 10:09 AM

Quote:

Originally Posted by gmarik
Download http://www.vbulletin-germany.com/for...&threadid=8760 and reattach it here so we could test it ... it is PhraseGroupManager 1.0

Its already been released here.


All times are GMT. The time now is 07:09 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.01016 seconds
  • Memory Usage 1,726KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete