TinyPortal
Development => Feedback => Bugs/Errors => Topic started by: ontap on March 21, 2006, 05:32:00 AM
no one could submit any articles via the "User" block link, could not figure out why because they had the permissions too, looking threw TPortalBlocks.template file, i found the submit link was wrong....
changed it and now it works fine
TPortalBlocks.template.php
// can we submit an article?
if($context['TPortal']['can_submit_article']==1 && !allowedTo('tp_articles'))
echo $bullet4.'<a href="', $scripturl, 'action=tpmod&sub=submitarticle">' . $txt['tp-submitarticle']. '</a><br />';
Should Be...
// can we submit an article?
if($context['TPortal']['can_submit_article']==1 && !allowedTo('tp_articles'))
echo $bullet4.'<a href="', $scripturl, '?action=tpmod;sa=submitarticle">' . $txt['tp-submitarticle']. '</a><br />';
would this be a bug? ;)
This has been pointed out a few times Ontap. Bloc is aware of it. Thanks for helping squish it. :)
ahhh ok, didnt notice :P
Solved in 0.9.