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)

r6xual 05-16-2004 07:16 AM

This may be kindof a stupid question, but......I got the hack installed and all seems good so far however all the actions are "out of stock" and I have tested posting threds etc but receive no points for doing so. Any ideas??

**edit**

Well I figured out why it says out of stock now, I donated some points to myself and i am able to buy things now however users are not accumilating points for whatever they are doing. Any ideas guys??

BTW. Sory for not introducing myself.

Charlie Dinges
23 yr
MN.

JUst started getting into vbportal/vbulletin etc. Really like it alot. Might explain why its 3:41 am and im on her eposting!!! :cheeky:

Lacrosse Boy 05-16-2004 05:42 PM

Quote:

Originally Posted by Zachery
You have miss hacked your files, start again with fresh files and DONT use Dreamweaver.

Thanks for the help! I greatly appreciated it.

This time I used Crimson Editor. Great program.

Out of curiosity, why does Dreamweaver change the files that I edit?

Zachery 05-16-2004 06:04 PM

Its not that dreamweaver in it self is bad, but most people do what dreamweaver tells them, so when they save files, it prefixes requires includes and some other php functions with a full path. :)

its not a bad editor, its just not great ;D

r6xual 05-16-2004 06:13 PM

Quote:

Originally Posted by r6xual
This may be kindof a stupid question, but......I got the hack installed and all seems good so far however all the actions are "out of stock" and I have tested posting threds etc but receive no points for doing so. Any ideas??

**edit**

Well I figured out why it says out of stock now, I donated some points to myself and i am able to buy things now however users are not accumilating points for whatever they are doing. Any ideas guys??

BTW. Sory for not introducing myself.

Charlie Dinges
23 yr
MN.

JUst started getting into vbportal/vbulletin etc. Really like it alot. Might explain why its 3:41 am and im on her eposting!!! :cheeky:

Does this have anything to do with

Points Table?
Set this to the name of the table the points field is in. This table must be in the $bbuserinfo/$post/$userinfo arrays to display properly! (i.e. user or userfield tables)
~Only modify this if you know what you are doing!~

in the ucash setting?

Zachery 05-16-2004 06:23 PM

No, as the disclaimer says, dont modify that setting unless you know what your doing.

r6xual 05-16-2004 06:29 PM

K thats what i figured i guess i just didnt know if there was a possibilty that thats what was causing the problem.

/scratches head

Intex 05-16-2004 06:43 PM

I've run the install file 'ushop_install.php' and eveything installed ok. I then completed all the file edits as instructed. However when I came to do the template updates, as soon as I went into AdminCP (or anywhere else on the site), I now get an error:

Code:

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in C:\Apache2\htdocs\forum\includes\init.php on line 508

Here is the PHP code (I've highlighted line 508 in the code *** below ***)

PHP Code:

        // add default special templates
        
$specialtemplates array_merge(array(
            
'options',
            
'cron',
            
'forumcache',
            
'usergroupcache',
            
'stylecache',
            
'arcadesettings'
        
), $specialtemplates);
*** 
THIS IS LINE 508 ***
        
$datastoretemp $DB_site->query("
            SELECT title, data
            FROM " 
TABLE_PREFIX "datastore
            WHERE title IN ('" 
implode("', '"$specialtemplates) . "')
        "
);
        unset(
$specials$specialtemplates); 

I've only got a few hacks installed (vbadvanced, v3 arcade and htl (which I didn't use to install this hack btw).

Any ideas?

Weasel 05-17-2004 05:13 PM

There are 2 bugs in action.stickythread.php, these should have definitly been caught before release...

Open up action.stickythread.php

Find:
PHP Code:

$threadinfo $DB_site->query_first("SELECT threadid, title, sticky FROM thread WHERE threadid='$threadid'"); 

Replace with:
PHP Code:

$threadinfo $DB_site->query_first("SELECT threadid, title, sticky FROM ".TABLE_PREFIX."thread WHERE threadid='$threadid'"); 

Find:
PHP Code:

addslahes($thread['title']) 

Replace with:
PHP Code:

addslashes($thread['title']) 


Zachery 05-17-2004 05:40 PM

speling and a thread prefix, thanks :)

Intex 05-17-2004 06:38 PM

Weasal - are you saying this is the cause of my problem in post 889 above?


All times are GMT. The time now is 04:04 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.02122 seconds
  • Memory Usage 1,754KB
  • 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_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