Chatbox

You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

Kaynil

avatar

Member
Well, I just changed to punBB, and I suppose it is a simple code, but I have little practice so I decided to ask here, hopefully I can make myself understood.

When you post a message, in your mini profile appears your contact field in the same "line" (yet not the same cell) as "quote", "edit" etc buttons... Since I have a lot of fields, the information takes more space and open an unneeded gap I want to solve.

I have seen some profiles having a "click here to see more" type of button or text, that displays pretty much the same way a spoiler tag works. I would like to implement one in my forums, the only thing to keep in mind it is not for the usual "location, zodiac, etc" type of information but "PM, Email, website, MSN, Skype..etc

This is our current look:


Thank you very much.

View user profile http://roczuz.com/-c2

Drogba921

avatar

Administrator
I'd suggest to use smaller icons instead. It's more organized.

View user profile http://www.codinghelp.org

Kaynil

avatar

Member
Thank you for the suggestion, but I still would like a code for hiding them inside a button.
Is there a way to achieve this in punBB?

View user profile http://roczuz.com/-c2

LGforum

avatar

Moderator
Do you have this in your viewtopic_body template:
Code:
<div class="user-contact">

If so swap it for this:
Code:
<span onclick="jQuery(this.nextSibling).toggle()">Contact Info</span><div class="user-contact" style="display:none">

View user profile

Sponsored content


View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum