vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - Point Market System 3.1x (https://vborg.vbsupport.ru/showthread.php?t=232676)

TheMayhem 02-07-2011 05:38 PM

Okay I knew I had fixed this one before :)

Anyways, the problem is associated with the character ' on the market_408 related templates to display what purchases the user has done. I've gone ahead and removed the extra characters of ' in both templates and updated the zip.

Any person who hasn't downloaded the Alpha version will automatically get the updated fix when they download.

For those of you who already downloaded the Alpha version and are suffering from the member profile bug. To fix this bug, please redownload the alpha version zip (it's been updated) and just reimport the pointmarket product file. Select YES to overwrite everything and it should automatically update the two templates that were causing the bug. Clear your cache and review a user's profile and it should fix it. If not let me know and I'll take a glance but I've tested this on a few sites and the problem was fixed :)

Dutch_Boy 02-07-2011 05:47 PM

Backing up forum and gonna install it.

Edit:

And still making a backup.. Damn forum is to big....

04wayne 02-07-2011 06:52 PM

Okay, I've created a lottery but it isn't showing in the Market?

Dutch_Boy 02-07-2011 07:39 PM

Installed and no problems yet.

mfnforex 02-07-2011 07:58 PM

Thank you

DevinM 02-07-2011 10:11 PM

Is there a log of what 3.1 changes?

TheMayhem 02-07-2011 11:28 PM

Quote:

Originally Posted by DevinM (Post 2159964)
Is there a log of what 3.1 changes?

Build Date: Sunday February 6, 2010

************************************************** *************************
3.1.0
************************************************** *************************

--------------
Bug Fixes
--------------
** Several XHTML errors fixed (Thanks to stwan from vbulletin.org)
** Refund button still works if a user hasn't purchased a forum item
** Stealing not working correctly if user actually stole based on percent
** Stealing not working if user is using vBExperience as primary point field
** Market converter permissions are reflecting Bank permissions
** User can refund Forum Access and still see password
** Bank Interest not working
** glow_A9A9A9 Not displaying correct color

--------------
New Features
--------------
** Refund enable/disable now added to forum market items
** Usergroup permissions added for Market Converter and Transaction History
** Navigation now only shows links if user has proper permissions to it
** Extensive Navbits added to the Market Page
** Users can now purchase access to categories in order to view Market Items
** Point Market Subcategories have now been added
** Unlimited number of additional Point Market Items added based off of current market items template
** Unlimited number of additional Point Market Categories can now be added
** Coupon features added to Forum Items, Store Items, and Lottery and Admin Backend
** Admin CP Bank Donations Added
** Admin CP Bank History Added
** Paycheck features added to Bank and Admin Backend
** Ability to enable/disable colors with many new colors added
** Market Purchases and Statistics viewable on

TheMayhem 02-07-2011 11:39 PM

Quote:

Originally Posted by 04wayne (Post 2159871)
Okay, I've created a lottery but it isn't showing in the Market?

Ergh... somehow I deleted the template for it in the 3.1.0 version :( However to fix is easy :)

Just create a new template and call it: market_gambling_bit
PHP Code:

<vb:if condition="$type != 3">
<
vb:if condition="$type == 1">
<
tr><td><ol class="blockbody settings_form_border"><div class="blockrow">{vb:rawphrase market_gamble_guess}</div></ol></td>
<
td><ol class="blockbody settings_form_border"><div class="blockrow">{vb:number {vb:raw cost},{vb:raw point_decimal}}</div></ol></td>
<
td><ol class="blockbody settings_form_border"><div class="blockrow">{vb:number {vb:raw payout},{vb:raw point_decimal}}</div></ol></td>
<
td><ol class="blockbody settings_form_border"><div class="blockrow">{vb:rawphrase market_gamble_noend}</div></ol></td></tr>  
</
vb:if>

<
vb:if condition="$type == 2">
<
tr><td><ol class="blockbody settings_form_border"><div class="blockrow">{vb:rawphrase market_gamble_highercard}</div></ol></td>
<
td><ol class="blockbody settings_form_border"><div class="blockrow">{vb:number {vb:raw cost},{vb:raw point_decimal}}</div></ol></td>
<
td><ol class="blockbody settings_form_border"><div class="blockrow">{vb:number {vb:raw payout},{vb:raw point_decimal}}</div></ol></td>
<
td><ol class="blockbody settings_form_border"><div class="blockrow">{vb:rawphrase market_gamble_noend}</div></ol></td></tr>  
</
vb:if>
</
vb:if>

<
vb:if condition="$type == 3">
<
tr><td><ol class="blockbody settings_form_border"><div class="blockrow"><input type="radio" value="{vb:raw market_lottoid}" name="lottoid" /> {vb:raw market_lotto_name}</input></div></ol></td>
<
td><ol class="blockbody settings_form_border"><div class="blockrow">{vb:number {vb:raw cost},{vb:raw point_decimal}}</div></ol></td>
<
td><ol class="blockbody settings_form_border"><div class="blockrow">{vb:number {vb:raw payout},{vb:raw point_decimal}}</div></ol></td>
<
td><ol class="blockbody settings_form_border"><div class="blockrow">{vb:date {vb:raw expire_date},{vb:raw item_date_format}}</div></ol></td></tr>  
</
vb:if> 

Now the only thing I need you to remember to do is BEFORE you do the next upgrade I want you to revert/delete the template you just created so that my market template overwrites the one you just made so any changes I create will be applied.

Alternatively instead of creating a new template you can just wait til this weekend. :)

smirkley 02-08-2011 01:28 AM

Fixed and Fixed,... Thank You !!!!

stwan 02-08-2011 02:27 AM

Duplicate code:

HTML Code:

{vb:stylevar htmldoctype}
{vb:stylevar htmldoctype}

In templates MARKET and market_bank


All times are GMT. The time now is 01:01 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.03030 seconds
  • Memory Usage 1,781KB
  • 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_html_printable
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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