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
Not sure what I should replace the template with.
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>
<templatename="last10_thread" templatetype="template" date="1123667588" username="alshehi" version="v.4"><![CDATA[
<a href="showthread.php?$session[sessionurl]goto=newpost&t=$last_thread[threadid]">
<strong style="font-weight: 400">$last_thread[title]</strong></a> (Last
Post : $last_thread[lastposter] - Replies : $last_thread[replycount] - Views : $last_thread[views] ) </a> ? ]]></template>
</templates>
Anyone with a little more knowledge of xml than I do that has an idea on why this error happens? I've checked all the db queries and they seem to be fine, at least all the tables exist on the db and the queries should be going through.
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?