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: 1
  • Guests: 323
  • Total: 324
  • @rjen

Using tpdownload, need a tab

Started by WBA Dude, June 13, 2009, 04:30:38 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

WBA Dude

Hi

I am using the latest tinyportal and wanting to use the download system which is included with this. What would I put so it showed up as a tab, Downloads?

Thanks  :up:

Zetan

See these topics:

Please read  and follow the Posting Guidelines.html

In particular, Theme, Theme Author and possibly a sample of the menu code from the theme index.template.php file.

A general guide:
How to add a Home button or a new tab?

WBA Dude

Tat is for a FORUM tab. What would it be for a downloads tab leading to the tinyportal downloads?  ???

Zetan

Quote from: WBA Dude on June 13, 2009, 05:23:44 PM
Tat is for a FORUM tab. What would it be for a downloads tab leading to the tinyportal downloads?  ???

No, it's a general guide on how to add a Home button, or any other tab. You need to adapt it for a Download tab. The principle is the same. If you get stuck, then post the code with the details requested in the Posting Guide.

If you are willing to make an effort, people are usually more willing to help if you do get stuck :)

WBA Dude

Quote from: Zetan on June 13, 2009, 05:32:38 PM
Quote from: WBA Dude on June 13, 2009, 05:23:44 PM
Tat is for a FORUM tab. What would it be for a downloads tab leading to the tinyportal downloads?  ???

No, it's a general guide on how to add a Home button, or any other tab. You need to adapt it for a Download tab. The principle is the same. If you get stuck, then post the code with the details requested in the Posting Guide.

If you are willing to make an effort, people are usually more willing to help if you do get stuck :)

I am stuck. lol.

Zetan

Me too, because you still haven't followed the posting guide.

Renegd98

Yep, until you provide the data requested as Zetan has requested we will continue to be stuck.

WBA Dude

Ok. I am using these mods.

Modification Packages
   Mod Name    Version    
1.    SMF File Manager    2.1.3    [ Uninstall ] [ List Files ] [ Delete ]
2.    Website Button    1.1.4    [ Uninstall ] [ List Files ] [ Delete ]
3.    Highlight Message Backgrounds    1.12    [ Uninstall ] [ List Files ] [ Delete ]
4.    Skype Integration    1.0    [ Uninstall ] [ List Files ] [ Delete ]
5.    SMF 1.0.16 / 1.1.8 Update    1.0    [ Uninstall ] [ List Files ] [ Delete ]
6.    Aeva ~ Auto-Embed Video & Audio    5.2.56    [ Uninstall ] [ List Files ] [ Delete ]
7.    SMFShop    3.0    [ Uninstall ] [ List Files ] [ Delete ]
8.    TinyPortal    1.075    [ Uninstall ] [ List Files ] [ Delete ]
9.    User Control Panel By Alan S    2.0    [ Uninstall ] [ List Files ] [ Delete ]
SMF SHOP Packages
   Mod Name    Version    
1.    SMFShop Inventory Post Mod    0.2    [ Uninstall ] [ List Files ] [ Delete ]
2.    SMFShop Stats Mod    0.1



At the moment, the first bit of the add a custom tab in the docs on this site in my index.template.php is:

if (in_array($context['current_action'], array('usercp','search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm')))

I really don't understand what to put for a download tab  :'(

Zetan

THEME?
All themes are different.




I asked this in my first post.

WBA Dude


This website is proudly hosted on Crocweb Cloud Website Hosting.