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)

Rian 02-22-2007 04:11 PM

Hi Guys

Can I get some urgent help.

Whenever I donate money, I keep getting a message that I do not have enough money,

I also installed Ishop, and when I want to buy it says I don't have enough money.

I can donate money to users from the Admincp but the system does not recognoze it.

Any help?

Blaine0002 02-22-2007 04:18 PM

are you sure you have your money table set to 'money'?

Rian 02-22-2007 04:26 PM

Thank you Blaine

I had money with a capital 'M'. Just changed it to a lower case and it now seems to work :)

Rian

Marko777 02-22-2007 05:30 PM

1) In product-icash.xml:
From:
<phrase name="error_icash_sendmsomthing"><![CDATA[You must donate somthing!]]></phrase>

To:
<phrase name="error_icash_sendmsomthing"><![CDATA[You must donate something!]]></phrase>

1.5) You need to change the amount to be a fload, not an int.

2) In donate.php:
Find:
$db->query("insert into " . TABLE_PREFIX . "icash_donations (`id` ,`from`, `to`, `amount`, `time`) VALUES ('', '{$vbulletin->userinfo['username']}', '{$doname}', '{$amount}', '{time()}')");

Change:
$db->query("insert into " . TABLE_PREFIX . "icash_donations (`id` ,`from`, `to`, `amount`, `time`) VALUES ('', '{$vbulletin->userinfo['username']}', '{$doname}', '{$amount}', now())");

hitboy 02-23-2007 11:50 AM

is there a way to exclude forums so that users dont get points for posting in certain forums???

Lqd 02-23-2007 01:53 PM

I installed it, is it possible that the hack counts posts that have already been made? Since there are 6000+ posts on my board, but everyone has 0 points.

marshill 02-23-2007 05:50 PM

how do i make it so that the donate link in the postbit is only visible to the administrator? (not the group, but the sole admin)

waller99 02-23-2007 07:26 PM

This isn't the "proper" way to do things but I just added what is in red around the donate link. I changed it on postbit and postbit_legacy...

<if condition="$show['admincplink']">
<a href="donate.php?$session[sessionurl]to=$member[username]">Donate</a>
</if>

FIVE539 02-23-2007 08:27 PM

is there any way to set it to give a certain ammount for a post and the characters in the post?

example: 5 points for a post + .03 for each character

sinisterpain 02-23-2007 09:54 PM

Quote:

Originally Posted by FIVE539 (Post 1189340)
is there any way to set it to give a certain ammount for a post and the characters in the post?

example: 5 points for a post + .03 for each character

admincp->icash


All times are GMT. The time now is 08:57 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.01539 seconds
  • Memory Usage 1,735KB
  • 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
  • (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