Version: 1.2, by TyleR
Developer Last Online: Aug 2007
Version: 3.0.9
Rating:
Released: 04-04-2005
Last Update: 11-06-2005
Installs: 30
DB Changes Template Edits
Code Changes Additional Files
No support by the author.
Hi
This is my first 'hack' per-say (released ), so do bear with me
This is a hack I had made for my site, for some weird reason I have no answer to ..anyways, it will add an option for your users to add a message when he/she donates to another person on your board, and displays transactions based on a userid input (e.g. transaction.php?userid=1), the default showing the transactions done by the person currently logged in, and a global transaction, showing all donations made on your board
BIG Thanks goes to Deaths for the help he provided me on in putting this hack together.
ChangeLog
Version 1.2 (11/7/05)
Added "View {username}'s Transations" link into postbit(_legacy)
Fixed Page Generation issues
Phrase added to show error message if no transactions exist
Made the install file a bit easier to understand
That about sums it all up..please click INSTALL if you use this hack
@jzewatsky: It doesnt extend to the admin donate as of yet, this is planned in the next version which will also feature an automated PM on donations..And the messeges show on the transaction page provided in the zip file.
@jzewatsky: It doesnt extend to the admin donate as of yet, this is planned in the next version which will also feature an automated PM on donations..And the messeges show on the transaction page provided in the zip file.
i've almost got vB's PM system figured out..the admin donation reasons are done, but the zip wont be updated til the auto-pm's are figured out...hopefully this will be done either Tomorrow or Saturday (US East Coast time)
can this hack have an automatic reason? I have traderratings connected with ucash. I would like it to say in the reason (Trade with x user) Can it be done? Thanks
Um one thing in regard to the manner in which you are doing your queries and the way that they said to fix it.
Code:
// rather than
"select * from ".$table." where userid='".$userid."'"
// or
"select * from $table where userid=$userid
// you should do it this way, rembering that this, after all a string, and is parsed as such, before being sent as a query, thus:
"select * from $table where userid='$userid'
// or for something complicated the following:
"select * from $table where specialrow='specialid{$userid}'"
I know that this is really a mute issue, but using variables directly without quotes for a varchar or other entry would have problems if there is a space, or whatever, thus having them encapsulated with single- or escaped double- quotes, would be the proper way to avoid this problem.