The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
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> <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> 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? |
#2
|
|||
|
|||
![]()
Are there any helping hands out there?
Thanks |
#3
|
|||
|
|||
![]()
I think this topic https://vborg.vbsupport.ru/showthread.php?t=217569 helps
|
#4
|
||||
|
||||
![]()
Template:
Code:
<templates> <templatename="last10_thread" templatetype="template" date="1123667588" username="alshehi" version="v.4"><![CDATA[<a href="showthread.php?{vb:raw session.sessionurl}goto=newpost&t={vb:raw last_thread.threadid}"><strong style="font-weight: 400">{vb:raw last_thread.title}</strong></a> (Last Post: {vb:raw last_thread.lastposter} - Replies: {vb:raw last_thread.replycount} - Views: {vb:raw last_thread.views}) </a> ? ]]></template> </templates> PHP Code:
|
#5
|
|||
|
|||
![]()
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%"> <tr> <td width="100%"><marquee onmouseover=this.stop() onmouseout=this.start() direction="left" scrollamount="2" scrolldelay="60" div class="smallfont">Last 10 THreads :   $last10_threads</marquee></td> </tr> </table> <br> I tried to {vb: (var/raw/phrase/rawphrase) $last10_threads} also but it didn't work either. Thanks again for your help. Regards, |
#6
|
||||
|
||||
![]()
Should be able to:
{vb:raw last10_threads} |
#7
|
|||
|
|||
![]()
Nope didn't work
![]() |
#8
|
|||
|
|||
![]()
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.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|