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

Haha thank you sooo much :)

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

I can manually create a record for your latest donation and give you the sponsor badge, but this way every month it will automatically add to the monthly tally on our new donation page. And I'm planning on doing some other stuff with that in the future so this way your record is created just like everyone else's :)

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

Ale,

Were you referring to the badges to the left of people's posts under avatars (for example mine says Administrator and Sponsor) or were you referring to member badges at http://www.daniweb.com/states/get_badge ??

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

Grrr, can you do me a huge favor? Can you cancel the Paypal subscription and then restart it back up using the new system?

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

Oh, well thank you :) I will have to manually create your record in the new database because it's not tied to the old system.

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

I noticed a 'Sponsor' badge worn proudly by HappyGeek. Where's mine?

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

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

A banned member was repeatedly trying to 'Log In with Facebook' to the point of where they made the top list by activity points! However, it wouldn't show their name because they were banned and weren't supposed to be in the list, so the layout got a little funky. All fixed now. And no more giving activity points to banned people.

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

I'll look into it, thanks for the suggestion.

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

Will look into it in a few minutes, thanks!

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

If the new system is working correctly, then all these posts were upvoted after I changed my nickname, is there a way to confirm that?

Yes, but it involves digging deep into the database, and I'm rather busy right now working on another project.

I can confirm without a doubt, however, that username changes cannot affect anything like this since everything is tied to your user id, which doesn't change. Your username is entirely superficial.

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

Our new system came out in March 2012. It looks like you just came back about 2-3 months ago. Welcome back :)

It looks like the change in the post votes list is related to the change in system. You just didn't realize it until you came back.

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

It's 200% not related to your username change.

However, was your username change around the time that we switched over to our new system (March 2012)?

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

The link to 'Posts Voted Down' are the list of posts that currently have a negative net vote count. For example, suppose a post receives two downvotes and three upvotes. The little number next to the post will have the net total, which is 1, and the post will actually be in the list of 'Posts Voted Up'. However, your member profile will count 2 against your total down-votes received.

Sorry for the confusion in the way the system is designed.

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

What is the correct way to track PayPal purchases that use the standard payment button?

I see on https://www.x.com/developers/paypal/documentation-tools/paypal-payments-standard/integration-guide/Appx_websitestandard_htmlvariables I can fill out the return and rm parameters, but I read somewhere that it requires the user to click "continue" in their browser after the payment has been completed in order to be redirected back to your site. So if they just close the browser it doesn't register accurately.

Also, for the 'rm' parameter it says that if you specify 2, the buyer's browser is redirected and all payment variables are included via POST. But what are the payment variables??

Also how can I test that it's working correctly without actually paying myself?

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

Looks fun!! :)

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

Hi,

Sorry you're experiencing trouble. Please send me an email (dani [at] daniwebmail [dot] com) from the email address associated with your account, and I'll manually reset your password for you.

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

Unfortunately I can't duplicate this. :(

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

I like that you included documentation now! :)

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

BTW - if I want to place more that one app on one site, should I create a new application for each or should I just use the one and reuse the same client id etc?

It's up to you with two caveats:

  1. If you use clientside OAuth 2.0, the domain registered must match the domain the app resides on.
  2. The application name and website is displayed when asking for authorization from end-users, so you'll want it to be a friendly name. Whether you create a single app or multiple apps from the same domain name would depend purely on end-user usability. There's no advantage or disadvantage.
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Just tested it and i'm seeing Windows Vista nd Win 7/8 and Windows 2000/XP ... seems to all be working now :)

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

OK yeah, that should work :) Much more elegant than going through nested loops.

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

I think you're in IE compatibility mode.

kindo commented: Sisi nene, ur good +0
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Favorite forums have always been the same. It's just an array of forum IDs within /me. Just take that array of forum IDs and collapse it into a semi-colon delimited list, and fetch all those forums and all their descendants at once.

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

Diafol,

I might be confused, but I don't think that you should need to do any type of nested loops.

Just look at the list of my favorite forums when you pull /me

Then, do:

http://www.daniweb.com/api/forums/1;2;3;4;5/descendants?include_self=1

This will give you a flat list of all of my favorite forums and all their descendants.

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

I was trying to add pagination and I accidentally put the pagination object inside the data object ... All good now.

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

NOW fixed.

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

GRR, not fixed ... hold on :)

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

Don't ya just love working with a moving target API? :)

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

Fixed. Sorry about that.

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

Oh shoot, you're right! I did break something!! Fixing ......

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

I didn't change anything????

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

No :(

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

OK, I just hope I get the same json format :)

You will! However, it seems like it isn't able to determine the forum name when you're in a sub-forum, like one of the sub-forums within Microsoft Windows. Are you sure you're pulling descendants and not just children?

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

Two things ...

  1. You probably want to pass ?include_self=1 when you fetch /forums/descendants to include the top level categories as well, and not JUST their descendants.
  2. I'm not sure if it's related to that or not, but my list has an article that says f: undefined. It points to this thread: http://www.daniweb.com/hardware-and-software/microsoft-windows/viruses-spyware-and-other-nasties/threads/448757/cannot-download-attachments-in-gmail
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

I love the Twitter Boostrap look!! Spiffy!!

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

I get a 500 server error :(

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

Welcome to DaniWeb! :)

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

But the input string didn't start with 0x or 0. At least, I think not ;)

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

The documentation told me that base 10 was assumed if you didn't pass in the second argument!!

It worked in Chrome, Safari and Internet Explorer!!

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

Someone logs in via facebook about once every five minutes around the clock, so if you had to wait a week for these screenshots, it's going to be nearly impossible to debug.

It might just be the small % of people who had the Facebook OAuth 2.0 process take too long for them, so they kept manually hitting the refresh button.

Based on the statistic of someone logging in via facebook every 5 mins, this would need to happen at least once or twice an hour to be considered something that I could even potentially look into.

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

I just logged into Facebook and it worked fine for me. Only showed me once in the list like normal. How often do you see this?

Dani 4,653 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,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Fixed ... super sorry about that.

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

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

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

What sport do you play?

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

A geek. Geek is chic. ;)

Dani 4,653 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,653 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,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Yeah, I did :)