The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Show Thread Description :(
I have this code:
<script language="" type="text/javascript"> var name1 = new String(); var title1 = new String(); for (x = 0; x < 4; x++){ name1 = threads[x].poster; if (name1.length > 13){ name1 = name1.slice(0,9) + "…"; } title1 = threads[x].title; if (title1.length > 28){ title1 = title1.slice(0,25) + "…"; } document.writeln("<a href=\"http://www.habbohotelforum.net/showthread.php?t="+threads[x].threadid+"\" target=\"_blank\" class=\"forumtitle\">"+title1+" »</a><br /><div style=\"padding-bottom: 5px;\"><em>+description+(Posted by "+name1+")</em></div>");} </script> I'm trying to add the description about 26 characters of the first post please. I'm having problems. Also i'm using 3.8.7 SP2 Thank you for any help provided. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|