We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Locked Topic
[ C ] Need 'Side-post' Stats Code
Topic Started: Mar 11 2010, 10:32 PM (275 Views)
Epiphany.d2jsp
Member Avatar
Member
[ * ]
My board: http://www.guild-ashwood.co.nr/
it's invisionfree I just had the domain changed

So I asked in a support ticket on my board ACP about this, and they said to ask here if any of you experienced coders can help.

As seen in this screenshot I made:
Posted Image

I want to be able to make it all condensed so it's not so spaced out like seen in the screen shot.
I really do not have any experience coding so not really sure how to make this work, but the user who helped me in my Support Ticket said it is very well possible either through the CSS or JavaScript.

Also if there is a way to add a custom field here, that I can give to specific members only, a code for this would be great to, for example on another board we use, there are Trusted tags given to members, if they sign up on my board I want to be able to give it to them there too, if this is possible then awesome, if not , its fine too!

Thanks for any help possible!
- Sam
Offline Profile Goto Top
 
Pete B-ZNR
Member Avatar
Member
[ *  *  * ]
You can compact the text quite easily with CSS, although it can't go quite as far as you'd like in the screenshot. Give a try to see if it will be OK. If not maybe someone can remove the whitespace with JS.

To try it, go to the Manage Style Sheets page in your ACP, and then find this:

Code:
 
.postdetails { font-size:10px; }


And change it to:

Code:
 
.postdetails { font-size:10px; line-height:0.9em; }

Offline Profile Goto Top
 
Reid
Member Avatar
È una trappola!

Try placing this in the footers of your board template:
Code:
 
<script type='text/javascript'>
(function () {
var b = document.getElementsByTagName('span'), c = b.length;
while (c--) {
if (b[c].className === 'postdetails') {
b[c].innerHTML = b[c].innerHTML.replace(/(?:<br>){2}/g, "<br>");
}
}
})();
</script>
Offline Profile Goto Top
 
Epiphany.d2jsp
Member Avatar
Member
[ * ]
Fantastic!
Thanks to both of you, very much!
Offline Profile Goto Top
 
Reid
Member Avatar
È una trappola!

Completed!

Your code request has been completed.

Thank you for using our Member Request system here at Zathyus Networks Resources! If you have any questions regarding this topic, feel free to PM the code creator or post a new topic in the request forum. :)

Have a nice day!
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Closed Requests · Next Topic »
Locked Topic