View Full Version : categories lock
jdiofu
11-11-2006, 04:56 AM
I really like this categories lock feature but it's missing something that is showing the message out front before they hit the "suggest link" button.
Anh I would like to create a box with some guidelines, rules... right on top of submission form like other 'phpLD' has, because webmasters lazy to read TOS :-)
Dave Baker
11-11-2006, 11:33 PM
Hello jdiofu,
showing the message out front before they hit the "suggest link" button.
***Open templates/yourTemplate/index.tpl and find code***
<h1>{$header}</h1>
{if $category.description}
<div class="box" style="border: none;">{$category.description}</div>
{/if}
***Below this code add***
{if $category.locked}
<div class="notification">{$lang.error_category_locked}</div>
{/if}
***Save file***
Anh I would like to create a box with some guidelines, rules... right on top of submission
***Open templates/yourTemplate/footer.tpl and find code ***
{if $sponsored_links}
<div class="box">
<div class="box-caption-right">
<div class="box-caption-left">
<div class="box-caption">{$lang.sponsored_links}</div>
</div>
</div>
<div class="box-content">
<div class="links">
***Before this code add***
{if $tab eq 'suggest-link'}
<div class="box">
<div class="box-caption-right">
<div class="box-caption-left">
<div class="box-caption">box with some guidelines, rules... </div>
</div>
</div>
guidelines, rules... <br>
guidelines, rules... <br>
guidelines, rules... <br>
guidelines, rules... <br>
<div class="box-footer-right">
<div class="box-footer-left">
<div class="box-footer"></div>
</div>
</div>
{/if}
***Save file***
p.s I used for this "Ocean" template
vBulletin® v3.7.0, Copyright ©2000-2009, Jelsoft Enterprises Ltd.