The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
attachment info in parse_template hook
i need to pull some attachment info when parsing a template.
i'm trying to get the following values in a plugin with the hook location of parse_template. $attachmentinfo['attachmentid'] $attachmentinfo['extension'] $attachmentinfo['dateline'] thoughts? |
#2
|
|||
|
|||
this can't be that hard. it use to work fine in vb3. it's just a nuance in vb4. can someone let me know at least what has changed so i can get some variables happening in this plugin?
thanks. |
#3
|
|||
|
|||
Have you read this article here? https://vborg.vbsupport.ru/showthread.php?t=228078
|
#4
|
|||
|
|||
thanks for the reply.
yea, i'm familiar with getting my variables to register so i can add them to templates. i'm trying to pull standard variables to use them in my plugins. these particular variables are located in attachment.php and i'm trying to use them in a plugin that is using parse_templates. --------------- Added [DATE]1268670447[/DATE] at [TIME]1268670447[/TIME] --------------- this is driving me crazy. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|