NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page DomainSellerPro - Show proper case in MySQL

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 03-17-2008, 03:34 PM THREAD STARTER               #1 (permalink)
Account Closed
Join Date: Jan 2008
Posts: 14
HawaiiSteve is an unknown quantity at this point
 



DomainSellerPro - Show proper case in MySQL


This is for -RJ- and anybody who knows what to do. I just purchased RJ's DomainSellerPro script (now that the Paypal link is fixed.. Thanks crazyd ! ). I input all domain names with appropriate Upper and lower case characters so that they will be easy to read, etc. However, they show up in the Category boxes and listings in all lower case! This makes it difficult to read some domain names, and makes the results and site look amateurish!

What can be done to make domain names display as I enter them, with proper and appropriate Upper and lower case characters?

Thanks!
HawaiiSteve is offline  
Old 03-17-2008, 04:08 PM   #2 (permalink)
RJ
NamePros Webmaster


 
RJ's Avatar
Join Date: Feb 2003
Posts: 12,930
RJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatness
 



Find Marrow Donors! Cystic Fibrosis Parkinson's Disease
You can remove this line from admin.php:

$name = strtolower($name);
RJ is offline  
Old 03-17-2008, 04:13 PM   #3 (permalink)
New Member
Join Date: Nov 2007
Posts: 18
womble is an unknown quantity at this point
 



can you access the css - could then use text-transform:capitalize
__________________
Web Design Bournemouth, UK
womble is offline  
Old 03-17-2008, 05:22 PM   #4 (permalink)
NamePros Regular
 
Palyriot's Avatar
Join Date: Jul 2004
Location: Seattle, Wa
Posts: 596
Palyriot is a jewel in the roughPalyriot is a jewel in the roughPalyriot is a jewel in the rough
 



Originally Posted by womble
can you access the css - could then use text-transform:capitalize
He never said that he wanted all of the characters to be in uppercase. He wants it to be cased like "NamePros.com" for example. -RJ- is right for the code change.
Palyriot is offline  
Old 03-17-2008, 05:48 PM THREAD STARTER               #5 (permalink)
Account Closed
Join Date: Jan 2008
Posts: 14
HawaiiSteve is an unknown quantity at this point
 



Thanks for the suggestions!


Thanks very much for the suggestions. We'll try them and post the results.
HawaiiSteve is offline  
Old 03-18-2008, 12:02 PM THREAD STARTER               #6 (permalink)
Account Closed
Join Date: Jan 2008
Posts: 14
HawaiiSteve is an unknown quantity at this point
 



Re: DomainSellerPro problem half fixed


Originally Posted by -RJ-
You can remove this line from admin.php:

$name = strtolower($name);
Hi RJ, and THANKS! This is line 120 in the script, and removing it fixed the problem that it causes when adding domains one at a time. Without it, names are added to the db as you type them, instead of being forced to all lower case.
????: NamePros.com http://www.namepros.com/programming/445829-domainsellerpro-show-proper-case-in-mysql.html

However, removing line 120 doesn't seem to affect what happens when names are added in bulk. How do I stop DomainSellerPro from forcing all names to be all lower case that are added in bulk?

Thanks very much!

Steve
HawaiiSteve is offline  
Old 03-18-2008, 01:35 PM   #7 (permalink)
Account Closed
Join Date: Jul 2003
Location: CALIF
Posts: 335
crazyd has a spectacular aura aboutcrazyd has a spectacular aura about
 



Originally Posted by HawaiiSteve
Hi RJ, and THANKS! This is line 120 in the script, and removing it fixed the problem that it causes when adding domains one at a time. Without it, names are added to the db as you type them, instead of being forced to all lower case.
????: NamePros.com http://www.namepros.com/showthread.php?t=445829

However, removing line 120 doesn't seem to affect what happens when names are added in bulk. How do I stop DomainSellerPro from forcing all names to be all lower case that are added in bulk?

Thanks very much!

Steve
The fix for the bulk adder is to remove:

$dom = strtolower($dom);

which is line 58 of functions_inc.php
crazyd is offline  
Old 03-18-2008, 02:30 PM THREAD STARTER               #8 (permalink)
Account Closed
Join Date: Jan 2008
Posts: 14
HawaiiSteve is an unknown quantity at this point
 



Originally Posted by crazyd
The fix for the bulk adder is to remove:

$dom = strtolower($dom);

which is line 58 of functions_inc.php
Excellent! Thanks VERY MUCH for this crazyd, and EVERYTHING else!

Steve
HawaiiSteve is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Liquid Web Smart Servers  
All times are GMT -7. The time now is 11:17 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger