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

HPIA 12-24-2006 07:03 PM

Where is the 3.6.4 version? or is ther eone?

davidw 12-24-2006 10:41 PM

This works on 3.6.4

chkdgate 12-25-2006 05:16 AM

Quote:

Originally Posted by christianb (Post 1144700)
This works on 3.6.4

Correct.

gingery 01-01-2007 04:42 PM

Quote:

Originally Posted by fredilan (Post 1138198)
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!

I'm also wondering if there is a way to display how many points users have on one page.

Also, if I uninstall this at the end of the month and then reinstall, will all the points start over at zero? (I'm wanting to use this to run a contest :) ).

Devil Woman 01-01-2007 06:06 PM

Hi there, I am having a problem, I was using this for vbookie and I have all the settings set so it can be used for vbookie but since I have revamped my forum with a new template and readded in the code it isn't working properly, what I mean by not working properly is that when someone posts a new thread/reply it isn't adding onto there cash and they also lost all there cash after I had changed the templates but I hadn't reinstalled the hack, I have since reinstalled the hack incase there is a problem but it's still not working.

Any help is appreciated, I am using vb 3.6.4

Thanks

dartho 01-02-2007 11:13 AM

template changes should make no difference to this hack - unless you removed the line which displays icash balances in the postbit templates - just re-adding the template edits from the instructions should fix this.

Have you installed any other mods/hacks which may be clashing with this one?

Blaine0002 01-02-2007 01:16 PM

Reinstalling vBookie would also do this :-/ this isnt a problem with my mod, its a problem with vbookie.

Zowners 01-02-2007 02:54 PM

Thanks for the hack blaine, its really simple to use
I do have a question as your 1st post says, you are doing a shop add on later right?
Is this shop add on going to be like based on real stuff you can sell like Vbay or something else?

thanks!

Devil Woman 01-03-2007 12:35 AM

I have added in all the template edits back in, I haven't added in any other templates since I updated and this problem occured no, but I did take some out that are no longer used on the forum, but from what I know it wasn't anything that would have conflicted with vbookie or icash.

Thanks

Quote:

Originally Posted by dartho (Post 1149060)
template changes should make no difference to this hack - unless you removed the line which displays icash balances in the postbit templates - just re-adding the template edits from the instructions should fix this.

Have you installed any other mods/hacks which may be clashing with this one?


Devil Woman 01-03-2007 12:44 AM

I have just taken the product file out and added it back in again to restart all the settings and tested it and all was working fine as soon as I change it to vbookie_cash that is when the problem seems to occur with the amount not adding on when you create a thread or post, so does seem to be a problem with vbookie and not this hack.

Would I need to change anything in the template edit at all for it to work or should it just work from you changing it to vbookie_cash and keeping the template edit the same.

I did get this working previous but not sure if I had to change anything in the template edit to do it

Thanks in advance.

Devil Woman 01-04-2007 01:33 AM

Got my problem sorted, turned out that I didnt have the vcash coding from the vbookie coding in my postbit legacy and I only had the vbookie_cash in the icash settings and not vcash instead of money in the first setting, all sorted now and working as before.

Thanks again for the replies.

Blaine0002 01-04-2007 06:23 PM

Devil, im glad you got your problem sorted, i was on vacation :laugh:

Quote:

Originally Posted by Zowners (Post 1149172)
Thanks for the hack blaine, its really simple to use
I do have a question as your 1st post says, you are doing a shop add on later right?
Is this shop add on going to be like based on real stuff you can sell like Vbay or something else?

thanks!

Yes, if you go into my profile and scroll down you will see my IShop modification.

Carl Anderson 01-05-2007 02:55 PM

I installed icash and it seems to be working as I had it donate 100000 to my users for use in stock trader.... a new vb hack for trading stocks.. I get this error.....

Fatal error: Field money is not defined in $validfields in class vb_datamanager_user in /includes/class_dm.php on line 485

I posted in the stock trader support thread about this error and he said it must be a problem with the way I have icash configured...

Here is a link to the stock trader post I made and his reply..

https://vborg.vbsupport.ru/showpost....2&postcount=70

I sure want to use this hack but I have no idea how to fix it...

Thx

DeeNice 01-05-2007 04:15 PM

Hey,
Is it already possible to display the points in the members profile?
If so what do i have to do?

Regards
DeeNice

Blaine0002 01-05-2007 05:53 PM

Quote:

Originally Posted by Carl Anderson (Post 1151361)
I installed icash and it seems to be working as I had it donate 100000 to my users for use in stock trader.... a new vb hack for trading stocks.. I get this error.....

Fatal error: Field money is not defined in $validfields in class vb_datamanager_user in /includes/class_dm.php on line 485

I posted in the stock trader support thread about this error and he said it must be a problem with the way I have icash configured...

Here is a link to the stock trader post I made and his reply..

https://vborg.vbsupport.ru/showpost....2&postcount=70

I sure want to use this hack but I have no idea how to fix it...

Thx

You need to find out the column your stock mod uses in the user table and edit the settings in the admincp :)

As for having it display in postbit, there are directions in the zip file


Please click install!

Carl Anderson 01-05-2007 08:40 PM

Quote:

Originally Posted by Blaine0002 (Post 1151447)
You need to find out the column your stock mod uses in the user table and edit the settings in the admincp :)

As for having it display in postbit, there are directions in the zip file


Please click install!

Ok here is the error I get again...

Fatal error: Field money is not defined in $validfields in class vb_datamanager_user in /includes/class_dm.php on line 485

I went in icash and donated 100,000 and the stock trader hack sees the 100,000 that has been donated. It is when it tries to deduct it from the 100,000 that it has that error...

Stock trader hack wants to know the "Money Row" of what I am using for my cash - it sees it but cannot subtract from it is my guess.. I hope this is making sense to you.... Maybe this can't be used in this way?

Here is the post the author of stock trader
https://vborg.vbsupport.ru/showpost....7&postcount=75

Blaine0002 01-06-2007 07:41 PM

I am not quite sure how to go about fixing this, all i can reccommend is privately contact the author of that mod and see if he can figure out what is wrong, my guess is somthing to do with his query. Sorry :(

Carl Anderson 01-07-2007 05:54 AM

Quote:

Originally Posted by Blaine0002 (Post 1152142)
I am not quite sure how to go about fixing this, all i can reccommend is privately contact the author of that mod and see if he can figure out what is wrong, my guess is somthing to do with his query. Sorry :(

I just installed vbbux and it works so it is something to do with icash and the stock trader hack..

Here is the hack if you want to look at it... who knows it could be a problem with other hacks also? Or it could be a conflict because the way I am set up and the hacks I already have..
https://vborg.vbsupport.ru/showthread.php?t=135084

My choice would be to use your icash but I can't?

Blaine0002 01-07-2007 03:39 PM

try this

https://vborg.vbsupport.ru/showpost....5&postcount=91

Zagis 01-09-2007 12:03 PM

Same question:
Quote:

Originally Posted by DeeNice (Post 1151403)
Hey,
Is it possible to display the points in the members profile?

and member's list too?

Thanks

Blaine0002 01-09-2007 01:24 PM

Extra modifying would be required, i havent typed up instructions to do it yet.

Devil Woman 01-14-2007 01:18 PM

Hi, i'm back again lol, I have recently installed p3tz and I am wanting to use this points system like I have with vbookie, I have tried every thing I can think of to get it working and it will not go only I got it working with this points system before I had to reinstall p3tz due to some errors.

Any help is appreciated, thanks

Devil Woman 01-14-2007 01:22 PM

no worried i've done it again lmao, had the options the wrong way round, just swapped them around and all is working fine lol

I will get it right one of these days lol

Thanks

Blaine0002 01-14-2007 02:38 PM

Glad you figured it out.

Zagis 01-16-2007 12:05 PM

Hello,

"Points per thread" is set to 10 but every time a user starts a new thread, gets 20 points. Any idea why is this happening?

papason5 01-17-2007 07:11 AM

s it possible to hack the icash so that when users access one part of the forum for ads,they loose a fix amount of points?
if possible can you help me do it?

papason5 01-17-2007 07:12 AM

i mean i wanna allow my members to purchase some ads with their points and it will be deducted directly form their points number.

buidoi 01-20-2007 02:34 PM

Quote:

Originally Posted by chkdgate (Post 1011628)
Where do I look when I want to edit a template? I'm having the same problem with vbbux. When I saw this, I was exited to upload it, which I did but can't seem to figure out how to perform edits.

i want to know this too

sportsoutlaw 01-21-2007 03:40 AM

I remove vbplaza tonight and installed this hack for my money system, and I have vbookie installed.

I changed the money row to vbookie_cash.

My Problem - I am unable to donate money to members with the money row set to vbookie_cash. I tried several times, and would get the response that the donation had been completed, but the amount didn't change for the members. I changed vbookie_cash back to "money" and the donation works.

Edit - Nevermind, I realized that every donation I was making was going to vbookie's vCash. Took the Icash template edit out, and put the vBookie template edit back in, all seems to be working well.

Great hack!

Black Widow 01-23-2007 07:25 PM

Huge hack.

Thanks a lot...:)


All times are GMT. The time now is 01:32 AM.

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.02045 seconds
  • Memory Usage 1,836KB
  • 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
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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