Previous Thread
Next Thread
Print Thread
Rate Thread
#54971 12/16/2002 11:39 AM
Joined: May 2001
Posts: 122
Member
Member
Offline
Joined: May 2001
Posts: 122
allow more characters for custom status.

in the CP you can set custom statuses for members inside their profile, not the user titles under misc. but there is a limit on how many characters may be placed in there. My problem is I would like to add stars under the title, but then the limit cuts me off after 1 star.

for example..

I want to put this
Quote
code:
Code
Private Member
<img src="http://www.urlhere.com/images/flash1.gif"><img src="http://www.urlhere.com/images/flash2.gif"><img src="http://www.urlhere.com/images/flash3.gif"><img src="http://www.urlhere.com/images/flash4.gif"><img src="http://www.urlhere.com/images/flash5.gif">

but all it will do is this

code:
[qb]
Code
Private Member
<img src="http://www.urlhere.com/images/flash1.gif"><img src="http://www.urlhere.com/images/fl
[/qb]
where would I modify my files so that there is no limit on this. thanks in advance wink


A wise man Confucious once say, "Man who stands on toilet, high on pot!"
Sponsored Links
#54972 12/16/2002 1:58 PM
Joined: Nov 2001
Posts: 1,704
CTM Offline
Moderator / Da Masta
Moderator / Da Masta
Offline
Joined: Nov 2001
Posts: 1,704
Have a look around cp_edit_profile.pl, you'll find something there. You're looking to remove a "maxlength" parameter from the Custom Title input box.

Code
print <<CustomTitle;
<tr bgcolor="$vars_style_cp{AltColumnColorCurrent}">
<td class="autorow"><span class="autorow-title">
$vars_wordlets_cp{custom_title_wording}:
</td><td class="autorow"><span class="autorow-options">
<INPUT TYPE="TEXT" NAME="dub_me" value="$user_profile[31]" SIZE="35" MAXLENGTH="$themaxlength">
</td>
</tr>

CustomTitle
Get rid of MAXLENGTH="$themaxlength" from that, and you should be able to type forever and ever and ever and ev... Well, you get the point. wink

#54973 12/16/2002 2:23 PM
Joined: May 2001
Posts: 122
Member
Member
Offline
Joined: May 2001
Posts: 122
thanks for the reply. I was just coming back here to say that I figured it out. actually I changed the maxlength = 90 to 1000, but I am sure either way would do fine. thanks for helping. smile


A wise man Confucious once say, "Man who stands on toilet, high on pot!"
#54974 12/16/2002 2:56 PM
Joined: Nov 2001
Posts: 1,704
CTM Offline
Moderator / Da Masta
Moderator / Da Masta
Offline
Joined: Nov 2001
Posts: 1,704
Ugh... $themaxlength controls the maxlength of every box on that page. It might be wise to change it back. :x

[EDIT: -size +maxlength]

#54975 12/16/2002 4:03 PM
Joined: May 2001
Posts: 122
Member
Member
Offline
Joined: May 2001
Posts: 122
I changed it the way you said and it is working fine. Thanks for the tip. smile


A wise man Confucious once say, "Man who stands on toilet, high on pot!"
Sponsored Links

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Posts: 70
Joined: January 2007
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240430)