Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
Phrase Type Manager Details »»
Phrase Type Manager
Version: 1.0.0, by Andreas Andreas is offline
Developer Last Online: Jan 2023 Show Printable Version Email this Page

Version: 3.5.0 Rating:
Released: 10-12-2005 Last Update: 10-12-2005 Installs: 39
Uses Plugins
Additional Files Is in Beta Stage  
No support by the author.

Phrase Type Manager

Description
This Hack allows you to easily manage custom phrase types.

Details
1 Product XML (12 Phrases)
1 ACP Script
1 ACP Navigation XML

Note: As this Hack is meant for developers, it can only be used in debug mode!

Credits to Hoffi for PhraseGroupManager, which inspired this Hack

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 10-13-2005, 05:08 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #13  
Old 10-13-2005, 05:11 PM
EvilHawk EvilHawk is offline
 
Join Date: Feb 2005
Location: Greece
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #14  
Old 10-14-2005, 02:29 PM
uae's Avatar
uae uae is offline
 
Join Date: Jul 2002
Location: Irvine, California
Posts: 312
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you Kirby

Clicked installed
Reply With Quote
  #15  
Old 10-14-2005, 02:56 PM
JJR512's Avatar
JJR512 JJR512 is offline
 
Join Date: Oct 2001
Location: Glen Burnie, MD, USA
Posts: 710
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #16  
Old 10-14-2005, 03:01 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

$debug =1 is for vBulletin 3.0
For vBulletin 3.5 take a look here:
https://vborg.vbsupport.ru/showthread.php?t=82835
Reply With Quote
  #17  
Old 10-14-2005, 03:14 PM
JJR512's Avatar
JJR512 JJR512 is offline
 
Join Date: Oct 2001
Location: Glen Burnie, MD, USA
Posts: 710
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

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.
Reply With Quote
  #18  
Old 10-14-2005, 03:30 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is not easily possible without file edits, furtheremore you can add phrases that belog to different products into one phrasegroup
Reply With Quote
  #19  
Old 10-15-2005, 01:03 PM
JoergZ JoergZ is offline
 
Join Date: Jun 2002
Location: Germany
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #20  
Old 10-15-2005, 10:50 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@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.
Reply With Quote
  #21  
Old 11-08-2005, 07:44 PM
Hoffi's Avatar
Hoffi Hoffi is offline
 
Join Date: Nov 2001
Location: Germany
Posts: 342
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ah... Great. Thaks.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:47 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04932 seconds
  • Memory Usage 2,304KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (1)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete