![]() |
Auto edit templates?
Hi guys can you help me with auto editing templates?
I've tried to use PHP Code:
If you have some examples will be great. Thx in advance! |
Quote:
|
Hi
I'm trying to edit template reputationbit So i put this in hook global start: PHP Code:
(of course $search = 'test' is just an example) |
Personally I use something like this;
PHP Code:
--------------- Added [DATE]1269224776[/DATE] at [TIME]1269224776[/TIME] --------------- Also the hook is important. I put mine on showthread_start. If you put it on global_start, it will be running even when it is not needed, this impacts upon performance, however if you hook it into showthread_start, then it will only run on threads, which is where it is needed. :up: |
Quote:
[HOW TO - vB4] Rendering templates and registering variables - a short guide I think a better hook would be reputation_start |
heh. didn't see this was vb4 discussions, haha.
|
Quote:
Anyway I tested all possible but no result. So if anyone has some practical examples or know existing hack for vb4 using auto editing will be appreciated! |
All times are GMT. The time now is 05:21 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:
|