CuteSoft_Client Folder CS2007

Last post 09-19-2007, 6:28 AM by Megabyte. 2 replies.
Sort Posts: Previous Next
  •  09-15-2007, 3:46 PM 33568

    CuteSoft_Client Folder CS2007

    Hello all,
     
    I'm using CuteChat with CS2007. I've found this guide which allows you to rename the folder, but it seems applicable to the standalone version only. How do I rename the CuteSoft_Client folder to run everything under ~/chat using CS2007?
     
    I'm sure there's a way, but how can I have an advert at the bottom of CuteChat?
     
    Many thanks
     
     
  •  09-17-2007, 10:35 PM 33594 in reply to 33568

    Re: CuteSoft_Client Folder CS2007

  •  09-19-2007, 6:28 AM 33621 in reply to 33594

    Re: CuteSoft_Client Folder CS2007

    Thanks Adam. Just to clarify what the problem is, the example says:
     
    <appSettings>
      ...
       <add key="CuteChat.DataDirectory" value="~/Chat" />
      </appSettings>
     
    <appSettings> does not exist in the CS2007 version of web.config, but it does in the standalone version. Here is my web.config file in full. Where would I insert the entry?
     
    < START CODE>
    <configuration>
      <connectionStrings configSource="connectionStrings.config" />
      <system.web>
        <webServices>
          <protocols>
            <add name="HttpGet" />
            <add name="HttpPost" />
          </protocols>
        </webServices>
        <!-- Standard Application Settings -->
        <compilation defaultLanguage="c#" debug="false" />
        <pages validateRequest="false" enableEventValidation="false" autoEventWireup="true" pageBaseType="CommunityServer.Components.CSPage, CommunityServer.Components">
          <controls>
            <add tagPrefix="CSControl" namespace="CommunityServer.Controls" assembly="CommunityServer.Controls" />
            <add tagPrefix="CSBlog" namespace="CommunityServer.Blogs.Controls" assembly="CommunityServer.Blogs" />
            <add tagPrefix="CSForum" namespace="CommunityServer.Discussions.Controls" assembly="CommunityServer.Discussions" />
            <add tagPrefix="CSMail" namespace="CommunityServer.MailGateway.MailRoom.Controls" assembly="CommunityServer.MailGateway" />
            <add tagPrefix="CSFile" namespace="CommunityServer.Files.Controls" assembly="CommunityServer.Files" />
            <add tagPrefix="CSGallery" namespace="CommunityServer.Galleries.Controls" assembly="CommunityServer.Galleries" />
            <add tagPrefix="CSReader" namespace="CommunityServer.Reader.Controls" assembly="CommunityServer.Reader" />
            <add tagPrefix="CSDynConfig" namespace="Telligent.DynamicConfiguration.Controls" assembly="Telligent.DynamicConfiguration" />
            <add tagPrefix="TWC" namespace="Telligent.Glow" assembly="Telligent.Glow" />
            <add tagPrefix="CA" namespace="ComponentArt.Web.UI" assembly="ComponentArt.Web.UI" />
            <add tagPrefix="CP" namespace="CommunityServer.ControlPanel.Controls" assembly="CommunityServer.Web" />
          </controls>
        </pages>
        <trace enabled="false" requestLimit="40" localOnly="true" />
        <sessionState mode="Off" />
        <!-- Permit detailed errors to be displayed for remote clients -->
        <customErrors mode="RemoteOnly" defaultRedirect="~/error.htm">
          <error statusCode="404" redirect="~/error-notfound.aspx" />
        </customErrors>
        <!-- START - CommunityServer specific application settings here -->
        <httpModules>
          <add name="CommunityServer" type="CommunityServer.CSHttpModule, CommunityServer.Components" />
          <!-- <add name="CSReporting" type="CommunityServer.Reporting.ReportingHttpModule, CommunityServer.Reporting" /> -->
        </httpModules>
        <httpHandlers>
          <add verb="GET" path="Utility/redirect.aspx" type="CommunityServer.Components.Redirect, CommunityServer.Components" />
          <add verb="GET" path="aggbug.aspx" type="CommunityServer.Components.HttpHandler.AggBugHandler, CommunityServer.Components" />
          <add verb="GET" path="avatar.aspx" type="CommunityServer.Components.HttpHandler.AvatarHttpHandler, CommunityServer.Components" />
          <add verb="GET" path="vcard.aspx" type="CommunityServer.Components.HttpHandler.VCardHttpHandler, CommunityServer.Components" />
          <add verb="GET" path="r.ashx" type="CommunityServer.Components.HttpHandler.TinyUrlHttpHandler, CommunityServer.Components" />
          <add verb="GET" path="weblogsubscription-confirmation.ashx" type="CommunityServer.Blogs.Components.WeblogSubscriptionConfirmation, CommunityServer.Blogs" />
          <add verb="GET" path="threadsubscription-confirmation.ashx" type="CommunityServer.Blogs.Components.ThreadSubscriptionConfirmation, CommunityServer.Blogs" />
        </httpHandlers>
        <!--
      authentication :
       To use Windows Authentication, you must turn off Anonymous authentication in IIS
       or IIS will never pass the user credentials to the forums. 
       
       To enable Windows Authentication, simply comment out the forms authentication section
       below and uncomment the Windows Authentication stuff.
       
       To use the CookieAuthentication add-on module, set the authentication mode to "None" and
       comment out the forms element.
      -->
        <authentication mode="Forms">
          <forms name=".CommunityServer" protection="All" timeout="60000" loginUrl="login.aspx" slidingExpiration="true" />
        </authentication>
        <membership userIsOnlineTimeWindow="15" defaultProvider="CommunityServerSqlProvider">
          <providers>
            <clear />
            <add name="CommunityServerSqlProvider" type="CommunityServer.ASPNet20MemberRole.CSMembershipProvider, CommunityServer.ASPNet20MemberRole" connectionStringName="SiteSqlServer" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="true" passwordFormat="Hashed" applicationName="dev" description="Stores and retrieves membership data from the local Microsoft SQL Server database" maxInvalidPasswordAttempts="999" passwordAttemptWindow="999" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" />
          </providers>
        </membership>
        <roleManager defaultProvider="CommunityServerSqlProvider" enabled="true" cacheRolesInCookie="true" cookieName=".CSRoles" cookieTimeout="60000" cookiePath="/" cookieRequireSSL="false" cookieSlidingExpiration="true" createPersistentCookie="true" cookieProtection="All" maxCachedResults="1000">
          <providers>
            <clear />
            <add name="CommunityServerSqlProvider" type="CommunityServer.ASPNet20MemberRole.CSRoleProvider, CommunityServer.ASPNet20MemberRole" connectionStringName="SiteSqlServer" applicationName="dev" description="Stores and retrieves roles data from the local Microsoft SQL Server database" />
          </providers>
        </roleManager>
        <profile defaultProvider="CommunityServerSqlProvider" enabled="true">
          <providers>
            <clear />
            <add name="CommunityServerSqlProvider" type="CommunityServer.ASPNet20MemberRole.CSProfileProvider, CommunityServer.ASPNet20MemberRole" connectionStringName="SiteSqlServer" applicationName="dev" description="Stores and retrieves profile data from the local Microsoft SQL Server database" />
          </providers>
          <properties>
            <add name="commonName" type="string" />
            <add name="birthdate" type="DateTime" />
            <add name="gender" type="int" defaultValue="0" />
            <add name="dateFormat" type="string" defaultValue="MM-dd-yyyy" />
            <add name="publicEmail" type="string" />
            <add name="language" type="string" />
            <add name="webAddress" type="string" />
            <add name="webLog" type="string" />
            <add name="webGallery" type="string" />
            <add name="signature" type="string" />
            <add name="signatureFormatted" type="string" />
            <add name="location" type="string" />
            <add name="occupation" type="string" />
            <add name="interests" type="string" />
            <add name="msnIM" type="string" />
            <add name="yahooIM" type="string" />
            <add name="aolIM" type="string" />
            <add name="icqIM" type="string" />
            <add name="enablePostPreviewPopup" type="System.Boolean" defaultValue="false" />
            <add name="enableEmoticons" type="System.Boolean" defaultValue="true" />
            <add name="timezone" type="System.Double" defaultValue="0" />
            <add name="fontsize" type="int" defaultValue="0" />
            <add name="bio" type="string" />
          </properties>
        </profile>
        <!--
      ========================
      Anonymous Identification
      ========================
      anonymousIdentification configuration:
       enabled="[true|false]"                            Feature is enabled?
       cookieName=".ASPXANONYMOUS"                       Cookie Name
       cookieTimeout="100000"                            Cookie Timeout in minutes
       cookiePath="/"                                    Cookie Path
       cookieRequireSSL="[true|false]"                   Set Secure bit in Cookie
       cookieSlidingExpiration="[true|false]"            Reissue expiring cookies?
       cookieProtection="[None|Validation|Encryption|All]"  How to protect cookies from being read/tampered
       domain="[domain]"                                 Enables output of the "domain" cookie attribute set to the specified value
       -->
        <anonymousIdentification enabled="false" cookieName=".ASPXANONYMOUS" cookieTimeout="100000" cookiePath="/" cookieRequireSSL="false" cookieSlidingExpiration="true" cookieProtection="None" domain="" />
      </system.web>
      <location path="EditPost.aspx">
        <system.web>
          <authorization>
            <deny users="?" />
          </authorization>
        </system.web>
      </location>
      <location path="PrivateMessage.aspx">
        <system.web>
          <authorization>
            <deny users="?" />
          </authorization>
        </system.web>
      </location>
      <location path="Download.aspx">
        <system.web>
          <authorization>
            <deny users="?" />
          </authorization>
        </system.web>
      </location>
      <location path="License.aspx">
        <system.web>
          <authorization>
            <deny users="?" />
          </authorization>
        </system.web>
      </location>
    </configuration>
    </ FINISH CODE>
View as RSS news feed in XML