Limiting signatures
Wed Jan 21, 2015 7:15 am
Today I will show you how you can limit signatures and add scrolling if signature is bigger.
Tutorial for PunBB
Go to:
AdminPanel -> Display -> Templates -> General -> viewtopic_body
Find this:
Replace that with:
You can change height 100px to smaller or higher.
Tutorial for PhpBB2
Go to:
AdminPanel -> Display -> Templates -> General -> viewtopic_body
Find this:
Replace that with that with:
You can change height 100px to smaller or higher.
Tutorial for phpBB 3 & Invision
Find this:
Replace that with
You can change height 100px to smaller or higher.
Tutorial for PunBB
Go to:
AdminPanel -> Display -> Templates -> General -> viewtopic_body
Find this:
- Code:
<div class="sig-content">
{postrow.displayed.SIGNATURE_NEW}
</div>
Replace that with:
- Code:
<div class="sig-content">
<div style="height: 100px; overflow: auto;">
{postrow.displayed.SIGNATURE_NEW}
</div>
</div>
You can change height 100px to smaller or higher.
Tutorial for PhpBB2
Go to:
AdminPanel -> Display -> Templates -> General -> viewtopic_body
Find this:
- Code:
<div class="signature_div">
{postrow.displayed.SIGNATURE}
</div>
Replace that with that with:
- Code:
<div style="height: 100px; overflow: auto;"><div class="signature_div">
{postrow.displayed.SIGNATURE}
</div></div>
You can change height 100px to smaller or higher.
Tutorial for phpBB 3 & Invision
Find this:
- Code:
<div class="signature_div" id="sig{postrow.displayed.U_POST_ID}">{postrow.displayed.SIGNATURE_NEW}</div>
Replace that with
- Code:
<div class="signature_div" id="sig{postrow.displayed.U_POST_ID}"><div style="height: 100px; overflow: auto;">{postrow.displayed.SIGNATURE_NEW}</div></div>
You can change height 100px to smaller or higher.
Re: Limiting signatures
Sun Feb 22, 2015 2:01 am
Good tutorials! I will definitely implement these into my forum!
Permissions in this forum:
You cannot reply to topics in this forum
|
|