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: 150
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 98
  • Total: 98

Menu button in Admin "mlist"

Started by deansmar, September 04, 2008, 10:08:03 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

deansmar

Link to my site: http://www.deansmarine.co.uk/forum1/index.php
SMF version: SMF ver. 1.1.4
TP version:  not installed
Theme name and version: TP Adagio
Mods installed: SMF  Attachment-layout_1.3
Related Error messages: no Errors, all works fine, i would like to alter things and need a little help

i hope i have posted this request in the right place?

after installing the theme adagio, which i like very very much, the chance to enter the Members List "mlist" disapears.

of course it can be added back on again as a TAB at the top of the Forum which i have done and it works fine, with the restrictions in the Member Permition set for just Admin... which can be seen in the Attachment Forum2.jpg

what i would like to do, is put this link in the Admin menu as Text as can be seen in the attachment Forum1.jpg

could anyone point me in the right direction please..

regards

IchBin

So, what is the need for this? When you can view the members by clicking the "View all members" list already.

deansmar

#2
i am not to sure if you have noticed but, the View all members does:

action = veiwmembers

what i want is

action=mlist

there are two different displays!!!! (tables shown) have a look at the pictures again!!!!

one with IP address and the such like, the other is with IQC, and the web address etc.....

i would like to take the button of the top of the page away... and put it in the admin under members...??

IchBin

I do understand the subtle differences. I'm just curious why the current one isn't good enough.

You'd probably have to completely remove the member list functions from the memberslist template and the memberlist.php sources file,  and put them in the admin template and sources file. Far more than just moving a link.. More of an SMF question if you ask me.

deansmar

the only reaction i got from SMF was, contact "Bloc" its one of his themes!!

can anyone point me in the right direction to find "Bloc"??

G6Cad

And old junglesaying "You will not find Bloc, He will find you"

deansmar

i'll sit and wait for him at the local Bus stop then!

thanks anyway

IchBin

Quote from: deansmar on September 11, 2008, 09:25:09 AM
the only reaction i got from SMF was, contact "Bloc" its one of his themes!!

can anyone point me in the right direction to find "Bloc"??
Tell them you want to do it on the default theme then. Its not a custom theme issue, because 99% of themes never touch the admin templates.

Rumbaar

Well those buttons are controlled by the array in sources/ManageMembers.php, so that theme wouldn't have/shouldn't have changed that for display.  Are you sure you've not installed a mod or altered that source file?

I'm not sure of the syntax for the $txt[] string call, but you could add a new array to do it
'mlist' => array(
'title' => $txt['mlist'],
'description' => $txt['mlist_desc_txt_here'],
'href' => $scripturl . '?action=mlist',
'is_selected' => false,
),

But the $txt[] strings I don't know and you'll have to remember the manual coding you've done in the past to get it that way in the first place.  Does it show up in the default theme?  As I can't see this working in the admin area anyways.

deansmar

 :up:

well that seemed to work!! now i have in the ManageMembers.php the headings that i would like!!

now i have the links were i want them.

could some one please tell me, which PHP brings up the "mlist" members list ???  :idiot2:

that way i can change the links in that one to match the ManageMembers.php

:up:

This website is proudly hosted on Crocweb Cloud Website Hosting.