![]() |
I cant find parse_templates in hooks :S
|
Quote:
|
If you're not familiar with creating a plugin, you can search for "Adding or Editing a Plugin" in the vbulletin manual: https://www.vbulletin.com/docs/html?...rsion=40111601 . In case there's any confusion, I was talking about the "Hook Location" drop-down menu when you're creating a plugin.
Also, I edited my post above - I forgot to mention above that 'ad_location_above_footer' was just an example template name. |
Ok i have got the forum name :) issue is i have written my code in php and dont nknow how to get it to work within a template.
foruminfo.title could really be the id so foruminfo.threadid but that does not seem to work PHP Code:
|
...What are you doing?
Why are you trying to connect to ezSQL_mysql? Get rid of that junk and use the normal database abstraction layer! Secondly, you're comparing a username to a forum's title and you wonder why you're not getting results? Thirdly, you're using template syntax within a PHP file?! |
the username was incorrect it was just an example.
Thirdly, you're using template syntax within a PHP file?! < this is what i dont understand how do i split the two up? |
Quote:
There's plenty of articles on this here: https://vborg.vbsupport.ru/forumdisplay.php?f=242 |
All times are GMT. The time now is 06:12 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:
|