vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Phrase Type Manager (https://vborg.vbsupport.ru/showthread.php?t=98316)

Andreas 10-13-2005 05:08 PM

Quote:

Originally Posted by Feckie (Roger)
Samo Here nuttin

As said, this is working as designed :)
It's a developers tool and therefore will not show up for endusers, as pointed out in the first post.

EvilHawk 10-13-2005 05:11 PM

Quote:

Originally Posted by Lizard King
I cannot get the Phrase Type Manager in admincp .
Even searched and saved a phrase it is over there.

->
Quote:

it can only be used in debug mode!
;)

EvilHawk clicks install!

uae 10-14-2005 02:29 PM

Thank you Kirby

Clicked installed :)

JJR512 10-14-2005 02:56 PM

How do you enter debug mode and how do you confirm it's on?

I asked this question at vbulletin.com (http://www.vbulletin.com/forum/showthread.php?t=153385) and was told by Steve Machol (a vB developer) that all I have to do is put
Code:

$debug = 1;
anywhere in the config.php file (between the opening and closing PHP tags, of course). I was also told that I would know when it's on.

Well, I put that statement in the config.php of my test board and uploaded it. I looked at the board's front end, seemed normal. I looked at the admin cp, seemed normal. So far, it's not obvious that debug mode is on, although Steve implied it would be.

I tried installing this hack on my test board. It doesn't show up in the admincp. Now apparently it should show up in the admincp if debug mode is on, and it should also be obvious that it's on, but nothing seems different to me. So I figure I must be doing something wrong, and debug mode is not on. What's my problem?

Andreas 10-14-2005 03:01 PM

$debug =1 is for vBulletin 3.0
For vBulletin 3.5 take a look here:
https://vborg.vbsupport.ru/showthread.php?t=82835

JJR512 10-14-2005 03:14 PM

Yeah, I found that, I should have searched here first before asking. :o

Anyway, I fixed it and now have access to your hack. Thanks! :)

One suggestion/question: Is it possible you could make it so that after I create a new Phrase Type and have it tied to a particular Product, that when I go through Phrase Manager, select my custom phrase type from the drop-down box, and click the Add New Phrase button, that on the next Add New Phrase screen, the same product that the Phrase Type is associated with when it was created also is pre-selected in the Product field on this Add New Phrase screen? It's pre-set to vBulletin, and to my thinking, it seems likely that if you create a new Phrase Type, any phrases you create for it would be part of the same Product that the Phrase Type was created for.

Andreas 10-14-2005 03:30 PM

This is not easily possible without file edits, furtheremore you can add phrases that belog to different products into one phrasegroup

JoergZ 10-15-2005 01:03 PM

Very nice, now you don't have to do the necessry steps for new phrase-groups manually. But...

I have an own phrase-group for my induvidual modifications. In vB 3.0 I added in the init.php at the end these 3 lines

PHP Code:

  $phrasegroups array_merge(array(
   
'mygroup'
  
), $phrasegroups); 

so I have my phrases everywhere available, same as the standard GLOBAL-phrases.

In vB 3.5 this is not working anymore.

Which PHP I have to modify, to get my individual phrase-group loaded gloabal, so I can use the phrases everywhere ?

Thanks for help.

BR

J?rg

Andreas 10-15-2005 10:50 PM

@JoergZ
Hook init_startup can be used to load phrasegroups

@Rabbitoh Warren
It is intended behaviour that it does not show up if you don't need it!
If you are a developer and need it it will show up.

Hoffi 11-08-2005 07:44 PM

Ah... Great. Thaks.


All times are GMT. The time now is 06:19 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.01076 seconds
  • Memory Usage 1,740KB
  • 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_code_printable
  • (1)bbcode_php_printable
  • (3)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