Web Wiz - Green Windows Web Hosting - Celebrating 25 Years!

  New Posts New Posts RSS Feed - Private Message window
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Private Message window

 Post Reply Post Reply
Author
gregcaulder View Drop Down
Newbie
Newbie


Joined: 20 March 2005
Location: United States
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote gregcaulder Quote  Post ReplyReply Direct Link To This Post Topic: Private Message window
    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
Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
gregcaulder View Drop Down
Newbie
Newbie


Joined: 20 March 2005
Location: United States
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote gregcaulder Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
gregcaulder View Drop Down
Newbie
Newbie


Joined: 20 March 2005
Location: United States
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote gregcaulder Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.