Download mod:http://www.phpbb.com/community/viewtopic.php?f=69&t=1559965
Descriere: Cu ajutorul acestui mod, se poate ascunde un link sau un text pe care le pot vedea doar utilizatorii inregistrati, asa cum avem pe
http://www.reclama.ro/forum/ - este util pentru ca ascundem doar ce vrem noi, nu toate linkurile.
Autor: AllCity
Fişere de modificat:
* styles/prosilver/subsilver2/template/overall_header.html
Fişiere de uploadat:
* root/styles/prosilver/subsilver2/theme/phpBBHideBlockStyle.css
Instalare:
ProSilver
* Deschideti styles/prosilver/template/overall_header.html:
Cautati:
Code:
</head>
Adăugaţi înainte:
Code:
<style type="text/css">
@import url('{T_THEME_PATH}/phpBBHideBlockStyle.css');
<!-- IF not S_USER_LOGGED_IN -->
div.phpBBHideBlockA {display: none;}
<!-- ELSE -->
div.phpBBHideBlockB {display: none;}
<!-- ENDIF -->
</style>
SubSilver2
* Deschideti styles/subsilver2/template/overall_header.html::
Căutaţi:
Code:
</head>
Adăugaţi înainte:
Code:
<style type="text/css">
@import url('{T_THEME_PATH}/phpBBHideBlockStyle.css');
<!-- IF not S_USER_LOGGED_IN -->
div.phpBBHideBlockA {display:none;}
<!-- ELSE -->
div.phpBBHideBlockB {display:none;}
<!-- ENDIF -->
</style>
Apoi adăugaţi ( in ACP - Scriere - CoduriBB - Adauga un cod BB nou ) următorul bbcode :
BB code usage:
Code:
[hide]{TEXT}[/hide]
HTML replacement:
Code:
<div class="phpBBHideBlockB"><strong>Hidden text</strong>: ON<hr class="phpBBHideBlockLine" />Available only to registered users.</div><div class="phpBBHideBlockA"><strong>Hidden text</strong>: OFF<hr class="phpBBHideBlockLine" />{TEXT}</div>
Help line:
Code:
[hide]text[/hide]
Bifati "Display on posting page" ca sa apara butonul "hide" la postarea mesajelor in forum.
Stergeti cache !