Messages - ioncube [ switch to compact view ]

Pages: [1] 2next
1
Announce Your Software/Service/Product / Re: BBCeditor 1.0.30
« on: August 15, 2012, 09:17 PM »
[/b]
- option for clearing non-existng Recent files on startup - MilesAhead
-fenixproductions (August 12, 2012, 06:18 PM)

Thank you. :)

Extremely thank you. No I am a happy engineer :-*

By the way being a chemical engineer am not much in scripts stuff. Can you tell me or just give me reference URLs what is the difference b/w (.*?) or (\d*?)

2
Announce Your Software/Service/Product / Re: BBCeditor 1.0.30
« on: August 10, 2012, 12:20 PM »
@ioncube
Expression: \[yell](.*?)\[/yell]
Replacement: <div style="background:yellow">$1</div>
-fenixproductions (August 02, 2012, 01:40 PM)
Thank you sir, much appreciated.
What i have noticed to some may be irksome:
For instance you write some text in the editor, then you highlight it & then press say bold command the resulting BBCode automatically will appear like
Code: Text [Select]
  1. [b{sometext}[/b]
BUT for custom commands using RegEx works otherwise. You write some text in the editor, then you highlight it & then press  custom command button the resulting BBCode automatically will appear like
Code: Text [Select]
  1. [yell](.*?)[/yell]{sometext}
:tellme:
So you have to manually substitute (.*?) with {sometext}

3
Announce Your Software/Service/Product / Re: BBCeditor 1.0.30
« on: August 01, 2012, 12:24 PM »
@fenixproductions
sir, can you provide a simple example of how to use your new regexp tags.

e,g plz show me what I have to write in 'Expression' & 'Replacement' such that I achieve following BBCode replacement

BBcode: [yell]{sometext}[/yell]
HTML:<div style="background:yellow">{sometext}</div>

thanx

4
Announce Your Software/Service/Product / Re: BBCeditor 1.0.30
« on: July 18, 2012, 03:01 PM »
@ioncube
Thank you for your help but I will make it in different way: by adding Regexp type custom tag.
You will have the possibility to define any bbc string which will be replaced with custom HTML.
This way it should be more flexible and will not require new versions for each new/strange tag.

BTW I would suggest using CSS classes for rendered HTML - thanks to that you'll have more preview skinning options.
-fenixproductions (July 18, 2012, 11:50 AM)

Something like this http://www.phpbb.com/community/viewtopic.php?t=579376 will be a dream come true  :Thmbsup:

5
Announce Your Software/Service/Product / Re: BBCeditor 1.0.30
« on: July 18, 2012, 06:34 AM »
thnx for replying,
My machine can't compile the src of bbceditor but I think following changes in the Parser file will result what I seek

#endregion
#region issuu document

//[docis]documentId[/docis]
while (txt.Contains( "[docis]" ))
{
String qtmp = "[docis]";

int st_poz = txt.IndexOf( qtmp, StringComparison.Ordinal );

if (st_poz >= 0)
{
st_poz = st_poz + qtmp.Length;

int end_poz = txt.IndexOf( "[/docis]", st_poz, StringComparison.Ordinal );

if (end_poz > 0)
{
String tmp = txt.Substring( st_poz, end_poz - st_poz );

//txt = txt.Replace( "[docis]" + tmp + "[/docis]", "<docis src=\"" + tmp + "\" />" );
txt = txt.Replace( "[docis]" + tmp + "[/docis]", "<center><object style=\"width:420px;height:272px\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\"><param value=\"http://static.issuu.com/webembed/viewers/style1/v2/IssuuReader.swf?mode=mini&amp;backgroundColor=%23222222&amp;"+tmp+" name=\"movie\"><param value=\"true\" name=\"allowfullscreen\"><param value=\"false\" name=\"menu\"><param value=\"transparent\" name=\"wmode\"><embed flashvars=\"mode=mini&amp;backgroundColor=%23222222&amp;"+tmp+" style=\"width:420px;height:272px\" wmode=\"transparent\" menu=\"false\" allowfullscreen=\"true\" type=\"application/x-shockwave-flash\" src=\"http://static.issuu.com/webembed/viewers/style1/v2/IssuuReader.swf\"></object></center>" );
}
else
{
break;
}
}
}

Also justifying text can be achieve via following addition:
txt = txt.Replace( "[justify]", "<p align=\"justify\">" );
txt = txt.Replace( "[/justify]", "</p>" );

if you get some time plz compile your editor with the following Parser.cs file. I will be very grateful to you
http://www.mediafire.com/?h7wg4a29bkuk9c7

Pages: [1] 2next
Go to full version