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 09:30 PM

Actually, a cron job wouldn't work right. ;)

Instead, it'd be a few if statements everywhere you get points.

Cyricx 04-13-2004 09:44 PM

Did you run the standalone or HTL installer?
Standalone

What is the exact error you recieve?
Foreach

Where does the supposed error happen?
when viewing ushop.php

What vB version are you running?
Gold

Following these instructions corrected the problem -
Quote:

IF YOU ARE HAVING FOREACH ERRORS IN GLOBAL.PHP OR NO ACTION ERRORS:
First, remove the second global.php edit. Then run ushop.php?rebuildds=1. Then put the edit back in adns ee if that works. If it doesn't work, answer the questions above, if it does, post saying that and let me know in the post if you used the HTL or standalone installer. This will help me diagnose the problem as to whether it is a user error or an error on one of the installers. Thank you.
Awesome hack guys :), thank you!!

Cyricx 04-13-2004 09:45 PM

Okay :), I'll start doing some digging then to try to make the modification.

EDIT - got it workin :), going through and finding some instances of
Code:

                        if (isset(
Code:

$givethempoints
Code:

))


and replacing it with
Code:

                        if (isset($givethempoints) AND ($bbuserinfo['uttpoints'] < '10000'))

SmasherMaster 04-13-2004 10:24 PM

Link.....The file edits did something but I still am getting a no actions found AND I can't find points in the User.php in the admin cp and there's nothing about the store in the forum options either. Oh BTW, HTL won't let me uninstall the file. I hit uninstall and it sits there.

Link14716 04-13-2004 10:26 PM

Quote:

Originally Posted by SmasherMaster
Link.....The file edits did something but I still am getting a no actions found AND I can't find points in the User.php in the admin cp and there's nothing about the store in the forum options either. Oh BTW, HTL won't let me uninstall the file. I hit uninstall and it sits there.

You can't uninstall from the HTL. You have to uninstall through the standalone.

PixelFx 04-13-2004 10:28 PM

did install with out HTL seems to work good so far ...

SmasherMaster 04-14-2004 12:03 AM

MMM k....everything works. EXCEPT, I followed ALL the file edits it told me to do. And i'm still getting the ustore.php line 144 error and no actions found...

Help plz.

Zachery 04-14-2004 12:04 AM

Quote:

Originally Posted by SmasherMaster
MMM k....everything works. EXCEPT, I followed ALL the file edits it told me to do. And i'm still getting the ustore.php line 144 error and no actions found...


Help plz.

Hit CTRL F5 and see if its not a cache problem

msimplay 04-14-2004 12:10 AM

hey was just wondering i used to use the usergroup settings for rankings but i would like to add them as shop items instead how would i go about this ?

this is the link to my rank settings explanation as it is now
http://www.wambam.net/vbulletin/showthread.php?t=134

Link14716 04-14-2004 12:10 AM

Quote:

Originally Posted by SmasherMaster
MMM k....everything works. EXCEPT, I followed ALL the file edits it told me to do. And i'm still getting the ustore.php line 144 error and no actions found...


Help plz.

Take a look at the first post.

Quote:

IF YOU ARE HAVING FOREACH ERRORS IN GLOBAL.PHP OR NO ACTION ERRORS:
First, remove the second global.php edit. Then run ushop.php?rebuildds=1. Then put the edit back in adns ee if that works. If it doesn't work, answer the questions above, if it does, post saying that and let me know in the post if you used the HTL or standalone installer. This will help me diagnose the problem as to whether it is a user error or an error on one of the installers. Thank you.
Have you tried that?


All times are GMT. The time now is 02:07 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.12043 seconds
  • Memory Usage 1,751KB
  • 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
  • (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