PDA

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


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

Zachery
04-27-2004, 09:02 PM
K, I'm realllllly noob here. Can you lead me to the uninstall link. And also, once it uninstalls, will I have to errr redo all of the edits, or will those stay in play? :(
install_file.php?

click on the uninstall link

J.C.
04-27-2004, 09:52 PM
You missed a template edit if there is no link on the navbar

Ohh... I see now...

Its below Steps for POSTBIT_LEGACY users only! ... I thought all the steps after that for Legacy only... thanks...! now I know :D

NuclioN
04-27-2004, 10:36 PM
A member asked if it is possible to display the username colors to all visitors in the who's online on forumhome. Now it is only visible to the member who has bought a color.

Zoints
04-28-2004, 12:27 AM
When any user tries to deny access to another member in a specific forum, they get the message, "forum is already un accessable" even though the member CAN access it. Everything else is working great? Any ideas?

Fluous
04-28-2004, 12:44 AM
Ok, PLEASE do not hate me for this. I looked all around for a install file but found none. Maybe I need to reupload it. I'll check into that.

Got it, uninstalled it, and then I think the main problem was ushop.php, because when i reinstalled it it said error on line 144, and then i replaced the ushop.php with a fresh one and it works perfect. Thanks for the help zach :)

PranK
04-28-2004, 01:19 AM
Thanks Zachery and msimsplay! I'll give that a go.

Christian

Zachery
04-28-2004, 02:21 AM
Ok, PLEASE do not hate me for this. I looked all around for a install file but found none. Maybe I need to reupload it. I'll check into that.

Got it, uninstalled it, and then I think the main problem was ushop.php, because when i reinstalled it it said error on line 144, and then i replaced the ushop.php with a fresh one and it works perfect. Thanks for the help zach :)
its not called install_ifle i think its cvalled ushop_install.php :)

PranK
04-28-2004, 08:33 AM
Zachery, a lot of my options redirect to a uttstore.php file (which obviously doesn't exist) instead of ushop.php - any ideas on how to resolve this?

Thanks,

Christian

sabret00the
04-28-2004, 08:41 AM
Prank: do a find and replace in your templates for "uttstore.php" and replace with "uShop.php" whether you do the replace part manually or let vB3 handle it is upto you.

PranK
04-28-2004, 09:28 AM
Sweet - thanks sabretoothe.

Christian

vhoang
04-28-2004, 05:29 PM
To Matt and Zach:

I notice that if you go to "Who's Online" and someone is checking out the Shop/Bank section, it'll say "Unknown location" in bold. Where can we put a fix for this so that it'll say something like "In the bank/shop"?

Zachery
04-28-2004, 05:30 PM
To Matt and Zach:

I notice that if you go to "Who's Online" and someone is checking out the Shop/Bank section, it'll say "Unknown location" in bold. Where can we put a fix for this so that it'll say something like "In the bank/shop"?
I thought i linked it, someone was kind enough to provide a fix for it, i had it on my things to do list but i forgot to include it with the release.

vhoang
04-28-2004, 05:47 PM
So? What can i do to have it fixed? Can you help me more specifically?

Zachery
04-28-2004, 06:32 PM
https://vborg.vbsupport.ru/showpost.php?p=499545&postcount=131

try that ;)

vhoang
04-28-2004, 07:31 PM
Thanks Zach!

Flow Fusion
04-29-2004, 04:12 PM
OK I fixed it. It seems the HTL installer works the best. I have this hack working with the arcade and award hack. *clicks install*

WEForums
04-30-2004, 02:42 AM
Is it just me or does the points system have a cache problem? I mean, say I deposit some points, then I go to another page -- the points still show up as if nothing was deposited (for a while...it does not occur immediately, I mean). However, the bank still has the points. If you deposit more points, you CAN get negative points (assuming you've deposited more than you have).

If you understood that (it was kind of hard to word), do you have such a problem?

Also, if you happen to get negative points as an admin, the admin donate function does not work. That is annoying. (It's not an issue for me but it's still annoying.)

girlzclan
04-30-2004, 09:28 PM
Did you run the standalone or HTL installer? standalone

What is the exact error you recieve? No Thread specified. If you followed a valid link, please notify the webmaster // This post is a duplicate of a post that you have posted in the last five minutes. You will be redirected to that thread.

Where does the supposed error happen? Everytime I try to post or reply I get this message, I hit the back button and repost and I get the second error.

What vB version are you running? 3.0.1

Everything was fine untill I installed this. I had an error on unctions.php but read how to fix that .. what's going on with this now?

nvm .. same issue as in functions.php - do not use dreamweaver to edit files ...

FrOgZ
04-30-2004, 10:32 PM
When you gonna fix the exploitation :\

U-Dox
05-01-2004, 01:28 AM
3.0.1- I got that Vb And it seems i cant get the shop to work it says

No Action

DS MrSinister
05-01-2004, 02:26 AM
I need HElp.. I install this hack also click installed btw.. FOr some reason noone getting any points..

DO i have to do something to start it off or what..

i am new to this stuff...

any help would be great thanks..

I Am running VB 3.0.1 maybe thats my problem lmao!!

Zachery
05-01-2004, 03:03 AM
Did you do all the file changes?

DS MrSinister
05-01-2004, 03:12 AM
YES sir..... the one on the first page i cant not find....


www.drunkensoldiers.net

Wifey
05-01-2004, 03:23 AM
You have to upload ALL those php files, right? Well where do I put the php files for the ucash ushop stuff?

In the zip file - all the php files in the uttstore file.

Also, does that ushop php file go in my main forum directory?

LOD-squa
05-01-2004, 03:34 AM
I have it working completely at all, however I dont get points when I post.

Wifey
05-01-2004, 03:58 AM
Anyone who knows can you please tell me? The php files ALL are uploaded to the database, correct? If this is true where do I upload the php files from the uttstore file that you get in the zip file?

LOD-squa
05-01-2004, 04:00 AM
Just upload the files on the upload directory as they are on their directories(admincp,images ect), and ushop.php goes on the main directory.

Zachery
05-01-2004, 04:35 AM
I have it working completely at all, however I dont get points when I post.
Did you make sure to edit your forums? to make sure that the forums mutiplier is set to at least 1?

DS MrSinister
05-01-2004, 04:53 AM
Zachery .. where in the admincp is forum mutiplier? I think thats my problem.

Wifey
05-01-2004, 04:53 AM
Hey guys, can I ask another question?

Is the custom avatar not in the file anymore? I don't have it as my options and I didn't upload a php file for it. I do not allow users to have custom avatars so I would like this feature. Is there a way for me to add this to my forum? I need the php file for it, so basically what I'm asking is, can I have it please :D

edit: Okay, do I need to have my user reputations enabled or something? I've hacked it and the actual hack works, but I've posted a thread since I've hacked it in and no points are showing up for me or any of my other members - we're all at 0.00

Why?

sabret00the
05-01-2004, 05:21 AM
regarding your first question, the custom avatar option seems to have been left out of the hack

and regarding your second question, try going into each of your forums in the forum manager, edit settings and then click save, then post and tell me if you points increase or not.

Wifey
05-01-2004, 06:03 AM
Okay, great. It's started counting now that I've updated forums (I'm in the process of going through each and every one)

Thanks for your help!

Please add the code to add a custom avatar guys!!

ForYou
05-01-2004, 08:51 AM
I Was Install it , but my Qustion Now ?
How this hack work is there any instruction for it (learn me how the hack work ) ,

Regards

LOD-squa
05-01-2004, 02:29 PM
Did you make sure to edit your forums? to make sure that the forums mutiplier is set to at least 1?Yep, that was it. Working fine now. Thank you.

U-Dox
05-01-2004, 02:59 PM
There seems to have been a slight problem with the Street iLLness database.
Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.

i get this when i go to
Ushop.php

LOD-squa
05-01-2004, 03:02 PM
Are you sure you ran the install script?

Zachery
05-01-2004, 04:49 PM
There seems to have been a slight problem with the Street iLLness database.
Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.


i get this when i go to
Ushop.php
Please right click and view the source and paste the whole message.

Wifey
05-01-2004, 05:22 PM
I have a couple of questions.

http://www.degrassi-boards.com/ushop.php

See how the tables are all screwy in alignment? I want to change the text to fix that - where do I go to do that? Also, it shows everything as being out of stock - why is that? I am totally table illiterate, but I would love to set up that page to have the different options on top of eachother rather than side by side - make them wider and have the pictures show up because I'd like to make some custom pictures. My friend has what I'm talking about on her board so I attached a screencap. I'm sorry, I understand if you don't consider this part of the hack, but if anyone knows where I actually GO I can at least maybe figure it out. My friend uses 2.3.0, so she wouldn't know about this otherwise I'd just ask her.

With the quantity, is there a way to have unlimited quantity, or how to add more - that automatically readds after two weeks, but it shows me as being out of stock now - why?

Another thing, I'd LOVE that buy custom avatar script. I know I'm annoying about it but my members already want customs and I have made and uploaded a ton for them but I'd like this to be something they can buy.

Also, the Recent Purchases link is out of alignment. I think that if I change my tables it will solve this, but if not, how?

Thanks! I love your hack, it's working beautifully, I just want to tweak it :)

Sting
05-01-2004, 07:28 PM
Is there a way to get the richest members sections to display the total amount of money (including the money in the bank)?

netaxis
05-01-2004, 08:17 PM
anybody tried with vb3.0.1

does it work in vb 3.0.1 any info

pls let me know

sabret00the
05-01-2004, 08:23 PM
yes it does :)

netaxis
05-01-2004, 08:26 PM
yes it does :)

sabret00the did you replyed to my Q

sorry

Zelda-King
05-01-2004, 08:36 PM
OK I've had this running fine pretty much since its release. I've just got a user having bank problems though. Now the rest of us can use the bank just fine but whenever this user tries to access the bank they get this error;

"Database error in vBulletin 3.0.1:

Invalid SQL: UPDATE user SET uttpoints=uttpoints-3,000 WHERE userid='8'
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='8'' at line 1

mysql error number: 1064"

LOD-squa
05-01-2004, 09:40 PM
I have a couple of questions.

http://www.degrassi-boards.com/ushop.php

See how the tables are all screwy in alignment? I want to change the text to fix that - where do I go to do that?

Just go to your admin cp then on the uTT Store Hack section go to utt store settings, just fix the actions per row option.

netaxis
05-01-2004, 09:56 PM
ive installed the hack everything is working fine, but the script isnt showint the points in showthread.php

Lostnode
05-02-2004, 06:57 AM
Ok, first I must say, AWSOME hack.
I haven;t installed it yet, but I have been on sites that have it (which is why I am about to installit)

However, I was wondering if anyone has done this yet, or is thinkng of it.

Challenge for Points.

Is there a way with the Arcade Challende to do a challenge for Points (i.e. betting on it)

Say I challenge a player to a game of Snake, and I place a wager of 300 ppints... winner gets 300 points of opposite players money..

I think its a cool idea.

Also, where can I get "Arcade Pass Hack v3" I tried a search, but it came up empty

sabret00the
05-02-2004, 01:13 PM
sabret00the did you replyed to my Q

sorry
i did indeed.

Wifey
05-02-2004, 03:50 PM
Thanks Lod-squa, you save me again!

Now I just need to add in a few things and it should be perfect for what I'm trying to achieve.

Problem though - why does it still say I'm out of stock on everything?

http://www.degrassi-boards.com/ushop.php

edit: Okay, I've disabled the quantity system and it still shows everything as out of stock.

LOD-squa
05-02-2004, 04:24 PM
Problem though - why does it still say I'm out of stock on everything?

http://www.degrassi-boards.com/ushop.php

edit: Okay, I've disabled the quantity system and it still shows everything as out of stock.
Have you tried editing the action and checking the quantitiy?

Wifey
05-02-2004, 05:41 PM
Okay I think I've figured out why it's like that. It shows it as out of stock until you have enough to buy it. Weird.

filth
05-02-2004, 06:00 PM
I beleive that is a known bug, Im sure I remember reading that in this post before somewhere, Zachery overlooked an if statement when coding

Wifey
05-02-2004, 06:05 PM
Thanks Filth :)

Okay, I've been trying the custom avatar php myself, and I'm sure this is way more than wrong.

If someone wants to write it that would be awesome. I just modified what I thought needed to be and I'm actually positive that it's wrong because I have no clue what I'm doing to be quite honest.

Anyhow, I guess it's a start, right?

Kalipo
05-03-2004, 02:34 AM
Unknown column 'uttstore_discount' in 'field list'

Need sql to correct this problem

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
title = 'Registered Users',
description = '',
usertitle = '',
opentag = '',
closetag = '',
passwordexpires = '0',
passwordhistory = '0',
shoutmaxdaily = '0',
shouthierarchy = '0',
attachlimit = '0',
avatarmaxwidth = '80',
avatarmaxheight = '80',
avatarmaxsize = '20000',
profilepicmaxwidth = '500',
profilepicmaxheight = '500',
profilepicmaxsize = '65535',
pmquota = '50',
pmsendmax = '5',
uttstore_discount = '',
forumpermissions = '127487',
pmpermissions = '3',
calendarpermissions = '19',
wolpermissions = '1',
adminpermissions = '0',
genericpermissions = '5319',
genericoptions = '30',
shoutboxpermissions = '0'
WHERE usergroupid=2
mysql error: Unknown column 'uttstore_discount' in 'field list'

mysql error number: 1054

cant do nothing usergroup wise until this is sorted :(

PranK
05-03-2004, 12:26 PM
hey guys, not sure if somebody has asked this and damned if i am going to sift through 54 pages to find it, but can you have it set so that only certain usergroups can use the points system?

Christian

Kalipo
05-03-2004, 04:22 PM
Unknown column 'uttstore_discount' in 'field list'

Need sql to correct this problem

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
title = 'Registered Users',
description = '',
usertitle = '',
opentag = '',
closetag = '',
passwordexpires = '0',
passwordhistory = '0',
shoutmaxdaily = '0',
shouthierarchy = '0',
attachlimit = '0',
avatarmaxwidth = '80',
avatarmaxheight = '80',
avatarmaxsize = '20000',
profilepicmaxwidth = '500',
profilepicmaxheight = '500',
profilepicmaxsize = '65535',
pmquota = '50',
pmsendmax = '5',
uttstore_discount = '',
forumpermissions = '127487',
pmpermissions = '3',
calendarpermissions = '19',
wolpermissions = '1',
adminpermissions = '0',
genericpermissions = '5319',
genericoptions = '30',
shoutboxpermissions = '0'
WHERE usergroupid=2
mysql error: Unknown column 'uttstore_discount' in 'field list'

mysql error number: 1054

cant do nothing usergroup wise until this is sorted :(

Bump

Wifey
05-03-2004, 05:48 PM
hey guys, not sure if somebody has asked this and damned if i am going to sift through 54 pages to find it, but can you have it set so that only certain usergroups can use the points system?

Christian

You can set it in the options part of the admincp. Go to utt store manager and just edit each item from there. It allows you to choose what usergroups can do each action. That's the only way I know how to do it.

LOD-squa
05-03-2004, 07:18 PM
Greetings,

I'm having a small problem. I have 2-3 custom usergroups I've made, and when they try to view the shop, they cant. They get "no actions displayed" when they go there. Any ideas?

Thanks,
LOD-squa

Zachery
05-03-2004, 07:20 PM
Did you make sure they have access to any actions in the settings for the uCS?

Kalipo
05-03-2004, 08:35 PM
Unknown column 'uttstore_discount' in 'field list'

Need sql to correct this problem

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
title = 'Registered Users',
description = '',
usertitle = '',
opentag = '',
closetag = '',
passwordexpires = '0',
passwordhistory = '0',
shoutmaxdaily = '0',
shouthierarchy = '0',
attachlimit = '0',
avatarmaxwidth = '80',
avatarmaxheight = '80',
avatarmaxsize = '20000',
profilepicmaxwidth = '500',
profilepicmaxheight = '500',
profilepicmaxsize = '65535',
pmquota = '50',
pmsendmax = '5',
uttstore_discount = '',
forumpermissions = '127487',
pmpermissions = '3',
calendarpermissions = '19',
wolpermissions = '1',
adminpermissions = '0',
genericpermissions = '5319',
genericoptions = '30',
shoutboxpermissions = '0'
WHERE usergroupid=2
mysql error: Unknown column 'uttstore_discount' in 'field list'

mysql error number: 1054

cant do nothing usergroup wise until this is sorted :(


Could someone please help me with this as i cant do nothing with my site.. i get db errors when i do something.

Zachery
05-03-2004, 08:55 PM
Could someone please help me with this as i cant do nothing with my site.. i get db errors when i do something.
Did you run the installer?

Zelda-King
05-03-2004, 09:30 PM
OK I've had this running fine pretty much since its release. I've just got a user having bank problems though. Now the rest of us can use the bank just fine but whenever this user tries to access the bank they get this error;

"Database error in vBulletin 3.0.1:

Invalid SQL: UPDATE user SET uttpoints=uttpoints-3,000 WHERE userid='8'
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='8'' at line 1

mysql error number: 1064"Just a reminder of a problem I've been informed of. :D

LOD-squa
05-03-2004, 09:37 PM
Did you make sure they have access to any actions in the settings for the uCS?
Hm. So that was why, thanks. :D

Kalipo
05-03-2004, 10:29 PM
Did you run the installer?


Yes i did do it. only get the problem when i go and save somat in acp usergroups

Zachery
05-03-2004, 10:30 PM
Then start with a fresh file and rehack it, you must have made a bad edit somewhere


now if only more people would stop by the forums and give us suggestions / feedback / problems. ^^

psst ;) www.geekydesigns.com

Kalipo
05-03-2004, 10:41 PM
i did do that and i get the same error.. whats the sql insert for

uttstore_discount

Zachery
05-03-2004, 10:45 PM
i did do that and i get the same error.. whats the sql insert for

uttstore_discount
Then you did not finish the installer.

Kalipo
05-03-2004, 10:46 PM
uhh uhh yeah i did, i just deleted the querie and i want to re add it.

How can it be something i did wrong when everything else works on this hack.

Wifey
05-03-2004, 11:30 PM
Kalipo did you try running the installer again just to be sure? Like, run it and run it as an upgrade, not a new installation. It may be that you ran it fully but something didn't install properly - maybe your connection went wonky without your realizing it ^_^ Plus, did you delete the php file off your server after you installed like it says to?

Zachery
05-03-2004, 11:47 PM
uhh uhh yeah i did, i just deleted the querie and i want to re add it.

How can it be something i did wrong when everything else works on this hack.
Try the uninstall link, then try reinstalling it, if it still doesnt work let us know.

PranK
05-04-2004, 01:50 AM
You can set it in the options part of the admincp. Go to utt store manager and just edit each item from there. It allows you to choose what usergroups can do each action. That's the only way I know how to do it.

thanks heaps for that!!

Christian

Kalipo
05-04-2004, 05:12 PM
Try the uninstall link, then try reinstalling it, if it still doesnt work let us know.


Doesnt matter, after the help i got and acusations being made about me not doin certain steps i decided to delete the database and delete vb :)

Started again :)

Sooner95
05-04-2004, 06:11 PM
nice addon, appreciate it. Installed fine, works without a hitch...

/me clicks install

also, is the Lotto addon going to be ported over soon? thanks

msimplay
05-04-2004, 06:31 PM
nice addon, appreciate it. Installed fine, works without a hitch...

* Sooner95 clicks install


also, is the Lotto addon going to be ported over soon? thanks i second the lotto and would like

custom user icon , custom user avatar addons , midi song for profile

jcr
05-04-2004, 10:29 PM
Oh my god.. I LOVE this hack!

*installed and appreciated*

RiDeHaRdBrO
05-04-2004, 10:46 PM
Installed just fine. However when an item is bought such as glowing name or bold name it appears with the effect right after you purchase but it doesnt display like that on the forums.

Zachery
05-04-2004, 11:46 PM
Installed just fine. However when an item is bought such as glowing name or bold name it appears with the effect right after you purchase but it doesnt display like that on the forums.
It should only display where the varible [musername] is used

jcr
05-05-2004, 12:21 AM
Did you run the standalone or HTL installer?
- Standalone

What is the exact error you recieve?
- Quantiy, Buy now and sold out does'nt work

Where does the supposed error happen?
- ushop.php

What vB version are you running?
- 3.0.1

I have tried almost everything, and need some help. Whatever I do the quantity wont budge, and it says Sold out even with full quantiy, ( or none, turned of the quantity to see if it had any effect )

Is there something one have to do to see the Buy button?

Zachery
05-05-2004, 12:34 AM
Do you have enuf money to buy anything?

jcr
05-05-2004, 12:37 AM
Do you have enuf money to buy anything?
No? But is it required to have exactly amount or above to view the shop index at ushop.php? ( a little confused )

Zachery
05-05-2004, 12:48 AM
Can you give me a test account and a link to your forums? im confused

Zachery
05-05-2004, 01:01 AM
Granted i dont have any money can you edit the user can give him like 10000 ?

jcr
05-05-2004, 01:08 AM
Granted i dont have any money can you edit the user can give him like 10000 ?
Done!

jcr
05-05-2004, 01:11 AM
Done!
Jep.. that did the trick, but is there a way to go through this? I find it a litt annoying that members cant glance at the items the "right way" before they reach to a special level.

Zachery
05-05-2004, 01:18 AM
Jep.. that did the trick, but is there a way to go through this? I find it a litt annoying that members cant glance at the items the "right way" before they reach to a special level.
at this time its how the current system works

jcr
05-05-2004, 01:21 AM
at this time its how the current system works
Okay, i will look throughout the codes and default values and see if I can make any changes / modifications myself. Thanks for your swift reply :)

DS MrSinister
05-05-2004, 03:22 AM
Warning: halt(): open_basedir restriction in effect. File(./includes/functions_log_error.php) is not within the allowed path(s): (/home/drunk78/:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/drunk78/public_html/forum/includes/db_mysql.php on line 388

I am getting that error on my site.. it seems only the admin are getting this.. I got this after uninstalling your hack.. can you guys help me out..

should i reinstall VB..

I am running vb3.0.1..

Try to reinstall this hack again and see if it would take care of that error . that did not work..

Zachery
05-05-2004, 04:46 AM
Looks like you have a problem with the forums it self and not our hack, im not sure what would cause that. maybe try turning off error loggin?

DS MrSinister
05-05-2004, 02:16 PM
the error logger is off.. LMAO I think this hack hates me lmao... NOt sure what else todo.. ONly tthing now is to redo my site.. :( its no biggie....

Sooner95
05-05-2004, 07:02 PM
i second the lotto and would like

custom user icon , custom user avatar addons , midi song for profile


custom user avatar could be cool...

I saw in the old vbstore thread the Lotto was going to be ported over...just not sure when.. anyone? thx

msimplay
05-05-2004, 07:18 PM
custom user avatar could be cool...

I saw in the old vbstore thread the Lotto was going to be ported over...just not sure when.. anyone? thx hmm i thought they were a bit quiet but now i realise why

they all at this forum making suggestions instead :p

http://www.geekydesigns.com/board/

sammyman
05-06-2004, 03:21 AM
I got everthing working, EXCEPT when a user posts a new thread, it does not give them the points. It only gives them points when someone looks at their thread. What could be wrong?

Wifey
05-06-2004, 06:16 PM
Did you edit every forum? Like, you don't have to make any actual edits, but you have to go into each forum in forum manager and then scroll to the bottom and hit update. I had that same problem. Also, there are settings in each forum saying how many times you want to multiply your original setting of points for each action. By default it should be set to 1 for threads, 1 for posts, and 1 for thread views. (like, say you set in the manager 4 points for each post - if you set the post setting to 2 in any particular forum, everytime a person posts they'd get 8) You probably know what I meant but sometimes I confuse myself!

But yeah, if you haven't done that try that because I had that problem :)

Dras
05-07-2004, 12:57 AM
Unable to add cookies, header already sent.
File: /home2/nrguser/public_html/global.php
Line: 640

AussiePride
05-08-2004, 05:04 AM
hi, i have everything installed, but users dont get points when they start a thread, post a reply etc, i can donate points though. can anyone help? thanks

Zachery
05-08-2004, 05:13 AM
Unable to add cookies, header already sent.
File: /home2/nrguser/public_html/global.php
Line: 640
upload a default version of global.php and init.php and rehack them

Zachery
05-08-2004, 05:14 AM
hi, i have everything installed, but users dont get points when they start a thread, post a reply etc, i can donate points though. can anyone help? thanks
Did you update your forums after installing?

PixelFx
05-08-2004, 10:18 PM
is it possible or what would it take to make an action that would give users so many points for clicking ads on your site? like 10 points or 25 etc? with a 24 hour timer on clicks per user ?

InsaneContender
05-09-2004, 02:33 PM
Admin Donate problem...

It doesn't work. Plain and simple. Well, it works, but instead of donating the points to the user you specify... it donates them to the admin that is giving them. lol

Anyway you can fix this?

InsaneContender
05-09-2004, 02:36 PM
Same thing with the regualr donate as well...

burnist
05-09-2004, 02:57 PM
grr, When i viewushop.php as an admin I geta message that says "No actions found...", I've checked in the databse and the actions are there, i've also checked in the admin cp to make sure that the groups that are supposed to be able to view them can plus that they are active and can be displayed in actions list but i am still getting nothing :(

Any help would be greatly appreciated ;)

Edit: IM using vB3.00

Zachery
05-09-2004, 06:51 PM
Same thing with the regualr donate as well...
Sounds like you messed up the template edit

Zachery
05-09-2004, 06:52 PM
grr, When i viewushop.php as an admin I geta message that says "No actions found...", I've checked in the databse and the actions are there, i've also checked in the admin cp to make sure that the groups that are supposed to be able to view them can plus that they are active and can be displayed in actions list but i am still getting nothing :(

Any help would be greatly appreciated ;)

Edit: IM using vB3.00
Are your users have the same problem? are you 110% sure all your file edits were done correctly?

burnist
05-09-2004, 08:34 PM
you must have been right about the file edits, they where the problem, sorry

MotorcycleForum
05-10-2004, 12:29 AM
I am running 3.0.1
I used the "ushop_install.php"
And then I did the file edits by hand.

I am getting these errors:

http://www.motorcycleforum.com

On the main index.php page I get this error:

"Warning: Invalid argument supplied for foreach() in /home/www/motorcycleforum/global.php on line 27"


If I click on a forum, I get this error:
"Unable to add cookies, header already sent.
File: /home/www/motorcycleforum/global.php
Line: 27"

Please help :)

Zachery
05-10-2004, 12:44 AM
I am running 3.0.1
I used the "ushop_install.php"
And then I did the file edits by hand.

I am getting these errors:

http://www.motorcycleforum.com

On the main index.php page I get this error:

"Warning: Invalid argument supplied for foreach() in /home/www/motorcycleforum/global.php on line 27"


If I click on a forum, I get this error:
"Unable to add cookies, header already sent.
File: /home/www/motorcycleforum/global.php
Line: 27"

Please help :)
Double check your edits, and make sure you RUN the installer.

MotorcycleForum
05-10-2004, 12:59 AM
The installer being "ushop_install.php"?

I ran ushop_install.php. It went through a few steps and said "Be sure to delete this file"...

I have an "uTT Store Hack" section in the admincp

FutureDEV
05-10-2004, 02:09 AM
Im getting the "No actions found" as well :( Ive quickly read through this thread, yet I couldnt solve my problem.. Any ideas why that would happen? And should it be a file edit problem, which file could it be thats causing this? Ive been carefull not to mess up while editing, but you never know..

Any other suggestions are wellcome as well!

Heres also the content of my datastore that one of the previous members was asked to provide:

a:18:{i:1;a:17:{s:8:"actionid";s:1:"1";s:9:"shortname";s:6:"donate";s:4:"name";s:6:"Donate";s:11:"description";s:74:"Spread some love to your fellow man and donate some money to another user.";s:12:"displayorder";s:2:"10";s:4:"cost";s:1:"0";s:3:"tax";s:1:"2";s:4:"sold";s:1:"0";s:15:"defaultquantity";s:2:"20";s:8:"quantity";s:2:"20";s:13:"allowedgroups";s:7:"6,7,2,5";s:12:"deniedgroups";s:0:"";s:12:"filelocation";s:26:"uttstore/action.donate.php";s:13:"imagelocation";s:26:"images/uttstore/donate.gif";s:11:"showinstore";s:1:"0";s:6:"active";s:1:"1";s:4:"asvs";s:0:"";}i:2;a:17:{s:8:"actionid";s:1:"2";s:9:"shortname";s:11:"changetitle";s:4:"name";s:19:"Change Custom Title";s:11:"description";s:95:"Here, you can change your custom title to something else. Stand out from the crowd and buy one!";s:12:"displayorder";s:2:"20";s:4:"cost";s:3:"500";s:3:"tax";s:1:"5";s:4:"sold";s:1:"0";s:15:"defaultquantity";s:2:"20";s:8:"quantity";s:2:"20";s:13:"allowedgroups";s:7:"6,7,2,5";s:12:"deniedgroups";s:0:"";s:12:"filelocation";s:31:"uttstore/action.changetitle.php";s:13:"imagelocation";s:31:"images/uttstore/changetitle.gif";s:11:"showinstore";s:1:"1";s:6:"active";s:1:"1";s:4:"asvs";s:0:"";}i:3;a:17:{s:8:"actionid";s:1:"3";s:9:"shortname";s:16:"changeothertitle";s:4:"name";s:32:"Change Other User's Custom Title";s:11:"description";s:106:"Someone making your life hell and want to get abit of payback? Rember that they can find out who did it ;)";s:12:"displayorder";s:2:"30";s:4:"cost";s:4:"1000";s:3:"tax";s:2:"10";s:4:"sold";s:1:"0";s:15:"defaultquantity";s:2:"20";s:8:"quantity";s:2:"20";s:13:"allowedgroups";s:7:"6,7,2,5";s:12:"deniedgroups";s:0:"";s:12:"filelocation";s:36:"uttstore/action.changeothertitle.php";s:13:"imagelocation";s:36:"images/uttstore/changeothertitle.gif";s:11:"showinstore";s:1:"1";s:6:"active";s:1:"1";s:4:"asvs";s:0:"";}i:4;a:17:{s:8:"actionid";s:1:"4";s:9:"shortname";s:14:"changeusername";s:4:"name";s:15:"Change Username";s:11:"description";s:89:"With this action, you may change your username to anything you'd like! (Within reason...)";s:12:"displayorder";s:2:"40";s:4:"cost";s:4:"1000";s:3:"tax";s:1:"7";s:4:"sold";s:1:"0";s:15:"defaultquantity";s:2:"20";s:8:"quantity";s:2:"20";s:13:"allowedgroups";s:7:"6,7,2,5";s:12:"deniedgroups";s:0:"";s:12:"filelocation";s:34:"uttstore/action.changeusername.php";s:13:"imagelocation";s:34:"images/uttstore/changeusername.gif";s:11:"showinstore";s:1:"1";s:6:"active";s:1:"1";s:4:"asvs";s:0:"";}i:5;a:17:{s:8:"actionid";s:1:"5";s:9:"shortname";s:12:"glowusername";s:4:"name";s:16:"Glowing Username";s:11:"description";s:136:"With this action, you can buy yourself a pretty glowing username that will appear on your posts. (NOTE: Glow is Internet Explorer only!)";s:12:"displayorder";s:2:"50";s:4:"cost";s:3:"750";s:3:"tax";s:2:"15";s:4:"sold";s:1:"0";s:15:"defaultquantity";s:2:"20";s:8:"quantity";s:2:"20";s:13:"allowedgroups";s:7:"6,7,2,5";s:12:"deniedgroups";s:0:"";s:12:"filelocation";s:32:"uttstore/action.glowusername.php";s:13:"imagelocation";s:32:"images/uttstore/glowusername.gif";s:11:"showinstore";s:1:"1";s:6:"active";s:1:"1";s:4:"asvs";s:307:"a:1:{i:1;a:5:{s:7:"varname";s:18:"changecolorpercent";s:5:"title";s:41:"Percent of Regular Price to Change Color?";s:4:"desc";s:124:"Set this to the percent of the regular price that it costs to change a glowing username after it has already been purchased.";s:10:"optioncode";s:0:"";s:5:"value";s:2:"50";}}";}i:6;a:17:{s:8:"actionid";s:1:"6";s:9:"shortname";s:13:"colorusername";s:4:"name";s:16:"Colored Username";s:11:"description";s:95:"With this, you can pick a color that'll color your username in your posts any color you'd like!";s:12:"displayorder";s:2:"60";s:4:"cost";s:3:"700";s:3:"tax";s:1:"4";s:4:"sold";s:1:"0";s:15:"defaultquantity";s:2:"20";s:8:"quantity";s:2:"20";s:13:"allowedgroups";s:7:"6,7,2,5";s:12:"deniedgroups";s:0:"";s:12:"filelocation";s:33:"uttstore/action.colorusername.php";s:13:"imagelocation";s:33:"images/uttstore/colorusername.gif";s:11:"showinstore";s:1:"1";s:6:"active";s:1:"1";s:4:"asvs";s:307:"a:1:{i:1;a:5:{s:7:"varname";s:18:"changecolorpercent";s:5:"title";s:41:"Percent of Regular Price to Change Color?";s:4:"desc";s:124:"Set this to the percent of the regular price that it costs to change a colored username after it has already been purchased?";s:10:"optioncode";s:0:"";s:5:"value";s:2:"50";}}";}i:7;a:17:{s:8:"actionid";s:1:"7";s:9:"shortname";s:12:"boldusername";s:4:"name";s:13:"Bold Username";s:11:"description";s:57:"This allows you to make your username bold in your posts.";s:12:"displayorder";s:2:"70";s:4:"cost";s:3:"500";s:3:"tax";s:1:"4";s:4:"sold";s:1:"0";s:15:"defaultquantity";s:2:"20";s:8:"quantity";s:2:"20";s:13:"allowedgroups";s:7:"6,7,2,5";s:12:"deniedgroups";s:0:"";s:12:"filelocation";s:32:"uttstore/action.boldusername.php";s:13:"imagelocation";s:32:"images/uttstore/boldusername.gif";s:11:"showinstore";s:1:"1";s:6:"active";s:1:"1";s:4:"asvs";s:0:"";}i:8;a:17:{s:8:"actionid";s:1:"8";s:9:"shortname";s:14:"italicusername";s:4:"name";s:19:"Italicized Username";s:11:"description";s:70:"This allows you to make your username appear in italics in your posts.";s:12:"displayorder";s:2:"80";s:4:"cost";s:3:"500";s:3:"tax";s:1:"4";s:4:"sold";s:1:"0";s:15:"defaultquantity";s:2:"20";s:8:"quantity";s:2:"20";s:13:"allowedgroups";s:7:"6,7,2,5";s:12:"deniedgroups";s:0:"";s:12:"filelocation";s:34:"uttstore/action.italicusername.php";s:13:"imagelocation";s:34:"images/uttstore/italicusername.gif";s:11:"showinstore";s:1:"1";s:6:"active";s:1:"1";s:4:"asvs";s:0:"";}i:9;a:17:{s:8:"actionid";s:1:"9";s:9:"shortname";s:11:"admindonate";s:4:"name";s:12:"Admin Donate";s:11:"description";s:93:"This allows admins to give or take away points from users without affecting their own points.";s:12:"displayorder";s:2:"90";s:4:"cost";s:1:"0";s:3:"tax";s:1:"0";s:4:"sold";s:1:"0";s:15:"defaultquantity";s:2:"-1";s:8:"quantity";s:2:"-1";s:13:"allowedgroups";s:1:"6";s:12:"deniedgroups";s:0:"";s:12:"filelocation";s:31:"uttstore/action.admindonate.php";s:13:"imagelocation";s:31:"images/uttstore/admindonate.gif";s:11:"showinstore";s:1:"0";s:6:"active";s:1:"1";s:4:"asvs";s:0:"";}i:10;a:17:{s:8:"actionid";s:2:"10";s:9:"shortname";s:4:"bank";s:4:"name";s:4:"Bank";s:11:"description";s:62:"Save up your money in the bank and collect wonderful interest!";s:12:"displayorder";s:3:"100";s:4:"cost";s:1:"0";s:3:"tax";s:1:"0";s:4:"sold";s:1:"0";s:15:"defaultquantity";s:2:"-1";s:8:"quantity";s:2:"-1";s:13:"allowedgroups";s:7:"6,7,2,5";s:12:"deniedgroups";s:0:"";s:12:"filelocation";s:24:"uttstore/action.bank.php";s:13:"imagelocation";s:24:"images/uttstore/bank.gif";s:11:"showinstore";s:1:"0";s:6:"active";s:1:"1";s:4:"asvs";s:482:"a:2:{i:1;a:5:{s:7:"varname";s:17:"interestincrement";s:5:"title";s:18:"Interest Increment";s:4:"desc";s:96:"Set this to how often interest should accumulate on money in this bank. Default - 86400 = 1 day.";s:10:"optioncode";s:0:"";s:5:"value";s:5:"86400";}i:2;a:5:{s:7:"varname";s:15:"interestpercent";s:5:"title";s:16:"Interest Percent";s:4:"desc";s:78:"Set this to the amount of interest gained on money in this bank (in percents).";s:10:"optioncode";s:0:"";s:5:"value";s:1:"2";}}";}i:11;a:17:{s:8:"actionid";s:2:"11";s:9:"shortname";s:18:"secondaryusergroup";s:4:"name";s:19:"Secondary Usergroup";s:11:"description";s:125:"Want a higher PM quota? Want to see invisible users? You might be able to buy access to a usergroup with those features here.";s:12:"displayorder";s:3:"110";s:4:"cost";s:4:"1000";s:3:"tax";s:1:"3";s:4:"sold";s:1:"0";s:15:"defaultquantity";s:2:"20";s:8:"quantity";s:2:"20";s:13:"allowedgroups";s:7:"6,7,2,5";s:12:"deniedgroups";s:0:"";s:12:"filelocation";s:38:"uttstore/action.secondaryusergroup.php";s:13:"imagelocation";s:38:"images/uttstore/secondaryusergroup.gif";s:11:"showinstore";s:1:"1";s:6:"active";s:1:"1";s:4:"asvs";s:271:"a:1:{i:1;a:5:{s:7:"varname";s:3:"pju";s:5:"title";s:31:"Publically Joinable Usergroups?";s:4:"desc";s:109:"Enter the usergroupids of the usergroups that users can buy access to in this action. Seperate ids by commas.";s:10:"optioncode";s:0:"";s:5:"value";s:7:"9,10,11";}}";}i:12;a:17:{s:8:"actionid";s:2:"12";s:9:"shortname";s:12:"stickythread";s:4:"name";s:13:"Sticky Thread";s:11:"description";s:54:"Make one of your topics stick to the top of the forum!";s:12:"displayorder";s:3:"120";s:4:"cost";s:3:"500";s:3:"tax";s:1:"5";s:4:"sold";s:1:"0";s:15:"defaultquantity";s:2:"20";s:8:"quantity";s:2:"20";s:13:"allowedgroups";s:7:"6,7,2,5";s:12:"deniedgroups";s:0:"";s:12:"filelocation";s:32:"uttstore/action.stickythread.php";s:13:"imagelocation";s:0:"";s:11:"showinstore";s:1:"1";s:6:"active";s:1:"1";s:4:"asvs";s:0:"";}i:14;a:17:{s:8:"actionid";s:2:"14";s:9:"shortname";s:5:"thief";s:4:"name";s:6:"Thief!";s:11:"description";s:64:"Attempt to steal points from another member here (you lazy bum).";s:12:"displayorder";s:3:"130";s:4:"cost";s:1:"0";s:3:"tax";s:1:"0";s:4:"sold";s:1:"0";s:15:"defaultquantity";s:2:"20";s:8:"quantity";s:2:"20";s:13:"allowedgroups";s:7:"6,7,2,5";s:12:"deniedgroups";s:0:"";s:12:"filelocation";s:25:"uttstore/action.thief.php";s:13:"imagelocation";s:0:"";s:11:"showinstore";s:1:"1";s:6:"active";s:1:"1";s:4:"asvs";s:1277:"a:4:{i:1;a:5:{s:7:"varname";s:6:"maxrep";s:5:"title";s:19:"Maximum Reputation?";s:4:"desc";s:199:"If a user reaches this many reputation points, it becomes impossible to steal from them. Otherwise, a percentage is calculated using this and the user's reputation to determain the chance of failure.";s:10:"optioncode";s:0:"";s:5:"value";s:6:"100000";}i:2;a:5:{s:7:"varname";s:8:"backfire";s:5:"title";s:28:"Backfire on Failed Attempts?";s:4:"desc";s:130:"If this is set to 'yes', failed attempts will backfire, giving the victim the money that the thief looses when they fail to steal.";s:10:"optioncode";s:5:"yesno";s:5:"value";s:1:"1";}i:3;a:5:{s:7:"varname";s:8:"replosts";s:5:"title";s:39:"Reputation Lost On Successful Thievery?";s:4:"desc";s:154:"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.";s:10:"optioncode";s:0:"";s:5:"value";s:1:"5";}i:4;a:5:{s:7:"varname";s:8:"replostf";s:5:"title";s:35:"Reputation Lost On Failed Thievery?";s:4:"desc";s:162:"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.";s:10:"optioncode";s:0:"";s:5:"value";s:2:"50";}}";}i:15;a:17:{s:8:"actionid";s:2:"15";s:9:"shortname";s:13:"forumpassword";s:4:"name";s:18:"Buy Forum Password";s:11:"description";s:39:"Buy access to some special forums here!";s:12:"displayorder";s:3:"140";s:4:"cost";s:4:"1000";s:3:"tax";s:1:"3";s:4:"sold";s:1:"0";s:15:"defaultquantity";s:2:"20";s:8:"quantity";s:2:"20";s:13:"allowedgroups";s:7:"6,7,2,5";s:12:"deniedgroups";s:0:"";s:12:"filelocation";s:33:"uttstore/action.forumpassword.php";s:13:"imagelocation";s:0:"";s:11:"showinstore";s:1:"1";s:6:"active";s:1:"1";s:4:"asvs";s:279:"a:1:{i:1;a:5:{s:7:"varname";s:13:"allowedforums";s:5:"title";s:15:"Allowed Forums?";s:4:"desc";s:127:"Set this to the forumids that you would like to give members the chance to buy the password to. Seperate forumids with a comma.";s:10:"optioncode";s:0:"";s:5:"value";s:2:"12";}}";}i:16;a:17:{s:8:"actionid";s:2:"16";s:9:"shortname";s:11:"forumaccess";s:4:"name";s:16:"Buy Forum Access";s:11:"description";s:22:"Buy access to a forum!";s:12:"displayorder";s:3:"150";s:4:"cost";s:4:"2000";s:3:"tax";s:1:"4";s:4:"sold";s:1:"0";s:15:"defaultquantity";s:2:"20";s:8:"quantity";s:2:"20";s:13:"allowedgroups";s:7:"6,7,2,5";s:12:"deniedgroups";s:0:"";s:12:"filelocation";s:31:"uttstore/action.forumaccess.php";s:13:"imagelocation";s:0:"";s:11:"showinstore";s:1:"1";s:6:"active";s:1:"1";s:4:"asvs";s:276:"a:1:{i:1;a:5:{s:7:"varname";s:13:"allowedforums";s:5:"title";s:15:"Allowed Forums?";s:4:"desc";s:121:"Set this to the forumids that you would like to give members the chance to buy access to. Seperate forumids with a comma.";s:10:"optioncode";s:0:"";s:5:"value";s:5:"12,13";}}";}i:17;a:17:{s:8:"actionid";s:2:"17";s:9:"shortname";s:15:"denyforumaccess";s:4:"name";s:17:"Deny Forum Access";s:11:"description";s:86:"Want to keep some jackass out of a certain forum? Deny their access to the forum here!";s:12:"displayorder";s:3:"160";s:4:"cost";s:4:"2500";s:3:"tax";s:2:"10";s:4:"sold";s:1:"0";s:15:"defaultquantity";s:2:"20";s:8:"quantity";s:2:"20";s:13:"allowedgroups";s:7:"6,7,2,5";s:12:"deniedgroups";s:0:"";s:12:"filelocation";s:35:"uttstore/action.denyforumaccess.php";s:13:"imagelocation";s:0:"";s:11:"showinstore";s:1:"1";s:6:"active";s:1:"1";s:4:"asvs";s:286:"a:1:{i:1;a:5:{s:7:"varname";s:13:"allowedforums";s:5:"title";s:15:"Allowed Forums?";s:4:"desc";s:131:"Set this to the forumids that you would like to give members the chance to deny a user's access to. Seperate forumids with a comma.";s:10:"optioncode";s:0:"";s:5:"value";s:5:"12,13";}}";}i:18;a:17:{s:8:"actionid";s:2:"18";s:9:"shortname";s:15:"giveforumaccess";s:4:"name";s:17:"Give Forum Access";s:11:"description";s:88:"Bought access to a forum but want a friend to have access as well? Buy them access here!";s:12:"displayorder";s:3:"170";s:4:"cost";s:4:"2500";s:3:"tax";s:1:"9";s:4:"sold";s:1:"0";s:15:"defaultquantity";s:2:"20";s:8:"quantity";s:2:"20";s:13:"allowedgroups";s:7:"6,7,2,5";s:12:"deniedgroups";s:0:"";s:12:"filelocation";s:35:"uttstore/action.giveforumaccess.php";s:13:"imagelocation";s:0:"";s:11:"showinstore";s:1:"1";s:6:"active";s:1:"1";s:4:"asvs";s:286:"a:1:{i:1;a:5:{s:7:"varname";s:13:"allowedforums";s:5:"title";s:15:"Allowed Forums?";s:4:"desc";s:131:"Set this to the forumids that you would like to give members the chance to deny a user's access to. Seperate forumids with a comma.";s:10:"optioncode";s:0:"";s:5:"value";s:5:"12,13";}}";}i:13;a:17:{s:8:"actionid";s:2:"13";s:9:"shortname";s:10:"arcadepass";s:4:"name";s:11:"Arcade Pass";s:11:"description";s:42:"Buy an arcade pass and play in the arcade!";s:12:"displayorder";s:3:"400";s:4:"cost";s:4:"1000";s:3:"tax";s:1:"5";s:4:"sold";s:1:"0";s:15:"defaultquantity";s:2:"20";s:8:"quantity";s:2:"20";s:13:"allowedgroups";s:7:"6,7,2,5";s:12:"deniedgroups";s:0:"";s:12:"filelocation";s:14:"arcadepass.php";s:13:"imagelocation";s:0:"";s:11:"showinstore";s:1:"1";s:6:"active";s:1:"0";s:4:"asvs";s:0:"";}}

Thanks a lot!

deathemperor
05-10-2004, 04:17 AM
well I'm getting the same 'No actions found..' problem
thing that I cannot understand is: I installed it about a week ago, everything is perfect, I can get points, I can go ushop.php, I can buy actions. But now when I come to ushop.php it shows 'No actions found...'
I tried editing everything, setting usergroups are able to buy actions, but it still doesn't work.
I am still testing it, was about to install in my main board but now I understand nothing why it came to that. Then I can't install in my main board.
I am sure I edited all files 200% correct (well, because it was ok and no errors )
Im running vb3.0.0

Zachery
05-10-2004, 04:22 AM
well I'm getting the same 'No actions found..' problem
thing that I cannot understand is: I installed it about a week ago, everything is perfect, I can get points, I can go ushop.php, I can buy actions. But now when I come to ushop.php it shows 'No actions found...'
I tried editing everything, setting usergroups are able to buy actions, but it still doesn't work.
I am still testing it, was about to install in my main board but now I understand nothing why it came to that. Then I can't install in my main board.
I am sure I edited all files 200% correct (well, because it was ok and no errors )
Im running vb3.0.0
Check your files again, O.o usualy no actions found indicates that you skiped a step.

deathemperor
05-10-2004, 08:15 AM
I told you very clearly that it was ok with all actions !
but now there's no action it tells me
and that means I didn't skip any steps
well, if I skipped, why was it fine ?

FutureDEV
05-10-2004, 11:44 AM
PS: Standalone, ushop.php, vb3.0.1. Thanks..

Zachery
05-10-2004, 03:15 PM
Im getting the "No actions found" as well :( Ive quickly read through this thread, yet I couldnt solve my problem.. Any ideas why that would happen? And should it be a file edit problem, which file could it be thats causing this? Ive been carefull not to mess up while editing, but you never know..

Any other suggestions are wellcome as well!

Heres also the content of my datastore that one of the previous members was asked to provide:

a:18:{i:1;a:17:{s:8:"actionid";s:1:"1";s:9:"shortname";s:6:"donate";s:4:"name";s:6:"Donate";s:11:"description";s:74:"Spread some love to your fellow man and donate some money to another user.";s:12:"displayorder";s:2:"10";s:4:"cost";s:1:"0";s:3:"tax";s:1:"2";s:4:"sold";s:1:"0";s:15:"defaultquantity";s:2:"20";s:8:"quantity";s:2:"20";s:13:"allowedgroups";s:7:"6,7,2,5";s:12:"deniedgroups";s:0:"";s:12:"filelocation";s:26:"uttstore/action.donate.php";s:13:"imagelocation";s:26:"images/uttstore/donate.gif";s:11:"showinstore";s:1:"0";s:6:"active";s:1:"1";s:4:"asvs";s:0:"";}i:2;a:17:{s:8:"actionid";s:1:"2";s:9:"shortname";s:11:"changetitle";s:4:"name";s:19:"Change Custom Title";s:11:"description";s:95:"Here, you can change your custom title to something else. Stand out from the crowd and buy one!";s:12:"displayorder";s:2:"20";s:4:"cost";s:3:"500";s:3:"tax";s:1:"5";s:4:"sold";s:1:"0";s:15:"defaultquantity";s:2:"20";s:8:"quantity";s:2:"20";s:13:"allowedgroups";s:7:"6,7,2,5";s:12:"deniedgroups";s:0:"";s:12:"filelocation";s:31:"uttstore/action.changetitle.php";s:13:"imagelocation";s:31:"images/uttstore/changetitle.gif";s:11:"showinstore";s:1:"1";s:6:"active";s:1:"1";s:4:"asvs";s:0:"";}i:3;a:17:{s:8:"actionid";s:1:"3";s:9:"shortname";s:16:"changeothertitle";s:4:"name";s:32:"Change Other User's Custom Title";s:11:"description";s:106:"Someone making your life hell and want to get abit of payback? Rember that they can find out who did it ;)";s:12:"displayorder";s:2:"30";s:4:"cost";s:4:"1000";s:3:"tax";s:2:"10";s:4:"sold";s:1:"0";s:15:"defaultquantity";s:2:"20";s:8:"quantity";s:2:"20";s:13:"allowedgroups";s:7:"6,7,2,5";s:12:"deniedgroups";s:0:"";s:12:"filelocation";s:36:"uttstore/action.changeothertitle.php";s:13:"imagelocation";s:36:"images/uttstore/changeothertitle.gif";s:11:"showinstore";s:1:"1";s:6:"active";s:1:"1";s:4:"asvs";s:0:"";}i:4;a:17:{s:8:"actionid";s:1:"4";s:9:"shortname";s:14:"changeusername";s:4:"name";s:15:"Change Username";s:11:"description";s:89:"With this action, you may change your username to anything you'd like! (Within reason...)";s:12:"displayorder";s:2:"40";s:4:"cost";s:4:"1000";s:3:"tax";s:1:"7";s:4:"sold";s:1:"0";s:15:"defaultquantity";s:2:"20";s:8:"quantity";s:2:"20";s:13:"allowedgroups";s:7:"6,7,2,5";s:12:"deniedgroups";s:0:"";s:12:"filelocation";s:34:"uttstore/action.changeusername.php";s:13:"imagelocation";s:34:"images/uttstore/changeusername.gif";s:11:"showinstore";s:1:"1";s:6:"active";s:1:"1";s:4:"asvs";s:0:"";}i:5;a:17:{s:8:"actionid";s:1:"5";s:9:"shortname";s:12:"glowusername";s:4:"name";s:16:"Glowing Username";s:11:"description";s:136:"With this action, you can buy yourself a pretty glowing username that will appear on your posts. (NOTE: Glow is Internet Explorer only!)";s:12:"displayorder";s:2:"50";s:4:"cost";s:3:"750";s:3:"tax";s:2:"15";s:4:"sold";s:1:"0";s:15:"defaultquantity";s:2:"20";s:8:"quantity";s:2:"20";s:13:"allowedgroups";s:7:"6,7,2,5";s:12:"deniedgroups";s:0:"";s:12:"filelocation";s:32:"uttstore/action.glowusername.php";s:13:"imagelocation";s:32:"images/uttstore/glowusername.gif";s:11:"showinstore";s:1:"1";s:6:"active";s:1:"1";s:4:"asvs";s:307:"a:1:{i:1;a:5:{s:7:"varname";s:18:"changecolorpercent";s:5:"title";s:41:"Percent of Regular Price to Change Color?";s:4:"desc";s:124:"Set this to the percent of the regular price that it costs to change a glowing username after it has already been purchased.";s:10:"optioncode";s:0:"";s:5:"value";s:2:"50";}}";}i:6;a:17:{s:8:"actionid";s:1:"6";s:9:"shortname";s:13:"colorusername";s:4:"name";s:16:"Colored Username";s:11:"description";s:95:"With this, you can pick a color that'll color your username in your posts any color you'd like!";s:12:"displayorder";s:2:"60";s:4:"cost";s:3:"700";s:3:"tax";s:1:"4";s:4:"sold";s:1:"0";s:15:"defaultquantity";s:2:"20";s:8:"quantity";s:2:"20";s:13:"allowedgroups";s:7:"6,7,2,5";s:12:"deniedgroups";s:0:"";s:12:"filelocation";s:33:"uttstore/action.colorusername.php";s:13:"imagelocation";s:33:"images/uttstore/colorusername.gif";s:11:"showinstore";s:1:"1";s:6:"active";s:1:"1";s:4:"asvs";s:307:"a:1:{i:1;a:5:{s:7:"varname";s:18:"changecolorpercent";s:5:"title";s:41:"Percent of Regular Price to Change Color?";s:4:"desc";s:124:"Set this to the percent of the regular price that it costs to change a colored username after it has already been purchased?";s:10:"optioncode";s:0:"";s:5:"value";s:2:"50";}}";}i:7;a:17:{s:8:"actionid";s:1:"7";s:9:"shortname";s:12:"boldusername";s:4:"name";s:13:"Bold Username";s:11:"description";s:57:"This allows you to make your username bold in your posts.";s:12:"displayorder";s:2:"70";s:4:"cost";s:3:"500";s:3:"tax";s:1:"4";s:4:"sold";s:1:"0";s:15:"defaultquantity";s:2:"20";s:8:"quantity";s:2:"20";s:13:"allowedgroups";s:7:"6,7,2,5";s:12:"deniedgroups";s:0:"";s:12:"filelocation";s:32:"uttstore/action.boldusername.php";s:13:"imagelocation";s:32:"images/uttstore/boldusername.gif";s:11:"showinstore";s:1:"1";s:6:"active";s:1:"1";s:4:"asvs";s:0:"";}i:8;a:17:{s:8:"actionid";s:1:"8";s:9:"shortname";s:14:"italicusername";s:4:"name";s:19:"Italicized Username";s:11:"description";s:70:"This allows you to make your username appear in italics in your posts.";s:12:"displayorder";s:2:"80";s:4:"cost";s:3:"500";s:3:"tax";s:1:"4";s:4:"sold";s:1:"0";s:15:"defaultquantity";s:2:"20";s:8:"quantity";s:2:"20";s:13:"allowedgroups";s:7:"6,7,2,5";s:12:"deniedgroups";s:0:"";s:12:"filelocation";s:34:"uttstore/action.italicusername.php";s:13:"imagelocation";s:34:"images/uttstore/italicusername.gif";s:11:"showinstore";s:1:"1";s:6:"active";s:1:"1";s:4:"asvs";s:0:"";}i:9;a:17:{s:8:"actionid";s:1:"9";s:9:"shortname";s:11:"admindonate";s:4:"name";s:12:"Admin Donate";s:11:"description";s:93:"This allows admins to give or take away points from users without affecting their own points.";s:12:"displayorder";s:2:"90";s:4:"cost";s:1:"0";s:3:"tax";s:1:"0";s:4:"sold";s:1:"0";s:15:"defaultquantity";s:2:"-1";s:8:"quantity";s:2:"-1";s:13:"allowedgroups";s:1:"6";s:12:"deniedgroups";s:0:"";s:12:"filelocation";s:31:"uttstore/action.admindonate.php";s:13:"imagelocation";s:31:"images/uttstore/admindonate.gif";s:11:"showinstore";s:1:"0";s:6:"active";s:1:"1";s:4:"asvs";s:0:"";}i:10;a:17:{s:8:"actionid";s:2:"10";s:9:"shortname";s:4:"bank";s:4:"name";s:4:"Bank";s:11:"description";s:62:"Save up your money in the bank and collect wonderful interest!";s:12:"displayorder";s:3:"100";s:4:"cost";s:1:"0";s:3:"tax";s:1:"0";s:4:"sold";s:1:"0";s:15:"defaultquantity";s:2:"-1";s:8:"quantity";s:2:"-1";s:13:"allowedgroups";s:7:"6,7,2,5";s:12:"deniedgroups";s:0:"";s:12:"filelocation";s:24:"uttstore/action.bank.php";s:13:"imagelocation";s:24:"images/uttstore/bank.gif";s:11:"showinstore";s:1:"0";s:6:"active";s:1:"1";s:4:"asvs";s:482:"a:2:{i:1;a:5:{s:7:"varname";s:17:"interestincrement";s:5:"title";s:18:"Interest Increment";s:4:"desc";s:96:"Set this to how often interest should accumulate on money in this bank. Default - 86400 = 1 day.";s:10:"optioncode";s:0:"";s:5:"value";s:5:"86400";}i:2;a:5:{s:7:"varname";s:15:"interestpercent";s:5:"title";s:16:"Interest Percent";s:4:"desc";s:78:"Set this to the amount of interest gained on money in this bank (in percents).";s:10:"optioncode";s:0:"";s:5:"value";s:1:"2";}}";}i:11;a:17:{s:8:"actionid";s:2:"11";s:9:"shortname";s:18:"secondaryusergroup";s:4:"name";s:19:"Secondary Usergroup";s:11:"description";s:125:"Want a higher PM quota? Want to see invisible users? You might be able to buy access to a usergroup with those features here.";s:12:"displayorder";s:3:"110";s:4:"cost";s:4:"1000";s:3:"tax";s:1:"3";s:4:"sold";s:1:"0";s:15:"defaultquantity";s:2:"20";s:8:"quantity";s:2:"20";s:13:"allowedgroups";s:7:"6,7,2,5";s:12:"deniedgroups";s:0:"";s:12:"filelocation";s:38:"uttstore/action.secondaryusergroup.php";s:13:"imagelocation";s:38:"images/uttstore/secondaryusergroup.gif";s:11:"showinstore";s:1:"1";s:6:"active";s:1:"1";s:4:"asvs";s:271:"a:1:{i:1;a:5:{s:7:"varname";s:3:"pju";s:5:"title";s:31:"Publically Joinable Usergroups?";s:4:"desc";s:109:"Enter the usergroupids of the usergroups that users can buy access to in this action. Seperate ids by commas.";s:10:"optioncode";s:0:"";s:5:"value";s:7:"9,10,11";}}";}i:12;a:17:{s:8:"actionid";s:2:"12";s:9:"shortname";s:12:"stickythread";s:4:"name";s:13:"Sticky Thread";s:11:"description";s:54:"Make one of your topics stick to the top of the forum!";s:12:"displayorder";s:3:"120";s:4:"cost";s:3:"500";s:3:"tax";s:1:"5";s:4:"sold";s:1:"0";s:15:"defaultquantity";s:2:"20";s:8:"quantity";s:2:"20";s:13:"allowedgroups";s:7:"6,7,2,5";s:12:"deniedgroups";s:0:"";s:12:"filelocation";s:32:"uttstore/action.stickythread.php";s:13:"imagelocation";s:0:"";s:11:"showinstore";s:1:"1";s:6:"active";s:1:"1";s:4:"asvs";s:0:"";}i:14;a:17:{s:8:"actionid";s:2:"14";s:9:"shortname";s:5:"thief";s:4:"name";s:6:"Thief!";s:11:"description";s:64:"Attempt to steal points from another member here (you lazy bum).";s:12:"displayorder";s:3:"130";s:4:"cost";s:1:"0";s:3:"tax";s:1:"0";s:4:"sold";s:1:"0";s:15:"defaultquantity";s:2:"20";s:8:"quantity";s:2:"20";s:13:"allowedgroups";s:7:"6,7,2,5";s:12:"deniedgroups";s:0:"";s:12:"filelocation";s:25:"uttstore/action.thief.php";s:13:"imagelocation";s:0:"";s:11:"showinstore";s:1:"1";s:6:"active";s:1:"1";s:4:"asvs";s:1277:"a:4:{i:1;a:5:{s:7:"varname";s:6:"maxrep";s:5:"title";s:19:"Maximum Reputation?";s:4:"desc";s:199:"If a user reaches this many reputation points, it becomes impossible to steal from them. Otherwise, a percentage is calculated using this and the user's reputation to determain the chance of failure.";s:10:"optioncode";s:0:"";s:5:"value";s:6:"100000";}i:2;a:5:{s:7:"varname";s:8:"backfire";s:5:"title";s:28:"Backfire on Failed Attempts?";s:4:"desc";s:130:"If this is set to 'yes', failed attempts will backfire, giving the victim the money that the thief looses when they fail to steal.";s:10:"optioncode";s:5:"yesno";s:5:"value";s:1:"1";}i:3;a:5:{s:7:"varname";s:8:"replosts";s:5:"title";s:39:"Reputation Lost On Successful Thievery?";s:4:"desc";s:154:"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.";s:10:"optioncode";s:0:"";s:5:"value";s:1:"5";}i:4;a:5:{s:7:"varname";s:8:"replostf";s:5:"title";s:35:"Reputation Lost On Failed Thievery?";s:4:"desc";s:162:"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.";s:10:"optioncode";s:0:"";s:5:"value";s:2:"50";}}";}i:15;a:17:{s:8:"actionid";s:2:"15";s:9:"shortname";s:13:"forumpassword";s:4:"name";s:18:"Buy Forum Password";s:11:"description";s:39:"Buy access to some special forums here!";s:12:"displayorder";s:3:"140";s:4:"cost";s:4:"1000";s:3:"tax";s:1:"3";s:4:"sold";s:1:"0";s:15:"defaultquantity";s:2:"20";s:8:"quantity";s:2:"20";s:13:"allowedgroups";s:7:"6,7,2,5";s:12:"deniedgroups";s:0:"";s:12:"filelocation";s:33:"uttstore/action.forumpassword.php";s:13:"imagelocation";s:0:"";s:11:"showinstore";s:1:"1";s:6:"active";s:1:"1";s:4:"asvs";s:279:"a:1:{i:1;a:5:{s:7:"varname";s:13:"allowedforums";s:5:"title";s:15:"Allowed Forums?";s:4:"desc";s:127:"Set this to the forumids that you would like to give members the chance to buy the password to. Seperate forumids with a comma.";s:10:"optioncode";s:0:"";s:5:"value";s:2:"12";}}";}i:16;a:17:{s:8:"actionid";s:2:"16";s:9:"shortname";s:11:"forumaccess";s:4:"name";s:16:"Buy Forum Access";s:11:"description";s:22:"Buy access to a forum!";s:12:"displayorder";s:3:"150";s:4:"cost";s:4:"2000";s:3:"tax";s:1:"4";s:4:"sold";s:1:"0";s:15:"defaultquantity";s:2:"20";s:8:"quantity";s:2:"20";s:13:"allowedgroups";s:7:"6,7,2,5";s:12:"deniedgroups";s:0:"";s:12:"filelocation";s:31:"uttstore/action.forumaccess.php";s:13:"imagelocation";s:0:"";s:11:"showinstore";s:1:"1";s:6:"active";s:1:"1";s:4:"asvs";s:276:"a:1:{i:1;a:5:{s:7:"varname";s:13:"allowedforums";s:5:"title";s:15:"Allowed Forums?";s:4:"desc";s:121:"Set this to the forumids that you would like to give members the chance to buy access to. Seperate forumids with a comma.";s:10:"optioncode";s:0:"";s:5:"value";s:5:"12,13";}}";}i:17;a:17:{s:8:"actionid";s:2:"17";s:9:"shortname";s:15:"denyforumaccess";s:4:"name";s:17:"Deny Forum Access";s:11:"description";s:86:"Want to keep some jackass out of a certain forum? Deny their access to the forum here!";s:12:"displayorder";s:3:"160";s:4:"cost";s:4:"2500";s:3:"tax";s:2:"10";s:4:"sold";s:1:"0";s:15:"defaultquantity";s:2:"20";s:8:"quantity";s:2:"20";s:13:"allowedgroups";s:7:"6,7,2,5";s:12:"deniedgroups";s:0:"";s:12:"filelocation";s:35:"uttstore/action.denyforumaccess.php";s:13:"imagelocation";s:0:"";s:11:"showinstore";s:1:"1";s:6:"active";s:1:"1";s:4:"asvs";s:286:"a:1:{i:1;a:5:{s:7:"varname";s:13:"allowedforums";s:5:"title";s:15:"Allowed Forums?";s:4:"desc";s:131:"Set this to the forumids that you would like to give members the chance to deny a user's access to. Seperate forumids with a comma.";s:10:"optioncode";s:0:"";s:5:"value";s:5:"12,13";}}";}i:18;a:17:{s:8:"actionid";s:2:"18";s:9:"shortname";s:15:"giveforumaccess";s:4:"name";s:17:"Give Forum Access";s:11:"description";s:88:"Bought access to a forum but want a friend to have access as well? Buy them access here!";s:12:"displayorder";s:3:"170";s:4:"cost";s:4:"2500";s:3:"tax";s:1:"9";s:4:"sold";s:1:"0";s:15:"defaultquantity";s:2:"20";s:8:"quantity";s:2:"20";s:13:"allowedgroups";s:7:"6,7,2,5";s:12:"deniedgroups";s:0:"";s:12:"filelocation";s:35:"uttstore/action.giveforumaccess.php";s:13:"imagelocation";s:0:"";s:11:"showinstore";s:1:"1";s:6:"active";s:1:"1";s:4:"asvs";s:286:"a:1:{i:1;a:5:{s:7:"varname";s:13:"allowedforums";s:5:"title";s:15:"Allowed Forums?";s:4:"desc";s:131:"Set this to the forumids that you would like to give members the chance to deny a user's access to. Seperate forumids with a comma.";s:10:"optioncode";s:0:"";s:5:"value";s:5:"12,13";}}";}i:13;a:17:{s:8:"actionid";s:2:"13";s:9:"shortname";s:10:"arcadepass";s:4:"name";s:11:"Arcade Pass";s:11:"description";s:42:"Buy an arcade pass and play in the arcade!";s:12:"displayorder";s:3:"400";s:4:"cost";s:4:"1000";s:3:"tax";s:1:"5";s:4:"sold";s:1:"0";s:15:"defaultquantity";s:2:"20";s:8:"quantity";s:2:"20";s:13:"allowedgroups";s:7:"6,7,2,5";s:12:"deniedgroups";s:0:"";s:12:"filelocation";s:14:"arcadepass.php";s:13:"imagelocation";s:0:"";s:11:"showinstore";s:1:"1";s:6:"active";s:1:"0";s:4:"asvs";s:0:"";}}

Thanks a lot!
Check your file edits again.

EnriqueHavoc
05-11-2004, 05:29 AM
is it me or does it default to saying "No actions found" if youre not logged in?

That seems needlessly vague to me. If you dont want a non-logged in user to see the shop, it should at least say "Please log in"

Zachery
05-11-2004, 05:33 AM
It was a mixup between updating versions i think, i had put it in there and it snuck its way out, it will be there for the next version.

deathemperor
05-12-2004, 03:03 AM
what the ?
all actions disappear and now they'r there !
by the way where's admin donate action ?
and if I want to integrate with petz vb v2, Can I do that ?

xXRobXx
05-12-2004, 02:22 PM
I just installed and it installed ok, but now noone can earn points! I am running 3.0.1, do you know what could be wrong?

U-Dox
05-13-2004, 12:00 AM
For some reason on my new skins i cant get the
"Posts: 22 | Points: (Donate) "

to show... what do i do?

Zachery
05-13-2004, 12:14 AM
I just installed and it installed ok, but now noone can earn points! I am running 3.0.1, do you know what could be wrong?
Update the forums (edit one forum and save it)

Udox same steps for your postbit or postbit_legacy templates for each style

FrOgZ
05-13-2004, 03:54 AM
whens 0.94 coming out?

Zachery
05-13-2004, 05:10 AM
Were shooting on either .95( it sorta is .94 atm) or 1.0 :)

Fluous
05-13-2004, 12:10 PM
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?

Weasel
05-14-2004, 05:51 AM
One of my users found an exploit with the "points per view" action in showthread.

He logged off and opened 10 browser windows and then used some sort of program to refresh each window over and over again.

Over a period of time he managed to guest-view his own thread 90,000 times and got himself tons and tons of points.

The psuedo-solution to this problem would be to add "&& $bbuserinfo[userid] > 0" in the showthread.php conditional, but this would disable points for all guest views and would encourage members to create duplicate registered accounts to exploit this.

A better solution would be to have some sort of time limit, so they can only get so many views per minute or something.

deathemperor
05-14-2004, 09:09 AM
I suggest using the points via viewing thread like the Lesane's Store, e.g: 10$ for 100 views, 100$ for 1000 views and so one. that would reduct the cheating.

Zachery
05-15-2004, 04:19 AM
One of my users found an exploit with the "points per view" action in showthread.

He logged off and opened 10 browser windows and then used some sort of program to refresh each window over and over again.

Over a period of time he managed to guest-view his own thread 90,000 times and got himself tons and tons of points.

The psuedo-solution to this problem would be to add "&& $bbuserinfo[userid] > 0" in the showthread.php conditional, but this would disable points for all guest views and would encourage members to create duplicate registered accounts to exploit this.

A better solution would be to have some sort of time limit, so they can only get so many views per minute or something.
Currently where we use it, we only give .01 or .1 points per view, which would require quite alot of effort for someone to cheat and gain money.

Weasel
05-15-2004, 09:37 AM
There is a bug with the musername stuff. colored usernames do not show up properly in the "Whats Going On?" bar and also the "Who's Online" page because the custom utt database variables are not passed into the fetch_musername function.

Here's the fix:

Open up online.php

FIND:


SELECT user.username

REPLACE WITH:


SELECT user.*

SAVE AND CLOSE

Open up index.php

FIND:


user.username

REPLACE WITH:


user.*

FIND:


if ($userid != $bbuserinfo['userid'])
{
$inforum["$loggedin[inforum]"]++;
}

ADD BELOW:


else
{
$loggedin['uttstore_boldusername'] = $bbuserinfo['uttstore_boldusername'];
$loggedin['uttstore_usernamecolor'] = $bbuserinfo['uttstore_usernamecolor'];
$loggedin['uttstore_italicsusername'] = $bbuserinfo['uttstore_italicsusername'];
$loggedin['usergroupid'] = $bbuserinfo['usergroupid'];
$loggedin['displaygroupid'] = $bbuserinfo['displaygroupid'];
$loggedin['joingroupid'] = $bbuserinfo['joingroupid'];
}


SAVE AND CLOSE
This still does not make glow display on anything except showthread, but that may prove difficult to fix.

Fugler
05-15-2004, 02:57 PM
Hi, I'm getting an error in the ushop.php.. It Looks like this:

Warning: Invalid argument supplied for foreach() in /home/pixelki/public_html/forum/ushop.php on line 144

I did the manual install, anyone know the problem?

Fugler
05-15-2004, 03:08 PM
Looks like it fixed its self, sorry.

ImportPassion
05-15-2004, 08:55 PM
i did a quick search on here, but is there a import from leasne's store?

Lacrosse Boy
05-16-2004, 02:24 AM
Installs hacks and makes it easier to upgrade since all the file edits of hacks installed using it are accessible in the admincp.
Issues here:

Using standalone.
When trying to access any vBulletin page after the files are hacked.
Running 3.0.1

Here is the error message I get:
Parse error: parse error in /home/todaysmu/public_html/tmf/includes/functions.php on line 1871

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

How do I correct this? I'd love to be able to use this hack!

Thanks.

Zachery
05-16-2004, 02:48 AM
Issues here:

Using standalone.
When trying to access any vBulletin page after the files are hacked.
Running 3.0.1

Here is the error message I get:
Parse error: parse error in /home/todaysmu/public_html/tmf/includes/functions.php on line 1871

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

How do I correct this? I'd love to be able to use this hack!

Thanks.
You have miss hacked your files, start again with fresh files and DONT use Dreamweaver.

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

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 ***)


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

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

Replace with:

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

Find:

addslahes($thread['title'])

Replace with:

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?

U-Dox
05-17-2004, 10:39 PM
I Gotta Problem. For Some Reason Tha "Thief" Option Isnt Workin Anymore.

it says "There seems to have been a slight problem with the database"

i dont know what to do. it was workin very well yesterday and my members love it. i didnt make any changes to the site at all to make it not work. What should i do?

Zachery
05-17-2004, 10:40 PM
Right click and view source, we need to view the error message to see whats wrong.

U-Dox
05-18-2004, 01:08 AM
Aight This Is What It Said


<html><head><title>StreetVerbz Database Error</title><style type="text/css"><!--.error { font: 11px tahoma, verdana, arial, sans-serif; }--></style></head>
<body></table></td></tr></table></form>
<blockquote><p class="error">&nbsp;</p><p class="error"><b>There seems to have been a slight problem with the StreetVerbz database.</b><br />
Please try again by pressing the <a href="javascript:window.location=window.location;">refresh</a> button in your browser.</p><p class="error">An E-Mail has been dispatched to our <a href="mailto:dbmaster@example.com">Technical Staff</a>, who you can also contact if the problem persists.</p><p class="error">We apologise for any inconvenience.</p><form><textarea class="error" rows="15" cols="100" wrap="off">Database error in vBulletin 3.0.1:

Invalid SQL: UPDATE user SET uttpoints=uttpoints+5.00, 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

mysql error number: 1064


Can You See The Problem?

Flow Fusion
05-18-2004, 04:27 AM
How do I update the users money in the richest members info? My members are still getting very little money for each post even though I updated every forum?

Zachery
05-18-2004, 04:29 AM
How do I update the users money in the richest members info? My members are still getting very little money for each post even though I updated every forum?
Did you edit the money per posts view thread settings? the forum settings are just multipliers, nothing more.

Flow Fusion
05-18-2004, 02:46 PM
Did you edit the money per posts view thread settings? the forum settings are just multipliers, nothing more.

I did edit that but this is what I get


http://www.giftedsouls.com/gs/ushop.php?do=richestusers

I also want to know about the errors I get when I upload the functions_showthread.php

as well as the showthread.php

I will post them later because I want to figure this out first.

Intex
05-18-2004, 05:18 PM
** BUMP - Any help ? **


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:

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 ***)


// 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?

sabret00the
05-18-2004, 05:21 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:

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 ***)


// 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?do this

// 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);
and tell me if it fixes the problem

Intex
05-18-2004, 05:25 PM
sabret00the - Thx for the reply.

From what I can see you've put the $specialtemplates); on it's own line. Would this really make that much difference? BTW: the line where I said THIS IS LINE 508 was only put in there for posting here. It's not in the template at all.

Flow Fusion
05-18-2004, 06:40 PM
Ok here are the errors I'm getting from the includes/functions.php

Parse error: parse error in /home/giftedso/public_html/gs/includes/functions.php on line 1871

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

And this is the last file I need to upload. This is the mofo that is causeing the points to not move correctly I assume?

sabret00the
05-18-2004, 07:19 PM
sabret00the - Thx for the reply.

From what I can see you've put the $specialtemplates); on it's own line. Would this really make that much difference? BTW: the line where I said THIS IS LINE 508 was only put in there for posting here. It's not in the template at all.
hopefully

sabret00the
05-18-2004, 07:20 PM
Ok here are the errors I'm getting from the includes/functions.php

Parse error: parse error in /home/giftedso/public_html/gs/includes/functions.php on line 1871

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


And this is the last file I need to upload. This is the mofo that is causeing the points to not move correctly I assume?
can you paste your functions.php around line 1870 to 1890

Flow Fusion
05-18-2004, 07:37 PM
$debughtml .= "\n<form name=\"debugger\" action=\"\">\n<div align=\"center\">\n<!--querycount-->Executed <b>$query_count</b> queries<!--/querycount-->" . iif($_TEMPLATEQUERIES, " (<b>" . sizeof($_TEMPLATEQUERIES) . "</b> queries for uncached templates)", '') . " . ";
$debughtml .= " (<a href=\"" . htmlspecialchars_uni(SCRIPTPATH) . iif(strpos(SCRIPTPATH, '?') '?')'?')'?')'?')'?')'?')'?')=== false, '?', '?','?','?','?','?','?','?','&amp;') . "tempusage=1\">Template Usage</a>) (<a href=\"" . htmlspecialchars_uni(SCRIPTPATH) . iif(strpos(SCRIPTPATH, '?') '?')'?')'?')'?')'?')'?')'?')=== false, '?', '?','?','?','?','?','?','?','&amp;') . "explain=1\">Explain</a>)<br />\n";
$debughtml .= "<select>\n\t<option>(Page Generated in $totaltime Seconds)</option>\n$messages</select>\n";
if (is_array($tempusagecache))
{
global $vbcollapse;
$debughtml .= "\n<br /><br />\n<table class=\"tborder\" cellpadding=\"3\" cellspacing=\"1\" align=\"center\" width=\"40%\">\n";
$debughtml .= "<thead><tr align=\"$stylevar[left]\"><td class=\"thead\"><a style=\"float:$stylevar[right]\" href=\"#\" onclick=\"return toggle_collapse('templateusage')\"><img src=\"$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_templateusage].gif\" alt=\"\" border=\"0\" /></a>Template Usage</td></tr></thead><tbody id=\"collapseobj_templateusage\" style=\"$vbcollapse[collapseobj_templateusage]\">\n";
$hiddentemps = '';

ksort($tempusagecache);
foreach ($tempusagecache AS $tempname => $times)
{
$debughtml .= "<tr><td class=\"alt1\" align=\"$stylevar[left]\"><span class=\"smallfont\">" . iif($_TEMPLATEQUERIES["$tempname"], "<font color=\"red\"><b>$tempname</b></font>", $tempname) . " ($times)</span></td></tr>\n";
$hiddentemps .= "'$tempname',\n";

// this is only for vbulletin.com
$countsql .= "\tWHEN '" . addslashes($tempname) . "' THEN usecount + $times\n";
$namesql .= ", '" . addslashes($tempname) . "'";
}

PixelFx
05-18-2004, 07:40 PM
any updates planned soon? :) or version updates with fixes in the last few posts?

Intex
05-18-2004, 08:10 PM
OK, I've solved the problem that I had in post 889. If you look at the code on the page you will see there was a comma missing at the end of the list of items, i.e. 'stylecache', 'utt_store_act', etc.

The code below shows the correction:


// add default special templates
$specialtemplates = array_merge(array(
'options',
'cron',
'forumcache',
'usergroupcache',
'stylecache',
'utt_store_act',
'arcadesettings'
),

sabret00the
05-18-2004, 08:19 PM
$debughtml .= "\n<form name=\"debugger\" action=\"\">\n<div align=\"center\">\n<!--querycount-->Executed <b>$query_count</b> queries<!--/querycount-->" . iif($_TEMPLATEQUERIES, " (<b>" . sizeof($_TEMPLATEQUERIES) . "</b> queries for uncached templates)", '') . " . ";
$debughtml .= " (<a href=\"" . htmlspecialchars_uni(SCRIPTPATH) . iif(strpos(SCRIPTPATH, '?') '?')'?')'?')'?')'?')'?')'?')=== false, '?', '?','?','?','?','?','?','?','&amp;') . "tempusage=1\">Template Usage</a>) (<a href=\"" . htmlspecialchars_uni(SCRIPTPATH) . iif(strpos(SCRIPTPATH, '?') '?')'?')'?')'?')'?')'?')'?')=== false, '?', '?','?','?','?','?','?','?','&amp;') . "explain=1\">Explain</a>)<br />\n";
$debughtml .= "<select>\n\t<option>(Page Generated in $totaltime Seconds)</option>\n$messages</select>\n";
if (is_array($tempusagecache))
{
global $vbcollapse;
$debughtml .= "\n<br /><br />\n<table class=\"tborder\" cellpadding=\"3\" cellspacing=\"1\" align=\"center\" width=\"40%\">\n";
$debughtml .= "<thead><tr align=\"$stylevar[left]\"><td class=\"thead\"><a style=\"float:$stylevar[right]\" href=\"#\" onclick=\"return toggle_collapse('templateusage')\"><img src=\"$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_templateusage].gif\" alt=\"\" border=\"0\" /></a>Template Usage</td></tr></thead><tbody id=\"collapseobj_templateusage\" style=\"$vbcollapse[collapseobj_templateusage]\">\n";
$hiddentemps = '';

ksort($tempusagecache);
foreach ($tempusagecache AS $tempname => $times)
{
$debughtml .= "<tr><td class=\"alt1\" align=\"$stylevar[left]\"><span class=\"smallfont\">" . iif($_TEMPLATEQUERIES["$tempname"], "<font color=\"red\"><b>$tempname</b></font>", $tempname) . " ($times)</span></td></tr>\n";
$hiddentemps .= "'$tempname',\n";

// this is only for vbulletin.com
$countsql .= "\tWHEN '" . addslashes($tempname) . "' THEN usecount + $times\n";
$namesql .= ", '" . addslashes($tempname) . "'";
}
could you encapsoluate that in a php tag please

Intex
05-18-2004, 08:21 PM
Sabret00the - thx. for your input - it pointed me in the right direction :).

Intex
05-18-2004, 08:27 PM
Installed successfully now. Working fine on 3.0.1.

Nice work GeekyDesigns :). /me clicks INSTALL.

Flow Fusion
05-18-2004, 08:29 PM
could you encapsoluate that in a php tag please

Huh?

Intex
05-18-2004, 08:32 PM
Flow Fushion - he means go back to your post where you pasted all that code and put [ PHP ] at the front of it and [ /PHP ] at the end of it. This makes the code more visible.

Make sure you take out the spaces before and after the [ and ] above.

Flow Fusion
05-18-2004, 08:43 PM
$debughtml .= "\n<form name=\"debugger\" action=\"\">\n<div align=\"center\">\n<!--querycount-->Executed <b>$query_count</b> queries<!--/querycount-->" . iif($_TEMPLATEQUERIES, " (<b>" . sizeof($_TEMPLATEQUERIES) . "</b> queries for uncached templates)", '') . " . ";
$debughtml .= " (<a href=\"" . htmlspecialchars_uni(SCRIPTPATH) . iif(strpos(SCRIPTPATH, '?') '?')'?')'?')'?')'?')'?')'?')=== false, '?', '?','?','?','?','?','?','?','&amp;') . "tempusage=1\">Template Usage</a>) (<a href=\"" . htmlspecialchars_uni(SCRIPTPATH) . iif(strpos(SCRIPTPATH, '?') '?')'?')'?')'?')'?')'?')'?')=== false, '?', '?','?','?','?','?','?','?','&amp;') . "explain=1\">Explain</a>)<br />\n";
$debughtml .= "<select>\n\t<option>(Page Generated in $totaltime Seconds)</option>\n$messages</select>\n";
if (is_array($tempusagecache))
{
global $vbcollapse;
$debughtml .= "\n<br /><br />\n<table class=\"tborder\" cellpadding=\"3\" cellspacing=\"1\" align=\"center\" width=\"40%\">\n";
$debughtml .= "<thead><tr align=\"$stylevar[left]\"><td class=\"thead\"><a style=\"float:$stylevar[right]\" href=\"#\" onclick=\"return toggle_collapse('templateusage')\"><img src=\"$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_templateusage].gif\" alt=\"\" border=\"0\" /></a>Template Usage</td></tr></thead><tbody id=\"collapseobj_templateusage\" style=\"$vbcollapse[collapseobj_templateusage]\">\n";
$hiddentemps = '';

ksort($tempusagecache);
foreach ($tempusagecache AS $tempname => $times)
{
$debughtml .= "<tr><td class=\"alt1\" align=\"$stylevar[left]\"><span class=\"smallfont\">" . iif($_TEMPLATEQUERIES["$tempname"], "<font color=\"red\"><b>$tempname</b></font>", $tempname) . " ($times)</span></td></tr>\n";
$hiddentemps .= "'$tempname',\n";

// this is only for vbulletin.com
$countsql .= "\tWHEN '" . addslashes($tempname) . "' THEN usecount + $times\n";
$namesql .= ", '" . addslashes($tempname) . "'";
}

Flow Fusion
05-18-2004, 08:47 PM
Wow that was cool lol

Zachery
05-18-2004, 09:08 PM
Just so everyon knows we are working on .95, and ANY time you get global.php errors you have not hacked somthing properl

Flow Fusion
05-18-2004, 09:57 PM
Ok than I'll mess with this file tonight. When most of my members are sleep.

sabret00the
05-18-2004, 09:59 PM
yup as zack said, basically reapply changes you made to that file one by one, if that don't fix it, you'll have to reinstall

sad to say but link aint here atm and as he's the writer it's hard to just know what should be going wrong and where.

Zachery
05-18-2004, 10:33 PM
yup as zack said, basically reapply changes you made to that file one by one, if that don't fix it, you'll have to reinstall

sad to say but link aint here atm and as he's the writer it's hard to just know what should be going wrong and where.
HEs around, but his school is finishing up this week (i think) and once finals are over we do have plans to resume development. and fix any known bugs

Flow Fusion
05-19-2004, 02:48 AM
I failed....

Parse error: parse error in /home/giftedso/public_html/gs/includes/functions.php on line 1872

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

y2krazy
05-19-2004, 04:50 AM
It's working quite well over on my vB 3.0.1 forums. Just finished the installation! I'll let everyone know if there are any issues/errors as my members begin to use it. Thanks for the hack!

*clicks Install*

-y2k-

U-Dox
05-19-2004, 02:21 PM
Aight This Is What It Said


<html><head><title>StreetVerbz Database Error</title><style type="text/css"><!--.error { font: 11px tahoma, verdana, arial, sans-serif; }--></style></head>
<body></table></td></tr></table></form>
<blockquote><p class="error">&nbsp;</p><p class="error"><b>There seems to have been a slight problem with the StreetVerbz database.</b><br />
Please try again by pressing the <a href="javascript:window.location=window.location;">refresh</a> button in your browser.</p><p class="error">An E-Mail has been dispatched to our <a href="mailto:dbmaster@example.com">Technical Staff</a>, who you can also contact if the problem persists.</p><p class="error">We apologise for any inconvenience.</p><form><textarea class="error" rows="15" cols="100" wrap="off">Database error in vBulletin 3.0.1:

Invalid SQL: UPDATE user SET uttpoints=uttpoints+5.00, 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

mysql error number: 1064


Can You See The Problem?


Can Someone Help Please

proxyMX
05-19-2004, 03:33 PM
Can Someone Help Please
can someone help, im having an error saying No Actions found whenever i go anywhere on the shop yet the actions are enabled

proxyMX
05-19-2004, 04:25 PM
can someone help, im having an error saying No Actions found whenever i go anywhere on the shop yet the actions are enabled
vERSION: 3.0.0
Error: No Actions Found
On Page: All Ushop pages
Standalone install

Flow Fusion
05-19-2004, 09:11 PM
vERSION: 3.0.0
Error: No Actions Found
On Page: All Ushop pages
Standalone install

You need to fix your global.php

Zachery
05-19-2004, 09:14 PM
vERSION: 3.0.0
Error: No Actions Found
On Page: All Ushop pages
Standalone install
You probaly havent done all your file edits

proxyMX
05-19-2004, 09:35 PM
You probaly havent done all your file edits
I have though.

proxyMX
05-19-2004, 09:36 PM
I have though.
so what do i need to look for to fix this solution, saying GLOBAL.PHP or youve missed a file edit isnt exaclty the most helpful thing when trying to fix a problem on a system as large as this one

sabret00the
05-19-2004, 09:40 PM
Can Someone Help Please
should read
UPDATE user SET uttpoints=uttpoints+5.00, reputation=reputation-XX WHERE userid='1' XX should be a number

sabret00the
05-19-2004, 09:41 PM
so what do i need to look for to fix this solution, saying GLOBAL.PHP or youve missed a file edit isnt exaclty the most helpful thing when trying to fix a problem on a system as large as this one
apologies, however without knowing where you didn't edit it's hard to tell based on the global.php as all files use it, you'll sadly have to go through your edits one by one and make sure they're all done.

sabret00the
05-19-2004, 09:43 PM
I failed....

Parse error: parse error in /home/giftedso/public_html/gs/includes/functions.php on line 1872

Fatal error: Call to undefined function: is_browser() in /home/giftedso/public_html/gs/global.php on line 59
i would suggest reapplying all changes to funtions.php

also what page url caused that problem?

Flow Fusion
05-19-2004, 10:25 PM
i would suggest reapplying all changes to funtions.php

also what page url caused that problem?

The entire board shuts down when this happens. Also what does this file do? Do I need to edit it? Because none of the board features work as far as getting a custom color, bold, glow, italic? All this seems to do is make it so members have a bank lol. But nothing to use the money for.

sabret00the
05-19-2004, 10:26 PM
The entire board shuts down when this happens. Also what does this file do? Do I need to edit it? Because none of the board features work as far as getting a custom color, bold, glow, italic? All this seems to do is make it so members have a bank lol. But nothing to use the money for.
your board is dependant on that file. it's as important as global.php

proxyMX
05-19-2004, 10:39 PM
i would suggest reapplying all changes to funtions.php

also what page url caused that problem?
ive looked through the full thing, i had this chunk of code

// ######################## USHOP ####################################
// Unserialize uShop Actions.
$storeactions = unserialize($datastore['utt_store_act']);

// Make a list of the all the actions...
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";
}
}
$denied = explode(",", $theaction['deniedgroups']);
foreach ($denied as $deny) {
if (is_member_of(array('userid'=>$bbuserinfo['userid'], 'usergroupid'=>$bbuserinfo['usergroupid'], 'membergroupids'=>$bbuserinfo['membergroupids']), $deny)) {
unset($canenter);
}
}
if (!isset($canenter)) {
$canenter = "0";
}
if (THIS_SCRIPT == 'ushop') {
if ($canenter == 1) {
$action1[$actionid] = $theaction;
}
if ($theaction['showinstore'] == 1) {
(isset($actioncount) ? $actioncount++ : $actioncount = "1");
}
}
if ($canenter == 1 && $theaction['showinstore'] == 1) {
eval('$ushop_navbar .= "' . fetch_template('navbar_uttstore_actions') . '";');
}
}
}
// The end all solution.
unset($theaction);
unset($storeactions);
if (THIS_SCRIPT == 'ushop') {
$storeactions = $action1;
}
unset($action1);


in the wrong place, ive ammended that and now all is well!

Thanks

proxyMX
05-20-2004, 03:12 AM
ive looked through the full thing, i had this chunk of code

// ######################## USHOP ####################################
// Unserialize uShop Actions.
$storeactions = unserialize($datastore['utt_store_act']);

// Make a list of the all the actions...
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";
}
}
$denied = explode(",", $theaction['deniedgroups']);
foreach ($denied as $deny) {
if (is_member_of(array('userid'=>$bbuserinfo['userid'], 'usergroupid'=>$bbuserinfo['usergroupid'], 'membergroupids'=>$bbuserinfo['membergroupids']), $deny)) {
unset($canenter);
}
}
if (!isset($canenter)) {
$canenter = "0";
}
if (THIS_SCRIPT == 'ushop') {
if ($canenter == 1) {
$action1[$actionid] = $theaction;
}
if ($theaction['showinstore'] == 1) {
(isset($actioncount) ? $actioncount++ : $actioncount = "1");
}
}
if ($canenter == 1 && $theaction['showinstore'] == 1) {
eval('$ushop_navbar .= "' . fetch_template('navbar_uttstore_actions') . '";');
}
}
}
// The end all solution.
unset($theaction);
unset($storeactions);
if (THIS_SCRIPT == 'ushop') {
$storeactions = $action1;
}
unset($action1);


in the wrong place, ive ammended that and now all is well!

Thanks
Question: How do i change the word "Points" on all of the documents into "Dollars" or whatever?

Zachery
05-20-2004, 03:39 AM
Question: How do i change the word "Points" on all of the documents into "Dollars" or whatever?
By editing the templates.

Keta
05-20-2004, 04:48 AM
there is no buy a avatar action?

sabret00the
05-20-2004, 09:00 AM
nope, it's the hope that this action is released for 0.99 or 1.0

xHollywoodx
05-21-2004, 01:17 PM
Ok, im getting errors, and it wont let me login to admin =[, when i try to login to admin i get this errors

Unable to add cookies, header already sent.
File: /home/cosclan/public_html/forums/global.php
Line: 649

And at the top of my site i get this error too

Warning: Invalid argument supplied for foreach() in /home/cosclan/public_html/forums/global.php on line 649

when i go to line 649, i have this there

foreach ($storeactions as $actionid => $theaction) {

???

Someone please help!!! i would really like to have this on my site, but i cant get it to work =[

xHollywoodx
05-21-2004, 02:11 PM
Hello? Can some one please help me, i hate having erros on my site ??

xHollywoodx
05-21-2004, 04:20 PM
Me and my friend fixed it.

Zachery
05-21-2004, 06:06 PM
Me and my friend fixed it.
Sorry, im not avaible to do support 24/7 for this hack, you should wait at least 12-24 hours befor bumping a post, however im glad to see you fixed it

xHollywoodx
05-21-2004, 06:41 PM
hehe, sorry i paniced cause my site got messed up, hehe, ok now i am having this prob, peeps post, they dont get any money??? i dont know why??? Is there something wrong? Look?

http://www.teamsik.net/forums/showthread.php?t=309

Its not working =[

Battle_Ring
05-21-2004, 09:42 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.php?do=a&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

moonclamp
05-22-2004, 12:30 AM
I failed....

Parse error: parse error in /home/giftedso/public_html/gs/includes/functions.php on line 1872

Fatal error: Call to undefined function: is_browser() in /home/giftedso/public_html/gs/global.php on line 59Similar error here

And I have done everything instructed ... twice now ...

Parse error: parse error in /domains/virtualstrangers-com/virtualstrangers/www_root/includes/functions.php on line 1871

Fatal error: Call to undefined function: exec_nocache_headers() in /domains/virtualstrangers-com/virtualstrangers/www_root/admincp/global.php on line 37

this is when I try to execute the install.

moonclamp
05-22-2004, 01:42 AM
OK I took everything off and ran the install script first, that went fine so I re-edited (for a third time) and now I am getting the same errors

Can this clash with vbadvanced portal as that is the only other mod I have at the moment?

Or could it be because I am using 3.01?

Error on homepage is:


Parse error: parse error in /domains/virtualstrangers-com/virtualstrangers/www_root/includes/functions.php on line 1878

Fatal error: Call to undefined function: is_browser() in /domains/virtualstrangers-com/virtualstrangers/www_root/global.php on line 91

Zachery
05-22-2004, 02:53 AM
OK I took everything off and ran the install script first, that went fine so I re-edited (for a third time) and now I am getting the same errors

Can this clash with vbadvanced portal as that is the only other mod I have at the moment?

Or could it be because I am using 3.01?

Error on homepage is:


Parse error: parse error in /domains/virtualstrangers-com/virtualstrangers/www_root/includes/functions.php on line 1878

Fatal error: Call to undefined function: is_browser() in /domains/virtualstrangers-com/virtualstrangers/www_root/global.php on line 91
You didnt edit the files correctly.

moonclamp
05-22-2004, 03:03 AM
You didnt edit the files correctly.
I've re-edited everything 3 times, I will do it again though just to make extra sure, It's late here though so i will do it after I have slept some in case I'm missing the obvious

moonclamp
05-22-2004, 04:01 AM
IT WAS DREAMWEAVER!!!

I was doing it right but for some reason dreamweaver doesn't like to be used for the global or functions files. textpad was no better and in the end I did it in notepad.

I need a new text editor :(

moonclamp
05-22-2004, 04:38 AM
When not logged in, we are supposed to get "No action found" for all action related to Shop/Bank right?Can this be changed to the default log in screen instead ... or simply make the button invisible?

Oh and clicked *install*

dkny
05-22-2004, 04:45 AM
I cant get the images to work, is this fuctyion working for others? I enabled the images in the control panel.

Skyline_GT
05-22-2004, 06:06 AM
is it possibble to make a points per click on the sponsor?

badblu01
05-22-2004, 08:00 AM
Hello I have installed Ushop everything went fine i think
My main problem is when i go to Action or the Bank i get the following VB message
No actions found...

Is it a setting or am I stupid

GeekyDesigns
05-22-2004, 08:08 AM
Hello I have installed Ushop everything went fine i think
My main problem is when i go to Action or the Bank i get the following VB message
No actions found...

Is it a setting or am I stupid
Youve missed an edit somewhere, or miss hacked a file, start with a fresh one and try again please.

GeekyDesigns
05-22-2004, 08:09 AM
I cant get the images to work, is this fuctyion working for others? I enabled the images in the control panel.
The conditional to show the image was removed at the last moment to finish off the templtaes, it will be back in the next version

Flow Fusion
05-22-2004, 08:29 AM
Ok in the functions.php

I get this error

Parse error: parse error in /home/giftedso/public_html/gs/includes/functions.php on line 1871

Zachery
05-22-2004, 08:33 AM
Ok in the functions.php

I get this error

Parse error: parse error in /home/giftedso/public_html/gs/includes/functions.php on line 1871
If your editing the files with anything more advanced than wordpad, stop and start with a fresh copy and try again.

dkny
05-22-2004, 08:43 AM
The conditional to show the image was removed at the last moment to finish off the templtaes, it will be back in the next version

ohh I see, any ETA on the next version?

Zachery
05-22-2004, 08:47 AM
Hopefully soon? ^^ matt just got onto break, so ima bust his ass till he starts working ;D

Skyline_GT
05-22-2004, 08:53 AM
anyone can answer my questions/suggestions?
like you earn point by visting sponsors.

Zachery
05-22-2004, 09:00 AM
anyone can answer my questions/suggestions?
like you earn point by visting sponsors.
Its possible of course, anything is, if were talking about clicking on google ad's that can get you removed from Ad sense fyi ;)

badblu01
05-22-2004, 10:26 AM
Hello i have it working

How do you get images to show up?

and the number of points i have is not showing up in the post screen I am not sure if its meant to show up of not.

I guess the Ushop can only get better over tme

Flow Fusion
05-22-2004, 10:57 AM
OK I GOT it but this file is not Mac friendly.

xHollywoodx
05-22-2004, 11:12 AM
hehe, sorry i paniced cause my site got messed up, hehe, ok now i am having this prob, peeps post, they dont get any money??? i dont know why??? Is there something wrong? Look?

http://www.teamsik.net/forums/showthread.php?t=309

Its not working =[


^^^

Still need help =[

Flow Fusion
05-22-2004, 12:37 PM
This is caused by 3 files. includes folder edits and the showthread.php, and also the includes/functions.showthread. Did you edit these files at all?

xHollywoodx
05-22-2004, 01:15 PM
yes i did

moonclamp
05-22-2004, 01:44 PM
Finally ... after a whole night with no sleep. I have it working ~ so today I am happy

- all I need to do is work out how to get a log in screen instead of "no actions" message for non logged in users on the drop down menu.

EDIT: Just noticed that on the vbadvanced main page the drop down isn't showing the full menu either and stops at 'Actions'

moonclamp
05-22-2004, 02:18 PM
OK I've just noticed this in "who is online"

Instead of showing where the person is in plain English it displays the full path

Battle_Ring
05-22-2004, 02:26 PM
what about my problem???

filth
05-22-2004, 03:01 PM
OK I've just noticed this in "who is online"

Instead of showing where the person is in plain English it displays the full path

i beleive the following fixes that problem

https://vborg.vbsupport.ru/showpost.php?p=499545&postcount=131

moonclamp
05-22-2004, 03:27 PM
i beleive the following fixes that problem

https://vborg.vbsupport.ru/showpost.php?p=499545&postcount=131 (https://vborg.vbsupport.ru/showpost.php?p=499545&postcount=131[/QUOTE) Indeed it does. Thank you... needed to change an apostrophe as my website name ends in an 's' but that was no big deal

WEForums
05-22-2004, 04:06 PM
Has anyone had any problems with the thief function? When I installed the hack it worked perfectly and no one had any issues. Then, all of the sudden, it started getting a database error (only the thief function). Strangely, when uploading the file again (the action.thief.php one or whatever it is called), the thief function worked one time. zNow I get the database errors all over again.

The question is what could be causing this problem? I'm positive that it's not a hack since I haven't installed any...it just seems weird.

Weasel
05-22-2004, 07:32 PM
I've found a serious bug in the bank action. When you deposit less than .01 (.009 for example) it resets your bank ammount to zero! (N; in the database).

I'm not sure how to fix this but for now I just added this to the bank sanity check:


if ($amount < ".01") {
$message = "You must deposit at least .01 points!";
uttstore_print_end_message($message);
}

U-Dox
05-22-2004, 09:46 PM
for some reason EVERYTHING is out of stock...

and yes i did fix it so that everything is unlimited. im having a real problem because people cant buy anything at all. the only thing that works is the bank

Zachery
05-22-2004, 10:04 PM
for some reason EVERYTHING is out of stock...

and yes i did fix it so that everything is unlimited. im having a real problem because people cant buy anything at all. the only thing that works is the bank
Its not out of stock, they just dont have enough money, it was a template conditional i forgot to add another clause too

Just find the words out of stock and remove them

moonclamp
05-22-2004, 11:08 PM
Is there a way for users to see who has donated them points, changed their titles or stolen from them?

Skyline_GT
05-22-2004, 11:08 PM
Its possible of course, anything is, if were talking about clicking on google ad's that can get you removed from Ad sense fyi ;)
ya.. I know that.
but I still hope someone can make this.

U-Dox
05-23-2004, 01:08 PM
for some reason it is telling me this at tha very top

"Warning: Invalid argument supplied for foreach() in /home/street/public_html/streets/ushop.php on line 144"

please help

Zachery
05-23-2004, 01:17 PM
for some reason it is telling me this at tha very top

"Warning: Invalid argument supplied for foreach() in /home/street/public_html/streets/ushop.php on line 144"

please help
You are still missing an edit ><

Battle_Ring
05-23-2004, 02:54 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

U-Dox
05-23-2004, 03:53 PM
You are still missing an edit ><


I Dont Understand what u mean

Zachery
05-23-2004, 04:21 PM
I Dont Understand what u mean
You are either 1 still missing a file edit, somthing was dont correctly or write, or you havent run the installer.

U-Dox
05-23-2004, 05:53 PM
Ok I Checked Everythis And I There Seems To Be No Problem.

Zachery
05-23-2004, 05:54 PM
Ok I Checked Everythis And I There Seems To Be No Problem.
If everything was 100% you wouldnt be getting any errors.

Battle_Ring
05-23-2004, 06:51 PM
can anyone help me with my problem please

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: Edited out



only 1 user has complained about this i tried and acessed the bank fine

U-Dox
05-24-2004, 05:16 AM
ok i got that Warning thing off... now when i click the link for shop, it sayz "No actions found..."

what is the problem now?

WEForums
05-24-2004, 06:08 AM
You *may* need to edit what usergroups can access it. I know that's one cause of that error.

Battle_Ring, you should remove that IP Address.

smashtheqube
05-24-2004, 02:14 PM
I'm running VB 3.0.1 (I did a manual install of this, not the HTL thing) and I'm also getting the "No actions found..." message. People can earn points... but anything having to do with the ushop.php file returns that error.

(and yes, I've double checked... all of the edits are done and nothing is erroring out)

The uShop file is tripping on both places in which it is possible for the "No actions found..." response to be given. (one having to do with the $storeactions variable being empty or unset, and the other being no access to any of the available actions... when it is set up properly anyway)

can someone help? :(

Battle_Ring
05-24-2004, 02:16 PM
no one knwos whats causing my problem???

U-Dox
05-24-2004, 05:01 PM
You *may* need to edit what usergroups can access it. I know that's one cause of that error.

Battle_Ring, you should remove that IP Address.


Nope I Did That And Thats Not The Problem


Any Other Suggestion?

smashtheqube
05-24-2004, 05:29 PM
$storeactions = unserialize($datastore['utt_store_act']);

this same line is in both ushop.php and uttstoreadmin.php... yet in ushop it doesn't return any actions... giving this "no actions found..." error. how can we fix this?

Zachery
05-24-2004, 05:40 PM
$storeactions = unserialize($datastore['utt_store_act']);

this same line is in both ushop.php and uttstoreadmin.php... yet in ushop it doesn't return any actions... giving this "no actions found..." error. how can we fix this?
Did you run the installer? if so which one

smashtheqube
05-24-2004, 05:44 PM
Did you run the installer? if so which one

the one in the admincp folder

Zachery
05-24-2004, 05:47 PM
If you are 1010% correct youve done every edit correctly and ran the installer and recived no errors please pm me with an admin account and ftp access and ill take a look into it

smashtheqube
05-24-2004, 05:54 PM
okay I'll set it up for you right now

Battle_Ring
05-24-2004, 06:04 PM
can anyone help me with my problem please

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: Edited out

Zachery
05-24-2004, 06:34 PM
okay I'll set it up for you right now
Your fiel edits were not correct

smashtheqube
05-24-2004, 06:58 PM
Your fiel edits were not correct

really? sorry... what'd I miss?

Zachery
05-24-2004, 07:00 PM
Your global.php edit was not where it was sposed to be, it was near the top of the file, when it needs to be put at almost the end

Battle_Ring
05-24-2004, 07:14 PM
ok can i get some help on my problem now please

Zachery
05-24-2004, 07:25 PM
Battle if i knew the anwser surely i would have told you wouldnt i ? a select few people have been having a problem like yours, and i am not quiet sure how to fix it at this time, hwoever we are looking into fixing it asap

PixelFx
05-24-2004, 07:31 PM
any update information on version 95, would be cool, also will there be support for avatars? anyway, no rush just curious how things progressing :)

Battle_Ring
05-24-2004, 08:50 PM
Thanks Zack thats all i wanted