![]() |
Show a phrase in a page it was not meant for
Ok I wanted to show the following phrase in a postbit but it came from the member profile.
Code:
$vbphrase[show_all_albums] Any help would be appreciated. |
You probably need to include the phrase group in the $phrasegroups array at the top of the page.
|
Anyway to do it with in the plugin its self?
|
Probably. Try using the init_startup hook location with:
PHP Code:
|
1 Attachment(s)
I was looking at the phrase for this in the AdminCP and I think this would be allowed to be user anywhere?
Here is what I have but the phrase doesn't show up. Code:
if ($vbulletin->options['new_enable_albums']) |
What hook location are you using? I think the phrasegroups has to be added at init_startup (as I said in my original post). But, the template_hook part needs to be added using another hook location.
|
Ahh I see. Thanks again, I'll try that when I get back from pciking my son up from school.
--------------- Added [DATE]1259698752[/DATE] at [TIME]1259698752[/TIME] --------------- That didn't seem to work either so I will just make this all easier and not use the phrase. |
Post exactly what you used. Also, if you are using this on the showthread page, then you want to use 'showthread' in the THIS_SCRIP condition, not 'forumdisplay'.
|
When all else fails make your own phrase.
It works now. https://vborg.vbsupport.ru/showthread.php?t=229275 Thanks for all your help Lynn. |
Glad you got it working. :)
|
All times are GMT. The time now is 01:07 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|