vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   delete custom phrases query (https://vborg.vbsupport.ru/showthread.php?t=70362)

Floris 10-09-2004 01:51 AM

delete custom phrases query
 
Hey there,

Does someone know the MySQL query to delete custom phrases from a language?

Logikos 10-09-2004 05:10 AM

Hmm, thats a good idea! I could use that. And could also make a Automatic Query! :)

Floris 10-09-2004 05:50 AM

Quote:

Originally Posted by Live Wire
Hmm, thats a good idea! I could use that. And could also make a Automatic Query! :)

I know the query, someone gave it to me once - but I forgot to note it down.

I just want to add that one line to "execute sql query" ..

Logikos 10-09-2004 07:50 AM

Ya thats what im talking about, the auto query feature in vb, you just select it from the drop down menu, and press sumbit.

Dean C 10-09-2004 09:47 AM

Moved to the MySQL queries forum :)

Floris 10-09-2004 10:03 AM

Quote:

Originally Posted by Dean C
Moved to the MySQL queries forum :)

I thought that would be non-vb related. like on vbulletin.com

nexialys 10-09-2004 11:45 AM

are you serious ?! Floris is missing a way to deal with vB ?! hum.. looks like i will help:

[sql]DELETE FROM ".TABLE_PREFIX."phrase WHERE languageid=0[/sql] for custom languages... as languageid = -1 is the MASTER, and 1 is the english, etc...

Floris 10-09-2004 12:24 PM

Quote:

Originally Posted by nexialys
are you serious ?! Floris is missing a way to deal with vB ?! hum.. looks like i will help:

[sql]DELETE FROM ".TABLE_PREFIX."phrase WHERE languageid=0[/sql] for custom languages... as languageid = -1 is the MASTER, and 1 is the english, etc...

Thank you very much - I will go 'test' this :)
Hopefully it works and the custom phrases are removed from all the languages.

nexialys 10-09-2004 01:14 PM

remember to Rebuild All Languages ... to refresh the cache!

Floris 10-09-2004 01:17 PM

Quote:

Originally Posted by nexialys
remember to Rebuild All Languages ... to refresh the cache!

Th?t I knew :)

tnx for the help.


All times are GMT. The time now is 10:09 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.01013 seconds
  • Memory Usage 1,721KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete