Page 1 of 1

[BBcode] Read More

PostPosted: Wed Oct 19, 2016 3:03 pm
by admin
Required: BBCode Hidder MOD.

Description:This BBCode is perfect for hiding your content in a post forcing visitors to either pay to view, register ot login. It really depends how you configure the urls.

BBCode usage
Code: Select all
[More]{TEXT}[/More]


HTML Replacement:
Code: Select all
<div style="margin-top: 5px;"> <p style="margin: 0px; font-size: 0.8em;"> <span style="font-weight: bold; text-transform: uppercase; color: #808000;">Read More:</span>&nbsp;<div class="quotetitle"><input type="button" value="Show" style="width:60px;font-size:10px;margin:0px;padding:0px;" onclick="if(this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display!=''){this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display='';this.innerText='';this.value='Hide';}else{this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display='none';this.innerText='';this.value='Again';}" /></div><div class="quotecontent"><div style="display:none;">{TEXT}</div></div></div>


Example: There is a button below containing a snippet of code which should be hidden from view. If you click on it and can see it, then you have permissions to view this post. The button says "Show". After you click, it will say "Hide". Click it again and it will say "Again".

More Tips: 

To view this code please make a small donation or login to see it!