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)

rabbits slayer 05-16-2007 07:50 PM

Mine work fine on 3.6.7

kylek 05-16-2007 09:23 PM

Works fine also on 3.6.7PL, cause we just know someones going to ask this!!! LOL.

kennethsia 05-17-2007 03:23 AM

hmm can someone help me? ive gotten it to work already u have to add the 2nd line in the instructions to the post bit legends. now the thing i cannot see the points!

Black Tiger 05-17-2007 01:08 PM

The second line in the instructions is wrong, it says:
Code:

$vboptions[icashn]: $post[$vboptions[icashf]]
but it should be:
Code:

$vboptions[icashn]: $post[money]
You have to change this in both postbit and postbit_legacy templates.

kennethsia 05-17-2007 04:22 PM

no the 2nd line says what u just told me to replace changing nothing..

where do i add it in the postbit part?

SBlueman 05-18-2007 06:01 AM

Quote:

Originally Posted by 4newbies (Post 1240237)
Thanks for the clarification. I was able to find it now. I have over 70 boards set up on my forum. Is there any way to globally customize point rewards so that I don't have to spend hours editing each indiviual forum? Also, has anyone found a way to cap the amount of points a user can get total per post?

I was wondering if there was a way to globally make the change as well.

Black Tiger 05-18-2007 03:38 PM

Quote:

no the 2nd line says what u just told me to replace changing nothing..
Where you should put it? Where the instructions say.

This is what the instructions say:
Quote:

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

Add after:
----------
$vboptions[icashn]: $post[$vboptions[icashf]]
<br>
<a href="donate.php?$session[sessionurl]to=$member[username]">Donate</a>
Now change that first line to:
Code:

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

Do that both at the same place in the postbit and in postbit_legacy template.

If that won't work, something else is wrong, maybe you can try first in a standaard template set.

kennethsia 05-20-2007 02:51 AM

omg its working!! thanks blacktiger!!! =)

btw for the post bit legacy i couldnt use the search function i had to look out for it myself

btw is there a possibility to PM notify the donatee of the donators' donation. would be nice to let them know if they really donated stuff

Black Tiger 05-20-2007 01:28 PM

You're welcome.:)

Quote:

btw for the post bit legacy i couldnt use the search function i had to look out for it myself
Sometimes that happens if some text is spread amongst multiple lines.
In that case I normally use the find function with part of the text to look for, for example I use "<div>$post[icqicon] $post[aimicon" and then find, in stead of the complete line. That works. However in that case you do have to check if you have the right part.
Some lines do look a lot alike.

A PM notify is not present, but it would be a nice suggestion for future release, I second that.

joethong 05-22-2007 11:52 AM

Phew, just finished reading from page 1 to page 46 in one go! Blaine, thanks for this nice mod I've it installed and its working fine. How do I go about localizing the languages to my own language? Do I just open up the xml file and edit any messages that I come across? It would be great if you make the points-accumulated-after-voting hack into your standard release. I saw you mentioning it in of the posts of this thread. In addition to that, I closed the donation method since the logging method could not reveal detail donation activities. Since I will be giving out cash for points accumulated, I think I will err on not allowing donations in fear that they are fradulent members opening up new accounts and donating to their main account. Well keep up the good work, this is the only point system mod alive, a lot of vbulletin owners are counting on you!

Thanks a lot.
Joe

joethong 05-23-2007 01:09 AM

Hi all,

I've to retract my statement saying that icash does not have a donation log. It does have a donation log in the vb_icash_donations table. However there's a bug, the time value is always "{time()}". There's a fix somewhere among these posts of this thread. I will try to find it.

Joe

sinistergaming 05-23-2007 11:05 PM

Nevermind

kennethsia 05-24-2007 03:41 AM

question does anyone know how to increase the transactions log to more than 1? maybe like the last 10 logs/transactions.

baddude 05-27-2007 02:29 AM

Database error in vBulletin 3.6.6:

Invalid SQL:
UPDATE user SET money=money+ WHERE userid='2';

Can somone tell me why im geyying this error... It looks to me like its not wanting to update my points when I post.. Thanks

Pc 1203 05-27-2007 06:15 PM

When I posted a new thread, I got this:
Code:

Database error in vBulletin 3.6.7:

Invalid SQL:
UPDATE vB_user SET money=money+ WHERE userid='1';

MySQL Error  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE userid='1'' at line 1
Error Number : 1064
Date        : Sunday, May 27th 2007 @ 01:11:00 PM
Script      : http://**************.net/*******************/newthread.php?do=postthread&f=2
Referrer    : http://**************.net/*******************/newthread.php?do=newthread&f=2
IP Address  : **.**.**.***
Username    : Pc1203
Classname    : vB_Database

I edited out my test board URL + My IP Address.

Same Problem Above ^^

[EDIT] Works now. All I did was re-upload the product file. The only thing is that I don't get any points for each thread. [/EDIT]

reebok008 05-31-2007 05:22 AM

Can someone tell me how to recount points when there are deleted posts?

When I delete a post that user got points for, they are not deducting from the entire amount of points :(

7OXIC 06-01-2007 03:14 AM

I'm getting the same error as Pc 1023 and after I refresh the posts shows up but I still have 0 points.

Conspiracy 06-01-2007 10:31 AM

This may have been asked before, and be rather a stupid question, but nevertheless, is there a way to refresh the points system, so everyone begins from zero again? Without having to uninstall and then reinstall the hack?

JD45 06-02-2007 07:43 PM

I've uninstalled this as I found I wasn't going to use it. But I keep getting SQL errors.

Code:

Database error in vBulletin 3.6.7:

Invalid SQL:
select * from vb_icash_donations WHERE `to`='stickman373'  order by time;

MySQL Error  : Table 'justpres_v4.vb_icash_donations' doesn't exist


gingery 06-04-2007 12:47 AM

Quote:

Originally Posted by Black Tiger (Post 1249473)
The second line in the instructions is wrong, it says:
Code:

$vboptions[icashn]: $post[$vboptions[icashf]]
but it should be:
Code:

$vboptions[icashn]: $post[money]
You have to change this in both postbit and postbit_legacy templates.

I tried this and it still isn't working for me on 3.6.7PL Was this the only change that needed made?

Magicgfx 06-04-2007 11:39 PM

I ahve a few questions:
Where are the logs?
Can I add more than 1 transaction at a time to the log?
Where do I set my points per post per forum permissions?

AsianKid 06-05-2007 05:46 AM

error here 3.6.5

VBUsers 06-06-2007 05:18 AM

so is this working for 3.6.7 or not?

VBUsers 06-06-2007 05:44 AM

cant get this feature to work.

Activate points per thread/post

can anyone help?

WarDoGG 06-08-2007 09:13 AM

I am getting this error in installing many mods even while installing icash.

my vb version is 3.6.4

Please help me out here.

Quote:

A conflict was detected in the bitfields. You cannot continue with the installation of this product until this has been fixed. The conflicts found were:

* Bitfield Collision: can_view_ratestats = can_see_whorated_others

SilverVice 06-09-2007 03:56 PM

Ok I?ve connected everything with ibProArcade and it work great. But I have a question. Can I let the guests play at the arcade? Because when they play it says ?you don?t have enough
money?

Any ways to give guests some money or buypass the plugin?

The plugin looks like this.

PHP Code:

$amount '1';

if ((
$vbulletin->userinfo[$vbulletin->options['icashf']] - $amount) < 0) {
          eval(
standard_error(fetch_error('error_cash_arcade')));
}
$vbulletin->db->query("update " TABLE_PREFIX "user set {$vbulletin->options['icashf']}={$vbulletin->options['icashf']}-'{$amount}' where userid='{$vbulletin->userinfo['userid']}'"); 


Can you suggest me a conditional too ignore the plugin if ?guest? ?

Thanks

epsol 06-10-2007 12:38 AM

I am getting the database errors when people post.... the exact error is described on the page before this... just curious if anyone has found a fix.... I have tried re-uploading the product file a few times, but still getting the errors.

I fixed it. I just edited all the forums and re-inputted the amounts given per post....

yingzhou 06-10-2007 10:39 AM

How can I have the Log of who I have traded with. When 2 poeple donate the point to me, I cant see the log of who donate to me. :(

deezelpope 06-10-2007 10:45 AM

Code one.:rolleyes:

JVCode 06-10-2007 01:52 PM

Quote:

Originally Posted by Pc 1203 (Post 1255680)
When I posted a new thread, I got this:
Code:

Database error in vBulletin 3.6.7:

Invalid SQL:
UPDATE vB_user SET money=money+ WHERE userid='1';

MySQL Error  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE userid='1'' at line 1
Error Number : 1064
Date        : Sunday, May 27th 2007 @ 01:11:00 PM
Script      : http://**************.net/*******************/newthread.php?do=postthread&f=2
Referrer    : http://**************.net/*******************/newthread.php?do=newthread&f=2
IP Address  : **.**.**.***
Username    : Pc1203
Classname    : vB_Database

I edited out my test board URL + My IP Address.

Same Problem Above ^^

[EDIT] Works now. All I did was re-upload the product file. The only thing is that I don't get any points for each thread. [/EDIT]


I'm getting this same error, tried the 'fix' you posted, and i'm still recieving the error, can anyone else help please? i'm using vbulletin 3.6.7 PL1

epsol 06-10-2007 08:22 PM

Quote:

Originally Posted by JVCode (Post 1265528)
I'm getting this same error, tried the 'fix' you posted, and i'm still recieving the error, can anyone else help please? i'm using vbulletin 3.6.7 PL1

i was having that issue too, what I did was edit the forum in question and re-entered the points section within each forum..... seemed to fix it for me

SilverVice 06-11-2007 02:29 AM

Quote:

Originally Posted by SilverVice (Post 1264875)
Ok I?ve connected everything with ibProArcade and it work great. But I have a question. Can I let the guests play at the arcade? Because when they play it says ?you don?t have enough
money?

Any ways to give guests some money or buypass the plugin?

The plugin looks like this.

PHP Code:

$amount '1';

if ((
$vbulletin->userinfo[$vbulletin->options['icashf']] - $amount) < 0) {
          eval(
standard_error(fetch_error('error_cash_arcade')));
}
$vbulletin->db->query("update " TABLE_PREFIX "user set {$vbulletin->options['icashf']}={$vbulletin->options['icashf']}-'{$amount}' where userid='{$vbulletin->userinfo['userid']}'"); 


Can you suggest me a conditional too ignore the plugin if ?guest? ?

Thanks






Any idea will be appreciated. :D

JVCode 06-11-2007 03:46 AM

Quote:

Originally Posted by epsol (Post 1265702)
i was having that issue too, what I did was edit the forum in question and re-entered the points section within each forum..... seemed to fix it for me

Ah thankyou! that seems to have worked!

yingzhou 06-14-2007 01:02 AM

Quote:

Originally Posted by yingzhou (Post 1265411)
How can I have the Log of who I have traded with. When 2 poeple donate the point to me, I cant see the log of who donate to me. :(

Anyone help?

007 06-14-2007 09:14 PM

Where can I set the amount of points people get per post?

All I see is:

Quote:

Activate points per thread/post
Points a user gets for posting or creating a new thread.

Yes / No
There is no place to set this number though.

deezelpope 06-14-2007 09:26 PM

<i>It's in your forum manager in your AdminCP.</i>

Carlos2 06-15-2007 07:04 AM

How can i separate by comas the big numbers of points? Now somebody have more than one million of points. Can i separate like that 1,000,000 ???

deezelpope 06-15-2007 10:37 AM

Not sure what you're asking.:confused:

Vinyljunky 06-15-2007 11:06 AM

Im in the process of seting up a VB test site. I have dumped my DB and Im trying to import it on another host using phpMYadmin.

However part way through the import I get the error below

Code:

Error
SQL query:

--
-- Dumping data for table `holiday`
--
--
-- Table structure for table `icash_donations`
--
CREATE TABLE icash_donations(

id int( 11 ) NOT NULL AUTO_INCREMENT ,
FROM text NOT NULL ,
TO text NOT NULL ,          I get an error icon on this line
amount int( 11 ) NOT NULL default '0',
time text NOT NULL ,
PRIMARY KEY ( id )
) TYPE = MYISAM ;



MySQL said: 

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'from text NOT NULL,
  to text NOT NULL,
  amount int(11) NOT NULL default '0',
' at line 3

Can anybody help?

Many Thanks

VJ

Carlos2 06-16-2007 09:06 PM

Quote:

Originally Posted by deezelpope (Post 1268940)
Not sure what you're asking.:confused:

In the post put something like that

USER: CARLOS2 EUROS(or what you called):30000000 Its difficult to know how much euros have the user, can be like that?

USER: CARLOS2 EUROS(or what you called):3,000,000

Now you know easy that are 3 million.

Thanks for your answer ;)


All times are GMT. The time now is 05:13 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.02278 seconds
  • Memory Usage 1,850KB
  • 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
  • (9)bbcode_code_printable
  • (2)bbcode_php_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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