vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   [uCash/uShop] Transactions Addon With a 'message' (https://vborg.vbsupport.ru/showthread.php?t=79434)

TyleR 04-06-2005 08:12 AM

Changed & Updated. Thanks Marco ;)

Marco van Herwaarden 04-06-2005 08:25 AM

Looking save now :D

Just one tip for future coding:
PHP Code:

    $getuser $DB_site->query('SELECT * from ' TABLE_PREFIX 'utt_store_history WHERE userid="' $userid '" AND action="Donate" ORDER BY historyid DESC'); 

There is no need to stop the string and insert a variable if you use double-quotes (") around the the string. Also numerical var's in a query don't need to be quoted at all, and if quoting alphanumerical data best to use single quotes ('). So the above line could also be written as:
PHP Code:

    $getuser $DB_site->query("SELECT * from " TABLE_PREFIX "utt_store_history WHERE userid=$userid AND action='Donate' ORDER BY historyid DESC"); 


Vevina 04-07-2005 03:20 PM

sweet installed :)

TyleR 04-08-2005 02:03 AM

heh ;)

TyleR 04-08-2005 11:42 AM

if anyone can 'teach' me the pagination, please send me a PM :)

TyleR 04-08-2005 03:42 PM

woo, thanks Deaths..this now has pagination :D

Updating the zip & sending out an update now :)

Vevina 04-08-2005 07:43 PM

This is awesome just what i wanted ThankYou :)

Deaths 04-09-2005 08:03 AM

No problem mate ;).

jzewatsky 04-09-2005 08:17 PM

I'm not clear on where the message is shown when a user donates to another user. Also, does the option to leave a message when donating extend to using Admin Donate?

Thanks for all you work.

redcow 04-10-2005 12:03 PM

thanks


All times are GMT. The time now is 12:04 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.02985 seconds
  • Memory Usage 1,730KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete