AVeryNiceWeb

[BBcode] Read More

Here we discuss all topic related to PHPBB 3.0 and up

[BBcode] Read More

Postby admin » Wed Oct 19, 2016 7:03 pm

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!
The AVNW Support Team
http://www.AVeryNiceWeb.com

If we have provided you with great information or service, there are a few ways you can show your appreciation:
  1. Become a AVNW Paid Subscriber.- We are constantly updating our data base with great tips and solutions to common problems, especially with Ultimate Member. If you found our site because of a WordPress issue, then your issue (if solved) will be published with the solution(s) for others to benefit from.
  2. Make a small donation.- We have buttons at the top and bottom that will allow you to do so via PayPal fast.
  3. Send us a testimonial.- Testimonials giving us praise for our good work is also valuable to us and encourages others to seek our support.
  4. Post a review (OP only).- If you came from a WordPress support board, posting a good review about our free service could also compel others to seek our advice & support.
  5. Like us on Facebook.- Recently our account had a problem on FB and we were forced to create a new one. We lost all our posts & likes. :(
If you do all 5, you'll get a surprise bonus from us. :)
Thank You!
User avatar
admin
Site Admin
 
Posts: 381
Joined: Mon Jan 13, 2014 3:18 am
Location: New York City

Return to PhpBB 3.0.XX

Who is online

Users browsing this forum: No registered users and 0 guests

cron