vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Add multiple phrases (https://vborg.vbsupport.ru/showthread.php?t=64055)

BigJohnson 04-21-2004 01:54 AM

ya thats exactly what i mean scrub. I hope there can be a fix for this. Whats the reason for adding it twice though?

VBDev 04-21-2004 09:26 AM

It may come from that piece of code:

PHP Code:

            foreach($languages AS $languageid => $lang)
            {
                
$languageid intval($languageid);
                
$DB_site->query("
                    INSERT INTO " 
TABLE_PREFIX "phrase
                    (languageid, varname, text, phrasetypeid)
                    VALUES
                    (
$languageid, '" addslashes($varname[$compteur]) . "', '" addslashes($text[$compteur]) . "', '" $phrasetypeid[$compteur] . "')
                "
);
            } 

I'll have a look at it at the end of the week while I am quite busy actually

Boofo 04-21-2004 09:37 AM

Come on, grog buddy, you can't keep us hanging. ;)

VBDev 04-21-2004 04:18 PM

This is not grog but Mtor ;)

I am going to have a look now at the bug

VBDev 04-21-2004 04:35 PM

This is not a bug guys !

If you have a look at the phrase table, you'll see that every phrases are duplicate id 0,1 & -1 so that's a vbulletin issue :)



I have modify the hack so that you can select the phrase type that dropdown menu should have by default in the add page as the request!

For those that have already installed it, just replace the modification in the phrase.php file of the admin by the one in the updated txt file :)

Scrub 04-21-2004 05:35 PM

Thanks for clearing that issue up. :D. Now off to testing again. :D

Boofo 04-21-2004 06:02 PM

Quote:

Originally Posted by VBDev
This is not grog but Mtor ;)

I am going to have a look now at the bug

Doesn't grog use this account, too, though? Or am I mistaken (again)? ;)

VBDev 04-21-2004 08:41 PM

Yes but that hack is mine ;)

jd-inflames 10-27-2004 12:15 AM

You are a life saver, sir. Thanks.

Lethal 12-13-2004 10:42 PM

was the Add multiple templates ever released?


All times are GMT. The time now is 01:43 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.01687 seconds
  • Memory Usage 1,736KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete