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!
A quick search will of course always find the answer....
http://www.tinyportal.net/index.php?topic=13031.msg108852#msg108852
oy ... thanks ... I really did search! Must have not used the right combo :(
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.
hey wilsy:
Quotehttp://www.tinyportal.net/index.php?topic=13031.msg108852#msg108852
all you had to do was look at the link. Merry Christmas ;)
Smoky, i think wilsy meant the code the topicstarter used for his custom memebrs list. Not the answer posted by IchBin.
Im sorry G6, but i thought he was asking Heb??? :-\ i must have gotten confused again..
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.
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 (http://wgnrs.dynalias.com/smf/customprofile.html).
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!
Since in the header, it is clearly stated this is copyright to SimpleMachines, you cannot re-distribute them.
It's my understanding that if I use the default files as a basis for my own, then I am free to share them, especially if credit is given where due. When using other people's files as a basis, I am required to get their permission before sharing.
Can we get an official TP/SMF clarification on this one?
You can re-distribute the template files AFIAK. But you can't re-distribute the Source files.
Dragooon is correct, you can share your code edits MADE to the file/s , but not the complete SMF package or any of the source files.