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,004
  • Total Topics: 21,330
  • Online today: 103
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 242
  • Total: 242

Admin and TP Admin

Started by nokonium, January 09, 2006, 07:20:03 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Nokonium

Firstly, would it be possible to automatically shrink the sidebars and top bars when opening either of the two admin options? Say as an option within the TP general settings, like the forum.

Secondly, with the addition to the buttons of the download manager, on top of two I had already added for PM's and Unread posts, I am now having problems with the button row wrapping. Could TP Admin be incorporated into the Admin section? This will become more of a problem for those using buttons when other modules are added.

Moocat

i personally like it in the toolbar at the top, but maybe it could be in both places, and you can change whether the button appears in the topbar or not from the tpadmin menu.

Nokonium

Look at the NDT, Core, it has both the tabs I use as buttons and a Members tab as well. You translate that into buttons and you are in trouble. For admins (as one of my co-admins suggested, maybe you don't need the full text on buttons, maybe abreviations would suffice.

feline

hi nokonium,

it's very simple to add TP in SMF Admin ...

for 1.1 rc2
open Subs.php and search for:

// Set up the administration sections.
function adminIndex($area)
{
global $txt, $context, $scripturl, $sc, $modSettings, $user_info, $settings;

// Load the language and templates....
loadLanguage('Admin');
loadTemplate('Admin');

// Admin area 'Main'.
$context['admin_areas']['forum'] = array(
'title' => $txt[427],
'areas' => array(
'index' => '<a href="' . $scripturl . '?action=admin">' . $txt[208] . '</a>',
'credits' => '<a href="' . $scripturl . '?action=admin;credits">' . $txt['support_credits_title'] . '</a>',
)
);


add after that:

// Add TiniPortal
$context['admin_areas']['other'] = array(
'title' => 'TinyPortal',
'areas' => array(
'TinyPortal' => '<a href="' . $scripturl . '?action=tpadmin">' . $txt[208] . '</a>',
)
);


thats  all  ::)

Fel

crip


feline

thanks crip  :)

It's good think, to add many options into Admin section ...

Fel

Nokonium


Xarcell

Thanks, I'd rather have it in the admin section as well.

Kudos

bloc

Good suggestion..I have been wondering about what to do about it, because with additonal modules like downlaod manager, comes more buttons...

So maybe something like this:
1.)
- keeping tpadmin button
- change "downloads" to read "modules"? And a new screen to select any modules you have active.

2.)
- move tpadmin to SMF admin , loose the button
- same as above for "downloads"

3.)
- keep everything and add new ones.. :P :)

3. def. will be crowded, so I don't think that will be good at all.

About auto-upshrinking when in special parts, that will be options available. Not in 0.8..since I will be forever in this version if I add another on top everything else..but in 0.9 for sure.

Xarcell

#9
I think you should let people add buttons manually. You also gotta remember that there are other mod's added to SMF in general that add buttons, aside from any buttons that  user might want to add manually like "stats", "gallery", "osstore" or "smfshop", etc.

I always find it a pain to fit in buttons into a theme.

This website is proudly hosted on Crocweb Cloud Website Hosting.