FreeTextBoxWrapper assembly for CS v2.1

This post has 86 Replies | 12 Followers

Top 50 Contributor
Posts 494
Points 16,520
MVPs
George J. Capnias Posted: Sun, Aug 6 2006 4:53 AM
First, I would like to thank everyone used this control, during the last six months, their feedback and their suggestions.

As we are closing to the next RTM release of CS, I am presenting, a beta of the new version of the control, that works under Community Server v2.1 series. This release targets .NET Framework v1.1 only, but soon I will be releasing the control for .NET Framework v2.0 also. I need bug reports and suggestions in order to have it complete by the RTM time.

After the release of CS v2.1 RTM, that will be the only version supported. I must say there are new features in the control, in order to satisfy the requests I had. The installation is easier now, as expect of copying the provided files, one should only change CommunityServer.config file in order to get the editor working.

Some screenshots:

  • The new editor layout:
    The new editor layout
  • Inserting code in a post:
    Inserting code in a post
  • Inserting existing content with Content Manager:
    Inserting existing content with Content Manager
  • Inserting an emotion icon in a post:
    Inserting an emotion icon in a post
  • Working with the new editor:
    Working with the new editor

How to install:
Inside the archive there are folders named with a CS Beta release number. In each folder there is a "Bin" folder, a "FreeTextBox3" folder and a "Themes folder". Copy them on the corresponding folders on community server web site root folder. All the files are not replacing any older ones, except the Skin-ContentSelectorModal.ascx in Themes/default/Skins folder.

There is also a CommunityServer.txt file. Copy the 2 lines inside the "editors" section in the "editors" section in CommunityServer.config.

That's It! You're done.

Advanced Installation:
The new control can be further set-up using the control's properties:

  • By default the control is displaying 5 toolbars, but there are 2 more hidden; in order to use them, use the showToolbarGeneral = "true" and showToolbarTables = "true". The second one will be blank, except you are a FreeTextBox Pro user.
  • In case someone does not like the new emotion icon picker menu, he can change back to the old dropdown menu using useOldSmilies = "true" propery.
  • By default the control uses a modal dialog to insert code snippets to posts. In case somebody wants to use the functionality provided with the previous version of the control - use a toolbar with the available languages for highlight that instead of highlighting the code, it surrounds it with the [ code ] tag - can use the useLanguageToolbar = "true" property. Also in order for this option to worj properly, it needs a change in CommunityServer.config; replace the "ForumSourceCode" in "CSModulles" section with

    <add name="ForumSourceCode" type="Telligent.FreeTextBoxWraper.CodeHighlightingModule, Telligent.FreeTextBoxWraper" />
  • In case someone needs to insert Media Player objects, Real Player objects or Flash Movie objects in posts, he can enable the functionality with the allowObjectTags = "true"; three new buttons will be displayed in the last toolbar. This feature is not tested thoroughly. Don't forget to enable the object tags in CommunityServer.config.
  • In case someone needs to modify the existing toolbars; there are too many buttons for him, there are toolbarLayout, toolbarEdit, toolbarFormating, toolbarParagraph, toolbarTables, toolbarGeneral - string variables - that can receive the configuration of the toolbars just like described in FreeTextBox Help file for the ToolbarGenerator.ToolbarItemFromString function. An example would be:

    toolbarLayout = "ParagraphMenu,FontFacesMenu,FontSizesMenu,FontForeColorsMenu,FontBackColorsMenu"

    No spaces between the commas are allowed.

You are welcome to feedback.

 

George J.

George J. Capnias
Athens, Hellas
Daily Cycle
Not Ranked
Posts 37
Points 585

I just Installed your perfectly Editor.

It was so easy, just copy, paste, edit 2 Lines, and it was ready. Much easier as the other ones.

 

I wanted to thank you for your really useful Plugin! 

 

But i Found a Bug in your Code-Window when you use Firefox. The Textbox is half-sized. Is it possible to correct it? 

  • | Post Points: 20
Not Ranked
Posts 37
Points 585

And is it possible change the code-Layout a bit ?


Like : http://devlounge.biz/forums/ShowThread.aspx?PostID=17#17 ?
 

  • | Post Points: 35
Top 50 Contributor
Posts 494
Points 16,520
MVPs

Dennis Alexander:
But i Found a Bug in your Code-Window when you use Firefox. The Textbox is half-sized. Is it possible to correct it? 

Noted! Smile

 

George J.

George J. Capnias
Athens, Hellas
Daily Cycle
  • | Post Points: 5
Top 50 Contributor
Posts 494
Points 16,520
MVPs
Dennis Alexander:
And is it possible change the code-Layout a bit ?

Like : http://devlounge.biz/forums/ShowThread.aspx?PostID=17#17 ?

 Although, I registered in the site, I can not see the post... Can you post a url I can see?

 

George J.

George J. Capnias
Athens, Hellas
Daily Cycle
  • | Post Points: 20
Not Ranked
Posts 37
Points 585

Thanks for the register. Of cause, i noticed it was a locked forum .. sorry.

 

I reposted it inm Ankündigungen (Announcements)

http://devlounge.biz/forums/21/ShowThread.aspx#21 

  • | Post Points: 5
Top 200 Contributor
Posts 132
Points 1,065

Cool George! I won't install the new version until this FTB Wrapper works...

 I especially want the image-gallery ability of FTB itself (not the CS gallery), where people can upload images. A few questions though.

  1. I currently give everyone a personal directory in which they're allowed to upload files. It's in \UserFiles\[UserName]\
    In the last version for CS 2.0, the startup directory is always \UserFiles\ and people have to browse to their own directory. They're only allowed to upload images there. I'd like the startup directory to be \UserFiles\[UserName]\
    Example : \UserFiles\Dennis van der Stelt\
  2. In CS 1.1 I had this working as well, but under \UserFiles\[blogname]\
    This had an advantage, because when a weblog had multiple admins (for example a weblog themed TechEd2005) they could all access and upload images into that directory. I'd really like this feature again, if that's possible. But I don't think I currently have access to the name of the blog in the Skin-TemplatedFTB.ascx.
  3. The forums are turned off, but I presume visitors without a weblog could also choose the FTB Wrapper and automatically be able to upload images into the image-gallery. Of course I don't want that. So I can probably never turn on the forums. Or can I?

Thanks in advance

Dennis van der Stelt BloggingAbout.NET Admin
One Step Ahead : Class-A

Top 200 Contributor
Posts 132
Points 1,065
Whoops... Dubblepost?! Smile

Dennis van der Stelt BloggingAbout.NET Admin
One Step Ahead : Class-A

  • | Post Points: 5
Top 50 Contributor
Posts 494
Points 16,520
MVPs
Dennis Alexander:
And is it possible change the code-Layout a bit ?

Like : http://devlounge.biz/forums/ShowThread.aspx?PostID=17#17 ?

I have made some changes; I have added the blockquote and taken out the gray background from the table.

Althought I have need to fully optimize the .NET Framework v2.0 version, I will come back with "something" about it, in a later release.

 

George J.

George J. Capnias
Athens, Hellas
Daily Cycle
  • | Post Points: 20
Top 50 Contributor
Posts 494
Points 16,520
MVPs

Dennis van der Stelt:
I especially want the image-gallery ability of FTB itself (not the CS gallery), where people can upload images. A few questions though.

The new content manager can do that - allows a user to upload a photo in a gallery, if the users has the rights to...

Dennis van der Stelt:
I currently give everyone a personal directory in which they're allowed to upload files. It's in \UserFiles\[UserName]\
In the last version for CS 2.0, the startup directory is always \UserFiles\ and people have to browse to their own directory. They're only allowed to upload images there. I'd like the startup directory to be \UserFiles\[UserName]\
Example : \UserFiles\Dennis van der Stelt\

I have not added any new functionality in this. I can define if there is a folder with the username to start with that folder, but I have to check for sure. Although till FreeTextBic v3.1.3, there where problems in working with different directory for the image gallery than the default "~/images".

Dennis van der Stelt:
In CS 1.1 I had this working as well, but under \UserFiles\[blogname]\
This had an advantage, because when a weblog had multiple admins (for example a weblog themed TechEd2005) they could all access and upload images into that directory. I'd really like this feature again, if that's possible. But I don't think I currently have access to the name of the blog in the Skin-TemplatedFTB.ascx.

I had send you the source code. I can do that again... Smile

Dennis van der Stelt:
The forums are turned off, but I presume visitors without a weblog could also choose the FTB Wrapper and automatically be able to upload images into the image-gallery. Of course I don't want that. So I can probably never turn on the forums. Or can I?

If a users has the right to upload a photo, has nothing to do with the forums working or not. It depends in the users has a directory, and if the user is a blog owner; this is what should happen from what you mention above...

 

George J.

George J. Capnias
Athens, Hellas
Daily Cycle
  • | Post Points: 5
Top 50 Contributor
Posts 338
Points 3,985
Logik! replied on Fri, Aug 11 2006 1:27 PM
Thank you very much for providing this, as it has been much appreciated!
Logik!
Talking Out Loud with ASB
  • | Post Points: 5
Not Ranked
Posts 37
Points 585
George J. Capnias:
Dennis Alexander:
And is it possible change the code-Layout a bit ?

Like : http://devlounge.biz/forums/ShowThread.aspx?PostID=17#17 ?

I have made some changes; I have added the blockquote and taken out the gray background from the table.

Althought I have need to fully optimize the .NET Framework v2.0 version, I will come back with "something" about it, in a later release.

 

George J.

 

Thanks, I will have a look at it.

btw, it is possible to add this editor via ASP Code into a custom Page ? 

  • | Post Points: 20
Top 50 Contributor
Posts 494
Points 16,520
MVPs

Dennis Alexander:
btw, it is possible to add this editor via ASP Code into a custom Page ? 

Yes it is possible, if the page in running in Community Server. All you need is the following in the top of the page:

<%@ Register TagPrefix="FTBW" Namespace="Telligent.FreeTextBoxWraper" Assembly="Telligent.FreeTextBoxWraper" %>

And this is how you use the control:

<FTBW:FreeTextBoxEditor runat="server" id="Editor" />

 

George J.

George J. Capnias
Athens, Hellas
Daily Cycle
  • | Post Points: 20
Not Ranked
Posts 37
Points 585
George J. Capnias:

Dennis Alexander:
btw, it is possible to add this editor via ASP Code into a custom Page ? 

Yes it is possible, if the page in running in Community Server. All you need is the following in the top of the page:

<%@ Register TagPrefix="FTBW" Namespace="Telligent.FreeTextBoxWraper" Assembly="Telligent.FreeTextBoxWraper" %>

And this is how you use the control:

<FTBW:FreeTextBoxEditor runat="server" id="Editor" />

 

George J.

 

Thanks George.

I was working now your your control. I noticed, that you can put files in your Thread. This wont work really. I selected an file, but it wont add it to my reply. Its a bit sad that you cant upload a file directly when you reply or make a new Thread. Is it possible to create a button which uploads a File into a Downloads-Section?

For example i made in my Downloads a new Group Called "Forum Files", and an Folder for "Dev-Projects". Is it possible to upload via your modified control into this Folder a File and display it in my Thread (or Link maybe) ? 

  • | Post Points: 20
Not Ranked
Posts 37
Points 585

Dennis van der Stelt:

I currently give everyone a personal directory in which they're allowed to upload files. It's in \UserFiles\[UserName]\

  1. In the last version for CS 2.0, the startup directory is always \UserFiles\ and people have to browse to their own directory. They're only allowed to upload images there. I'd like the startup directory to be \UserFiles\[UserName]\
    Example : \UserFiles\Dennis van der Stelt\

 

How did you do this ? I only know that this is possible in Gallery and Blogs ?! 

  • | Post Points: 20
Page 1 of 6 (87 items) 1 2 3 4 5 Next > ... Last » | RSS
Powered by Community Server (Commercial Edition), by Telligent Systems

Copyright© 2008 Telligent Systems Inc. All rights reserved
CommunityServer.com  •  Telligent.com