![]() |
Best thing to do is to study a mod from here that does something similar.
|
Try this: create a plugin using hook location forumhome_start and code like this:
Code:
ob_start(); Next, edit the FORUMHOME template and insert {vb:raw backlinks} where you want it to appear. Edit: if you want step by step instructions for creating a plugin, see the vbulletin manual here: http://www.vbulletin.com/en/manual/ . First select your vb version from the dropdown menu, then search for "plugin" and select "Adding or Editing a Plugin" from the results. It's pretty easy, you just have to paste the code I posted, then paste yours in at the comment and remove the <?php and ?>, then fill in the other form fields as needed (see the manual page for that). If you don't know what to put for something, you can probably leave the default. |
Quote:
|
Yeah, sorry, it's just that the manual pages show in a frame so the browser url just goes to the manual home page. But I think this will work: http://www.vbulletin.com/docs/html/main/add_plugin
|
As most of other users said, you can't add PHP code to the template. But you can easily add templates in a PHP file. The results will be exactly what you want.
1.- Create 2 templates. One for header and one for footer: a] For Header (is just as example): HTML Code:
<template name="php_header" templatetype="template" date="" username="" version=""> HTML Code:
<template name="php_footer" templatetype="template" date="" username="" version=""> Code:
// Header Block Code:
// Footer Block Nick |
All times are GMT. The time now is 02:02 PM. |
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:
|