TinyPortal

Development => Support => Topic started by: bloodytv on October 31, 2005, 03:53:12 AM

Title: Submitting Articles
Post by: bloodytv on October 31, 2005, 03:53:12 AM
I just installed TinyPortal, looks great, runs great, no serious errors, everything is great.    I just got this one little thing; I have it set where some people can submit ariticles, but eh... how do they actually do it?  I can't find it anywhere where people go to submit articles.  How can I make that work?  Thanks in advanced. :)
Title: Re: Submitting Articles
Post by: bloc on October 31, 2005, 12:34:18 PM
its actually a link in the userblock..and its not shown to admins. :) So just set up the group and the members will see a link. Better this though..so those that cannot submit, won't try to do it anyway. ;)
Title: Re: Submitting Articles
Post by: bloodytv on October 31, 2005, 03:23:08 PM
Ah, that would be why I wasn't seeing it; the user block is disabled for users.  :2funny:  Followup question : is there anyway to make a button on the top menu that is visible to some membergroups but not to others, to make the link to submit an article more visible?
Title: Re: Submitting Articles
Post by: bloc on October 31, 2005, 06:32:36 PM
yes..if you use the check as the userblock does:


               if(isset($context['TPortal']['can_submit_article']) && $context['TPortal']['can_submit_article']==1 && !$context['user']['is_admin'])
                       echo '<a href="', $scripturl, '?action=tpmod&sub=submitarticle">yourbutton</a>';


This will show a button for those that can submit..and not for others.
Title: Re: Submitting Articles
Post by: bloodytv on October 31, 2005, 07:09:20 PM
Yes!!  That did exactly what I wanted it to.  Thank you so much; has anyone ever told you that should be, if you aren't already, a God? :laugh:

One other tiny thing which doesn't relate much to this; I used your button generator to create the button, but the font doesn't seem to match.  Could you tell me what font and sized you perhaps used when making the 'Home' 'Forum' 'Search' 'Profile' buttons for the Helios theme?  I'd really appreciate it.  Thanks again.
Title: Re: Submitting Articles
Post by: IchBin on October 31, 2005, 10:56:20 PM
Did you see that you could select sephia and normal for font type? It's set at normal font for default. Try sephia and see if that is what you're looking for.
Title: Re: Submitting Articles
Post by: bloc on November 01, 2005, 10:49:23 AM
The Apollo has that..but I think he meant Helios ;) ....and sorry to say, the generator online acts a little different than my local on the Helios buttons. Difference between windows and linux i reckon.

The font is called axaxax.ttf and size about 7-8 points.

But I will post the button here if you like..what should it be called?