vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - ICash, Simple, stand alone point system. (https://vborg.vbsupport.ru/showthread.php?t=119086)

dartho 12-13-2006 06:50 AM

Yes - the Icash one!

chkdgate 12-13-2006 07:13 AM

So what you're saying is simply rename ICash's donate.php to cashdonate.php and then perform these template edits?:

In postbit template
Find:
----------
PHP Code:

<div>$post[icqicon$post[aimicon$post[msnicon$post[yahooicon$post[skypeicon]</div


Add after:
----------
PHP Code:

$vboptions[icashn]: $member[money]
 <
br>
 <
a href="cashdonate.php?$session[sessionurl]to=$member[username]">Donate</a

Note: I just renamed donate.php to cashdonate.php just for my mod only!

chkdgate 12-13-2006 07:26 AM

I can deposit and withdraw points with no problem but when I tried to donate to a member I got the message in the screen capture below.

Edit: I just thought of something. Should I edit the entire donate.php file and rename all donate.php to cashdonate.php?
Edit 2: Nevermind, that didn't work either. I know we can figure this out.

dartho 12-13-2006 09:16 AM

searhc and replaceon donate.php was necessary - sorry and I think you may also need to edit this line:
define('THIS_SCRIPT', 'donate');
and change to
define('THIS_SCRIPT', 'cashdonate');

but I might be wrong ......

armstrong 12-13-2006 11:29 PM

Hello dartho. I'll try your logging solution now. Even without postnumber, this will seriously help fight points fraud.

fredilan 12-14-2006 01:36 AM

hi, where will the stats be displayed? or is there a way that points will be displayed on the main page when a user logs in to the forum. Thanks!

chkdgate 12-14-2006 04:33 AM

Quote:

Originally Posted by dartho (Post 1137653)
searhc and replaceon donate.php was necessary - sorry and I think you may also need to edit this line:
define('THIS_SCRIPT', 'donate');
and change to
define('THIS_SCRIPT', 'cashdonate');

but I might be wrong ......

Holy $hizz!! That worked!:banana: I knew we could figure it out. Now I can go ahead and install my paypal hack. Thank you dartho.

Devil Woman 12-14-2006 09:18 PM

I am having problem's adding this to be used for vbookie, I have read the threads in here that explain how but I am still struggling any help is appreciated

Thanks

dartho 12-15-2006 12:17 AM

vBookie's default money colum is "vbookie_cash"

In the ICash Settinsg in AdminCP, change the

Money row
What the money row is in your user table, this can be used for easy integration amongst your favorite hacks! (default is money).

to vbookie_cash see attached

Devil Woman 12-15-2006 01:17 AM

Thanks for that, that helped alot, found out where I was going wrong

Thanks again


All times are GMT. The time now is 07:53 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.01786 seconds
  • Memory Usage 1,744KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (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