[advanced search]
 

Go Back   NamePros.com > Discussion > Web Design & Development > Programming

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


Closed Thread
 
LinkBack Thread Tools
Old 03-17-2008, 02:34 PM   #1 (permalink)
New Member
 
Join Date: Jan 2008
Posts: 12
0.00 NP$ (Donate)

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, 03:08 PM   #2 (permalink)
RJ
NamePros Founder

Administrator

 
Join Date: Feb 2003
Location: Bay Area, CA
Posts: 13,173
104,201.68 NP$ (Donate)

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
You can remove this line from admin.php:

$name = strtolower($name);
RJ is offline  
Old 03-17-2008, 03:13 PM   #3 (permalink)
New Member
 
Join Date: Nov 2007
Posts: 16
0.00 NP$ (Donate)

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, 04:22 PM   #4 (permalink)
NamePros Regular
 
Palyriot's Avatar
 
Join Date: Jul 2004
Location: Seattle, Wa
Posts: 596
76.25 NP$ (Donate)

Palyriot is a jewel in the roughPalyriot is a jewel in the roughPalyriot is a jewel in the rough


Quote:
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, 04:48 PM   #5 (permalink)
New Member
 
Join Date: Jan 2008
Posts: 12
0.00 NP$ (Donate)

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, 11:02 AM   #6 (permalink)
New Member
 
Join Date: Jan 2008
Posts: 12
0.00 NP$ (Donate)

HawaiiSteve is an unknown quantity at this point


Re: DomainSellerPro problem half fixed

Quote:
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.

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, 12:35 PM   #7 (permalink)
NamePros Regular
 
Join Date: Jul 2003
Location: CALIF
Posts: 324
22.00 NP$ (Donate)

crazyd has a spectacular aura aboutcrazyd has a spectacular aura about


Quote:
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.

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
__________________
http://nicster.com
crazyd is offline  
Old 03-18-2008, 01:30 PM   #8 (permalink)
New Member
 
Join Date: Jan 2008
Posts: 12
0.00 NP$ (Donate)

HawaiiSteve is an unknown quantity at this point


Quote:
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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Site Sponsors
Advertise your business at NamePros

All times are GMT -7. The time now is 03:48 AM.


Powered by: vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Template-Modifications by TMS
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85