topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Monday December 9, 2024, 1:02 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ioncube [ switch to compact view ]

Pages: [1]
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...ewtopic.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

6
Announce Your Software/Service/Product / Re: BBCeditor 1.0.30
« on: July 15, 2012, 11:43 PM »
I have a problem regarding the addition of a custom bbcode.
In my forum we use a custom bbcode like [docis][/docis] in between these is a unique documentId which is used to embed ISSUU streaming documents.
So for instance the user input is  [docis]documentId=120712003955-e4ff9f62ad7b4c62a48dd45527080c3e[/docis] the code parser will convert it into following HTML:

Code: HTML [Select]
  1. <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;documentId=120712003955-e4ff9f62ad7b4c62a48dd45527080c3e" 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;documentId=120712003955-e4ff9f62ad7b4c62a48dd45527080c3e" 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>

So you see the documentId is inserted twice so how can I achieve this using custom button option in BBCeditor

Pages: [1]