vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   uCash & uShop (https://vborg.vbsupport.ru/forumdisplay.php?f=100)
-   -   uCash & uShop old support and thank you thread (https://vborg.vbsupport.ru/showthread.php?t=73736)

Link14716 04-13-2004 02:07 AM

Quote:

Originally Posted by Vivi Ornitier
no i mean to integrate the arcade with the shop. I can't find the arcadepass file in the /uttstore folder

The arcade pass hack is a seperate hack, which I released in the beta releases forum a while ago.

dstruct2k 04-13-2004 02:09 AM

Alright, bug found in template conditionals (Zak... :p)


IN TEMPLATE "uttstore_main_actionbits":
Find:
Code:

        <td class="thead"><span style="float: right;"><if condition="$points >= $cost && $action['quantity'] != 0"><a style="text-decoration: none;" href="ushop.php?do=a&aid=$action[actionid]">[ Buy ]</a><else /> Out of Stock </if></span>Cost: $cost - <a href="ushop.php?do=actionhistory&aid=$action[actionid]">Recent Purchases?</a></td>
Replace with:
Code:

        <td class="thead"><span style="float: right;"><if condition="$points >= $cost && $action['quantity'] != 0"><a style="text-decoration: none;" href="ushop.php?do=a&aid=$action[actionid]">[ Buy ]</a><else /><if condition="$points >= $cost"> Out of Stock <else /> Insufficient Funds! </if></if></span>Cost: $cost - <a href="ushop.php?do=actionhistory&aid=$action[actionid]">Recent Purchases?</a></td>
:D

dstruct2k 04-13-2004 02:10 AM

Oh, and link to Arcade Pass Hack:
https://vborg.vbsupport.ru/showthread.php?t=62059

Zachery 04-13-2004 02:28 AM

Quote:

Originally Posted by dstruct2k
Alright, bug found in template conditionals (Zak... :p)


IN TEMPLATE "uttstore_main_actionbits":
Find:
Code:

        <td class="thead"><span style="float: right;"><if condition="$points >= $cost && $action['quantity'] != 0"><a style="text-decoration: none;" href="ushop.php?do=a&aid=$action[actionid]">[ Buy ]</a><else /> Out of Stock </if></span>Cost: $cost - <a href="ushop.php?do=actionhistory&aid=$action[actionid]">Recent Purchases?</a></td>
Replace with:
Code:

        <td class="thead"><span style="float: right;"><if condition="$points >= $cost && $action['quantity'] != 0"><a style="text-decoration: none;" href="ushop.php?do=a&aid=$action[actionid]">[ Buy ]</a><else /><if condition="$points >= $cost"> Out of Stock <else /> Insufficient Funds! </if></if></span>Cost: $cost - <a href="ushop.php?do=actionhistory&aid=$action[actionid]">Recent Purchases?</a></td>
:D

ALready have it on my bug tracker :) but thanks

vhoang 04-13-2004 02:34 AM

Quote:

Originally Posted by Zachery
ALready have it on my bug tracker :) but thanks

So u did upgrade the first post's attachment to reflect this?

Link14716 04-13-2004 02:38 AM

No.

Reeve of shinra 04-13-2004 03:15 AM

EDIT: Problem fixed

Cause: My PhP Editor. (sorry for wasting your time).


Support Question:
- Stand Alone Install on vb3 gold. No hacks except HTL

I installed the file edits, and when I try to log into the admincp I recieve the following error message:

Quote:

Parse error: parse error in /home/nytalk/domains/nytalk.net/public_html/board/includes/functions.php on line 1873

Fatal error: Call to undefined function: exec_nocache_headers() in /home/nytalk/domains/nytalk.net/public_html/board/admincp/global.php on line 37
PHP Code:

Line 1873
        $debughtml 
.= " (<a href=\"" htmlspecialchars_uni(SCRIPTPATH) . iif(strpos(SCRIPTPATH'?''?')=== false'?''?','&amp;') . "tempusage=1\">Template Usage</a>) (<a href=\"" htmlspecialchars_uni(SCRIPTPATH) . iif(strpos(SCRIPTPATH'?''?')=== false'?''?','&amp;') . "explain=1\">Explain</a>)<br />\n"

[php]
Second error message / global php file line 37

PHP Code:

require_once('./includes/functions.php'); 

I thought I may have made a mistake so I redid the file edit, no luck.

Link14716 04-13-2004 03:16 AM

Quote:

Originally Posted by Reeve of shinra
Support Question:
- Stand Alone Install on vb3 gold. No hacks except HTL

I installed the file edits, and when I try to log into the admincp I recieve the following error message:



PHP Code:

Line 1873
        $debughtml 
.= " (<a href=\"" htmlspecialchars_uni(SCRIPTPATH) . iif(strpos(SCRIPTPATH'?''?')=== false'?''?','&amp;') . "tempusage=1\">Template Usage</a>) (<a href=\"" htmlspecialchars_uni(SCRIPTPATH) . iif(strpos(SCRIPTPATH'?''?')=== false'?''?','&amp;') . "explain=1\">Explain</a>)<br />\n"

[php]
Second error message / global php file line 37

PHP Code:

require_once('./includes/functions.php'); 

I thought I may have made a mistake so I redid the file edit, no luck.

And vB version is? I see no reason why that would be happening.

EDIT: Whoops, didn't noticed you said vB3 Gold. Either way, that shouldn't happen. Post the edit here (and a few lines above and below) and maybe I can find the problem.

ENZcom 04-13-2004 03:29 AM

Where do I control permissions of who sees the store?

Only the admins & mods can view the store, everyone else gets 'no actions found.'

Link14716 04-13-2004 03:31 AM

It's a per-action setting.


All times are GMT. The time now is 06:15 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.02643 seconds
  • Memory Usage 1,767KB
  • 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
  • (4)bbcode_code_printable
  • (4)bbcode_php_printable
  • (5)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