Slide user information
+3
Codyy
!_NICK_!
DailyTeens
7 posters
Page 1 of 1
Slide user information
So I'm using PunBB, and I want to add a javascript code or something like that, with wich you can hide user information. By making a simple click on a button wich is placed by the username in topics. ( Something like the sign on the left of the forum. So just to let you know I'm using a customized viewtopic_body template.
Link to my forum : blink-design.forumotions.in
Link to my forum : blink-design.forumotions.in
DailyTeens- New Member
- Posts : 22
Reputation : 1
Language : Bosnian, Englsih
Re: Slide user information
What you said seems to me like a Statement. Would you tell us your question?
!_NICK_!- Active Poster
- Posts : 1505
Reputation : 69
Language : English, HTML, and CSS
Location : In the middle of no return.
Re: Slide user information
I understand what you're trying to say, after reading it 5 times.
This will help you: https://help.forumotion.com/t78898-show-hide-widgets-script
This will help you: https://help.forumotion.com/t78898-show-hide-widgets-script
Re: Slide user information
All I wanted to tell you is that I want to hide and show that information under your avatar.
DailyTeens- New Member
- Posts : 22
Reputation : 1
Language : Bosnian, Englsih
Re: Slide user information
Okay, you need to be much more specific in your posts when asking for help. We have no clue what to help you with, any other way.
You'll need to wait for someone who knows the script to do that.
You'll need to wait for someone who knows the script to do that.
Re: Slide user information
It works thank you.
I just want to replace the button with ordinary text )
But txn
I just want to replace the button with ordinary text )
But txn
DailyTeens- New Member
- Posts : 22
Reputation : 1
Language : Bosnian, Englsih
Re: Slide user information
Yes It will
BTW If I choose to hide stats on the first post then I gotta show It from the first one too, on the button from the other members that posted there It just won't hide/show.
BTW If I choose to hide stats on the first post then I gotta show It from the first one too, on the button from the other members that posted there It just won't hide/show.
DailyTeens- New Member
- Posts : 22
Reputation : 1
Language : Bosnian, Englsih
Re: Slide user information
BTW If I choose to hide stats on the first post then I gotta show It from the first one too, on the button from the other members that posted there It just won't hide/show.
DailyTeens- New Member
- Posts : 22
Reputation : 1
Language : Bosnian, Englsih
Re: Slide user information
Rideem3 that would be a VERY long way and uneccessary way of doing that.
It can be done with a simple template edit.
So find this in your view_topic template:
And right above it put this:
And your done. This will toggle the information under each member individually.
Where it says 'Hide Stats' and 'Show Stats' you can replace with your images.
It can be done with a simple template edit.
So find this in your view_topic template:
- Code:
<div class="user-info">
{postrow.displayed.ONLINE_IMG}
<!-- BEGIN profile_field -->
{postrow.displayed.profile_field.LABEL}{postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR}
<!-- END profile_field -->
{postrow.displayed.POSTER_RPG}
</div>
And right above it put this:
- Code:
<div>
<div onclick="jQuery(this.parentNode.nextSibling).slideToggle();jQuery('.togglestats').toggle();" class="togglestats">Show Stats</div>
<div onclick="jQuery(this.parentNode.nextSibling).slideToggle();jQuery('.togglestats').toggle();" class="togglestats"style="display:none">Hide Stats</div>
</div>
And your done. This will toggle the information under each member individually.
Where it says 'Hide Stats' and 'Show Stats' you can replace with your images.
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: Slide user information
LGforum wrote:
And your done. This will toggle the information under each member individually.
Where it says 'Hide Stats' and 'Show Stats' you can replace with your images.
good job LG
Re: Slide user information
Thanks, you can lock this topic now
DailyTeens- New Member
- Posts : 22
Reputation : 1
Language : Bosnian, Englsih
Re: Slide user information
Topic Solved & Locked |
Nera.- Energetic
- Posts : 7078
Reputation : 2017
Language : English
Location : -
Similar topics
» Placing the user's profile information above the post
» Adding a Slide show
» Can't delete forum
» JQuery Slide up and down
» [Solved] Slide bar and scrolling text.
» Adding a Slide show
» Can't delete forum
» JQuery Slide up and down
» [Solved] Slide bar and scrolling text.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum