The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
I cant find parse_templates in hooks :S
|
#12
|
||||
|
||||
It's definitely there in my 4.1.11 install.
|
#13
|
|||
|
|||
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. |
#14
|
|||
|
|||
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:
|
#15
|
|||
|
|||
...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?! |
#16
|
|||
|
|||
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? |
#17
|
|||
|
|||
Quote:
There's plenty of articles on this here: https://vborg.vbsupport.ru/forumdisplay.php?f=242 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|