BBcode


Subject: BBcode
For my website I would like to have (just like the hide BBcode) that BBcode can be placed in another BBcode. In BBcode.php I made the necessary addings to get it working....

The only problem here is that I cannot use BBcodes inside the BBcode [PIC] [/PIC].
(PIC does not stand for a picture/ image, but its a collapsing function!)

For example:
[PIC]
Example post on my board
[/PIC]

Example post on my board

What do I need to edit to get it to work?

Thanks in advance!


Code: [Download] [Hide]
  1.  
  2. 'pic' => array('nested' => true, 'inurl' => true, 'allow_empty' => false), 
  3. 'googlevideo' => array('nested' => true, 'inurl' => true, 'allow_empty' => false), 
  4.  
  5.  


Code: [Download] [Hide]
  1. || ($tag === 'pic') || ($tag === 'googlevideo')) 
  2.  



Code: [Download] [Hide]
  1. elseif ($tag === 'pic') 
  2. $html = ' 
  3. <div width="600" class="12"> 
  4. <object width="600"> 
  5. <img height="1" width="600" src="http://www.fluks.net/templates/default/images/youtube11.gif" alt="YouTube"> 
  6. <br /> 
  7. <img height="60" width="600" src="http://www.fluks.net/templates/default/images/flabber.png" alt="flabber"> 
  8. </object> 
  9. </div> 
  10.  
  11. <div class="14"> 
  12. <div> ' . $content . ' </div></div>'; } 
  13.  



Thanks in advance!

Profile PM  
Subject: Re: BBcode
Why can't you use or style SPOILER BBCode?


Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.6555s (PHP: 3% SQL: 97%)
SQL queries: 10 - Debug Off - GZIP Enabled