Code:
{if $link_shakebox_currentuser_votes eq 0 && $link_shakebox_currentuser_reports eq 0}
<a href="javascript:{$link_shakebox_javascript_vote}">{#PLIGG_Visual_Vote_For_It#}</a>
{else}
{if $link_shakebox_currentuser_reports neq 0}
<span>{#PLIGG_Visual_Vote_Report#}</span>
{else}
{if $pagename eq "user" && $user_logged_in neq $link_submitter}
<a href="javascript:{$link_shakebox_javascript_unvote}">{#PLIGG_Visual_Unvote_For_It#}</a>
{else}
<span>{#PLIGG_Visual_Vote_Cast#}</span>
{/if}
{/if}
{/if} What we are doing is an include of the page upcoming.php in the plig.tpl template. we think that the libraries in both index.php and upcoming.php are messing with eachother.
this code is in pligg.tpl
Code:
include ('http://votalanota.com/upcoming.php'); pligg_upcoming.tpl
Code:
{checkActionsTpl location="tpl_pligg_above_center"}
{include file=$tpl_center.".tpl"}
{checkActionsTpl location="tpl_pligg_below_center"} 



Linear Mode




