PDA

View Full Version : [vBulletin] How to call a template in ''


assassingod
02-01-2003, 05:20 PM
Hey;

I really need to call a template within this line of code;

if (($bbuserinfo['userid']!=$thread['postuserid']) and (!$getperms['canviewothers'] or !$getperms['canreplyothers'])) {
$replybox='';


In this bit:
$replybox='';

I've tried a couple of things but nothing works!

I really need help, thanks

Link14716
02-01-2003, 05:38 PM
eval("\$replybox = \"".gettemplate("TEMPLATENAME")."\";");

assassingod
02-01-2003, 05:40 PM
Duh, its that simple
* assassingod hits himself

Thanks a bunch:D:)

Link14716
02-01-2003, 05:46 PM
No problem. :)