Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Moral of the story: Don't trust parseInt() to work the same in Firefox as it does in Chrome.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Fixed ... super sorry about that.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Oh, I see that! That's not good. Working on it ...

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Can this not be put into a loop?!

What if you created an array of all the fields and then looped through them validating/sanitizing the data?

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Code should speak for itself, only rarely code is not clear enough to be read without comment.

I agree. I usually only comment to remind myself why I did something a particular way, but I really should be commenting at least a little more than I do.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Would you happen to recall how long it's been down for?

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

It's not down permanently. Reaching out to James ...

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

This isn't being done because it is too resource-intensive. The number of updates to your watched articles would need to be calculated on every page load. However this is something that can be implemented by using our API :) Hint hint.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

You don't register the URI with your application. You just have to use the same URI in both places within the OAuth flow, and make sure that URI resides on the same domain name that you registered your app.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

I assume it's OAuth 2.0. Do you have any experience with OAuth??

I suggest you check out the DaniWeb API. We also support OAuth 2.0, and we have a code snippet demo and example that you might be able to manipulate to work with the Google Marketplace instead.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

No worries :)

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

No, it's always been 30 minutes.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Do you still see the Edit Post button in Chrome? It's possible that you loaded the page just under the 30 min threshold (I see the post was 24 mins old at the time, according to your screenshot) and clicked to edit the post just after the 30 min threshold.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

How do you keep track of open/closed tags, NardCake, if you don't indent your HTML??

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Well, at least in my case, my day job is spent in front of a computer at work, so that's 8-9 hours right there. Then, typically another 2-3 hours hanging out on the computer at night after dinner, before bed.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

It looks like a CSS issue ... Hmm, I'll look into it.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Michael, Please take a screenshot.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Probably about 10-14 hours on weekdays. Weekends vary from 16 hours to as little as 2-3 hours a day, depending upon whether I want to tackle a weekend project.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

It's either a zoom issue, or that you're in IE compatibility mode.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Changes to the API structure happened a bunch of days ago, when I said, "Making changes to the API strucutre" and you said, "OK, I'll wait!" and then I said, "OK Done!".

In all honesty, I think that I introduced a bug at the same time Friday afternoon as I introduced the DST timestamp bug where the same property was being shown in its original form and in its new friendly form. So, for example, both forumid AND forum_id were being printed. I fixed that yesterday at the same time as I fixed the DST bug.

Soooorrryyy!!

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Bug fixed.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Huh?? Please explain. It might still be a bug.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Yeah, sorry about that. Working on it. Related to a bug that was introduced yesterday and being fixed today.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Total post count?! Huh? Where??

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Thank you so much for catching this bug! Thank goodness it was only saving timestamps with the wrong GMT offset for a little over a day, so it was not the end of the world to have to update every table in the database. UGH.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

My apologies!! I actually introduced this bug accidentally yesterday, so all of the timestamps from the past ~35 hours are off by 5 hours. Grrr.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Item 4: Business Exchange, only available to logged in members
Item 5 --> Items 5, 6: Moderators Place and Area 51, only available to moderators

There's a bug where forums you aren't allowed to access are showing up as empty arrays instead of being hidden from view altogether.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

DaniWeb timestamps are supposed to be GMT time but I think there might actually be a bug over the past few months where they were US central time instead. I'll look into it tomorrow. Sorry for the confusion!

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

I add white-space and spaces for my CSS. If there is more than one style to be applied to an element, I indent it like I indent my PHP code. Otherwise, I put it on one line. It looks like this:

body
{
    background: #CCCCCC;
    font-family: arial;
    font-size: 14px;
}

div#foo { color: green; }
div#bar { color: blue; }
Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

I always put opening curly braces on their own line. Otherwise, I just have a really hard time wrapping my mind around where code blocks start and end. It's easy to match them up that way. All the tab stops at the top might be used to help align intentations through the page ... again, to help with nested code blocks. They're visual aids.

tux4life commented: I prefer that style too. +0
Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

That's incredibly strange.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Is your web browser window zoomed in? Try hitting Ctrl+0.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

OOOOOOH you know what?! I think I know what it is, riahc3!!

Is it possible that when you load the Edit Profile page, your browser's autofill feature is autofilling the password field with something? Then, when you hit Save, whatever it is is overriding your existing password.

That would explain why it's only happening to you.

The password field is meant to be blank and not pre-filled.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

No, it wouldn't be related. I've changed my username in the past too, from cscgal to Dani.

Do you have access to another web browser to try?

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

I just tried to reproduce this on Chrome for the Mac and I had no issues either :(

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

When you log out, you're returned to the page you were on. You'll get a message saying "Nothing to see here, folks!" if you click on Log Out from within a member-only section of the site such as editing your profile.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Perhaps a redundant question: is it also fixed for member usernames?

Yes.

Or does the registration process prevent users from putting HTML in their nicknames?

It doesn't, although usernames are limited by the number of characters.

Edit: What about a user that does a name change?

Same.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Fixed!! Thanks for the catch!!

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

I'm not able to duplicate this. Can you please let me know what OS/browser and perhaps upload a screenshot? Thanks!! :)

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

http://www.daniweb.com/home/consulting

Dani is an expert in online advertising, digital media, SEO, LAMP development, social media marketing and everything revolving around online communities.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

No, Michael just thought that because the views counts were so low. In reality, they just started counting yesterday so that's why they're low, but from now on, they won't reset.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

It means that the thread was started by a member with a lot of clout in the community.

riahc3 commented: What I was looking for +0
Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

I don't know why she did it but i do like the feature.

Why, you ask? Because I aim to please. :)

Though i don't understand why the views doesn't work properly (i think) because some of my posts show have 0 views even though there was about 20+ contributions...

We weren't tracking views all this time, so the counter reset itself as of today.

<M/> commented: you pleased us well :) +0
Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Before it had nothing. Why not just upload an avatar?

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

At first I was really against Gravatar because I had actually contemplated implementing it at the same time as Facebook integration but decided against it, because it seemed like just a silly third-party novelty with no added value.

However, a handful of other big sites use it, and I was a bit bored tonight, so I've caved. Let's see who uses it aside from LastMitch.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Fixed for ya

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

The DaniWeb community is all about the public sharing of information. If there is some stuff that you can't post on the Internet because of company secrets, then unfortunately you can't post that.

I actually think it goes against the spirit of our community to post content and then later retract it. Other members took the time and effort to reply with the expectation that the content would exist into the future and be able to help others as well.

Also, keep in mind, once you post something on the Internet, it's "out there". Within minutes of being posted, it's syndicated from RSS feeds, indexed by the search engines, etc. Deleting the content later doesn't necessarily mean that it's deleted from the web.

DaniWeb actually has a hidden behind-the-scenes forum called Area 51 for community regulars. I'll open it up to you, and it might be a good place for you to post some of your more sensitive questions away from the prying eyes of the general community and search engines.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

It's a per-attachment size limit.

There are two reasons that we don't have a progress bar for the uploader:

  1. Way too much effort than it's worth, IMO, and it's a lot of Javascript overhead for something almost exclusively used to upload really small images from time to time.
  2. I want to discourage uploading large files (I have to pay for storage space, bandwidth, and big attachments means lots of people constantly downloading large files). Attachments are rarely used and, when they are, it's mostly for small images. If we made it into an overly complicated progress bar setup, it might subliminally encourage the uploading of larger files.
Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Not quite sure what you mean. Did you update your password from that page?

I'm sure there are lots of members here who have updated their member profiles and subsequently logged out and logged back in successfully.

Can you reproduce the bug?? What are the steps to reproduce??

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

You say it was broken, then it was fixed, and now it's broken again. But no changes were made since the beginning, so it is mostly something on your end. If clearing your cache does not fix the issue, then please try disabling all Firefox extensions and plug-ins. Sometimes third-party plugins are poorly written and tend to go a lil rogue.