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

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,021
  • Total Topics: 21,332
  • Online today: 582
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 341
  • Total: 341

How do members submit an article?

Started by kyyote, January 02, 2006, 04:39:12 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bloc

It seems like an error..how about removing the $txt['tp-tunread']='Unread Posts'; and changing $txt['tp-unread']='New Posts'; to $txt['tp-tunread']='New Posts';?

Still, it should be only $txt['tp-unread'] that are used.

fenris_w0lf

I found this:
if(isset($context['TPortal']['userbox']['unread'])){
                      echo '<br />'.$bullet.'<a href="', $scripturl, '?action=unread">' .$txt['tp-unread'].'</a>
                      <br />'.$bullet.'<a href="', $scripturl, '?action=unread;all;start=0">'.$txt['tp-tunread'].'</a>
                            <br />'.$bullet.'<a href="', $scripturl, '?action=unreadreplies">'.$txt['tp-replies'].'</a>';
               }

in the file:

\Themes\default\TPortalBlocks.template.php

(notice the 'tp-tunread')

But...nm...it seems to be working fine now :)

Nails

I have the 'Submit an article!' link under the Tools block for members but when it's clicked it doesn't do anything (well, stricktly speaking it reloads the page). All members are set to be allowed to submit and the WYSIWYG option is turned on.

I'm using 1.1 RC1 and TP v0.8.6

Any ideas?

http://www.sinergylarp.com/forum

bloc

Check that the link they have is actually "index.php?action=tpmod;sa=submitarticle", and not "index.php?action=tpmod;sub=submitarticle".

Nails

I think you may have found the problem. The link is "index.php?action=tpmod&sub=submitarticle"

This may seem like a lame question but which file do I change this in? I thought it would be forum/index.php but that aint it...

IchBin

I think Bloc has this fixed in the updated 0.86 files.

G6Cad

If you dont want to upgrade the file you change the string in is index.template.php in /themes/default/

bloc

Its present in TPortalBlocks.template.php..not index.template.php. ;)

Nails

Quote from: IchBinÃ,â,,¢ on March 12, 2006, 05:22:10 AM
I think Bloc has this fixed in the updated 0.86 files.

I'm not sure this is the case, I'm using the update.

I've changed the link in 'TPortalBlocks.template.php' to 'action=tpmod;sa=submitarticle' and it works now.

Thanks for your help.

This website is proudly hosted on Crocweb Cloud Website Hosting.