vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Major Additions - vBCredits - Ultimate Points System (https://vborg.vbsupport.ru/showthread.php?t=172399)

imported_silkroad 06-10-2009 01:23 PM

Hi Dark!

Is it possible to add the winning lottery number to prior drawings? Our users buy tickets and then after no one wins, they have no way to check what the winning number was! The current system does not

Thanks!!

http://www.unix.com/credits.php?do=banking

Darkwaltz4 06-10-2009 01:45 PM

Quote:

Originally Posted by imported_silkroad (Post 1826952)
Hi Dark!

Is it possible to add the winning lottery number to prior drawings? Our users buy tickets and then after no one wins, they have no way to check what the winning number was! The current system does not

Thanks!!

http://www.unix.com/credits.php?do=banking

Well, the winner gets the winning number listed in their transaction log, but otherwise it isnt stored after it has been drawn.

Quote:

Originally Posted by tscargo (Post 1826866)
Is this product still developed/maintained ? I believe it has been RC for quite a long time. When is the final release expected ?

This product is still being maintained, but development on the 1.x branch is stopped, and wont be continued at vbulletin.org. I am still giving support for it here, but on my site is where you will find a lot of addons and where vbcredits 2.0 will be released.

imported_silkroad 06-10-2009 03:46 PM

Quote:

Originally Posted by Darkwaltz4 (Post 1826962)
Well, the winner gets the winning number listed in their transaction log, but otherwise it isnt stored after it has been drawn.

OK, thanks. I'll mod the database and code to store the result of the drawings.

Cheers and thanks again for a great core product.:D

Bro_Joey_Gowdy 06-11-2009 12:21 AM

Is this compatible with the Living Avatar system?

Darkwaltz4 06-11-2009 03:01 PM

Quote:

Originally Posted by Bro_Joey_Gowdy (Post 1827345)
Is this compatible with the Living Avatar system?

yes, i have a couple free options available for this but all at vbcredits.com

if you are using living avatars 1.*, i have integration instructions (2.* has built in integration with vbcredits)

or, you can use vBCommerce and the Living Avatars itemtype to sell living avatars items directly through your shop.

Bro_Joey_Gowdy 06-12-2009 04:22 AM

Thanks, I'll look into that later... downloaded and marked as installed.

GeekStep 06-12-2009 05:13 PM

Hi,
Thanks for the great product!
I have few issues though. I am unable to find the original code in navbar to replace with your code.

I searched the whole code by keywords "pmwarning", "pmpercent" but there is nothing with these keywords in my navbar file. The closest code I found (with if condition and with "PM") is this:

<if condition="$show['pmmainlink']"><tr><td class="vbmenu_option"><a href="private.php$session[sessionurl_q]" rel="nofollow">$vbphrase[private_messages]</a></td></tr></if>

Is this the one to be replaced with your code?
It still looks different as does not have inboxfull or other variables in the one you mentioned.

Darkwaltz4 06-12-2009 07:26 PM

Quote:

Originally Posted by GeekStep (Post 1828410)
Hi,
Thanks for the great product!
I have few issues though. I am unable to find the original code in navbar to replace with your code.


I searched the whole code by keywords "pmwarning", "pmpercent" but there is nothing with these keywords in my navbar file. The closest code I found (with if condition and with "PM") is this:


<if condition="$show['pmmainlink']"><tr><td class="vbmenu_option"><a href="private.php$session[sessionurl_q]" rel="nofollow">$vbphrase[private_messages]</a></td></tr></if>

Is this the one to be replaced with your code?
It still looks different as does not have inboxfull or other variables in the one you mentioned.

that looks pretty good but your style has been heavily changed from the default so you might have to get creative. you can always move around the stuff that you add until it appears in a place that looks right.

kawe 06-15-2009 10:14 AM

why my credits not align left ?
how to fix it
im already revert all template
and setup follow the instruction :(

imported_silkroad 06-15-2009 02:13 PM

FWIW, Added new field winnumber to MySQL table credits_lottery to record winning number after each lottery. Code mod below:

Code:

# diff credits_daily.php credits_daily.php.back2
183c183
<                      $vbulletin->db->query_write("UPDATE " . TABLE_PREFIX . "credits_lottery SET active = 0, winner = '" . $vbulletin->db->escape_string(serialize($winners)) . "', winnumber = $winnumber WHERE lotteryid = " . $lottery['lotteryid']);
---
>                      $vbulletin->db->query_write("UPDATE " . TABLE_PREFIX . "credits_lottery SET active = 0, winner = '" . $vbulletin->db->escape_string(serialize($winners)) . "' WHERE lotteryid = " . $lottery['lotteryid']);

If it works (hope so!), will mod template to show winning number in last lottery, which is missing now.


All times are GMT. The time now is 06:31 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.02263 seconds
  • Memory Usage 1,747KB
  • 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_code_printable
  • (5)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