The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
postbit_display_complete variable [Help]
Hi all,
postbit_display_complete under the name I created a plugin. (vb 3.8.7) PHP Code:
My English is not good. I used Google Translate. |
#2
|
|||
|
|||
postbit_display_complete is called for each post (and you create the $tek variable based on the message from one post), but there is only one headinclude per page, so I don't understand how you could use $tek there.
If you want to use something in headinclude, you could create it using hook location parse_templates, but there will not be any $post available there. |
#3
|
||||
|
||||
What are you trying to do?
|
#4
|
|||
|
|||
The first picture of the subject as follows "headinclude" I want to add. "$tek" variable from the link you want to add the following code:
HTML Code:
<meta property="og:image" content="$tek">
|
#5
|
|||
|
|||
Maybe you can put the meta tag in the SHOWTHREAD template instead of headinclude. You can put it inside the <head> tags.
|
#6
|
|||
|
|||
I thought I try it before. Thanks to you, I can do what I want. Really, thank you very much. :up: :up: :up:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|