TRADING MODULE!

Live forum: http://forum.freeipodguide.com/viewtopic.php?t=13053

Admin

29-04-2005 17:31:02

I just spent the last 6 hours of this day off coding a trading module.

Here's the deal You can initiate a trade with anyone on the board, using a link in their posts or in their profile.

Once initiated, this trade will appear in both of your "trades" areas. At this time, if the person you traded with wants to trade, he or she will "confirm" the trade. After that, the only way it will be deleted is if both of you set your 'status' to "requesting deletion".

If the person you asked to trade with does NOT wish to trade with you, he or she simply has to 'request deletion' without confirming it and it will be removed.

There are 11 different status settings for the various places each person in a trade can be. These are easy to add to if necessary.

Once both parties request TR for the trade, it will appear in a special admin-only panel where we can review the trade and credit + delete it as we see appropriate. Remember, trades among new users will still not be credited, and all the old rules apply. If you are requesting TR, make sure to indicate what was traded for in one or both of the 'notes' field.

If you have any questions, feel free to post here or PM me. Same goes for bug reports.

drummer_kew_03

29-04-2005 17:43:38

Sounds like a great addition!

dudeextrem2000

29-04-2005 18:57:16

awesome job admin

redskunk

29-04-2005 19:54:29

Sounds like a GREAT addition! Kudos!

Blink182=Gone

29-04-2005 20:02:33

sounds good...btw, do we have to use this in order to get +1's now?

Admin

29-04-2005 20:09:55

No, old method is still fine. Just prefer it if you use the new, as it makes it easier for us on the admin side.

thehunter1320

29-04-2005 20:58:28

found a bug

when you're trying to change your own status, you can only see the otions for putting in -1

Admin

30-04-2005 11:49:00

thehunter1320 Browser, version, OS, version?

Retro

01-05-2005 11:07:03

hey, can there be something that notifies us of a new trade initiation? or do we have to just keep checking back in the trades section?

pSeuDo

01-05-2005 15:24:16

[quotef01128766e="Retro"]hey, can there be something that notifies us of a new trade initiation? or do we have to just keep checking back in the trades section?[/quotef01128766e]

yes, i'd like that

and also
when i press "edit" on status, then press "cancel", it reverts back to "negotiating". thanks

pSeuDo

01-05-2005 16:13:16

thats awesome for "new trades"

Phbs83

01-05-2005 16:16:23

It's nice to have a list of all the statuses - 1 to 7 and what they mean) Couldn't find that, and had to try everything in order to find what I need

Admin

01-05-2005 17:44:06

The status list was included in the javascript popup prompt, but IE doesn't allow more than a couple lines in that, so it was just getting eaten. I've moved that prompt to a more friendly location so it works on both IE and firefox.

I will add a 'new trade' alert later tonight, as well as cancel on status returning you to 'negotiation'.

Phbs83

01-05-2005 17:49:30

[quote9382ababcf="Admin"]The status list was included in the javascript popup prompt, but IE doesn't allow more than a couple lines in that, so it was just getting eaten. I've moved that prompt to a more friendly location so it works on both IE and firefox.

I will add a 'new trade' alert later tonight, as well as cancel on status returning you to 'negotiation'.[/quote9382ababcf]

Works great now! Thanks)
And I believe I saw "You have new trades" just like "You have new PMs" earlier today?

Admin

01-05-2005 18:04:48

That was briefly put up just to make sure the javascript would work properly. In fact, you can see the javascript code if you view-> source any normal page on the forums.

As of now, though, it will never be triggered (not coded yet.)

Phbs83

01-05-2005 18:07:21

It showed up, but even after I saw the trade, it remained "You have new trades". You should double-check the code before you start it. Just a suggestion, thanks for your hard work)

Admin

01-05-2005 19:12:11

I just said it was only a test of the javascript used to display the alert. I just said the backend wasn't yet coded. I just said it wont be triggered again until I code it.

Is this difficult to understand?

pSeuDo

01-05-2005 19:32:22

[quote0af78b95d3="Admin"]I just said it was only a test of the javascript used to display the alert. I just said the backend wasn't yet coded. I just said it wont be triggered again until I code it.

Is this difficult to understand?[/quote0af78b95d3]

lol
http//www.freeipodguide.com/phpBB2/smilies_mod/upload/0d5aa736a6baa99f6781d5b83bb7c6ef.gif[" alt=""/img0af78b95d3]
ownt
be nice and set an example for the rest of us will ya?

Phbs83

01-05-2005 19:53:47

[quotefda08af2dd="Admin"]I just said it was only a test of the javascript used to display the alert. I just said the backend wasn't yet coded. I just said it wont be triggered again until I code it.

Is this difficult to understand?[/quotefda08af2dd]

And I said "thank you for your hard work" P Let us know when you finish it

Admin

01-05-2005 20:41:45

All done. Feel free to try it.

For simplicity/ease's sake the flag indicating that you have a new trade is only cleared after TWO page loads OR if you visit the trade page.

Basically, the PM one only shows up once, no matter what, and this one will only show up twice, no matter what, unless the first page you visit (since the trade was initiated) is the trading page.

Make sense?

Also, I believe I squised the 'cancel = negotiation' bug. Let me know if there are any others...

pSeuDo

02-05-2005 13:47:49

is there a way to make it so that if it is requesting deletion, and the other party doesn't reply in a week it gets deleted?

Admin

02-05-2005 15:55:50

No. The idea is that once the trade is confirmed, it will only be deleted if both parties agree. This is to prevent someone from attempting a trade, scamming, and deleting to cover it up.

If you have an old trade that neither of you have any intention of finishing, go ahead and PM me after a week or so if the other guy wont request deletion and I'll remove it manually.

pSeuDo

02-05-2005 15:58:32

okay, thanks =D

Admin

04-05-2005 19:52:30

Added a new status level, settable only by mods, called "TR Credited". So after both posts are "Requesting TR" and a mod approves them and credits the TR, he/she can mark as credited and then the parties concerned can either leave the record there or both request deletion.

Admin

04-05-2005 23:27:43

Added a facility to automatically convert urls in the 'comments' field to clickable hyperlinks. This was difficult to code but I think I have accounted for all possible situations (except where you put more than one link in there, but why in god's name would you do that?).

Let me know if you see any weird behavoir.

theysayjump

04-05-2005 23:33:24

sweet, sounds good!

Admin

07-05-2005 18:13:14

Updated Now uses a simpler drop-down box for status display and update.

pSeuDo

07-05-2005 21:53:23

[quote1055742a74="Admin"]Updated Now uses a simpler drop-down box for status display and update.[/quote1055742a74]

great... i love that
is there a way to see the other person's status?

steve30000

08-05-2005 14:24:38

Maybe I'm not understanding this module completely but shouldn't there be a "Waiting for partner completion" (or something like that) in Status section? So if someone initiates a trade and has a lower trade record and goes yellow, I think I would want to change my status that I'm waiting for them to go green before completing the offer for them. There doesn't seem to be an option that satisfies that option.

Admin

08-05-2005 14:57:35

Makes sense.

I just changed "Negotiation" to "Negotiation or Waiting" since they're pretty much equivalent as far as a person's status goes. Sound good?

steve30000

08-05-2005 15:02:04

Yeah, that looks good to me. Thanks.

Cinnabar

24-05-2005 09:24:16

Admin, can we have something to where we can delete the trades that have already been credited by ourselves? I have requested deletion on several but since the other person hasn't, nothing happens.

Our lists get too cluttered. (

Admin

29-05-2005 09:44:58

Okay, now a trade will be deleted if the status is "TR Credited" and one of the two users requests deletion.

cartrenroy

29-05-2005 09:48:10

[quote1604e207b3="Admin"]Added a facility to automatically convert urls in the 'comments' field to clickable hyperlinks. This was difficult to code but I think I have accounted for all possible situations (except where you put more than one link in there, but why in god's name would you do that?).

Let me know if you see any weird behavoir.[/quote1604e207b3]


Thank You Admin

Retro

29-05-2005 10:22:28

yeah, thanks
b/c I have so many that I've requested deletion on but the other person hasn't

Admin

29-05-2005 10:51:13

FYI It's not retroactive. You need to change your status to something else, then back to 'Requesting Deletion' to get it deleted (assuming the other person is "TR Credited"

blitzrapper

01-06-2005 11:36:27

Me and cinnabar did a trade a while back and I sent the money then he became green. But he still hasnt selected request TR so I have not been credited with this trade. What shall I do, because he hasnt visited the forums in a while and I already PM'ed him without an answer

Matt8789

26-07-2005 18:11:14

I think we should have a seperate section for the persons email address they can add in so we can keep track better. I know you can in the Notes section but something to keep everything a little more organized..

Admin

29-07-2005 21:59:13

There's a section for 'contact info'

synix

22-10-2005 13:59:22

[quote47d8e0f753]Remember, trades among new users will still not be credited, and all the old rules apply[/quote47d8e0f753]

Does that mean I won't get a TR rating yet? What defines someone who is not a new user..amount of posts in forums?

theysayjump

22-10-2005 14:27:00

You can trade with any member you wish to, but anyone who has under +2 TR that you trade with, neither of you will receive +TR for that trade.

As soon as you hit +2TR, then you can trade with anyone and receive TR for the trade.

jy3

20-04-2006 08:05:20

hey guys
can we add a selection for the pull down status menu - "manual credit" suggesting that you have applied for manual credit ?

TrubluFul

07-08-2006 20:46:58

[quote0bc33efce5="jy3"]hey guys
can we add a selection for the pull down status menu - "manual credit" suggesting that you have applied for manual credit ?[/quote0bc33efce5]

with an accompanying "screenshot of 'no credit' ticket" feature. i'm personally sick of hearing 'i did the suport ticket', but no one wants to show proof they actually did.

feeling better with that off my chest

aviendha47

23-05-2007 20:18:00

[quotefdbbafbb41="theysayjump"]You can trade with any member you wish to, but anyone who has under +2 TR that you trade with, neither of you will receive +TR for that trade.

As soon as you hit +2TR, then you can trade with anyone and receive TR for the trade.[/quotefdbbafbb41]




Is that new? I thought it was 4. What am I missing?

moviemadnessman

23-05-2007 20:20:35

It is 4. Look at the post date ... Sat Oct 22, 2005 227 pm. It is 4 TR, just like you thought.

aviendha47

23-05-2007 20:35:24

LOL, thanks MMM. My observational skills seem to be lacking today. roll

opy01

26-11-2007 09:23:19

I filed a claim against hamtaroking and now I am waiting to hear back from Paypal. I probably wont get anything but I will try to file internet fraud against him. He has to have a bank account or credit card attatched to his account and if not they can sure track his IP address. If anyone else is willing to join with me on this PM me please.