![](https://forums.phpfreaks.com/uploads/set_resources_1/84c1e40ea0e759e3f1505eb1788ddf3c_pattern.png)
ober
Staff Alumni-
Posts
5,327 -
Joined
-
Last visited
Everything posted by ober
-
I give this site a giant fail. 1) Hovering over the navigation links makes the links disappear (text goes to white on a white background) 2) The logo is awful and looks like it was designed in under 2 minutes. 3) There are a million editors that provide full functionality for editing posts... why did you reinvent the wheel (and poorly at that?) 4) You couldn't even generate your own captcha? 5) The search function is poorly written. 6) There's no style. It's just random text in random areas with no containing area. 7) Get thought by ID... yet you don't show the ID anywhere except on the single thought. You could at least create a text permalink.
-
I'm not aware of "just the shopping cart"... the only thing I can recommend is www.cubecart.com
-
I still don't believe it. Open Opera 9.5 final (just released a few days ago, oddly enough) and open Firefox with both pointing to the same page. On my machine with a handful of addons installed in Firefox, Firefox is using twice the memory when sitting idle. (51Mb vs. 26Mb in Opera).
-
Release: Fail. I'm getting internal server errors, pages on their site not loading, and the "video tour" thing won't even open. Oh... and it served up 2.0.0.14 when I tried to download it. WTF.
-
That's actually not a practical or sustainable architecture. Good luck scaling something like that. And what if someone has JavaScript disabled? You're completely screwed in that case.
-
Oh, sorry, didn't realize there were no spaces. You can't really stop this unless you check the length of every word and break it up if it's greater than X. HTML alone will not solve this problem, that I'm aware of.
-
You can't. You must load another window to push the download to the user. Your best bet is to either open a DIV that has a link to the file that the user can right click and download or use a PHP redirect to a new page. Keep in mind that JS can't call to the server to get the file, so you can't really expect it to be able to offer the file up.
-
You shouldn't just bail out of a script like that. You're better off setting a flag somewhere in the first function that trickles down to the other functions where necessary. It would take a millisecond to filter through the functions if the first thing you do is check that flag.
-
If you're talking about a table cell, just set the width of the td element. <td width="50px"> for example.
-
PHP editor step into, over, out & breakpoint editor.
ober replied to johnseito's topic in Miscellaneous
I've never actually used it so I can't really tell you but I know you have to use xDebug (instructions are in the preferences). You basically have to enter debug mode in the IDE and then you can step into, run to breakpoint, etc. -
We've talked this over... we're working on something but we need to nail down specifics before talking about it. We'd like to do something like this but it needs to be controlled.
-
At least it wasn't on the same forums.
-
Well, you guys took like way too long. I posted this on a non PHP board that I run and they had the answer in a few minutes: <?php $st = ""; $vals = array(); $i = 0; while($row = mysql_fetch_array($result)) { $st .= strtoupper($row['state']); if($i == 0) $factor = 100 / (($row['cnt'] / $totalstate) * 100); $vals[] = number_format($factor * (($row['cnt'] / $totalstate) * 100), 2); $i++; } $vals = implode(",", $vals); ?>
-
But that's not doing any validation... which you might want to consider.
-
I'm having a mental math block, so I need a little help: I'm trying to use Google's chart API (http://code.google.com/apis/chart) to generate a chart of the US based on order numbers (to show where most of the orders are coming from). The way the API works is that you pass a number on a scale from 0-100 and that number corresponds to a listing of states. Depending on the number, it colors the state based on the scale of 0-100 (right now for me dark green = 100, pale green = 0 and it interpolates between). So I'm basically calculating a percentage (state total / country total) * 100. What I then also want to do is put those numbers on a 0-100 scale so that the highest percentage = 100 and the lowest = 0 (or slightly above 0. Anyone know what I should do here? By the way, the percentages are already going to be in order because I order by the most orders per state descending. So the highest percentage in my array is going to be element 0 and the lowest will be count(array).
-
A few points: 1) Why not open it up to more than NZ? You'd get more traffic and you could provide a very good service to a lot of folks if you get enough exposure and enough developers involved. 2) The design is kind of boring... I doubt many developers would take it seriously as-is. 3) For a range that starts at $1000 and jumps to $100k in a hurry, I'd expect to see more details. You could save the developer a lot of time by adding in more checkbox type questions like: hosting questions, technology preferences, experience of developer, quality requirements of the developer, etc. I think this is a really good idea and I hope it takes off for you.
-
Site for programmers have been launched please review
ober replied to suvoraj239's topic in Website Critique
You're posting this on a site that basically does the same thing. Also, please do not ask people to signup to your site. We do not allow advertising on this board. This is strictly for design critique. As for the critique, you've basically skinned a forum (not much to critique). The logo looks awful and it looks like the designer of it doesn't understand how to create a transparent image properly. -
Awful. It's extremely dark and then you have tiny little white boxes on random parts (login/register for example. Also, your background (outside the content area) is not a consistent color on all pages. The graphics are extremely basic and the site is very slow in general. And why does everyone and their brother have an upload site!?! Who really uses this stuff?
-
PHP editor step into, over, out & breakpoint editor.
ober replied to johnseito's topic in Miscellaneous
PHP Designer 2008 has all of that. -
http://www.phpfreaks.com/forums/index.php/topic,201206.0.html At the moment, this thread is right under this.
-
Oh, got it... you have to click in the text area before the controls are enabled. Problems I have with it: 1) The image editor doesn't have a file manager 2) I don't see an API for it. 3) "works decent" with AJAX is a major problem for me 4) It's not nearly as fully functioned as some of the other editors.
-
That doesn't even have a fully functioning demo. And does it play well with AJAX?
-
Hmm... now we're cooking but I still have a few suggestions: 1) Move the legend under the listings. I've never seen a legend in the header of a listing and I think it looks out of place. 2) Highlight the tab that you're on. I know it lists it in a big bar but I think you could get rid of that bar and just have the tabs if you change the color of the tab or change the text color of the tab to the active screen. 3) Get rid of the animated gifs on the "bugs" portion of the window. It makes me feel like that is constantly updating (like an AJAX thing or something that never finishes loading). 4) Lose the scroll portions inside the various windows. That's got to be the most annoying part of any system like this. I have a scrollbar already... it's in my browser window. Don't make me move my mouse over that area to scroll that little box. 5) My priorities window: the "last activity" column wordwraps when it's blank and just looks weird. Either give that column more width or think of a different word. 6) Still doesn't span the width of the screen and there doesn't seem to be a very good reason that it doesn't. I'm using 1280*1024 and 1600 * 1200. 7) System overview: add links to some of that information so I can look at the overview and drill right down to those areas. Project creation: Add date selection ability (little popup calendar would be nice) and validate the dates for formatting. During validation, the priority doesn't stay on what I selected. 9) Help section could use some help (haha): Could not select database: Access denied for user 'bgaylor_root'@'localhost' to database 'tickets' That should keep you busy for a while.
-
Nevermind, I found this: RewriteCond %{REQUEST_FILENAME} -f [NC,OR] RewriteCond %{REQUEST_FILENAME} -d [NC] RewriteRule .* - [L] Place that at the top of your .htaccess file and it works perfectly. I think I'm going to blog about this.
-
So I have this rule: RewriteRule ^([A-Za-z0-9-]+)$ index.php?req=$1 [L] My main site is like index?req=whatever What I realized this morning was that if I throw in: site.com/directory_that_points_to_another_app It puts tries to do the same thing. How do I have it ignore the rule if it actually points to a directory?