vb.org Archive

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

edward hamilton 01-06-2008 11:17 PM

Avatar text
 
I'd like to add a line to the existing vB text.
Avatars are small graphics that are displayed under your username whenever you post.

I'd like to add
"Please do not use copyrighted avatars for which you do not have permission, i.e. please don't use scans from labels, or copy trademarked labels."

I added the text to 'avatars_small_graphics_short' in the 'text' field of the 'vbphrase' table in the database but that didn't do it.

I assume that all of the text is parsed from the database.

Any suggestions would be appreciated. I tried searching for answers but didn't get the results I was seeking.

dismas 01-07-2008 07:02 AM

As a general rule, unless someone from vB specifically tells you, never mess with the database directly.

What you want to do is change the phrase in your AdminCP. Go to AdminCP > Languages & Phrases > Search for Phrase Then search in the text only for the words "Avatars are small graphics". That will give you a set of search results. Edit the applicable phrase there to add the text you want.

edward hamilton 01-07-2008 01:18 PM

Thank you. I appreciate the advice and the quick response. That answers a lot of my questions.

I found the text I was trying to change through the Admincp > Language and Phrases > Search.

The found set reflected the changes I had made in the database field. Once I updated that entry in the Admincp the change appeared in the User CP.

I thought the phrases were parsed from the database each time they were called from the script, it looks like that isn't the case but that the new edited phrase is stored in an updated phrase table, or am I completely out to lunch on this?


All times are GMT. The time now is 03:12 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.00913 seconds
  • Memory Usage 1,709KB
  • 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
  • (3)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