miniBB ® 

miniBB

®
Support Forums
  
 | Start | Register | Search | Statistics | File Bank | Manual |
Custom Tutorials and Modifications miniBB Support Forums / Custom Tutorials and Modifications /  
 

allowing [s][/s] tags and aligned [img]

 
Author kelen
Guest
#1 | Posted: 13 May 2007 05:07 
Hi please how i can allows bb-code [s][/s]???

and my tag for picture [imgsleft] or [imgsright] not function? where should be a problem?


(sorry for my english)

Thnx a lot!

Author tom322
Active Member
#2 | Posted: 13 May 2007 21:35 
[s] - meaning small text?

Author kelen
Guest
#3 | Posted: 14 May 2007 02:27 
no [s] is for strict tag... <s>test</s>

Author tom322
Active Member
#4 | Posted: 14 May 2007 10:29 
I think you mean the "strike tag." You can try:

Edit bb_codes.php and in enCodeBB() function area paste:

$pattern[]="/\[[sS]\](.+?)\[\/[sS]\]/s";
$replacement[]='<s>\\1</s>';

In deCodeBB() function, paste:

$pattern[]="/<s>(.+?)<\/s>/is";
$replacement[]="[s]\\1[/s]";

----
Then use [s]test[/s] to test it.

Author kelen
Guest
#5 | Posted: 15 May 2007 06:04 
ok, i have it now ... thnx

Author Paul
Lead Developer 
#6 | Posted: 15 May 2007 06:46 
and my tag for picture [imgsleft] or [imgsright] not function? where should be a problem

There is no problem, these tags are not enabled by default. You need to either program them yourself, or use combination of nested tags like

[ alignleft][imgs=...]...[/imgs][/alignleft ]

Author kelen
Guest
#7 | Posted: 16 May 2007 06:32 
yes i have it...my friend update a bbcodes.php and now its function...if anybody want this bbcode (img function and tag [s][/s] too) write email and i send it ... kelen@centrum.cz

Author Paul
Lead Developer 
#8 | Posted: 16 May 2007 10:31 
Just publish them here.

Custom Tutorials and Modifications miniBB Support Forums / Custom Tutorials and Modifications /
 allowing [s][/s] tags and aligned [img]
 Share Topic's Link

Your Reply Click this icon to move up to the quoted message


  ?
Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.


Before posting, make sure your message is compliant with forum rules; otherwise it could be locked or removed with no explanation.

 

 
miniBB Support Forums Powered by Forum Software miniBB ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Proceed with the Captcha add-on: protect your miniBB-forums from the automated spam and flood.


  ⇑