View Full Version : uCash 1.1.1
Enthonia Tech
11-30-2005, 12:05 PM
upcoming ushop :S
upcoming ushop :S
And just to make the postbit/legacy look more kinder to the eye :).
Sculli
12-03-2005, 09:56 AM
Is there anything similar to uCash/uShop out there?
I don't mind a premium product as long as it works. Just need some way to reward my users, preferably by allowing them to buy real-life goods with their accumulated points. I am running 3.5.1.
djjeffa
12-04-2005, 05:27 PM
i had ucahs befor the upgrade to 3.5 so is there anything I have to do befor installing it to 3.5 because i still see some of the stuff from the old ucash.
Alviker
12-04-2005, 08:19 PM
Hello ^^ I have two questions. Where I can download the uShop? I only have uCash :(
And the second... How I can install de Points Donations? In my uCash, only there are points... But people can't donate points :(
Sorry for my bad english ^^U Thanks you. Bye ^^
Atte. Alviker
Red Blaze
12-05-2005, 01:48 AM
uShop, supposably, is in progress. The donation feature can only be done through the uShop. So now you gotta do what the rest of us are doing. Wait.
Alviker
12-05-2005, 11:35 AM
I don't understand you very well, sorry ^^U. But... I must wait for de Petz version for vBulletin 3.5.1, ¿true? ^^ Very thanks! ^^
Atte. Alviker
dotcommakers
12-06-2005, 04:59 AM
hello i am using this mode for 3.5.1 but it everytime give double point.. than what i have set in admin... why so?
I wish I could uncheck the box that says this hack is supported. Link14716 hates us all now and is unlikely to support this hack.
Sculli
12-09-2005, 03:09 AM
Would you guys recommend installation of this now, considering that it is unclear when uShop will be released. I mean, I would like to avoid that at uShop release a couple hundred people have enough points to buy all kinds of stuff. At the same time, I wouldn't mind giving users something to look forward to. Decisions ..., descisions ...
Would you guys recommend installation of this now, considering that it is unclear when uShop will be released. I mean, I would like to avoid that at uShop release a couple hundred people have enough points to buy all kinds of stuff. At the same time, I wouldn't mind giving users something to look forward to. Decisions ..., descisions ...
Read the thread. There are plenty of bugs. FWIW, I uninstalled it and my recommendation is not to install it.
Sculli
12-10-2005, 06:27 PM
Hmm ..., there is really no alternative, is there?
rob30UK
12-15-2005, 10:03 PM
Why is this thread still alive? If anyone has actually read the thread, they would know that UShop will NEVER be released.... the author has publically said so.... he has abandoned the project... it's dead.... it has ceased to be... it is an ex plugin!
Xplorer4x4
12-15-2005, 10:40 PM
Actually if you had read the thread and then followed the link to the other thread you would know that uCash and uShop is still under development by Zachery, and some other people have offered to contibute to helpping with the project.
https://vborg.vbsupport.ru/showthread.php?p=800225#post800225
There is one thread nad lastr time i checked there was a thread in the ucash and ushop forum here at vb.org.
Xplorer4x4
12-15-2005, 10:58 PM
Oh and maybe you should read the stick thread by Chris M in the 3.5 Request forum before you come in there throwing a fit:
https://vborg.vbsupport.ru/showthread.php?t=101929
PixelFx
12-16-2005, 01:44 AM
Oh and maybe you should read the stick thread by Chris M in the 3.5 Request forum before you come in there throwing a fit:
https://vborg.vbsupport.ru/showthread.php?t=101929
its very much alive .. as Xplorer4x4 has stated.
proxx
12-16-2005, 04:36 AM
looking forward to ushop, so do thousands of other webmasters.
Mudvayne
12-16-2005, 06:20 AM
duh!! just read 267 posts :S & guess what? thr is no support from coder..
Is it bug free? The intruction says its works with vb 3.5.0 rcx.. Is it work with vb 3.5.2?
Smiry Kin's
12-17-2005, 05:30 PM
Hey, does this work on 3.5.2???
Cheers
Xplorer4x4
12-18-2005, 11:16 AM
duh!! just read 267 posts :S & guess what? thr is no support from coder..
Is it bug free? The intruction says its works with vb 3.5.0 rcx.. Is it work with vb 3.5.2?
Duh!! Use the thread search. :rolleyes: Searching will always provide you with alot faster answer then waiting on questions that have been answered numerous times that most people proabbly just ignore due to that fact.
There are a few bugs...search, secondly, yes it works in 3.5.2.
JeffreySmith
12-21-2005, 05:51 PM
I just installed ucash and totally f'd up my forum. I tried getting support at vB but Steve said he cant help with modified forums.
After I uploaded this is what I got at my forum:
Warning: opendir(): open_basedir restriction in effect. File(/home/username/public_html/images/) is not within the allowed path(s): (/home/jeffsmit/:/usr/lib/php:/usr/local/lib/php:/tmp) in /global.php(358) : eval()'d code on line 41
Warning: opendir(/home/username/public_html/images/): failed to open dir: Operation not permitted in /global.php(358) : eval()'d code on line 41
Warning: readdir(): supplied argument is not a valid Directory resource in /global.php(358) : eval()'d code on line 44
Warning: closedir(): supplied argument is not a valid Directory resource in /global.php(358) : eval()'d code on line 52
Warning: Unknown(/home/jeffsmit/public_html/forum/includes/functions_ucs_shared.php): failed to open stream: No such file or directory in /global.php(358) : eval()'d code on line 60
Fatal error: (null)(): Failed opening required '/home/jeffsmit/public_html/forum/includes/functions_ucs_shared.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/jeffsmit/public_html/forum/global.php(358) : eval()'d code on line 60
What Steve could tell me is:
To troubleshoot this, remove any hacks and disable your plugins, then see if you still have this problem.
If so, reupload all the original vB non-image files (except install.php). Make sure you upload these in ASCII format and overwrite the ones on the server.
Next, create a new style and choose no parent style. This will force it to use the default templates. Finally empty your browser cache, close all browser windows then try again. Make sure you change to the new style and view your forums with it.
And then I asked:
Would it be okay if I didnt remove all (too many to count) hacks and take this opportunity to upgrade to the new 3.5.2 as long as I back up my database? Would doing this overwrite the hacks for me? I dont care about loosing them, just trying to avoid having to retrace my steps for the past two months.
Do you guys have any idea what I did wrong or how on earth how to fix this?
If you disable all plugins in vB options, does the problem still exist?
JeffreySmith
12-21-2005, 06:28 PM
If you disable all plugins in vB options, does the problem still exist?
I just realized that I cant log into my admin cp. This happend last night and my net shut down the page I left open. whats the link to get into admincp isnt it yoursite.com/fourm/admincp.php? well, this just took a turn down a road I hoped never to venture.
JeffreySmith
12-21-2005, 06:45 PM
Yup, its not letting me on....SERENITY NOW!, SERENTITY NOW!!!
lairnoc
12-21-2005, 07:08 PM
ok just a question i installed this hack and cana djust the settings in adminp, but how can i see how much cash i have? i don't understand it at this time(call me a noob cause i am)
Can anyone explain it to me plz (if anyone can in dutch it would be super)
thnx in advance
JeffreySmith
12-21-2005, 07:12 PM
belive me brother you dont want my help. not to change the subject, but couldnt I just update to 3.5.2 and start from scratch? then import my database back ups?
Saskia
12-22-2005, 01:30 PM
lairnoc, er moet een apart menu verschijnen onder "vBulletin options" waarin je de uCash settings en manager vindt. Hierin kun je eigenlijk de algemene opties van uCash aanpassen en geld geven aan users, maar dat kan ook gewoon via users en dan staat het er als een profielvakje en dan kun je het handmatig aanpassen. Uiteindelijk kun je de hoeveelheid geld zien op het algemene profiel van de user op je board.
Ik hoop dat deze uitleg je genoeg heeft geholpen. :)
---------------
Installed and working so far by the way. Thanks!
moonclamp
12-22-2005, 02:40 PM
lairnoc, er moet een apart menu verschijnen onder "vBulletin options" waarin je de uCash settings en manager vindt. Hierin kun je eigenlijk de algemene opties van uCash aanpassen en geld geven aan users, maar dat kan ook gewoon via users en dan staat het er als een profielvakje en dan kun je het handmatig aanpassen. Uiteindelijk kun je de hoeveelheid geld zien op het algemene profiel van de user op je board.
Ik hoop dat deze uitleg je genoeg heeft geholpen. :)
That's easy for you to say
Saskia
12-22-2005, 07:58 PM
That's easy for you to say
Hmm, it was the plan, yes. ;)
lairnoc
12-24-2005, 06:37 PM
lairnoc, er moet een apart menu verschijnen onder "vBulletin options" waarin je de uCash settings en manager vindt. Hierin kun je eigenlijk de algemene opties van uCash aanpassen en geld geven aan users, maar dat kan ook gewoon via users en dan staat het er als een profielvakje en dan kun je het handmatig aanpassen. Uiteindelijk kun je de hoeveelheid geld zien op het algemene profiel van de user op je board.
Ik hoop dat deze uitleg je genoeg heeft geholpen. :)
---------------
Installed and working so far by the way. Thanks!
THNX SASKIA.
Zal eens ff kijken zometeen
sorry in english
Thnx saskia
I will take a loot in a sec
The answer is probably smacking me in the face but i can't find it.
How and where do i set the amount for the paychecks :ermm: or if i can't set this what is the amount that is set by default.
Thx
RockForums
12-29-2005, 03:23 PM
Excellent.
Seems to work for me :)
Lionsault
12-30-2005, 04:39 AM
There isn't a way to donate money to others, is there?
i want uShop, too!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Snake
01-01-2006, 06:05 PM
Well me either. I'm hardly waiting. :D
vietkieu_cz
01-01-2006, 07:49 PM
There isn't a way to donate money to others, is there?
No, there is not, it needs Ushop to Doante Money to Other :D
X-Files
01-03-2006, 02:32 PM
I have an interesting question.
Upgraded to vB 3.5.2
Upgrded uCash to 1.1.1
The points are displaying in the user profile correctly. If I try and use this $userinfo[points] method to display the points in the navbar it does not take but if I use $userinfo[ucash] it displays but with the decimal points. Any ideas on how to display the points for a user in the navbar without the decimal points.
example:
Welcome, X-Files. You have 16617.99 chips!
You last visited: Today at 10:11 AM
Private Messages: Unread 0, Total 258.
<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong> You have $userinfo[ucash] chips!<br />
X-Files
01-03-2006, 02:41 PM
I have an interesting question.
Upgraded to vB 3.5.2
Upgrded uCash to 1.1.1
The points are displaying in the user profile correctly. If I try and use this $userinfo[points] method to display the points in the navbar it does not take but if I use $userinfo[ucash] it displays but with the decimal points. Any ideas on how to display the points for a user in the navbar without the decimal points.
example:
Welcome, X-Files. You have 16617.99 chips!
You last visited: Today at 10:11 AM
Private Messages: Unread 0, Total 258.
<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong> You have $userinfo[ucash] chips!<br />I figured it out.
kenni
01-05-2006, 06:31 PM
Does this work with vb 3.5.2 ?
Does it work and should you install it will give you two different answers...
Snake
01-05-2006, 06:43 PM
Yes.
maroulis
01-08-2006, 10:59 PM
it appears that DNforum has upgraded to 3.5.3 and even coded themselves the uShop to work...
I'm willing to pay to have this implemented, so frop me a PM with offers....
Alviker
01-09-2006, 12:50 PM
But... For what is the uCash hack if we don't have the uShop hack??? :( :( Help please. Where I can get the uShop hack? :( Sorry for my bad english :(. Bye and thanks.
Atte. Alviker
JsnakeJ
01-09-2006, 01:09 PM
<a href="https://vborg.vbsupport.ru/showthread.php?t=101352" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=101352</a>
Annie^.^
01-09-2006, 02:31 PM
what works with uCash, because otherwise it is useless to me.
JsnakeJ
01-09-2006, 06:44 PM
Only vBookie at this time, but the store will be out soon so you might aswell install it just to let your members start gaining points.
Annie^.^
01-09-2006, 06:46 PM
thank you
animate
01-11-2006, 10:17 AM
can i say only give points in forumid 1,4,7,20 ?
i would like to give users points if they post in News section or Review section but how can i define?
BrandiDup
01-11-2006, 06:08 PM
I installed this (uCash) on 3.5.3 and everything seems to be working just fine. As of yet, no errors or bugs that I have seen.
Very anxiously and patiently waiting for uShop!
can anybody create a ushop ?
JsnakeJ
01-12-2006, 12:06 AM
Read the thread in the uShop Premium forum, thanks.
QueenBee
01-14-2006, 08:30 PM
ok i just uploaded it, do i need to update it to that one u give in the replys??
incurable
01-17-2006, 10:42 AM
Anyone here can help me to install ucash ??? i'll really appreciate that cos it doesnt work to me ... :(
evenmonkeys
01-17-2006, 04:23 PM
can anybody create a ushop ?
It's in the works.
Snake
01-17-2006, 04:24 PM
We know that already. :p
QueenBee
01-17-2006, 10:11 PM
can someone help me with this. when i go to the url it says in the installation it says:
Warning: opendir(./his_files/): failed to open dir: No such file or directory in /home/queenie/public_html/forums/install/hack_install.php on line 46
Warning: readdir(): supplied argument is not a valid Directory resource in /home/queenie/public_html/forums/install/hack_install.php on line 47
Warning: natsort(): The argument should be an array in /home/queenie/public_html/forums/install/hack_install.php on line 52
Warning: Invalid argument supplied for foreach() in /home/queenie/public_html/forums/install/hack_install.php on line 53
Warning: main(./his_files/): failed to open stream: No such file or directory in /home/queenie/public_html/forums/install/hack_install.php on line 59
Fatal error: main(): Failed opening required './his_files/' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/queenie/public_html/forums/install/hack_install.php on line 59
somebody pleeeeeeeeease
Guest210212002
01-17-2006, 10:23 PM
At a glance QB, it looks like you didn't upload hack_install.php.
QueenBee
01-17-2006, 10:27 PM
At a glance QB, it looks like you didn't upload hack_install.php.
thanks for the response, does it go in the "install" folder?? if so, then its there.
jarcher
01-17-2006, 11:03 PM
thanks for the response, does it go in the "install" folder?? if so, then its there.
you alson need to put the files in the right location in your server
QueenBee
01-17-2006, 11:07 PM
ok i put all the ones in the install file in my install folder, all the ones in the admin cp file in my admin cp folder, did i do it right??
ugh!!!! i hate doing these things cause i cant un do them and start over ive edited the files in admin cp like it said.
have i done it right so far??
QueenBee
01-18-2006, 12:30 AM
anyone please?? cmon. ideas. please
QueenBee
01-18-2006, 02:20 AM
ok now i cant make some forums! please someone help me uninstall it.
It's in the works.
when it will be released?
TyleR
01-18-2006, 06:57 PM
When it's done.
incurable
01-19-2006, 03:46 AM
I just cant wait to see it !!!!
Montana
01-22-2006, 01:08 AM
I am having trouble with an error. Anyone help me on it?
Database error in vBulletin 3.5.2:
Invalid SQL:
SELECT money FROM itemshop_user where rid='128';
MySQL Error : Table 'ffactory_vb.itemshop_user' doesn't exist
Error Number : 1146
Date : Saturday, January 21st 2006 @ 09:05:42 PM
Script : http://www.mysite.com/forum/itemshop.php?do=ViewMember&id=32
Referrer : http://www.mysite.com/forum/showthread.php?t=25218
IP Address : 69.xx
Username : xxx
Classname : vb_database
TyleR
01-22-2006, 02:06 AM
I am having trouble with an error. Anyone help me on it?
This is not a uCash problem.
uCash does not support 3rd party addons such as the "Ultra Itemshop".
Please seek support in their release thread.
X-Files
01-24-2006, 10:37 AM
Heads up for anyone using this: if someone previews their post/thread instead of posting, they'll get the points. So someone could just continue hitting the preview button and rack up points.
This is a major bug in this program and it has not been addressed! This was posted in October. We just found it today after the upgrade to vB 3.5.3. This was not happening in the old version. Could someone please help us out. We need this system to work because the points are used to be able to purchase items.
Thanks.
Ranma2k
01-24-2006, 11:52 AM
This is a major bug in this program and it has not been addressed! This was posted in October. We just found it today after the upgrade to vB 3.5.3. This was not happening in the old version. Could someone please help us out. We need this system to work because the points are used to be able to purchase items.
Thanks.
acctully there is a lot of ways to get points
with one post only i can get the max number of points for a post with just typing 1 line
it have many bugs
Oddjob
01-24-2006, 12:29 PM
It's in the works.
Do i know you?
HEHE......small world.
This is a major bug in this program and it has not been addressed! This was posted in October. We just found it today after the upgrade to vB 3.5.3. This was not happening in the old version. Could someone please help us out. We need this system to work because the points are used to be able to purchase items.
Thanks.
Are you not reading this thread? There is no support. The dude left.
X-Files
01-24-2006, 03:26 PM
This is a major bug in this program and it has not been addressed! This was posted in October. We just found it today after the upgrade to vB 3.5.3. This was not happening in the old version. Could someone please help us out. We need this system to work because the points are used to be able to purchase items.
Thanks.Fixed it myself.
functions_newpost.php
Change:
($hook = vBulletinHook::fetch_hook('newpost_process')) ? eval($hook) : false;
To:
if (! $post['preview']){
($hook = vBulletinHook::fetch_hook('newpost_process')) ? eval($hook) : false;
}
Fixed it myself.
functions_newpost.php
Change:
($hook = vBulletinHook::fetch_hook('newpost_process')) ? eval($hook) : false;
To:
if (! $post['preview']){
($hook = vBulletinHook::fetch_hook('newpost_process')) ? eval($hook) : false;
}
I think it would be better to wrap the plugin that goes in that hook with the conditional.
Doing it the way you suggest will cause issues down the road with any plugin that requires that hook, and previewing.
X-Files
01-24-2006, 04:42 PM
I think it would be better to wrap the plugin that goes in that hook with the conditional.
Doing it the way you suggest will cause issues down the road with any plugin that requires that hook, and previewing.I do not claim to understand everything about the system so please explain. Is this a generic hook for anyone to use or is this hook specific to uCash? If it is a generic hook how does the program know what code to run here if there are multiple things using the hook?
I also do not know how to change the code for uCash.
Thanks.
I'm afraid I am far too unwell to explain the entire vBulletin Hook system at the moment.
Basically, it was introduced with vB 3.5.x (the version that recently came out, replacing 3.0.x), allowing coders to make 'hacks' that did not require code modifications.
Effectively, the php file is run, then when it comes to a 'hook' in the code, it looks in the database to see if anything additional is in that hook.
By doing what you suggest, the php file will not look for that hook if the post is being Previewed. You need to go to the hook in your Plugin Manager and add the conditional you added to the php file in the hook for Ucash.
X-Files
01-24-2006, 05:14 PM
Thanks!
Here is what I did. If we are not supposed to post code remove it at will.
If the user is not doing a preview then we want to give them points.
if (! $post['preview'])
// ## <ucash>
if (! $post['preview']){
if ($vbulletin->options['ucash_enablesystem'] == 1)
{ // It's enabled! Yay!
// Points Per Character
if ($vbulletin->options['ucash_pointspercharacter'] != 0)
{
// Count the characters.
$chars = strlen($post['message']);
$charbonus = ($vbulletin->options['ucash_pointspercharacter'] * $chars);
}
else
{
$charbonus = 0;
}
if ($type == 'thread')
{ // We're doing a thread, not a reply.
if ($charbonus != 0 || ($vbulletin->options['ucash_perthread'] != 0 && $foruminfo['ucash_perthread'] != 0))
{ // Both needed values are not 0... good.
$givethempoints = (($vbulletin->options['ucash_perthread'] + $charbonus) * $foruminfo['ucash_perthread']);
}
}
else
{ // This time we're replying.
if ($charbonus != 0 || ($vbulletin->options['ucash_perreply'] != 0 && $foruminfo['ucash_perreply'] != 0))
{ // Both needed values are not 0... good.
$givethempoints = (($vbulletin->options['ucash_perreply'] + $charbonus) * $foruminfo['ucash_perreply']);
}
}
if (isset($givethempoints))
{ // If they get money....
// Send the query and we're done.
$vbulletin->db->query_write("UPDATE ".TABLE_PREFIX . "{$vbulletin->options['ucash_pointtable']} SET {$vbulletin->options['ucash_pointsfield']}={$vbulletin->options['ucash_pointsfield']}+$givethempoints WHERE userid='{$vbulletin->userinfo['userid']}'");
// Forum Bank
if ($vbulletin->options['ucash_governmentbank'] != 0) {
$vbulletin->db->query_write("UPDATE ".TABLE_PREFIX."datastore SET data=data-$givethempoints WHERE title='ucs_global_bank'");
}
}
}
}
// ## </ucash>
Annie^.^
01-24-2006, 11:17 PM
ok where do I add that code?
X-Files
01-25-2006, 12:22 AM
ok where do I add that code?
In the AdminCP.
Plugin System --> Plugin Manager
Find:
Hook Location : newpost_process
uCash - New Post
Click on it to edit the php code.
Hope this helps.
Annie^.^
01-25-2006, 12:42 AM
Thnaks I will give it a try. Did that solve the problem for you?
X-Files
01-25-2006, 12:45 AM
Thnaks I will give it a try. Did that solve the problem for you?
It seems to work fine for me.
Annie^.^
01-25-2006, 10:41 AM
That did the trick.
I have couple of questions. Is it just on my forum, but when I delete a post it doesn't dedact the point.
Is there a way to deny points to certain forums?
Thanks guys
X-Files
01-25-2006, 10:53 AM
That did the trick.
I have couple of questions. Is it just on my forum, but when I delete a post it doesn't deduct the point.
Is there a way to deny points to certain forums?
Thanks guysThat is another issue we have. I may try and see if I can find and hack the hook for deleting a post. I am not a vBulletin expert by no means. I know enough to get by. Mostly doing simple things.
I think you can deny points but I am not sure off the top of my head.
Annie^.^
01-25-2006, 01:51 PM
This didn't work for me at all. The points doesn't show. Any ideas why? I use 3.5.3
I have an interesting question.
Upgraded to vB 3.5.2
Upgrded uCash to 1.1.1
The points are displaying in the user profile correctly. If I try and use this $userinfo[points] method to display the points in the navbar it does not take but if I use $userinfo[ucash] it displays but with the decimal points. Any ideas on how to display the points for a user in the navbar without the decimal points.
example:
Welcome, X-Files. You have 16617.99 chips!
You last visited: Today at 10:11 AM
Private Messages: Unread 0, Total 258.
<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong> You have $userinfo[ucash] chips!<br />
X-Files
01-25-2006, 02:03 PM
This didn't work for me at all. The points doesn't show. Any ideas why? I use 3.5.3Here is the navbar I have now.
<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong> You have $bbuserinfo[points] chips!<br />
Found this:
<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />
Added this before the <br />;
You have $bbuserinfo[points] chips!
If you have the default install I think this should work.
$bbuserinfo[points]
If not you need to find out the field in the user table that holds the points.
Mine looks like this now.
Welcome, X-Files. You have 32,997 chips!
You last visited: Today at 10:46 AM
Private Messages: Unread 0, Total 328.
Annie^.^
01-25-2006, 02:24 PM
Thanks now it's working good.
I had this:
$userinfo[ucash]
I replaced it to this:
$bbuserinfo[ucash]
Thanks a lot
Now all I need to find out is how to restrict points to ceratin forum categories.
TamCaVBoy3
01-25-2006, 03:01 PM
may be make this mod so that you use the points to buy threads
X-Files
01-25-2006, 03:05 PM
Thanks now it's working good.
I had this:
I replaced it to this:
Thanks a lot
Now all I need to find out is how to restrict points to ceratin forum categories.
Forum Manager
Edit the forum you do not want to give points to. Set all these to 0.
uCash Options
Points Per Thread?This setting is multiplied by the default value defined in the 'vBulletin Options' page of the Admin CP. A value of 1 uses the default, 2 doubles it, etc.
0
Points Per Reply?This setting is multiplied by the default value defined in the 'vBulletin Options' page of the Admin CP. A value of 1 uses the default, 2 doubles it, etc.
0
Points Per View?This setting is multiplied by the default value defined in the 'vBulletin Options' page of the Admin CP. A value of 1 uses the default, 2 doubles it, etc.
0
Annie^.^
01-25-2006, 03:16 PM
Forum Manager
Edit the forum you do not want to give points to. Set all these to 0.
Great!!! I think all my problem pretty much solved. Thanks a lot, you have been great.
Is the programmer who coded the script ain't working on it anymore??
X-Files
01-25-2006, 03:41 PM
Great!!! I think all my problem pretty much solved. Thanks a lot, you have been great.
Is the programmer who coded the script ain't working on it anymore??
I am not sure. I know some group has taken over uShop so I would think they will control uCash also.
Hornstar
01-29-2006, 02:07 AM
hopefully they will work on this a bit more as well, its got several bugs that could be fixed. But for most its working fine. I'm going to do a complete re install of this because several users are getting heaps of points when they have only a few posts.
X-Files
01-29-2006, 11:33 AM
hopefully they will work on this a bit more as well, its got several bugs that could be fixed. But for most its working fine. I'm going to do a complete re install of this because several users are getting heaps of points when they have only a few posts.
Have you looked at the preview bug I fixed?
I would love to have it remove points when a post is deleted.
h_jinx
01-30-2006, 10:06 AM
Thanks!
Here is what I did. If we are not supposed to post code remove it at will.
If the user is not doing a preview then we want to give them points.
if (! $post['preview'])
// ## <ucash>
if (! $post['preview']){
if ($vbulletin->options['ucash_enablesystem'] == 1)
{ // It's enabled! Yay!
// Points Per Character
if ($vbulletin->options['ucash_pointspercharacter'] != 0)
{
// Count the characters.
$chars = strlen($post['message']);
$charbonus = ($vbulletin->options['ucash_pointspercharacter'] * $chars);
}
else
{
$charbonus = 0;
}
if ($type == 'thread')
{ // We're doing a thread, not a reply.
if ($charbonus != 0 || ($vbulletin->options['ucash_perthread'] != 0 && $foruminfo['ucash_perthread'] != 0))
{ // Both needed values are not 0... good.
$givethempoints = (($vbulletin->options['ucash_perthread'] + $charbonus) * $foruminfo['ucash_perthread']);
}
}
else
{ // This time we're replying.
if ($charbonus != 0 || ($vbulletin->options['ucash_perreply'] != 0 && $foruminfo['ucash_perreply'] != 0))
{ // Both needed values are not 0... good.
$givethempoints = (($vbulletin->options['ucash_perreply'] + $charbonus) * $foruminfo['ucash_perreply']);
}
}
if (isset($givethempoints))
{ // If they get money....
// Send the query and we're done.
$vbulletin->db->query_write("UPDATE ".TABLE_PREFIX . "{$vbulletin->options['ucash_pointtable']} SET {$vbulletin->options['ucash_pointsfield']}={$vbulletin->options['ucash_pointsfield']}+$givethempoints WHERE userid='{$vbulletin->userinfo['userid']}'");
// Forum Bank
if ($vbulletin->options['ucash_governmentbank'] != 0) {
$vbulletin->db->query_write("UPDATE ".TABLE_PREFIX."datastore SET data=data-$givethempoints WHERE title='ucs_global_bank'");
}
}
}
}
// ## </ucash>
OR you can add to the main conditional:
if ($vbulletin->options['ucash_enablesystem'] == 1)
becomes...
if ($vbulletin->options['ucash_enablesystem'] == 1 && !$post['preview'] )
I am in the midst of porting a custom made Item Shop hack to 3.5. Since this hack seems to be buggy I am sure I will be fixing these as I go. I am more than competent in php coding and vbulletin.
I'll be starting my own "Ushop" shortly afterwards although the actions will be limited to donate/admindonate/bank/bold/underline/italicise.
I may release it, I may not. Will see how it goes...
h_jinx
01-30-2006, 11:12 AM
To fix the above bug, the same conditional needs applied to the following hook:
showthread_start
X-Files
01-30-2006, 06:24 PM
To fix the above bug, the same conditional needs applied to the following hook:
showthread_start
Can I ask why?
This has nothing to to with creating and previewing a post.
I would love to have it delete points on thread or post delete.
h_jinx
01-30-2006, 08:10 PM
You are quite correct - apologies. I have no idea why I said that. I was in work at the same time as trying to tidy up Ucash ( cleaning the superglobals for one ) and my mind was probably in two places.
I would suggest that your users would not appreciate their points being deducted if their posts are deleted - especially if you are just pruning.
proxx
01-31-2006, 03:56 AM
at this point, i don't really care about the uShop... but i do need the donate feature. Does anyone have this? ..i'd pay 10$ usd paypal for this
h_jinx
01-31-2006, 08:07 AM
I should have something by the end of this week Proxx.
X-Files
01-31-2006, 03:13 PM
You are quite correct - apologies. I have no idea why I said that. I was in work at the same time as trying to tidy up Ucash ( cleaning the superglobals for one ) and my mind was probably in two places.
I would suggest that your users would not appreciate their points being deducted if their posts are deleted - especially if you are just pruning.
We are charging people to post in a certain forum. if they do not have enough points we have to delete the post and then manually add the points back. If a post gets deleted it is for a reason. We have never pruned. Wouldn't pruning be a different process also?
proxx
02-01-2006, 04:45 AM
I should have something by the end of this week Proxx.
Ok thx, just let me know when you make a small bug-free plugin which will attach into ucash, so that I can allow my users to send "cash" to each other. .. i'll send you paypal $10 for the trouble.
h_jinx
02-06-2006, 08:40 AM
still working on the port of my Itemshop, bout 95% done... will let you know when I start my own version of UShop... am hoping within the next couple of days.
ushop & ucash 2.0.0 released!
Jay...
02-08-2006, 07:39 PM
anyone know how to stop ucash going into minus?
leakmob
02-16-2006, 02:32 PM
Could I pay someone to install this for me?
email: joel.kendall@leakmob.com / aim: thecrownjoel
Could I pay someone to install this for me?
email: joel.kendall@leakmob.com / aim: thecrownjoel
install uCash2.0 or eStore, not this. If you still need someone to do it, PM me.
xtreme-mobile
02-28-2006, 05:08 PM
how do i change the currency on ucash
instead of it being called points can i change it to £ ???
rewardhits
03-04-2006, 04:17 PM
HI I need help.
1) How do i see total ucash being given on my website?
2) I need a guru to help me out with inputing ucash and ushop functionalities and make sure they work.
please email me at "teknorhino@yahoo.com" and tell me how much $ you want. please keep bids low to make this project a reality.
Thanks,
Frank
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.