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,973
  • Latest: NonStop
Stats
  • Total Posts: 196,231
  • Total Topics: 21,353
  • Online today: 651
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 470
  • Total: 470

Hide panels when on a custom page

Started by hebxi1, November 13, 2007, 02:44:44 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

hebxi1

I created a custom page by copying Memberlist ... basically does the same thing but lists different info that's pulled from Custom Profile Fields.  It's called with action=gslist, but that's about as fancy as I get - I don't know how to link it up to the Who's Online stuff or anything.

What I want is to hide the panels when viewing this page, just like I do on the Memberlist.  I know that's an option when using articles, but I just couldn't get it to show correctly that way.

I think the simplest way of doing this would be to have my custom template check for the Memberlist TP settings ... can someone point me in the right direction for doing that?

Thanks a ton in advance!


hebxi1

oy ... thanks ... I really did search! Must have not used the right combo  :(

wilsy

Quote from: HEB XI 1 on November 13, 2007, 02:44:44 AM
I created a custom page by copying Memberlist ... basically does the same thing but lists different info that's pulled from Custom Profile Fields.  It's called with action=gslist, but that's about as fancy as I get - I don't know how to link it up to the Who's Online stuff or anything.

What I want is to hide the panels when viewing this page, just like I do on the Memberlist.  I know that's an option when using articles, but I just couldn't get it to show correctly that way.

I think the simplest way of doing this would be to have my custom template check for the Memberlist TP settings ... can someone point me in the right direction for doing that?

Thanks a ton in advance!

Hi Heb,

Would you be willing to share this code?

Regards,

Wilsy.

Smoky


G6Cad

Smoky, i think wilsy meant the code the topicstarter used for his custom memebrs list. Not the answer posted by IchBin.

Smoky

Im sorry G6, but i thought he was asking Heb???  :-\ i must have gotten confused again..

wilsy

Quote from: G6 on December 25, 2007, 06:09:15 PM
Smoky, i think wilsy meant the code the topicstarter used for his custom memebrs list. Not the answer posted by IchBin.

Hi G6!

Yes, I was - Merry Xmas!

Quote from: Smoky on December 25, 2007, 07:49:54 PM
Im sorry G6, but i thought he was asking Heb???  :-\ i must have gotten confused again..

Hi Smoky,

Yes, I was. Heb is the topic starter - Merry Xmas!

Regards,

Wilsy.

hebxi1

#8
To be honest, I don't mind sharing, but I really can't tell ya how I got to the end result ... this was the fruit of a week long marathon run trying to get the code to show what I wanted, with the help of the guy who wrote the Custom Profiles Mod that I'm using.  Which, by the way, is not the officially recognized mod from SMF, but rather the one found here.

I'm not sure if there's some kind of copyright issue with "redistributing" these files ... since I copied from the default template I don't think there is?  If I'm wrong, feel free to remove the attachment!  Otherwise enjoy, but please don't ask me for help - I really couldn't code my way out of a wet paper bag.

Edit: apparently it's not kosher to share the 2 files ... I don't have time to go thru and share all the edits I made, so - sorry - hope those who already got it enjoy it and good luck to those who are trying!

Dragooon

Since in the header, it is clearly stated this is copyright to SimpleMachines, you cannot re-distribute them.

This website is proudly hosted on Crocweb Cloud Website Hosting.