PDA

View Full Version : uCash & uShop old support and thank you thread


Pages : 1 2 3 4 [5] 6 7 8 9 10

EnriqueHavoc
05-24-2004, 10:52 PM
faranth.. it actually does help when you communicate even if you dont know the answer. Its been distressing to me seeing BR posting for a couple days while being ignored if even just to say you dont know. it makes me nervous to install this hack for the inability to support it :/

Flow Fusion
05-25-2004, 04:08 AM
How do I use the arcade pass if possible? Cause I have members on the board who have zero post and 183 hrs of arcade play.

U-Dox
05-25-2004, 04:11 AM
I Got Rid Of That Warning Error At The Very Top. Now This Is What I See

"No actions found..."

Anybody Know What To Do?

Zachery
05-25-2004, 05:06 AM
How do I use the arcade pass if possible? Cause I have members on the board who have zero post and 183 hrs of arcade play.
Make a usergroup promotion based on time and posts and disable the ability for registerd users to be able to play


^^

Zachery
05-25-2004, 05:08 AM
I Got Rid Of That Warning Error At The Very Top. Now This Is What I See

"No actions found..."

Anybody Know What To Do?
Flow, somthing youve done is wrong, or youve missed a file edit or changed one wrongly or somthing, or you havent run the installer

MindTrix
05-25-2004, 03:31 PM
i got a couple of problems.

One time i had a member spend her cash on changing her names color, she has a glowing purple i believe and paid to change it too green, it took her money but did not change anything.

Also when donating money to a member, it doesnt, it donates the money to yourself, so if i tried donating to say "bob" it would say after "Donated succesfully to Trix" blah blah blah.

Advice/help etc?

bahawolf
05-26-2004, 12:01 AM
Yea, i was wondering how to edit the template files, just bought vBulletin! Unsure what or how to do whatever it is im suppose to

moonclamp
05-26-2004, 12:09 AM
Yea, i was wondering how to edit the template files, just bought vBulletin! Unsure what or how to do whatever it is im suppose toIn the styles and templates option of your control panel you will see all of the various HTML and CSS code that gives your vbulletin it's look and feel. It is all stored in the database so needs to be edited directly through the admin panel. You can of course edit it in mysql but vbulletin actually tracks any changes you make so can revert them to their original if need be.

Oh and as for other .php file edits ... don't use dreamweaver. It messes with stuff

Zachery
05-26-2004, 12:18 AM
i got a couple of problems.

One time i had a member spend her cash on changing her names color, she has a glowing purple i believe and paid to change it too green, it took her money but did not change anything.

Also when donating money to a member, it doesnt, it donates the money to yourself, so if i tried donating to say "bob" it would say after "Donated succesfully to Trix" blah blah blah.

Advice/help etc?
Odd ive never expirenced this myself on our dev forums or anywhere i am using it.

Mhaddy
05-26-2004, 02:51 AM
I believe I found a small bug in action.denyforumaccess.php.

Around line 35 there is the line:
if ($accessable['accessmask'] == '0') {This should be:
if ($accessable[accessmask] == '0') {I found this out when I consistently received the "this forum is already un-accessable" error when trying to deny access to a forum for a user through the shop. I noticed another member in the thread (I forget his name) asked the same question, but AFAIK, was never answered. Now I can deny access to forums to all the users I want ;). Hope this helps someone.

mrcancel
05-26-2004, 04:39 AM
help me !!! when i click http://mysite.com/forum/ushop.php and error :
Warning: Invalid argument supplied for foreach() in /home/dhpcvn/public_html/forum/ushop.php on line 149

MindTrix
05-26-2004, 04:32 PM
Odd ive never expirenced this myself on our dev forums or anywhere i am using it.
Now members are saying that when they withdraw cash from the bank that they deposited, it takes it out, but they dont get any of it.

CarlitoBrigante
05-27-2004, 01:03 AM
It seems to all work fine to me. The only problem is that, if the user purchases an italics or bold username, he can't reset it... apparently, even if the italics action is displayed with cost "0.00" after the first purchase, when you click on it it asks to pay again points... like you don't have the action already active.

weaver
05-27-2004, 02:03 AM
Where does the money collected for taxes go? Also, is there a way to show the richest members who have money in the bank not just what members have without depositing?

weaver
05-27-2004, 02:04 AM
I went over to your site but there is a problem with your database. I'll check back there another time. :)

Zachery
05-27-2004, 02:21 AM
I went over to your site but there is a problem with your database. I'll check back there another time. :)
Yes, our server was dossed and we had a major crash im still working on restoring it :)

CarlitoBrigante
05-27-2004, 01:46 PM
The system doesn't seem to properly calculate exceptions... while it gives you the right discounts, if you don't have enough money, you have no access to that action. For example, if I buy Italics username for 500, and I have 200 gils left, and I want to reset the username to normal (cost: 0), the system doesn't let me access that action - it always controls against the "normal" full price of the action.

I think the problem is here, in ushop.php

// Run through the standard procedure...
$rcost = calculate_discounted_price($action['cost'], $action['tax']);
$rcost = calculate_taxed_price($rcost, $action['tax']);
$cost = uttpoints_number_format($rcost);
$cost = uttstore_actions_cost_exceptions($cost);
if ($rcost > $points) {
$message = "You do not have enough points for this.";
uttstore_print_end_message($message);
}

It should check for $cost >$points - or, it should be like this:

// Run through the standard procedure...
$rcost = calculate_discounted_price($action['cost'], $action['tax']);
$rcost = calculate_taxed_price($rcost, $action['tax']);
$rcost = uttpoints_number_format($rcost);
$rcost = uttstore_actions_cost_exceptions($rcost);
if ($rcost > $points) {
$message = "You do not have enough points for this.";
uttstore_print_end_message($message);
}

Zachery?

moonclamp
05-27-2004, 02:52 PM
That just made my shop disappear

Mystictrunks03
05-27-2004, 09:22 PM
thats why u do it when ppl r sure about it andd oh yeah how come the points arent counting for the posts or threads i make i set the points per post up and thread but it dont work.... only when i donate to myself it counts that

ImportPassion
05-27-2004, 10:19 PM
so I guess geeky will be back in full force since the exams are over?
I want to use this, but too many problems right now.

Battle_Ring
05-28-2004, 01:22 AM
my store and bank has been workign fine but now all of a sudded one of my members is getting No Actions Found

Any Idea what the problem is??

deathemperor
05-28-2004, 03:05 AM
there're some nonsense things in UCS
the tax: the tax applied is totally wrong, like: change user title cost 10k, the tax is 10% therefore the final price must be 11k but it's always says 9k.
and the opposite thing appear in bank, the money you wish to withdraw or deposit is 10k, the tax is 10% hence you can withdraw or deposit 9k but instead of that it says 11k.
or maybe I am so stupid to figure out all things ?

Zachery
05-28-2004, 04:03 AM
there're some nonsense things in UCS
the tax: the tax applied is totally wrong, like: change user title cost 10k, the tax is 10% therefore the final price must be 11k but it's always says 9k.
and the opposite thing appear in bank, the money you wish to withdraw or deposit is 10k, the tax is 10% hence you can withdraw or deposit 9k but instead of that it says 11k.
or maybe I am so stupid to figure out all things ?
Are you taking into account any usergroup discount you might have?

tjdrico
05-28-2004, 09:10 AM
Is there already a betting/bookmaker hack or extension that can work with uCash? I'm working on one at the moment, and I hope to have it ready in time for Euro 2004 (that's in about 3 weeks). I've had a look around and haven't noticed any betting hacks or add-ons for vBulletin 3.0.0 already released (or I'm using the wrong search terms), but if anyone knows of one then I'd be happy to hear of it.

My hack would have an option to use uCash instead of its own internal cash system, so it can work standalone of other cash/credit systems or integrate. Integration wouldn't go any further than taking money from and settling bets into the uCash table.

So, am I duplicating effort that has already been made by someone else?

http://www.kop.nildram.co.uk/images/vbookie-lives.gif
http://www.kop.nildram.co.uk/images/vbookie-lives2.gif
http://www.kop.nildram.co.uk/images/vbookie-lives3.gif

Holidazed
05-28-2004, 07:47 PM
Can somebody please tell me what makes this hack different from Lesane's store? I have to install something like this on my site, but I do nto know whether I should install this one or Lesane's Store hack.

WEForums
05-28-2004, 07:54 PM
Lesane's hack is for vB2, while this hack is for vB3.

Holidazed
05-29-2004, 12:23 AM
I installed this hack in my vb3.01 system and it seemed to go seamless exclet for the following error. This happens when I clicked on "Usergroup Manager" in the ACP.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Parse error: parse error, expecting `')'' in /home2/webbhelp/dkdrpg-www/mb-test/admincp/usergroup.php on line 121
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

This happens when I make the in usergroup.php according to your instructions:

Find in File admincp/usergroup.php

'profilepicmaxwidth' => 100, 'profilepicmaxheight' => 100, 'profilepicmaxsize' => 25000

REPLACE that with:

// ## <ucs>
'profilepicmaxwidth' => 100, 'profilepicmaxheight' => 100, 'profilepicmaxsize' => 25000, 'uttstore_discount' => 0
// ## </ucs>

When I do not make this change, all is cool. But when I do, I get the error.

Help.

dstruct2k
05-29-2004, 12:42 AM
I installed this hack in my vb3.01 system and it seemed to go seamless exclet for the following error. This happens when I clicked on "Usergroup Manager" in the ACP.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Parse error: parse error, expecting `')'' in /home2/webbhelp/dkdrpg-www/mb-test/admincp/usergroup.php on line 121
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

This happens when I make the in usergroup.php according to your instructions:

Find in File admincp/usergroup.php

'profilepicmaxwidth' => 100, 'profilepicmaxheight' => 100, 'profilepicmaxsize' => 25000

REPLACE that with:

// ## <ucs>
'profilepicmaxwidth' => 100, 'profilepicmaxheight' => 100, 'profilepicmaxsize' => 25000, 'uttstore_discount' => 0
// ## </ucs>

When I do not make this change, all is cool. But when I do, I get the error.

Help.
Here's instructions that will work.
Find in File admincp/usergroup.php

'profilepicmaxwidth' => 100, 'profilepicmaxheight' => 100, 'profilepicmaxsize' => 25000

REPLACE that with:

'profilepicmaxwidth' => 100, 'profilepicmaxheight' => 100, 'profilepicmaxsize' => 25000, 'uttstore_discount' => 0
You probably have other code in there that gets broken by the change. You'll probably end up with a comma and more code after the "uttstore_discount" :)

Holidazed
05-29-2004, 12:50 AM
Here's instructions that will work.
Find in File admincp/usergroup.php

'profilepicmaxwidth' => 100, 'profilepicmaxheight' => 100, 'profilepicmaxsize' => 25000

REPLACE that with:

'profilepicmaxwidth' => 100, 'profilepicmaxheight' => 100, 'profilepicmaxsize' => 25000, 'uttstore_discount' => 0
You probably have other code in there that gets broken by the change. You'll probably end up with a comma and more code after the "uttstore_discount" :)
Excuse me, but it looks to me like the instructions you are giving me is exactly the same as the ones I was using. Maybe this will help. This is the surrounding code where the uCash hack is being placed
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// [START HACK='Shoutbox Hack' AUTHOR='squall14716' VERSION='1.03' CHANGEID= 3 ]
// set default yes permissions (bitfields)
$ug_bitfield = array(
'showgroup' => 1, 'canview' => 1, 'canviewmembers' => 1,
'canviewothers' => 1, 'cagetattachment' => 1, 'cansearch' => 1,
'canmodifyprofile' => 1, 'canthreadrate' => 1, 'canpostattachment' => 1,
'canpostpoll' => 1, 'canvote' => 1, 'canwhosonline' => 1,
'allowhidden' => 1, 'showeditedby' => 1, 'canseeprofilepic' => 1,
'canusesignature' => 1, 'shoutview' => 1, 'shoutpost' => 1, 'shoutedit' => 1,
'shoutdelete' => 1, 'shouthdelete' => 0, 'shouteditothers' => 0,
'shoutdeleteothers' => 0, 'shouthdeleteothers' => 0, 'shoutip' => 0,
'shoutcoventry' => 0
);
// set default numeric permissions
$usergroup = array(
'pmquota' => 0, 'pmsendmax' => 5, 'attachlimit' => 1000000,
'avatarmaxwidth' => 50, 'avatarmaxheight' => 50, 'avatarmaxsize' => 20000,
// ## <ucs>
'profilepicmaxwidth' => 100, 'profilepicmaxheight' => 100, 'profilepicmaxsize' => 25000, 'uttstore_discount' => 0
// ## </ucs>
'shouthierarchy' => 5, 'shoutmaxdaily' =>0
);
// [END HACK='Shoutbox Hack' AUTHOR='squall14716' VERSION='1.03' CHANGEID= 3 ]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Holidazed
05-29-2004, 01:01 AM
Ok I think I figured it out.

'profilepicmaxwidth' => 100, 'profilepicmaxheight' => 100, 'profilepicmaxsize' => 25000, 'uttstore_discount' => 0
// ## </ucs>
'shouthierarchy' => 5, 'shoutmaxdaily' =>0
);

Should be:

'profilepicmaxwidth' => 100, 'profilepicmaxheight' => 100, 'profilepicmaxsize' => 25000, 'uttstore_discount' => 0
// ## </ucs>
,'shouthierarchy' => 5, 'shoutmaxdaily' =>0
);

Note the "," before the "shouthierarchy"

MindTrix
05-29-2004, 11:07 AM
Hmmm ok my members are all going mental now because the shop is so messed up :s

If they change their coloured username to another one, it doesnt change at all but still takes their money, if they donate money to someone, it gets donated to themselves instead, If they remove money from the bank it takes it out but they dont get it.

Anychance one of you guys who made it can take a closer look or something because it seems real messed up

Zachery
05-29-2004, 11:59 AM
Hmmm ok my members are all going mental now because the shop is so messed up :s

If they change their coloured username to another one, it doesnt change at all but still takes their money, if they donate money to someone, it gets donated to themselves instead, If they remove money from the bank it takes it out but they dont get it.

Anychance one of you guys who made it can take a closer look or something because it seems real messed up
you didnt make the correct changes to one of your files, someone made the same mistake, try looking a few pages back Liam :)

MindTrix
05-29-2004, 12:48 PM
i looked back about 20 pages and didnt spot anything, nudge in the right direction please? ;)

Zachery
05-29-2004, 01:20 PM
i looked back about 20 pages and didnt spot anything, nudge in the right direction please? ;)
Double check your file edits and make sure (100%) each is in the right place :)

MindTrix
05-29-2004, 01:22 PM
Well as for the username issues, that sorted, ive never used the shop, just installed it for everyone else, so i investigated and noticed you had to remove the color first before changing it too another colour, So i have informed the members about this, only thing now is the bank thing

MindTrix
05-29-2004, 01:23 PM
donate thing i meant hehe

paulomt1
05-29-2004, 05:32 PM
Excellent hack, well done.

In file functions_newpost.php I want add points per attachment type , how I can do that?

Thanks

weaver
05-29-2004, 06:11 PM
Yes, our server was dossed and we had a major crash im still working on restoring it :)
Registering now. ;)

msimplay
05-30-2004, 12:22 PM
hey i have a problem when 1 of my users try to acess the bank they get a database error and i get sent an email that is this

Database error in vBulletin 3.0.1:

Invalid SQL: UPDATE user SET uttpoints=uttpoints-20.000.00 WHERE userid='95'
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '.00 WHERE userid='95'' at line 1

mysql error number: 1064

Date: Friday 21st of May 2004 03:03:36 PM
Script: http://battlering.net/forums/ushop....&shortname=bank
Referer: http://battlering.net/forums/
Username: Jolly Jolza
IP Address: 203.96.202.81



only 1 user has complained about this i tried and acessed the bank fine
i have a similar error which is this

Database error in vBulletin 3.0.0:

Invalid SQL: UPDATE user SET uttpoints=uttpoints-70,000 WHERE userid='75'
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '000 WHERE userid='75'' at line 1

mysql error number: 1064

Date: Sunday 30th of May 2004 06:15:47 AM
Script: http://www.wambam.net/vbulletin/ushop.php?do=a&shortname=bank
Referer: http://www.wambam.net/vbulletin/

weaver
05-30-2004, 01:23 PM
I'm having a very similar error as well.

Zachery
05-30-2004, 02:01 PM
i have a similar error which is this
I think ive found the problem, but ill need matt to confirm it, ill see if i can figure this bit out on my own.


As a public announcment, matthews compuiter has gone and died on him, we are working to get him alive again :/

msimplay
05-30-2004, 02:06 PM
I think ive found the problem, but ill need matt to confirm it, ill see if i can figure this bit out on my own.


As a public announcment, matthews compuiter has gone and died on him, we are working to get him alive again :/ thanks for the update i got no idea how it happens but i did fix it by removing the old bank record from the database
and loging into the user account to put the users points in myself

temp measure of course

influence
05-30-2004, 04:28 PM
Did you run the standalone or HTL installer?
- Standalone

What vB version are you running?
- 3.0.1

I have looked throughout this thread and I haven't seen anymore mention this yet.

Like whenever I change the price for each action in Admincp store setting, if I return back to the store, the prices will still be the default prices.

Why is this? some type of bug? I mean I would like to change all of the prices for each items instead of using the default prices.

Please someone explain to me how to fix this.

Zachery
05-30-2004, 04:31 PM
are you sure its not just a cacheing issue? try a hard refresh on the store page.

Battle_Ring
05-30-2004, 05:27 PM
is there a way to edit a percentage to when the thief fuction is sucessful or not

influence
05-30-2004, 09:44 PM
um its still showing default . I can give you acccess so you can see for yourself

MindTrix
05-30-2004, 11:12 PM
I installed the Arcade pass hack cause my members are taking the you know what. Its all set up 2 work etc and is in the store, but people can still play the games without buying it. Any advice please?

Battle_Ring
05-30-2004, 11:50 PM
is there a way to edit a percentage to when the thief fuction is sucessful or not??

weaver
05-31-2004, 12:39 AM
I installed the Arcade pass hack cause my members are taking the you know what. Its all set up 2 work etc and is in the store, but people can still play the games without buying it. Any advice please?
I had the same issue. But actually they were paying the cost per game without having an arcade pass. I tested that out by giving my test account 0 points and having it attempt to play a game. It didn't work. But when I donated enough points to it to play it worked fine. So what I did was raised the cost of the games enough to make an arcade pass attractive. At any rate the cost they are playing gets added to the jackpot so if they don't want to buy a pass for some reason the jackpots will grow. I'm not sure if it adds to the jackpot if a person plays with an arcade pass. I haven't tested that out yet.

weaver
05-31-2004, 12:40 AM
I think ive found the problem, but ill need matt to confirm it, ill see if i can figure this bit out on my own.


As a public announcment, matthews compuiter has gone and died on him, we are working to get him alive again :/
Thanks Zachery :) I hope Matt's computer is up and running again soon.

Battle_Ring
05-31-2004, 12:53 AM
is there a way to edit a percentage to when the thief fuction is sucessful or not??

uppin

cawking
05-31-2004, 01:14 AM
I have had this store installed for a couple of weeks but just now some of the users started saying that the change username function was not working so I tested it and sure enough its says "username already exists!." any idea why that would be.

msimplay
05-31-2004, 08:10 AM
I installed the Arcade pass hack cause my members are taking the you know what. Its all set up 2 work etc and is in the store, but people can still play the games without buying it. Any advice please?
don't understand how that could be happening
pm me a link to the forum so i can take a look please

cybermomcafe
05-31-2004, 06:30 PM
probably a dumb question, but I'll go ahead and ask...

Does everyone start off with -0- points or is it supposed to be retroactive and give them points equal to their current post count and reputation...

sabret00the
05-31-2004, 06:39 PM
everyone starts with 0 posts

cybermomcafe
05-31-2004, 06:42 PM
Thanks sabert00the :)

Holidazed
06-02-2004, 04:41 PM
Can the money value of "points" be changed?

eg. Gold, Dollars. $, Kittens, etc.

Zachery
06-02-2004, 05:30 PM
Can the money value of "points" be changed?

eg. Gold, Dollars. $, Kittens, etc.
Yes, edit the templates ;)

NameWolf
06-03-2004, 02:35 AM
Exactly what templates do we need to edit. Would it be ok if we did a whole find/replace on the template folder *

Thanks in advance.

Regards,

WEForums
06-04-2004, 03:37 AM
Templates like postbit (or postbit_legacy) where it has Points:. You could just do a search for Points (which is default I believe) and then edit those templates.

I have had this store installed for a couple of weeks but just now some of the users started saying that the change username function was not working so I tested it and sure enough its says "username already exists!." any idea why that would be.I have this SAME issue. Has been installed for weeks, maybe months, but recently (few days ago) someone posted saying the username existed when it in fact did not. I tried it, like you, and it was the same problem. Uploaded the original files again (they have no been edited in any way to my knowledge, anyway) and still, the same problem occured.

What's wrong? Anyone know of a solution?

U-Dox
06-04-2004, 04:10 PM
im trying to understand why it is saying

"No actions found..."

can someone help me?

sabret00the
06-04-2004, 04:20 PM
update all your usergroups in the admincp

U-Dox
06-04-2004, 05:03 PM
my fault. it wasnt that i figured it out. thanks a lot though

FrOgZ
06-04-2004, 10:13 PM
When's 0.94 coming out? ...if it does...

filth
06-04-2004, 10:18 PM
if I remember correctly they are working at bringing 1.0 out (check on the forum at http://geekydesigns.com)

tjdrico
06-05-2004, 01:53 PM
I have released vBookie (https://vborg.vbsupport.ru/showthread.php?t=65844), a 'bookmaking' or betting extension for vBulletin. I'm mentioning it here because there's an option to use uCash instead of its own built-in cash. This would give your forum members another way to make (or lose) money, and something else to do with the money they have.

ImportPassion
06-05-2004, 02:48 PM
i didn't see anything on their site about the next release.
I hope it's out soon and all the issues are dealt with. I want to install this.

Zachery
06-05-2004, 02:53 PM
i didn't see anything on their site about the next release.
I hope it's out soon and all the issues are dealt with. I want to install this.
Matt is working on fixing his computer and hes the programer, i only do templates :)

ImportPassion
06-05-2004, 02:57 PM
so no eta?

Zachery
06-05-2004, 03:35 PM
No, sorry not at this time.

Intex
06-05-2004, 03:37 PM
What are main issues at the moment with the current version?

cashpath
06-06-2004, 07:14 PM
any way to reset all points to 0?

nydk
06-08-2004, 05:32 PM
Installed this, but previously i let all registered users have a custom "User Title"...

now i want all user titles to go back to my defaults, and let users save up "Points" for the "Custom user title" item in the store

Turned off custom titles, but still all members custom text shows up.... is there a way to fix this, making everybody back to default title except those who buy the "change custom user title" ???

thanks

cybermomcafe
06-08-2004, 10:07 PM
Run this query:

UPDATE vb3_user SET customtitle = 0 WHERE usergroupid <> 6;

**always backup database before making any changes

Then run the Update Titles via the ACP


change the vb3_ to whatever you have set in your config.php file. :)

kall
06-08-2004, 10:55 PM
What are main issues at the moment with the current version?
One of the template/typo issues: in uttstore_standard_confirmation, find Confrim. Change to Confirm.

:)

cybermomcafe
06-08-2004, 11:08 PM
One of the template/typo issues: in uttstore_standard_confirmation, find Confrim. Change to Confirm.

:)

LOL I was just coming to post about that!

Keta
06-09-2004, 02:00 AM
I'm having a bit of trouble. When my users go to the store, it says No actions found... and I had fixed that. But when I go to the store it shows everything. Ermm... what shall I do? And if I did reinstall it, then what pieces would I have to redo. Like would I have to redo all the file edits and stuff. Or is there a easier way around this?
i have the same problem. all the mods and admins can see the store but regular members get no actions found error

nydk
06-09-2004, 02:54 PM
Run this query:

UPDATE vb3_user SET customtitle = 0 WHERE usergroupid <> 6;

**always backup database before making any changes

Then run the Update Titles via the ACP


change the vb3_ to whatever you have set in your config.php file. :)
Thanks... ill try it out...

worked perfectly :)

kodeking
06-09-2004, 05:53 PM
Same thing with the regualr donate as well...
I have this same problem too. If I do admin donate, or regular donate, it always donates to the admin user.

EDIT: This only happens when the admin tries to donate. All other users donate correctly.


Also, is it possible to set it to that when people are refered, it waits until the new user posts a few times before the referal bonus is sent out?

LoOnEyToOnZ
06-11-2004, 02:54 PM
Hey guys i cant find the place to add inside file admincp/index.php

Mine is like this

// --- vBookie

if (can_administer('canadminstyles'))


It doesnt has the "$printhr = false;" tag. How ?

Zachery
06-11-2004, 03:16 PM
i have the same problem. all the mods and admins can see the store but regular members get no actions found error
Go into the action manage and check to see that the correct usergroups do have access.

tjdrico
06-11-2004, 04:15 PM
Hey guys i cant find the place to add inside file admincp/index.php

Mine is like this

// --- vBookie

if (can_administer('canadminstyles'))


It doesnt has the "$printhr = false;" tag. How ?

Normally, that section would look like this:


$printhr = false;

if (can_administer('canadminstyles'))


However, if you have already added hacks for v3Arcade or vBookie, it will look more like this:


$printhr = false;

construct_nav_option("General Settings", 'arcadeadmin.php?do=general', '<br />');
construct_nav_option("Game Settings", 'arcadeadmin.php?do=games', '<br />');
construct_nav_option("Score Settings", 'arcadeadmin.php?do=scores', '<br />');
construct_nav_option("Challenges", 'arcadeadmin.php?do=challenges', '<br />');
construct_nav_group("Arcade", '<hr />');

// +++ vBookie
construct_nav_option("General Settings", 'vbookie_admin.php?do=general', '<br />');
construct_nav_group("vBookie", '<hr />');
// --- vBookie

if (can_administer('canadminstyles'))


Just add the new code bloke before the can_administer line, like this:


// ## <ucs>
construct_nav_option("uTT Point System Settings", 'options.php?dogroup=uttpoints', '<br />');
construct_nav_option("uTT Store Settings", 'options.php?dogroup=uttstore', '<br />');
construct_nav_option("Action Manager", 'uttstoreadmin.php?do=modify', '<br />');
construct_nav_option("Add Action", 'uttstoreadmin.php?do=add', '<br />');
construct_nav_group("uTT Store Hack", '<hr />');
// ## </ucs>

if (can_administer('canadminstyles'))


That should be fine.

LoOnEyToOnZ
06-12-2004, 03:01 AM
Did it, looks fine now. Will post back should i have any problems.

Thank you tjdrico !

LoOnEyToOnZ
06-13-2004, 03:47 PM
Any idea how we can show the richest users on VBadvanced CMPS ?

Arsenic33
06-13-2004, 05:49 PM
awesome job on the hack. Where could i find more actions to put into the store? ie) larger sigs larger avatars etc etc..

Intex
06-13-2004, 06:29 PM
When a user purchases something that alters his username, it doesn't change anything in the actual posts. If you look at the member in their profile, the changes are there, i.e. bold, italic etc.

Glow seems to work in the posts, but name colour change, bold and italic don't show up.

Any ideas?

Zachery
06-13-2004, 06:53 PM
When a user purchases something that alters his username, it doesn't change anything in the actual posts. If you look at the member in their profile, the changes are there, i.e. bold, italic etc.

Glow seems to work in the posts, but name colour change, bold and italic don't show up.

Any ideas?
Make sure you did your file edits to functions.php

PixelFx
06-14-2004, 12:19 AM
how goes design on version 1.0 of this hack? :)

Zachery
06-14-2004, 12:39 AM
how goes design on version 1.0 of this hack? :)
Were working on it? :D :p

kall
06-14-2004, 04:06 AM
Were working on it? :D :p
A few of my members have asked for a way to display their points total in the navbar.

This is probaly very easy, but sticking $points in the Welocme/PM area doesn't seem to work.

Zachery
06-14-2004, 04:48 AM
A few of my members have asked for a way to display their points total in the navbar.

This is probaly very easy, but sticking $points in the Welocme/PM area doesn't seem to work.
you should be able to use $bbuserinfo[points] I THINK :)

Zoints
06-14-2004, 05:07 AM
I believe I found a small bug in action.denyforumaccess.php.

Around line 35 there is the line:
if ($accessable['accessmask'] == '0') {This should be:
if ($accessable[accessmask] == '0') {I found this out when I consistently received the "this forum is already un-accessable" error when trying to deny access to a forum for a user through the shop. I noticed another member in the thread (I forget his name) asked the same question, but AFAIK, was never answered. Now I can deny access to forums to all the users I want ;). Hope this helps someone.

I was so excited as I have been having this same problem. But when I made the changes you specified, I still have the same issue. Did you maybe fix any other issues with it?

LoOnEyToOnZ
06-14-2004, 05:47 AM
Is it possible to change the name "points" to "cash" ? make it read as "cash" throughout the site

SkyCatcher
06-14-2004, 11:42 AM
Hi Guys,

A couple of my users (not very many at all) are having problems accessing the bank for some reason.

This is the email I get:

Database error in vBulletin 3.0.0 Release Candidate 4:

Invalid SQL: UPDATE user SET uttpoints=uttpoints-75,70 WHERE userid='186'
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '70 WHERE userid='186'' at line 1

mysql error number: 1064

Date: Monday 14th of June 2004 07:38:07 AM
Script: http://www.probetreff.com/forum/ushop.php?do=a&shortname=bank



It works for 99% of the people but for some reason they get an error...they are using internet explorer and 1 user is betting this error on 4 different computers :o


Any Ideas?

SkyCatcher
06-14-2004, 02:12 PM
Hi Guys,

A couple of my users (not very many at all) are having problems accessing the bank for some reason.

This is the email I get:

Database error in vBulletin 3.0.0 Release Candidate 4:

Invalid SQL: UPDATE user SET uttpoints=uttpoints-75,70 WHERE userid='186'
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '70 WHERE userid='186'' at line 1

mysql error number: 1064

Date: Monday 14th of June 2004 07:38:07 AM
Script: http://www.probetreff.com/forum/ushop.php?do=a&shortname=bank



It works for 99% of the people but for some reason they get an error...they are using internet explorer and 1 user is betting this error on 4 different computers :o


Any Ideas?



Ok I solved the problem, not 100% sure why though.

The users couldn't access the bank so I deleted what was in the bank_query in my phpmyadmin and they got access...

Then I noticed that some users used a , (comma) instead of a . (period) for decimal places and that somehow screwed up they're points.

Intex
06-14-2004, 07:20 PM
Make sure you did your file edits to functions.php
Zachery - I've just checked the functions.php and the code is there. Funny thing is in AdminCP | Usergroups, when you can add HTML start and end tags, putting anything in there such as <i> and </i> doesn't do anything either. This is clearly related.

Any further ideas?

Flow Fusion
06-14-2004, 10:55 PM
Ok How do I edit the postbit file to show the colors/ italics etc? Cause they are no longer working?

IIstix
06-15-2004, 12:18 AM
Did you run the standalone or HTL installer?
Standalone

What is the exact error you recieve?
Warning: Invalid argument supplied for foreach() in /... (vb3 root path) .../global.php on line 701

Unable to add cookies, header already sent.
File: /... (vb3 root path) .../global.php
Line: 701

Where does the supposed error happen?
When trying to run ushop_install.php


What vB version are you running?
3.0.1

I hit the BACK button on my browser, which reloaded the ushop_install.php script and I got the install page!?! I went ahead and installed the script and I got no error messages.

Why would it work upon reloading ushop_install.php, even though I did not make any changes like removing the second global.php edit and running the ushop rebuild script?

Albus
06-15-2004, 11:11 PM
I installed it and it seems to be working great. I did get the array error and the no points thing, but I fixed it with the initial instructions. Now, what I was wondering is, if I decide at some point to uninstall this, what tables were altered, and what fields were added to them.

The following are obvious :
Restore all files and style templates that were edited
Delete all files and style templates that were added
Delete all phrases that were added
Delete all tables that were added

Now, what I need to know is, which existing table were altered and what fields were added to them? Is there anything else?

NOTE: I did backup the DB and files prior to this, however, IF I have to do this, I don't want o have to backtrack if possible.

Albus
06-15-2004, 11:45 PM
Ok, I was looking through the install script and found this section.

if ($_REQUEST['do'] == 'uninstall')

I assume if I was to do this, I'd still have to revert my basic templates.

Has this uninstall code been tested?

RMS-Chef
06-16-2004, 04:51 AM
A few of my members have asked for a way to display their points total in the navbar.

This is probaly very easy, but sticking $points in the Welocme/PM area doesn't seem to work.you should be able to use $bbuserinfo[points] I THINK :)This does not seem to work either. I imagine there is a file mod or two in order to get this to work. Can anyone help out? I too am getting plauged with requests for this.

influence
06-16-2004, 12:39 PM
How can I set this so that members can be notify through PM with every action that was performed against them just like with lesane store.

I want it to PM a member if someone steals their money or if someone donate them some money

Zachery
06-16-2004, 05:07 PM
This does not seem to work either. I imagine there is a file mod or two in order to get this to work. Can anyone help out? I too am getting plauged with requests for this.
try

$bbuserinfo[uttpoints]

RMS-Chef
06-16-2004, 05:31 PM
try

$bbuserinfo[uttpoints]
Rockin'
That seems to have done it. Thanks again for you work and help.

House_of_Crazed
06-16-2004, 09:27 PM
First of all, nice hack :)

Second of all, I want to apologize in advance if this has already been answered in the thread earlier. I just can't sit here and go through 13 pages of replies. I have attempted searching.

Second of all, a poster of mine came to me telling me that she is having a problem withdrawing ALL her money. For example, she has 1500.30 showing to her in the bank. She puts in 1500.30 to withdraw. The bank tells her, "You do not have enough money to do this." She came running to me. So, I did some testing on her account while looking at the database via phpmyadmin. The phpmyadmin is returning a value of 1500.302308592174949243024842978 (as an example). How would I go about fixing it that it only uses the first 2 numbers after the decimal?

Thanks,

HoC

WEForums
06-16-2004, 10:21 PM
...no one is willing to help, and it's annoying. I'm thinking of just uninstalling this because it's so freakin' buggy and is WAAAY too intense server with its mysql usage. At least it's just the store page, though, and I guess it's understandable that it requires a lot, but...

14.19% PHP - 85.81% MySQL

Phew.

Anyway, like another person has posted before (as well as me), when trying to change usernames there is a "Username already exists!." error appearing, EVEN THOUGH THE NAME DOES NOT EXIST. What's up? Nothing has been edited in the store.

Zachery
06-16-2004, 10:23 PM
...no one is willing to help, and it's annoying. I'm thinking of just uninstalling this because it's so freakin' buggy and is WAAAY too intense server with its mysql usage. At least it's just the store page, though, and I guess it's understandable that it requires a lot, but...

14.19% PHP - 85.81% MySQL

Phew.

Anyway, like another person has posted before (as well as me), when trying to change usernames there is a "Username already exists!." error appearing, EVEN THOUGH THE NAME DOES NOT EXIST. What's up? Nothing has been edited in the store.
We never had any load issues with this hack, and we were running in debug mode all the time.

We are working on the current reported bugs.

WEForums
06-16-2004, 10:29 PM
Load issue?

Page generated in 0.89 seconds (9.66% PHP - 90.34% MySQL) with 6 queries (STORE)

Page generated in 0.22 seconds (91.27% PHP - 8.73% MySQL) with 9 queries (INDEX)

I'm NOT worried about that, however, as it's only the store page.

I AM wondering what could be wrong with the username problem. I am quite sure I missed no file edit but I know it works on other forums. Is there anything required to change usernames? It's just strange...

kall
06-17-2004, 10:15 AM
try

$bbuserinfo[uttpoints]
You da man. :)

There didn't seem to be a place for users to quickly view their points, other than jumping into a thread, and the Welcome box on the navbar seemed like the best place to put it.

Zachery
06-17-2004, 01:44 PM
Load issue?

Page generated in 0.89 seconds (9.66% PHP - 90.34% MySQL) with 6 queries (STORE)

Page generated in 0.22 seconds (91.27% PHP - 8.73% MySQL) with 9 queries (INDEX)

I'm NOT worried about that, however, as it's only the store page.

I AM wondering what could be wrong with the username problem. I am quite sure I missed no file edit but I know it works on other forums. Is there anything required to change usernames? It's just strange...
The richest users query is a rather large one, thats why the page generation time is slower, depends on how many users are in you usertable :p

the Sandman
06-17-2004, 03:51 PM
try

$bbuserinfo[uttpoints]This does work, but its not rounded off... How can I get it rounded to 2 decimal places?

RMS-Chef
06-17-2004, 04:46 PM
This does work, but its not rounded off... How can I get it rounded to 2 decimal places?
Yeah, for me too but I was happy that it was displaying at all :) I have it set to "0" so only whole points show but it is out to 1 decimal point in the nav. (xxxx.x)

Zachery
06-17-2004, 04:49 PM
This does work, but its not rounded off... How can I get it rounded to 2 decimal places?
Ah right. let me go take a look at the file to get it rounded

FutureDEV
06-17-2004, 05:50 PM
How to solve table prefix issues when using sticky thread action?

I believe thats where the problem is since this is what I get:

Database error in vBulletin 3.0.1:

Invalid SQL: SELECT threadid, title, sticky FROM thread WHERE threadid='43245'
mysql error: Table 'censoreddatabasename.thread' doesn't exist

mysql error number: 1146

Date: Thursday 17th of June 2004 08:56:12 PM
Script: http://*******.***/ushop.php
Referer: http://*******.***/ushop.php?do=a&aid=12
Username: ******
IP Address: ***.***.**.**

Thanks!

Rictor
06-18-2004, 02:58 AM
Any chance of getting the option to add merchandise to the store in the next update? I'd like to give my members t-shirts and other items with my board's logo on them in exchange for points.

RMS-Chef
06-18-2004, 06:18 AM
Little more help :)

I have points displayed fine in Navbar welcome area.
I am attempting to get the bank balance up there as well.
The following code works only while I am using the bank module itself:
Available: <b><i>$bbuserinfo[uttpoints]</i></b> | Bank: <b><i>$bankdata[amount]</i></b><br />
On the rest of the site the bank balance is blank. Any ideas please?

cybermomcafe
06-18-2004, 09:44 AM
I have one usergroup that doesn't get any actions displayed... My "supporter" (I use it as a primary group) does not get any actions displayed to them... :/ Any ideas...the only setting I see in the usergroup editor is for a discount for that group...

Zachery
06-18-2004, 03:41 PM
I have one usergroup that doesn't get any actions displayed... My "supporter" (I use it as a primary group) does not get any actions displayed to them... :/ Any ideas...the only setting I see in the usergroup editor is for a discount for that group...
Did you check the settings to see if they have any actions enabled?

Intex
06-18-2004, 05:22 PM
I'm still looking for some help with THIS (https://vborg.vbsupport.ru/showpost.php?p=522885&postcount=1098).

I've exhausted my knowledge (which isn't much :p).

Zachery
06-18-2004, 05:39 PM
I'm still looking for some help with THIS (https://vborg.vbsupport.ru/showpost.php?p=522885&postcount=1098).

I've exhausted my knowledge (which isn't much :p).
Sorry, not sure why that isnt working.

Intex
06-18-2004, 05:40 PM
OK, thanks anyway.

cybermomcafe
06-19-2004, 12:47 AM
Did you check the settings to see if they have any actions enabled?

Thank you Zachery, I forgot about the settings in each action.:)

FutureDEV
06-19-2004, 02:28 AM
How can I keep track of the changes made by members? Also, why isnt there some kind of Donation info PM dispatched to the one who receives it? Would that be possible? Ive seen it on the vB2 ver..

Zachery
06-19-2004, 02:51 AM
There was no version of this hack for vB2

Albus
06-19-2004, 03:45 PM
Well, I wound up de-installing this. It worked great, but my usergroup/rights system is very specific. Most 'actions' it offered invalidated many of my basic rules. After deactivating them all, there were only the visual changes to Username left. That wasn't quite what I was looking for. The basic premise is great, though what I need is the ability to sell custom 'items' and associate an icon with them, instead of 'actions'. These icons would appear in the users posts and/or profile. I would see items like wands, spellbooks, poitions, robes, pets, and the like. I want something more like the old iRPG hack for Ikonboard, as far as the 'store' part of things goes. Is there something akin to this available? Thanks for pointing me to the right thread.

Zachery
06-19-2004, 06:13 PM
Well, I wound up de-installing this. It worked great, but my usergroup/rights system is very specific. Most 'actions' it offered invalidated many of my basic rules. After deactivating them all, there were only the visual changes to Username left. That wasn't quite what I was looking for. The basic premise is great, though what I need is the ability to sell custom 'items' and associate an icon with them, instead of 'actions'. These icons would appear in the users posts and/or profile. I would see items like wands, spellbooks, poitions, robes, pets, and the like. I want something more like the old iRPG hack for Ikonboard, as far as the 'store' part of things goes. Is there something akin to this available? Thanks for pointing me to the right thread.
We are planing somthing like that for the future but i cant give you an exact date.

the Sandman
06-19-2004, 06:33 PM
Ah right. let me go take a look at the file to get it roundedAny progress with this? :)

Zachery
06-19-2004, 06:46 PM
Any progress with this? :)
$points = $post[$vboptions[uttpoints_pointsfield]];
$points = round($points, $vboptions['uttpoints_rounddecimal']);
$points = number_format($points, $vboptions['uttpoints_rounddecimal'], '.', '');

Thats what rounds the numbers off to be displayed. :) not quite sure what needs to be done exactly.

RMS-Chef
06-20-2004, 02:51 AM
Little more help :)

I have points displayed fine in Navbar welcome area.
I am attempting to get the bank balance up there as well.
The following code works only while I am using the bank module itself:
Available: <b><i>$bbuserinfo[uttpoints]</i></b> | Bank: <b><i>$bankdata[amount]</i></b><br />
On the rest of the site the bank balance is blank. Any ideas please?
Any ideas on how to get the bank balance to display in the nav as well? As I said, it only displays while "in" the bank and is just blank throughout the rest of the site.

EA Junkie
06-20-2004, 06:40 AM
I've got a lot of hacks installed with no problem, but getting errors on this one.
Can someboday help with these errors:

http://forums.onlinesportsgames.com/index.php
Warning: Invalid argument supplied for foreach() in /usr/local/etc/httpd/forums.onlinesportsgames.com/global.php on line 627

http://forums.onlinesportsgames.com/admincp/ushop_install.php
Warning: main(./includes/init.php): failed to open stream: No such file or directory in /usr/local/etc/httpd/forums.onlinesportsgames.com/admincp/global.php on line 18

Fatal error: main(): Failed opening required './includes/init.php' (include_path='/usr/local/lib/php/') in /usr/local/etc/httpd/forums.onlinesportsgames.com/admincp/global.php on line 18

FutureDEV
06-20-2004, 02:19 PM
There was no version of this hack for vB2
Well, there was a store hack for vb2 which was very good. Didnt use it myself but had seen it on several other forums. And it was set so that it dispatched a PM notification regarding the donation. I see no reason why something like that wouldnt be implemented in this hack eventhough it might not be by the same coder.. Thanks.

Zachery
06-20-2004, 03:36 PM
I've got a lot of hacks installed with no problem, but getting errors on this one.
Can someboday help with these errors:

http://forums.onlinesportsgames.com/index.php
Warning: Invalid argument supplied for foreach() in /usr/local/etc/httpd/forums.onlinesportsgames.com/global.php on line 627

http://forums.onlinesportsgames.com/admincp/ushop_install.php
Warning: main(./includes/init.php): failed to open stream: No such file or directory in /usr/local/etc/httpd/forums.onlinesportsgames.com/admincp/global.php on line 18

Fatal error: main(): Failed opening required './includes/init.php' (include_path='/usr/local/lib/php/') in /usr/local/etc/httpd/forums.onlinesportsgames.com/admincp/global.php on line 18
Make sure 100000010% sure youve done EVERY file edit correctly, and youve run the installer.

Zachery
06-20-2004, 03:37 PM
Well, there was a store hack for vb2 which was very good. Didnt use it myself but had seen it on several other forums. And it was set so that it dispatched a PM notification regarding the donation. I see no reason why something like that wouldnt be implemented in this hack eventhough it might not be by the same coder.. Thanks.
Yes, there was another hack, by another author, that did some of the same things ours did. And yes a pm was sent, we will look into adding it.

cashpath
06-20-2004, 04:35 PM
I have had 2 problems with this,

1) people losing money using the bank, so I disabled the bank and thief options...

2) Glowing username doesn't seem to work.. what exactly does it do, and what is the code that controls it so I can look and see what I might have messed up.

Thanks for any help.

bhutz
06-20-2004, 06:52 PM
Was there any luck with the point addition per upload and point deduction per download for attachments at all?

I saw a post by skyline_GT but couldn't find a follow up after that...

Anyone have the edits needed in order to make something like this work?

EA Junkie
06-21-2004, 12:44 AM
I figured out my install problems finally, but can someone tell me how to modify this text from the Store page:

Welcome to OnlineSportsGames Forum's Store, More welcome text to go here!

Thanks in advance!

ethics
06-21-2004, 12:46 AM
I figured out my install problems finally, but can someone tell me how to modify this text from the Store page:

Welcome to OnlineSportsGames Forum's Store, More welcome text to go here!

Thanks in advance!
one of the utt templates. I believe it's the main one. Search for the word Welcome and you will see the entire statemnet. Just delete it and voila.

EA Junkie
06-21-2004, 01:40 AM
I've looked through all the utt templates, but can't find that statement to delete. Does anyone know where it's located?

deathemperor
06-21-2004, 12:20 PM
I've looked through all the utt templates, but can't find that statement to delete. Does anyone know where it's located?
did you try a search yet ? try searching for: "welcome to" or "welcome text" (without the quotes of course)

the Sandman
06-21-2004, 12:59 PM
It's about halfway down the UTTSTORE template. It looks like: <td class="alt1"><span clas="smallfont">Welcome to the $vboptions[bbtitle]' Store , More welcome text to go here!</span>

bhutz
06-22-2004, 07:34 AM
Was there any luck with the point addition per upload and point deduction per download for attachments at all?

I saw a post by skyline_GT but couldn't find a follow up after that...

Anyone have the edits needed in order to make something like this work?

bump :)

Does any one know how to implement this at all, I think I have seen this sort of system on another site but I think they were using Lessane's store hack.

All I want to be able to do is gives a user more cash per upload of attachments
and deduct cash per download, any suggestions? :nervous:

Intex
06-22-2004, 07:44 PM
I've checked through this thread and in the original zip file, but I can't see any information on how the thief option works, i.e. how is it calculated whether someone is successful or not?

Can somone ellaborate.

Thanks

Zachery
06-22-2004, 07:48 PM
Youd need to chekc the action file

Zachery
06-22-2004, 07:49 PM
bump :)

Does any one know how to implement this at all, I think I have seen this sort of system on another site but I think they were using Lessane's store hack.

All I want to be able to do is gives a user more cash per upload of attachments
and deduct cash per download, any suggestions? :nervous:We are looking at it for the next version, however we have no plans of just releasing it for this version

Intex
06-22-2004, 07:56 PM
Do you mean action.thief.php? If so, there's no comments in there stating how it's calculated and I can't make head or tail of the code :).

Can you give me a general overview?


Youd need to chekc the action file

Zachery
06-22-2004, 07:57 PM
Nope, not me, thats matts department ;D

ATM were atad busy updating the shoutbox for its next release :)

Intex
06-22-2004, 07:59 PM
I can see the calculations in step three of the code, it's just trying to get some idea of what it's doing :).

Yeah I can imagine they're busy. No problems. I can wait.

WEForums
06-22-2004, 09:12 PM
The richest users query is a rather large one, thats why the page generation time is slower, depends on how many users are in you usertable :pOoooh, I se now. Could it be because of the 77,000+ users? :nervous: lol yeah, we get a lot...

Anyway, speaking about the bank problem, the issue is the users who lose the poiints do NOT click the link after depositing the points. After depositing it has some text and a link telling the user to click, but MOST users do not. So what I did was edit a PHP file and include a meta refresh tag and just made the page automatically redirect. Works best so now users can't complain.

Yanks1343
06-23-2004, 03:22 AM
How do I know if I am a POSTBIT users or POSTBIT_LEGACY users?

Yanks1343
06-23-2004, 03:40 AM
I went with POSTBIT
Now I am having another problem.

I can't see the link to the Shop on the main page. I did the whole install too.

Any ideas?

Zachery
06-23-2004, 03:41 AM
I went with POSTBIT
Now I am having another problem.

I can't see the link to the Shop on the main page. I did the whole install too.

Any ideas?
Did you make sure you edited all your templates?

bhutz
06-23-2004, 06:36 AM
We are looking at it for the next version, however we have no plans of just releasing it for this version

Cheers Zachery, didn't Lessane's store hack allow you to do this because I swear I have seen it used on a a board before...you probably hate people asking this but any idea when the new release will be and any info on what will be included?

smsmasters
06-23-2004, 08:54 AM
Is there a script to update the points according to the members' posts, which have already been accumulated?

smsmasters
06-23-2004, 09:07 AM
Also, how do u let guests view the store but not actually buy anything?

Zachery
06-23-2004, 01:29 PM
Also, how do u let guests view the store but not actually buy anything?

You dont
Is there a script to update the points according to the members' posts, which have already been accumulated?



No, not at this time

smsmasters
06-23-2004, 01:38 PM
There must be a quick script somewhere? Invisionboard had one, so why not vb???

ImportPassion
06-23-2004, 02:30 PM
is there an update on the status of the next release? I am waiting for al the bug fixes and what not. But my users are getting antsy.

smsmasters
06-23-2004, 07:36 PM
There's a bug, my username is red, as default. However, when I buy a yellow coloured username, in whosonline it is yellow! How do you not apply the colour to whosonline?

smsmasters
06-24-2004, 08:06 AM
Anyone? And how can someone remove their glow or coloured username once they have bought it? I can't find the option anywhere!

Intex
06-24-2004, 09:14 AM
To my knowledge, you simply go to buy the action again, in this case the glow and there is a link to remove it when you go there if you already have it.

Zachery
06-24-2004, 04:28 PM
is there an update on the status of the next release? I am waiting for al the bug fixes and what not. But my users are getting antsy.
WEre working on finishing the update to the shoutbox, and im fairly sure that uCS is next on our list :)

Mr. Brian
06-24-2004, 04:55 PM
I have released vBookie (https://vborg.vbsupport.ru/showthread.php?t=65844), a 'bookmaking' or betting extension for vBulletin. I'm mentioning it here because there's an option to use uCash instead of its own built-in cash. This would give your forum members another way to make (or lose) money, and something else to do with the money they have.

So what should be placed in my postbit?

$vbphrase[posts]: $post[posts] | <if condition="$bbuserinfo['usergroupid'] == '6'"><a href="ushop.php?do=a&shortname=admindonate&userid=$post[userid]" target="_blank">Points</a><else />Points</if>: $points (<a href="ushop.php?do=a&shortname=donate&userid=$post[userid]" target="_blank">Donate</a>)

OR this?

<if condition="$vbookiesettings['cashon']">
<br />vCash: $post[vbookie_cash]
</if>

House_of_Crazed
06-24-2004, 06:15 PM
Couple questions :)

1. I see in ushop.php the $points variable, however, it only takes in account for the money the users has out from the bank. What I want to do is to change it to take in account for the money that users also has in the bank. What should I change it to?

2. What is the variable that you are using for how much money the user has in the bank? I looked in the database and saw all those weird numbers in the bankdata row in the user table. I am assuming you are also using $bankdata as the variable for how much money is in the bank for the user.

3. You are aware that the database is showing more than 2 numbers after the decimal in the bank / money on hand.

4. For this, I will use A & B's. Assume those 2 are 2 different people. A has $50 on hand. If A tries to steal $100 from B, and FAILS. He will lose that amount of money, and his money on hand becomes a negative number and A will be denied access to the bank. However, A does have money in the bank, he should be able to go into the bank anyway.

HoC

Matt Bush
06-25-2004, 08:51 PM
I've been looking for the vB 2.2.X version for this... can anyone point me in the right direction on where to find it. Like the name of it.

Zachery
06-25-2004, 08:53 PM
The only vB2 hack that acted in any similar way, was leasnes, and he has asked it removed from the site, sorry.

House_of_Crazed
06-25-2004, 11:16 PM
Can anyone help me with my 4 questions?? :)


HoC

Matt Bush
06-26-2004, 03:01 AM
Alright, I'm a newbie at this vB Mod Stuff. Whenever I click donate or something it brings up the error

Database error in vBulletin 3.0.1:

Invalid SQL: SELECT actionid FROM utt_store_action WHERE shortname='admindonate'
mysql error: Table 'ssdatabase.utt_store_action' doesn't exist

mysql error number: 1146

Date: Friday 25th of June 2004 08:59:44 PM
Script: http://showdownshop.com/forum/ushop.php?do=a&shortname=admindonate&userid=36
Referer:
Username: Khalil Greene
IP Address: 68.101.189.178


Please help me.

Matt Bush
06-26-2004, 04:54 AM
I think I figured it out. The install button didn't install the tables. Is there any way that I can get a copy of the tables and put them in manually?

Zachery
06-26-2004, 05:13 AM
I think I figured it out. The install button didn't install the tables. Is there any way that I can get a copy of the tables and put them in manually?
What do you mean the install button didnt install the tables?

Matt Bush
06-26-2004, 05:17 AM
What do you mean the install button didnt install the tables?
One of my buddies said that once you click the install button, the tables that are needed for the mod, get placed in your database... I wasn't sure if it is true or not.

But I do need the tables for this hack.

sabret00the
06-26-2004, 11:30 AM
that information would be false matt, you need to run the installer

Matt Bush
06-26-2004, 03:07 PM
that information would be false matt, you need to run the installer
If you couldn't already tell I'm new with this vB stuff. When I click install, what does it do?

rabbitdog
06-26-2004, 03:11 PM
I don't think this has been addressed, because I still see the unfixed code in the zip file available for download, so I'd like to point out the fact that there is a critical bug in the uShop change username action.

This affects all current installations of the uStore with this item available for purchase.

The issue is as follows:

The "sanity" check which queries the database to see if a user already exists before accepting a changed username will never find any matches. This is because of the usage of an empty (incorrect) variable in the query.

The result is that any user can change his or her username to that of an existing user.

Note that this does NOT change permissions, so a user changing his name to that of a mod or an admin will not inherit access to those functions.

Here is the fix:

1. Open action.changeusername.php, which is stored in the /uttstore/ directory
2. Change line 5 from:

$changed = $DB_site->query_first("SELECT userid, username FROM ".TABLE_PREFIX."user WHERE username='".addslashes($data)."'");

to:

$changed = $DB_site->query_first("SELECT userid, username FROM ".TABLE_PREFIX."user WHERE username='".addslashes($username)."'");

Link14716
06-26-2004, 09:41 PM
I don't think this has been addressed, because I still see the unfixed code in the zip file available for download, so I'd like to point out the fact that there is a critical bug in the uShop change username action.

This affects all current installations of the uStore with this item available for purchase.

The issue is as follows:

The "sanity" check which queries the database to see if a user already exists before accepting a changed username will never find any matches. This is because of the usage of an empty (incorrect) variable in the query.

The result is that any user can change his or her username to that of an existing user.

Note that this does NOT change permissions, so a user changing his name to that of a mod or an admin will not inherit access to those functions.

Here is the fix:

1. Open action.changeusername.php, which is stored in the /uttstore/ directory
2. Change line 5 from:

$changed = $DB_site->query_first("SELECT userid, username FROM ".TABLE_PREFIX."user WHERE username='".addslashes($data)."'");

to:

$changed = $DB_site->query_first("SELECT userid, username FROM ".TABLE_PREFIX."user WHERE username='".addslashes($username)."'");
Nice catch. $data is used in several functions, but it looks like it shouldn't there. ;)

Fixed for 0.95.

GeekyDesigns
06-26-2004, 10:01 PM
6a9bb87ef571024592ec153b259803a0

Post created by the GeekyDesigns vB License Verification Hash System.

Hash will be changed regularly.

GeekyDesigns
06-26-2004, 10:06 PM
wootage, it worked

Zachery
06-26-2004, 10:16 PM
teh woot

Taco John
06-27-2004, 08:42 AM
Question: Can I make this hack so that only certain usergroups can use it?

hitmanuk2k
06-27-2004, 10:37 AM
why is the cost showing up as 0.0 for everything on ushop.php? even though i have it set to larger numbers...

b4ne
06-27-2004, 11:54 AM
Hi

I have this error that I have no links nowher in my Admin CP or anywhere else on the page, also when I check permission, there is no mention of this .

If I got to the ushop.php page : No Actions found.

Otherwise :
Installation : Manual (did a deinstall and reinstall)

Board vb 3.0.1

Also the very first time I try to connect to ushop.php I get some error in ushop.php on line 144 ?

But this error disapears.

And I wanted to also mention that I run the betting hack.

Any idea ?

hitmanuk2k
06-27-2004, 01:09 PM
I need to know why items are appearing out of stock even though the quantity says there is some available???

SmasherMaster
06-27-2004, 02:31 PM
Problem, I had installed the v3 arcade. And now when I tried to install the ushop on another board, here's the error it always says above the banner.

Warning: Invalid argument supplied for foreach() in
/home/****/public_html/ozone/forums/global.php on
line 628

Now here's line 628: foreach ($storeactions as $actionid => $theaction) {

Here's what happens when someoen tries to view a thread:

Warning: Cannot modify header information - headers already sent by (output started at /home/****/public_html/ozone/forums/global.php:628) in /home/****/public_html/ozone/forums/includes/functions.php on line 2836

Line 2836 of functions.php: header("Location: $url");

And finally, it says this when attempting to access the admincp:

Unable to add cookies, header already sent.
File: /home/****/public_html/ozone/forums/global.php
Line: 628

What has gone wrong! I can't install ushop and I can't rebuild the database, because these errrors pop up! What's going on!

Roxie
06-27-2004, 03:25 PM
I get this error once I confirm that I want to steal:

Invalid SQL: UPDATE user SET uttpoints=uttpoints+5, reputation=reputation- WHERE userid='1'
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE userid='1'' at line 1

Link14716
06-27-2004, 03:35 PM
Problem, I had installed the v3 arcade. And now when I tried to install the ushop on another board, here's the error it always says above the banner.

Warning: Invalid argument supplied for foreach() in
/home/****/public_html/ozone/forums/global.php on
line 628

Now here's line 628: foreach ($storeactions as $actionid => $theaction) {

Here's what happens when someoen tries to view a thread:

Warning: Cannot modify header information - headers already sent by (output started at /home/****/public_html/ozone/forums/global.php:628) in /home/****/public_html/ozone/forums/includes/functions.php on line 2836

Line 2836 of functions.php: header("Location: $url");

And finally, it says this when attempting to access the admincp:

Unable to add cookies, header already sent.
File: /home/****/public_html/ozone/forums/global.php
Line: 628


What has gone wrong! I can't install ushop and I can't rebuild the database, because these errrors pop up! What's going on!

Did you happen to edit includes/init.php?

Link14716
06-27-2004, 03:37 PM
I need to know why items are appearing out of stock even though the quantity says there is some available???
This is a confirmed bug. It says out of stock when you don't have enough points to buy it. It'll be fixed in the next release, or you can apply this fix:

IN TEMPLATE "uttstore_main_actionbits":

Find: <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: <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>

Link14716
06-27-2004, 03:39 PM
Hi

I have this error that I have no links nowher in my Admin CP or anywhere else on the page, also when I check permission, there is no mention of this .

If I got to the ushop.php page : No Actions found.

Otherwise :
Installation : Manual (did a deinstall and reinstall)

Board vb 3.0.1

Also the very first time I try to connect to ushop.php I get some error in ushop.php on line 144 ?

But this error disapears.

And I wanted to also mention that I run the betting hack.

Any idea ?
For the first problem, you didn't edit admincp/index.php.

For the second error, are you sure you edited global.php and includes/init.php correctly? Do any actions show in the navbar drop-down?

Roxie
06-27-2004, 04:04 PM
I get this error once I confirm that I want to steal:

It looks like maybe there is an error when subtracting reputation??

Zachery
06-27-2004, 04:12 PM
If you couldn't already tell I'm new with this vB stuff. When I click install, what does it do?
:) it lets us keep a running count of how many sites youve installed, it also lets you know that youve installed the mod, come down the road you jneed to upgrade and forget what mods yo8ur running ;)

Link14716
06-27-2004, 04:41 PM
It looks like maybe there is an error when subtracting reputation??
Yes, it appears that way. The only thing I can think of is a bad action specific variable for the Thief action.

Edit the Thief action in the admincp and make sure these two options exist and have a (numerical) value entered into them:

Reputation Lost On Successful Thievery?
Set this to the amount of reputation points that are lost when a member successfully steals money from another user. Make it negative you gice reputation.
Reputation Lost On Failed Thievery?
Set this to the amount of reputation points that are lost when a member attempts and fails to steal money from another user. Make it negative you gice reputation.

EDIT: Hah, nothing like giving support to find typos in things. ;)

House_of_Crazed
06-27-2004, 04:49 PM
Hm, I'm starting to wonder if I'm being ingored on purpose.

And FYI - Your license hash thingy on GeekyDesigns isn't working. I verified myself last night, then checked this morning, still don't have access. O_o

HoC

Link14716
06-27-2004, 05:41 PM
Hm, I'm starting to wonder if I'm being ingored on purpose.

And FYI - Your license hash thingy on GeekyDesigns isn't working. I verified myself last night, then checked this morning, still don't have access. O_o

HoC

You are not being ignored on purpose. And I checked in the admincp and you are marked as Licensed.

Couple questions :)

1. I see in ushop.php the $points variable, however, it only takes in account for the money the users has out from the bank. What I want to do is to change it to take in account for the money that users also has in the bank. What should I change it to?

2. What is the variable that you are using for how much money the user has in the bank? I looked in the database and saw all those weird numbers in the bankdata row in the user table. I am assuming you are also using $bankdata as the variable for how much money is in the bank for the user.

3. You are aware that the database is showing more than 2 numbers after the decimal in the bank / money on hand.

4. For this, I will use A & B's. Assume those 2 are 2 different people. A has $50 on hand. If A tries to steal $100 from B, and FAILS. He will lose that amount of money, and his money on hand becomes a negative number and A will be denied access to the bank. However, A does have money in the bank, he should be able to go into the bank anyway.

HoC

1. It'd be a simple change to everywhere $points is defined, but the code below just makes a new variable - $bankmoney. $points shouldn't include what is in the bank, otherwise it'll cause weirdness all over the store. Feel free to store $points + $bankmoney in a new variable though.
$bankdata = unserialize($bbuserinfo['uttstore_bankdata']);
$bankmoney = $bankdata['amount'];

2. The above code should answer your question. uttstore_bankdata is a serialized array.

3. Yes, I am away of that. Not a bug in itself, but it can cause some. I'll probably round it off in future releases.

4. That shouldn't happen, as it should prevent users to steal more money then they have. But I am making 0 just mean to not check to see if they have enough money at all in the next release anyways, just incase someone does go into negatives (although they shouldn't, I've seen it happen).

House_of_Crazed
06-27-2004, 05:58 PM
You are not being ignored on purpose. And I checked in the admincp and you are marked as Licensed.

Oh, that's odd. Well, when I verified myself, I gave myself like 2 or 3 hours to give you guys time for whatever verification system you used, lol, to verify me. And I still could not post a thread or reply. *shrugs*

And reason why I said being ignored on purpose is because I posted this like a few days ago and I've seen you guys reply to other posts. *shrugs* I just don't like being ignored :) Don't take offense

1. It'd be a simple change to everywhere $points is defined, but the code below just makes a new variable - $bankmoney. $points shouldn't include what is in the bank, otherwise it'll cause weirdness all over the store. Feel free to store $points + $bankmoney in a new variable though.
$bankdata = unserialize($bbuserinfo['uttstore_bankdata']);
$bankmoney = $bankdata['amount'];

2. The above code should answer your question. uttstore_bankdata is a serialized array.

Yea, it does, I'll give this a try.

3. Yes, I am away of that. Not a bug in itself, but it can cause some. I'll probably round it off in future releases.

Excellent :) I'm asking because my users came to me complaining that they cannot deposit all their money (i.e., 140.30), it would tell them that they do not have enough money.

4. That shouldn't happen, as it should prevent users to steal more money then they have. But I am making 0 just mean to not check to see if they have enough money at all in the next release anyways, just incase someone does go into negatives (although they shouldn't, I've seen it happen).

Yea, I've been sitting here trying to figure out the code, but I'll let you do it, LOL since you are more inimiate with the shop code, not I.

Thanks! :)

HoC

Zachery
06-27-2004, 06:23 PM
Oh, that's odd. Well, when I verified myself, I gave myself like 2 or 3 hours to give you guys time for whatever verification system you used, lol, to verify me. And I still could not post a thread or reply. *shrugs*

And reason why I said being ignored on purpose is because I posted this like a few days ago and I've seen you guys reply to other posts. *shrugs* I just don't like being ignored :) Don't take offense



Yea, it does, I'll give this a try.



Excellent :) I'm asking because my users came to me complaining that they cannot deposit all their money (i.e., 140.30), it would tell them that they do not have enough money.



Yea, I've been sitting here trying to figure out the code, but I'll let you do it, LOL since you are more inimiate with the shop code, not I.

Thanks! :)

HoC
Are you still having the problems? we both checked and my test licensed user is not having any problems.

If you have the time could you drop me a pm if your still having troubles

hichew
06-27-2004, 06:53 PM
can i see the working hack on someone forums ?

b4ne
06-27-2004, 07:05 PM
Just to let ya know works all fine, I was lucky and had a virgin forum so I just reinstalled forum completly and made a new install of the hack.

Its fecking sweeeet :)

Thanks to all of you who made this hack working

Zachery
06-27-2004, 07:32 PM
can i see the working hack on someone forums ?
I dont think we have any offical demo sites.

However,
I wanted to announce toe veryone that the license system is now completly working :D i fixed that one little bug :d

Cold Steel
06-29-2004, 01:28 AM
/me installs.

Awesome - thanks!

For anyone who's wondering, Lesane's Storehack used "storep" as the table for points.

y2krazy
06-29-2004, 01:44 AM
I dont think we have any offical demo sites.

However,
I wanted to announce toe veryone that the license system is now completly working :D i fixed that one little bug :d
Well, if you'd like a "demo", without the "demo", you can check out my forums:

http://forums.wickedart.org/

Also, what is this licensing that you speak of?

:confused:

-y2k-

Cold Steel
06-29-2004, 02:01 AM
In my postbit, $points doesn't show anything.

I used the standalone installer on 3.0.1.

I'm using the storep table from Lesane's storehack, if that makes a difference.

Zachery
06-29-2004, 02:04 AM
In my postbit, $points doesn't show anything.

I used the standalone installer on 3.0.1.

I'm using the storep table from Lesane's storehack, if that makes a difference.
It shouldnt, did you do the edits to functions showthread and showthread (if there are any)

Cold Steel
06-29-2004, 02:17 AM
Yep, I did.

While I'm at it, images aren't showing up in my shop - http://forums.asiansinc.com/ushop.php

BTW thanks for the prompt response. :)

Cold Steel
06-29-2004, 04:59 AM
One of my members says this:

--
I think there may be a bug with the theft feature. When I type in a username to steal from and then an amount, it takes me to a confirmation page. It says that I am stealing from myself. So I hit okay, thinking it is just an error, but then I ended up really stealing from myself.
--


Also, when I tried to change someone else's title, I ended up changing my own.

Intex
06-29-2004, 08:03 AM
What sort of cost do people use for the thief option?

Additionally, is there any way to change the thief option outcomes. People can just keep attempting to steal and don't get penalised (other than reputation) if they're unsuccessful.

Is it possible to get them to pay for not being successful, i.e. if they try to steal 100 points and not successful, they loose 100 points or maybe half the points they attempt to steal?

Battle_Ring
06-29-2004, 07:15 PM
whats the code i need to put in the vav bar to get it there???

Zachery
06-29-2004, 07:21 PM
whats the code i need to put in the vav bar to get it there???
The one from the file and template edits list :p

Battle_Ring
06-29-2004, 07:24 PM
hah yeah i got it

Mijae
06-29-2004, 10:10 PM
Database error in vBulletin 3.0.0:

Invalid SQL: SELECT accessmask, forumid FROM access WHERE userid='1194' && forumid IN (12,13,32,36,39,4,6,26,24,3,51,50,60,61,62,5,14,46 ,)
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1

mysql error number: 1064


What the hell? The store has been working fine since the day it came out :P

disturbd
06-30-2004, 12:14 AM
using standalone installer. forum v3.0.1:

Fatal error: Call to undefined function: is_member_of() in /home/kperrone/public_html/vb3/global.php on line 31

Zachery
06-30-2004, 12:17 AM
using standalone installer. forum v3.0.1:


Fatal error: Call to undefined function: is_member_of() in /home/kperrone/public_html/vb3/global.php on line 31
start again and dont use dreamweaver to edit your code.

Youve miss hacked global or init.php :)

disturbd
06-30-2004, 12:19 AM
lol i hate dreamweaver. i used notepad thanks very much :p lol

do i have to start all over or cant i just redo gobal and init.php?

disturbd
06-30-2004, 12:22 AM
i just tripple checked those 2 files and they are both exactly how the file and template edits page tells me to make them...and ive double checked every other edit already. i did them all right

Zachery
06-30-2004, 12:27 AM
i just tripple checked those 2 files and they are both exactly how the file and template edits page tells me to make them...and ive double checked every other edit already. i did them all right
Are you still getting the same error?

disturbd
06-30-2004, 12:29 AM
yep its on every page except the admincp

plus its the only thing on the page.

Zachery
06-30-2004, 12:36 AM
yep its on every page except the admincp

plus its the only thing on the page.
Then one of your edits is still bad.

I suggest restoring your default files and trying again, make sure you dont use dreamweaver like i said.

We have no problems on any of our sites, including our dev site which i just did a fresh install on :)

disturbd
06-30-2004, 12:37 AM
ok ill give it a go. phew.....this store better be worth it lol

Mijae
06-30-2004, 01:30 AM
What about me?

Zachery
06-30-2004, 01:37 AM
What about me?
Sorry Mijae, what was your question? :)

Mijae
06-30-2004, 02:25 AM
Sorry Mijae, what was your question? :)
I posted an error on the last page :P

Zachery
06-30-2004, 02:59 AM
I posted an error on the last page :P
Oh that, seems like one of the forums had a blank value, there was no id for it, why? im not sure :/

Cold Steel
06-30-2004, 07:05 AM
When trying to steal:

--
I think there may be a bug with the theft feature. When I type in a username to steal from and then an amount, it takes me to a confirmation page. It says that I am stealing from myself. So I hit okay, thinking it is just an error, but then I ended up really stealing from myself.
--


When trying to change someone else's title:

I ended up changing my own.


When in the shop:

Images aren't showing up, although they're enabled.


When viewing threads:

Number of points isn't showing up in postbit_legacy.


http://forums.asiansinc.com/ushop.php


Also a question: do we have to go through every forum and save the settings before users will start accumulating points?

SmasherMaster
06-30-2004, 02:44 PM
Did you happen to edit includes/init.php?

Yes. Here's the result of the init.php edit.

'stylecache',
'arcadesettings',
'utt_store_act'

Could arcadesettings be conflicting with the utt_store_act?

Ayumi
07-01-2004, 02:48 AM
I have a question: can we add our own items to the shop? Like actual pictures (small) that can be displayed in a user profile and in the postbit? I really like this hack, and would like to install it if it does what I want. Thanks.

RMS-Chef
07-01-2004, 07:58 PM
1. It'd be a simple change to everywhere $points is defined, but the code below just makes a new variable - $bankmoney. $points shouldn't include what is in the bank, otherwise it'll cause weirdness all over the store. Feel free to store $points + $bankmoney in a new variable though.
$bankdata = unserialize($bbuserinfo['uttstore_bankdata']);
$bankmoney = $bankdata['amount'];
Not quite sure how to institute this code to get it to display $bankmoney everywhere? I can get it to show in the navbar with $bankdata[amount] ONLY when the user is actually in the bank, which kinda defeates the purpose. Everyplace else it's blank.

Holidazed
07-02-2004, 01:36 AM
Yes, edit the templates ;)
Zachery, can you please tell me which templates to edit to change the money from "Points" to whatever I want (gold, dollars, etc...)?

ChuanSE
07-02-2004, 07:22 AM
Great Hack, works perfectly from first install atempt :D

* ChuanSE clicks install

kall
07-03-2004, 02:32 AM
Yes. Here's the result of the init.php edit.

'stylecache',
'arcadesettings',
'utt_store_act'

Could arcadesettings be conflicting with the utt_store_act?
I have also got this problem on a fresh install of 3.0.2 and only the Arcade and this hack installed.

Worked fine on 3.0.1, but I may have had to play around with it, or installed things in a different order, or something... :(

*edit* Or...I hadn't run the bloody installer! :o

I reckon you need to put that into the html doc, for morons like me.

Zachery
07-03-2004, 06:09 AM
I have also got this problem on a fresh install of 3.0.2 and only the Arcade and this hack installed.

Worked fine on 3.0.1, but I may have had to play around with it, or installed things in a different order, or something... :(

*edit* Or...I hadn't run the bloody installer! :o

I reckon you need to put that into the html doc, for morons like me.
.95 or 1.0 depending on which is released will have updated everythign :)

House_of_Crazed
07-03-2004, 06:16 AM
Zach :)

When? *laughs*

I've been very patient waiting for the next release, *laughs*

HoC

the Sandman
07-03-2004, 02:23 PM
I've just upgraded from vB 3.0.1 to 3.0.2. My navbar_uttstore_actions template now shows as uncached, and although the Store dropdown menu looks normal the only thing I see when I click any of the links is:
Pain Forums's Store (http://www.painforums.com/forums/ushop.php?)
Welcome to the Pain Forums' Store! Quick Nav - [Purchase History] (http://www.painforums.com/forums/ushop.php?do=userhistory)

How can I get this working properly? :)

the Sandman
07-03-2004, 04:40 PM
I've gotten this all straightened out. First, I needed to rerun the installation script installing the templates only, and then I found I had missed one small file edit in global.php. It's all good now!

Zachery
07-03-2004, 05:06 PM
I've gotten this all straightened out. First, I needed to rerun the installation script installing the templates only, and then I found I had missed one small file edit in global.php. It's all good now!Glad to hear :)

Pixelgrounds
07-03-2004, 05:54 PM
I upgraded to 3.0.2 Then installed the hack, I ran the instalation, thenuploaded the files in the upload folder and then edited all the files and uploaded them. But i still get this error.

Parse error: parse error in /home/pixelg/public_html/Forum/includes/functions.php on line 1892

Fatal error: Call to undefined function: is_browser() in /home/pixelg/public_html/Forum/global.php on line 59


It does it to every page i try to go to also, I can go to admincp or anything. Please help me fix this

Zachery
07-03-2004, 05:56 PM
I upgraded to 3.0.2 Then installed the hack, I ran the instalation, thenuploaded the files in the upload folder and then edited all the files and uploaded them. But i still get this error.

Parse error: parse error in /home/pixelg/public_html/Forum/includes/functions.php on line 1892

Fatal error: Call to undefined function: is_browser() in /home/pixelg/public_html/Forum/global.php on line 59


It does it to every page i try to go to also, I can go to admincp or anything. Please help me fix this
Youve not hacked your files correctly, upload fresh files and try again.

Pixelgrounds
07-03-2004, 06:02 PM
Youve not hacked your files correctly, upload fresh files and try again.
But it only seems to be the functions.php and global.php, when i replace them with the original the forum works again. But no matter how many times i re-do them they just dont wanna work right.

Zachery
07-03-2004, 06:03 PM
But it only seems to be the functions.php and global.php, when i replace them with the original the forum works again. But no matter how many times i re-do them they just dont wanna work right.
What program are you using to edit your files with ?

Pixelgrounds
07-03-2004, 06:05 PM
What program are you using to edit your files with ?
Macromedia Dreamweaver

Zachery
07-03-2004, 06:07 PM
Theres your problem, open up wordpad and do the edits.

Pixelgrounds
07-03-2004, 06:10 PM
Theres your problem, open up wordpad and do the edits.
.......what is wrong with dreamweaver, it finds the text really well and is very organized

Zachery
07-03-2004, 06:14 PM
.......what is wrong with dreamweaver, it finds the text really well and is very organized
Yes, however, 99/100 times it adds extra data that will screw up your files :)

Pixelgrounds
07-03-2004, 07:04 PM
Yes, however, 99/100 times it adds extra data that will screw up your files :)
Thx, i think it was dreamweaver. I switched to my good old DzSoft php editor :P



And mijae, hey its me, ah RanmaFan

Pixelgrounds
07-03-2004, 07:52 PM
Thx, i think it was dreamweaver. I switched to my good old DzSoft php editor :P



And mijae, hey its me, ah RanmaFan
Hey, i got a stupid question. Um how does the admin give himself points. Because i need to test all the functions and i dont know how to give myself points.


Srry about the DP, this is more of a bump for help.

House_of_Crazed
07-03-2004, 08:25 PM
Via the User option in the AdminCP...

Search for yourself, then open your profile, then give yourself points in the "Points" block.

HoC

b4ne
07-03-2004, 08:53 PM
manual install

vb 3.0.1

tryed to leave sec edit in globel out etc ...no luck

Im getting the following error when install when viewing my page with ucash

Warning: Invalid argument supplied for foreach() in /home/b4ne/www/global.php on line 639

When i try to view a Forum :

Unable to add cookies, header already sent.
File: /home/b4ne/www/global.php
Line: 639

Any help is deeplu aprechiated

kall
07-03-2004, 08:56 PM
Did you run arcade_install.php?

b4ne
07-03-2004, 09:01 PM
no why ?

I have done on the other server and just moved so maybe I should answer that with yes.

kall
07-03-2004, 09:04 PM
no why ?

I have done on the other server and just moved so maybe I should answer that with yes.
Sorry... ushop_install.php rather. :)

I had the same error when I neglected to do so.

b4ne
07-03-2004, 09:20 PM
yes i have even uninstalled reinstalled

Zachery
07-03-2004, 09:22 PM
yes i have even uninstalled reinstalled
Double check your eidts to global.php and init.php :)

b4ne
07-03-2004, 09:32 PM
now i get a parse error

Parse error: parse error, unexpected '/' in /home/b4ne/www/global.php on line 634

I double checked everything its all on his place argggg

b4ne
07-03-2004, 09:36 PM
fixed that

but still same error


on line 639 is the this code

// Make a list of the all the actions...
639----------------------->foreach ($storeactions as $actionid => $theaction) {
if ($theaction['active'] == "1") {
$allowed = explode(",", $theaction['allowedgroups']);
foreach ($allowed as $allow) {
if (is_member_of(array('userid'=>$bbuserinfo['userid'], 'usergroupid'=>$bbuserinfo['usergroupid'], 'membergroupids'=>$bbuserinfo['membergroupids']), $allow)) {
$canenter = "1";


Here is a link to my Forum : www.roadkillbarbeque.com