Print Page | Close Window

Private Message window

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=14727
Printed Date: 13 April 2026 at 1:46am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Private Message window
Posted By: gregcaulder
Subject: Private Message window
Date Posted: 17 April 2005 at 2:21am
Is there any trimming on the Private message Username window? I cant get teh length to go past 15 charcters. I have upped the trimm to 25 charcters to help the usernames beter fit my needs. So when i try to send them a private message they will never recieve it due to the Username Box only allowering 15 charcters. I have looked everywerei n the RTE_asfasdas.asp files and havent found anyhting. Only the input box and i upped that and it idd nothing. Need help desperatley.

Thanks

Greg



Replies:
Posted By: dj air
Date Posted: 17 April 2005 at 6:37am
have you made sure that you edited the page that actually sends the PM. as there is code to trum to 15 charcters


Posted By: gregcaulder
Date Posted: 17 April 2005 at 8:31pm
I have tryed to edit the several pages that could have anyhting to do with the length of the Username being 15 charters. And nothing happend.

I edited the message_forum_inc.asp file to the code listed below.

'If this is a private message display the username box
If strMode = "PM" Then
%>
    <tr>
     <td align="right" width="15%" class="text"><% = strTxtToUsername %>:</td>
     <td width="70%"><%

     'Get the users    buddy list if they have    one
     
    'Initlise the sql statement
    strSQL = "SELECT " & strDbTable & "Author.Username "
    strSQL = strSQL    & "FROM    " & strDbTable & "Author INNER    JOIN " & strDbTable & "BuddyList ON " & strDbTable & "Author.Author_ID = " & strDbTable & "BuddyList.Buddy_ID "
    strSQL = strSQL    & "WHERE " & strDbTable & "BuddyList.Author_ID=" & lngLoggedInUserID &    " AND " & strDbTable & "BuddyList.Buddy_ID <> 2 "
    strSQL = strSQL    & "ORDER By " & strDbTable & "Author.Username ASC;"

    'Query the database
    rsCommon.Open strSQL, adoCon

      %><input type="text" name="member" size="35" maxlength="35" value="<%    = Server.HTMLEncode(strBuddyName) %>"<% If    NOT rsCommon.EOF Then Response.Write(" onChange=""document.frmAddMessage.selectMember.options[0].selected = true;""") %> />
      <a href="JavaScript:openWin('pop_up_member_search.asp','profile','toolbar=0,location=0,status=0, menubar=0,scrollbars=0,resizable=1,width=440,height=255')"><img src="<% = strImagePath %>search.gif" alt="<% = strTxtMemberSearch %>"    border="0" align="absmiddle"></a>




Reason being that every file that i tried to open of go ot pointed me to this window.

It may even be the worng file. Please let me know if it is the correct file. The pm_message_post.asp file tomld me that it ise the above file.


Greg


Posted By: dj air
Date Posted: 18 April 2005 at 4:19am
the Private message is being sent then?

if its being sent then its the files that show the details.


Posted By: gregcaulder
Date Posted: 20 April 2005 at 11:49am
Ok i found it. There was ONE little field that i had missed. i like making modifications.


Greg



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net