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)

chikkoo 11-05-2006 05:25 AM

I wanted to show the icash information in MEMBERINFO template.

I try to cut & paste the same information from Postbit, it's not showing the icash amount.

Anyone knows how to do it?

davidw 11-12-2006 01:28 PM

If you want to show decimal places as in real currency, you need to make one alteration. Remember to do a backup of your table before doing this. I will not be held responsible for any problems. This works on my forums just fine.

Go in to phpmyadmin or however you alter your database and run this query
[sql]alter table " . TABLE_PREFIX . "user modify money decimal(15,2);[/sql]

If you are running iBank, you will need to run this query as well
[sql]alter table " . TABLE_PREFIX . "user modify bankmoney decimal(15,2);[/sql]

If you haven't installed this mod yet, this change to the installer should work

Find

PHP Code:

<installcode><![CDATA[
$db->query_write("ALTER TABLE " TABLE_PREFIX "user ADD COLUMN money int(15) DEFAULT '0' NOT NULL");
    ]]></
installcode

Replace with

PHP Code:

<installcode><![CDATA[
$db->query_write("ALTER TABLE " TABLE_PREFIX "user ADD COLUMN money decimal(15,2) DEFAULT '0' NOT NULL");
    ]]></
installcode

:D

Blaine0002 11-15-2006 10:09 PM

Thx christian for helping, Marching band and finals are over hopefully I will be able to work on coding once again soon, though rebuilding my site is a priority (that means auction hack soon!)

davidw 11-15-2006 10:38 PM

No problem - there's a lot of stuff I'd like to see added, but as I add them (if I have time - and if you haven't already) I'll post them here. Right now, however, my concern is more focused on merging two sites together :P

Blaine0002 11-15-2006 11:25 PM

go right ahead, my mods are open to editing by anyone.

dartho 11-16-2006 12:33 PM

Quote:

Originally Posted by Blaine0002
(that means auction hack soon!)

Auction Hack? I've been toying with attempting to make a single bid auction hack, the format is: as a seller, you put in a start price and a reserve price, every hour (or x hours), the start price drops by y dollars. First bid wins the item. If no bids when it hits the reserve, the auction ends with no sale. No snipes, no tricks, no fake bids to up the price.

thetradingforum 11-17-2006 07:57 PM

Is there an addon to this hack which gives users points for posts made by their referrals.

I also need a page which displays the users with most points.

Can anyone help?....needed desperately!

Blaine0002 11-21-2006 06:50 PM

Quote:

Originally Posted by dartho (Post 1118561)
Auction Hack? I've been toying with attempting to make a single bid auction hack, the format is: as a seller, you put in a start price and a reserve price, every hour (or x hours), the start price drops by y dollars. First bid wins the item. If no bids when it hits the reserve, the auction ends with no sale. No snipes, no tricks, no fake bids to up the price.

I see what you mean with this, but i believe if there are not many users on the website, the seller can get screwed over on this. If we can get in contact maybe we could join forces on this.

thetradingforum 11-26-2006 11:00 AM

Quote:

Originally Posted by thetradingforum (Post 1119561)
Is there an addon to this hack which gives users points for posts made by their referrals.

I also need a page which displays the users with most points.

Can anyone help?....needed desperately!


I guess not then :(

dartho 11-26-2006 11:48 AM

The second option shouldn't be too hard to do with Logicians Web Templates

I've attached a template for use with Logicians Web Templates which should work with iCash default installation, just import it in to webtemplates

This should show the 10 richest and 10 poorest members of you site and should be very easy to change to suit you own requirements


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