Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases

Reply
 
Thread Tools
[uCash/uShop] Transactions Addon With a 'message' Details »»
[uCash/uShop] Transactions Addon With a 'message'
Version: 1.2, by TyleR TyleR is offline
Developer Last Online: Aug 2007 Show Printable Version Email this Page

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

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 04-10-2005, 09:52 PM
TyleR's Avatar
TyleR TyleR is offline
 
Join Date: Nov 2004
Location: North Carolina
Posts: 349
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@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.

@redcow: No problem
Reply With Quote
  #23  
Old 04-11-2005, 01:21 AM
snowlion snowlion is offline
 
Join Date: Mar 2005
Location: STY
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TyleR
@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 hoped come fast !
Reply With Quote
  #24  
Old 04-14-2005, 06:17 PM
TyleR's Avatar
TyleR TyleR is offline
 
Join Date: Nov 2004
Location: North Carolina
Posts: 349
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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)
Reply With Quote
  #25  
Old 04-14-2005, 07:39 PM
a123 a123 is offline
 
Join Date: Apr 2004
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice!!!

thanks a lot.

Also can admin edits your transactions or global transactions?
Reply With Quote
  #26  
Old 04-16-2005, 03:27 AM
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Location: Google Kansas
Posts: 4,678
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thx for the mod Tyler
my users love, and a pm add-on would be fantasic
Reply With Quote
  #27  
Old 04-16-2005, 05:23 AM
TyleR's Avatar
TyleR TyleR is offline
 
Join Date: Nov 2004
Location: North Carolina
Posts: 349
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@a123: No, that's not something this mod can do, sorry.

@Brandon: No prob's ..just trying to work out how im gonna get all these sql queries done after a donation/admin donation, lol.
Reply With Quote
  #28  
Old 04-16-2005, 05:49 PM
kobescoresagain kobescoresagain is offline
 
Join Date: Feb 2005
Posts: 327
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #29  
Old 04-16-2005, 07:40 PM
TyleR's Avatar
TyleR TyleR is offline
 
Join Date: Nov 2004
Location: North Carolina
Posts: 349
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@kobescoresagain: I could psossibly do something of the sort
Reply With Quote
  #30  
Old 04-16-2005, 08:43 PM
kobescoresagain kobescoresagain is offline
 
Join Date: Feb 2005
Posts: 327
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

that would be awesome if you could do that.
Reply With Quote
  #31  
Old 04-23-2005, 02:16 AM
Hellspire's Avatar
Hellspire Hellspire is offline
 
Join Date: Oct 2003
Location: NY, USA
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.


Nice hack btw.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:56 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05066 seconds
  • Memory Usage 2,304KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete