TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 346
  • Total: 346

Submit Article Bug?

Started by ontap, March 21, 2006, 05:32:00 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ontap

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?  ;)

IchBin

This has been pointed out a few times Ontap. Bloc is aware of it. Thanks for helping squish it. :)

ontap


bloc


This website is proudly hosted on Crocweb Cloud Website Hosting.