Replies

Feb 22, 2017 9 years ago
Bug
User Avatar
Segfault

Well, to be honest I don't completely buy that because there is some differentiation: the CSC items show up with a little image of a gold coin, and sP items don't.

So, whatever code that generates that HTML, just add a bit of JavaScript to those items as well that gives a pop-up when you click (and then buys the item when you confirm). This should not be harder than whatever you did to add the gold coin images.

It only requires a change to the interface, not any back-end logic.

I apologize for assuming anything - It could be there's reasons that make it difficult that I don't know about, knowing nothing about the codebase. But this is something I could even implement myself with a UserScript on my end. So I'm skeptical of what you said in this thread about it being difficult to do.

[edit] Pinging some minimods who might be able to help- Do you guys know if making such a userscript and offering it for users would be against the rules? I think it would be okay since it's just to prevent accidentally buying things from shops, but I definitely wanna double-check so I don't get in trouble lol.

🐝 ☕ bug (he/him) | your friendly neighborhood code wrangler. stay in the loop! join and check out the latest admin post highlights

Feb 22, 2017 9 years ago Official
Kevin
is all-powerful
User Avatar
Wuf

File a ticket to clarify if that'd be against the rules or not. I'm not actually sure and it's always best to get decisions on the rules right from a UA :)

Feb 22, 2017 9 years ago
Bug
User Avatar
Segfault

Thanks! I'll make a ticket now ^^

🐝 ☕ bug (he/him) | your friendly neighborhood code wrangler. stay in the loop! join and check out the latest admin post highlights

Feb 22, 2017 9 years ago
Weedle
loves dinosaurs
User Avatar

Agreed with having a pop up. I'm scared of accidentally spending CSC in general, so a CSC vault would be awesome. I'd like to deposit all mine so I can't accidentally click anything... auto training, hustler etc. It's fine on computer but on a mobile with the crazy subeta layout and stuff jumping everywhere as it loads... eek! xD

Feb 23, 2017 9 years ago
Bug
User Avatar
Segfault

I'm really sorry if it seems like I'm being antagonistic... I don't wish to cause any drama. It's just that the staff response here doesn't add up.

Quote by grelca
this would not be not as easy to implement as you might think it would be, because there&;s no real differentiation between csc and sp items on the shop page itself :/

But there is real differentiation. Take a look:

The code for these two elements, side by side:

There is an extra element in the CSC price (the image of the gold coin), and this is sufficient for implementing (quite easily) a front-end confirmation pop-up. For instance, here is some jQuery that would add a click event to just the CSC items that will ask for confirmation before buying the item.

$("img[src='http://img.subeta.net/icon_csc.png']").closest('.three.wide.column.center.aligned').children('a:first-child').click(function(e) { if(!confirm('Are you sure you want to make this CSC purchase?')) { e.preventDefault(); } });

I'm putting that here to prove that it can be done, and it can be done that easily. Yes, this is not the most beautiful code, but my point is that it's totally possible for staff to code this. The code I wrote above would work without requiring any modification to what code Subeta already has. But staff has the power to modify anything they want, so I just don't buy that this would be difficult.

Pinging because you were mentioned before.

(Finally, I want to clarify that nothing here is meant to be accusatory or personal. I really appreciate and admire the work that and the rest of staff put into this site. I hope my tone here remained appropriate, but I felt a clarification would be good anyway since I know the suggestions board can tend towards drama.)

🐝 ☕ bug (he/him) | your friendly neighborhood code wrangler. stay in the loop! join and check out the latest admin post highlights

Feb 28, 2017 9 years ago
FLUX
has ALL of the beanbags!
User Avatar
Gerudo

Thanks for trying to solve this problem for those who really need it - I've had two people message me to have an item refunded and I've done it myself twice or three times as well while browsing on my phone :c It's a lucky thing that subeta users are generally super kind and have no problem refunding because there could have been some serioussssslyyy unlucky purchases for people out there.

Mar 6, 2017 9 years ago
Bug
User Avatar
Segfault

I received an answer to my ticket, the script is allowed, so I posted it with details/instructions here (it's a tumblr post)

Please feel free to share, ping friends, etc. I hope this can be of help :)

Pinging others who might be interested There's a lot of pings so some might fail; if anyone wants to help me ping those again please do.

🐝 ☕ bug (he/him) | your friendly neighborhood code wrangler. stay in the loop! join and check out the latest admin post highlights

Mar 6, 2017 9 years ago
Chansey
caught them all
User Avatar
Bucky

Thank you for the ping and the new information (:

Mar 6, 2017 9 years ago
corpse
needs to get lost
User Avatar
Hungrily
Mar 6, 2017 9 years ago
Sohee
is a SUPER USER!!!
User Avatar
Ikinari

thank you so much! Yesterday I bought by mistake and I spent 500 CSC :( I tried to get a refund, but the person won't take it back. So, I lost 500 CSC because I'll never use the item, and it will take a time to sell it :c It's so bad because I don't have international credit card (can't buy CSC with real money), so I lost a few days saving SP to buy CSC in vain after this ;-; but thanks again for the script <3

❄ 🎄 ❄ ❄ 🎄 ❄

Mar 6, 2017 9 years ago
Bug
User Avatar
Segfault

Aww, I'm sorry to hear that :( What was the item, by the way? I hope the script can help prevent that in the future, at least. I was actually paranoid myself about that happening to me. I ended up avoiding user shops, only buying things from shop search, etc, until I got confirmation that using the script was allowed.

🐝 ☕ bug (he/him) | your friendly neighborhood code wrangler. stay in the loop! join and check out the latest admin post highlights

Mar 6, 2017 9 years ago
Coraline
is emotional
User Avatar
Cherried

Thank you for helping!! I need it for mobile, unfortunately, so it doesn't help me much. :C I'll just avoiding browsing cw shops from my phone. xDDD

Mar 6, 2017 9 years ago
Bug
User Avatar
Segfault

There seems to be a Tampermonkey option for mobile chrome on android. There are other options out there if you feel like fiddling around, you can google "userscripts for mobile". But I feel you, it seems to be an area without much support. I wish there were a pure CSS solution so that we could just use customCSS instead of resorting to a userscript.

🐝 ☕ bug (he/him) | your friendly neighborhood code wrangler. stay in the loop! join and check out the latest admin post highlights

Mar 6, 2017 9 years ago
Sohee
is a SUPER USER!!!
User Avatar
Ikinari

It was a wig, it's kind of cute but I was saving for Cathii's dresses (I'm waiting for her to release heartbroken kitten fabric again since I lost the last batch ;o; ) This script it's so helpful, I was considering to buy the credit cards and only release them when I was going to buy something, but now I won't have to do it anymore hahahah. <3

EDIT: OMG thank you anonymous who gave me 200 CSC :OOOOOOO love uuuuuu <3

❄ 🎄 ❄ ❄ 🎄 ❄

Mar 6, 2017 9 years ago
Coraline
is emotional
User Avatar
Cherried

Gaaaaah! I have an iPhone. ;_; I'll search for it on the app store... you can never know! Thank you again!!!

[edit] Nope, there aren't any for iOS. ;_;

Mar 6, 2017 9 years ago
Bug
User Avatar
Segfault

If you have chrome on your iphone, you can try seeing if you can install browser extensions on it? Cuz tampermonkey is a browser extension for chrome. If the browser is able to run javascript, it should still work even on mobile.

The only thing I'd caution, though, is to use the desktop version of subeta because the script has not been tested with the mobile layout.

I haven't tried installing anything on my iphone's chrome though, so I don't know if it'll work. You could look into it and let me know :) but it's also ok if you think it's more trouble than it's worth. Hopefully mobile browsers will become more powerful as we move into the future. ^^

🐝 ☕ bug (he/him) | your friendly neighborhood code wrangler. stay in the loop! join and check out the latest admin post highlights

Mar 6, 2017 9 years ago
Star
is clowning around
User Avatar
Alhaitham

thank you!!

Mar 7, 2017 9 years ago
Reaper
sealed it with a kiss
User Avatar
Derek Hale

Seriously. We honestly and truly need this.

Looking at a shop on my phone and I didn't mean to click anything but there it went and now I'm out 2k CSC in one shot.

[edit]

I'd rather have a confirmation on everything that lose 2000 csc because I accidentally opened a shop on my phone and my finger hit an item, at which point staff's response is "oops too bad, sucks to be you". I'm pretty ticked off that an accident can cost me $20 and they don't care whatsoever.

But you know, someone can click the back button 7 times in my cw shop even though there's a giant warning not to do it and they're happy to fix that problem.

So yeah, confirmation on everything. Or a CSC vault. Or refunds on accidental purchases.

Wouldst thou like to live deliciously?

May 15, 2017 8 years ago
Ray
will put a spell on you
User Avatar

Support, I'd really like this ;; I recently bought an item I'd never use and now I've lost my last 500csc and I don't know if I'll be able to sell the item, at least not quick anyway. I've messaged the person asking for a refund but I'd understand if they said no since it was my own mistake, even though it's unfair because we don't have confirmation implemented ;;

May 16, 2017 8 years ago
Star Captain
Feanor
User Avatar
Malahaxa

Everything here sounds so familiar. We really need this. Already 'bought' 3 CW's on different occasions. One I luckily managed to trade for another colour thanks to the nice owner. But the other two went straight to my shop and havent sold yet, so that is money lost... And I refuse to buy new CSC with real money when I technically have so much 'sleeping' CSC.

[Dance=Feanor] 🎃[ToT=Feanor]🎃 [Kiss=Feanor]

Please log in to reply to this topic.