vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Phrasing Newb/Quick Question (https://vborg.vbsupport.ru/showthread.php?t=63142)

Koutaru 03-29-2004 07:55 PM

Phrasing Newb/Quick Question
 
Just a quick question (hopefully) that will help me get started on my knowledge about phrasing

I installed this hack:
https://vborg.vbsupport.ru/showthread.php?t=59556

And for the link in the Admin Panel -> Edit User
I wanted to add a phrase for that

I added the phrase via phpmyadmin:
login_as_user
Login As User
Group 28 : cpuser
Language: -1

the file modified is user.php which does contain cpuser as a group that will be loaded. However, when I go to where the phrase should show up, it doesnt show.

What am I doing wrong ?_?

Boofo 03-29-2004 08:46 PM

Why don't you just add the phrase in the phrase manager in the Admin CP?

Koutaru 03-29-2004 10:24 PM

Does it make a difference oO;?
:P I wanted the phase to be standard :nervous:

NTLDR 03-29-2004 10:31 PM

The Phrase probably hasn't been cached in the language table which is why its not working, edit and save a phrase via the ACP and it should work. You should add the phrases via the ACP, or if inserting with code make sure you call build_language(); after doing so.

Boofo 03-30-2004 03:35 AM

Thanks, Lee. ;)

Koutaru 03-30-2004 07:14 PM

Ah.. Working now :) Thank you for your help guys!


All times are GMT. The time now is 01:03 AM.

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.01018 seconds
  • Memory Usage 1,713KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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