![]() |
Problem Trying to convert a simple script from vB3.x to vB4.x
Hi guys,
I need your help with a conversion. The owner of the forum I'm working in wants this marquee script (or something similar) on the webpage, but the script is for vBulletin 3.x and this forum is running 4.0.3 at the moment. I've tried a direct installation and this is what I receive: Code:
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: last10_thread in [path]/includes/functions.php on line 3957 Question: Has anyone successfully converted this particular script from vB3.x to vB4.x? Question: Is it possible to do so at all? This is what I have on the XML code regarding templates: Code:
<templates> Thanks for your help. PS: By the way this is the script (add-on) I'm talking about: https://vborg.vbsupport.ru/showthrea...hlight=alshehi --------------- Added [DATE]1278230619[/DATE] at [TIME]1278230619[/TIME] --------------- No ideas? |
Are there any helping hands out there?
Thanks |
I think this topic https://vborg.vbsupport.ru/showthread.php?t=217569 helps
|
Template:
Code:
<templates> PHP Code:
|
Thanks for your reply SecondV. I've done all the alterations you've given me on the main XML script, now not sure if I'm doing it right on the header part since it isn't working yet.
Do I need to change anything on the header code? Code:
<table border="1" cellpadding="2" cellspacing="3" style="border-collapse: collapse" bordercolor="#111111" id="AutoNumber1" width="100%"> I tried to {vb: (var/raw/phrase/rawphrase) $last10_threads} also but it didn't work either. Thanks again for your help. Regards, |
Should be able to:
{vb:raw last10_threads} |
Nope didn't work :(
|
Anyone else has any other idea on why this isn't working yet? I've tried changing almost every parameter here. I've read through dozens of pages on how to convert vB3.x to vB4.x but still no luck with this script. I have no idea what I can do next.
|
All times are GMT. The time now is 04:43 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:
|