![]() |
|
Thread Tools |
#1
|
||||
|
||||
Need help with preg_match plugin
I have tried various $post variables and hook locations.
Couldn't get it working. Kindly assist if it is doable.
then echo $test in headinclude template. No members have liked this post.
Last edited by unitedpunjab; 18 Jul 2017 at 17:53. |
#2
|
|||
|
|||
You might want to tell us what you want to accomplish first.
![]()
__________________
https://technidev.com - security, development, exploits, vBulletin
dave[at]technidev[dot]com Contact me for custom vBulletin 3/4 work & server/website management. No members have liked this post.
|
#3
|
||||
|
||||
I want to get the youtube video id from thread / post and use it for meta og:image. in headinclude. or showthread.
Got it working for https://www.vbulletin.org/forum/show...hreadid=323668 with preg_match in php script (amp.php). --------------- Added 19 Jul 2017 at 16:43 --------------- This is the code I am trying to plugin-fy.
No members have liked this post.
|
#4
|
||||||||
|
||||||||
This works in "postbit_display_start" hook, "$test" returns da value I want but only in "postbit" template.
How do i get the value in headinclude or showthread template ?
Edit: this worked
No members have liked this post.
Last edited by unitedpunjab; 25 Jul 2017 at 10:20. |
![]() |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 18:35.