Notifications
Clear all

View User Profile Questions (show user skin and hide empty tabs)

3 Posts
2 Users
0 Reactions
1,655 Views
 SJP
(@sjp)
Posts: 66
Trusted Member
Topic starter
 

Hi, I have a few questions about viewing another user's profile.

1. How can we show what skin a member is using on their profile page? Is there a variable for this that can be used in the tpl page or does one need to be created?

2. Is there a way to hide tabs that don't have any data. For example, an author profile may show:
Stories [21] Series [ 0 ] Challenges [ 0 ] Reviews [12] Favorites [10] Statistics
Is there a way to make is so the Series and Challenges tabs does not appear for that user because there are no Challenges to show?

Thank you for any help you can provide!


 
Posted : 10/03/2013 4:50 pm
 SJP
(@sjp)
Posts: 66
Trusted Member
Topic starter
 

I figured out the show user skin question and wanted to post the solution in case someone else was looking for it. I used the version 2 instructions from here: https://efiction.org/forums/index.php?topic=1386.msg8079#msg8079, and I just added the mods to profile.php and profile.tpl instead of what's listed in the version 2 post.


 
Posted : 20/03/2013 10:13 am
(@itanshi)
Posts: 381
Reputable Member
 

cool beans

I'm installing symfony 2.0.2, wish me luck


I am rebuilding efiction! Join us on irc! #efiction at www.mibbit.com Instructions for irc πŸ˜€ Alpha released!

 
Posted : 20/03/2013 5:14 pm
Share: