Back to vBulletin 3.6 Add-ons

Smarty Integration With Vbulletin - BETA
Mod Version: 1.00, by Jafo232

This modification is in the archives.
vB Version: 3.6.8 Rating: (3 votes - 4.67 average) Installs: 17
Released: 26 Feb 2008 Last Update: Never Downloads: 78
Not Supported Uses Plugins Code Changes Additional Files Is in Beta Stage  

This modification will allow you to use http://www.smarty.net/ tags in your Vbulletin templates and even allow you to write PHP code in your templates.

I have tested this for the last 3-4 months before I posted it here and am pretty confident that it is all working properly but it should be fully tested on your site before released into production. I am still considering it BETA software.

This does require one small source code edit and there really is no way around it that I can find. There is no hook in the fetch_template() function at this time, so it is required.

After you install the modification, you can enter tags like this in your templates:

Code:
<%
## Whatever smarty code you want
%>

Or for PHP:

Code:
<%php%>
echo "Hello World! The timestamp for now is " . TIMENOW;
<%/php%>

If you find this useful, please:


Brought to you by http://www.worldwidecreations.com.

Download

This modification is archived, downloads are still allowed.

File Type: %1$s vsmarty-beta.zip (100.2 KB, 74 downloads)

Similar Mods

DigiChat Integration V3.0 BETA vBulletin 3.0 Beta Releases

vblts.ru supports vBulletin®, 2022-2025