vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   uCash & uShop (https://vborg.vbsupport.ru/forumdisplay.php?f=100)
-   -   uCash & uShop old support and thank you thread (https://vborg.vbsupport.ru/showthread.php?t=73736)

filth 04-13-2004 05:36 PM

bit of cheeck isnt it after the grief youve been giving them

Link14716 04-13-2004 05:41 PM

Quote:

Originally Posted by erikajune
How do I just run the templates part of the installer? And after re-uploading what? All the edited files and files that came with the hack?

And like someone else said, to other people those links I said linked to a search page, are dead to them... go to a page cannot be displayed page.

I'm pretty sure I edited global.php correctly. I had to redo that one a zillion times to get things to work. I'll check it again though.

Ugh.

Re-download the zip file and re-upload the installer. When you load up ushop_install.php, there is a link: "Click here to install ONLY the templates (useful after upgrading vBulletin) -->", use it to redo the templates.

filth 04-13-2004 05:41 PM

so because you made a thread it gives you the right to give people grief

anyway I thought you were a member of the DH0 Crew. A hacker that cant even instal a php script sure ure not just a script kiddie

Link14716 04-13-2004 05:42 PM

Quote:

Originally Posted by Rahstyles
And also.. yall should put a name in tha first thread.!!!!

i was tha cheeror....

if it wasnt for me.. this woulda been delayed.. extra 2 weeks...

and plus i made tha thread on tha shop hack.. that everybody and there family thread posted too...

i think my name should be in ta "other support"

You did nothing to support this hack, and in fact it would not have been delayed if it wasn't for you. Shut your mouth and get your facts straight next time, ok?

filth 04-13-2004 05:45 PM

Quote:

Originally Posted by Rahstyles
who tha hell said i was a hacker??/

i jus got connections.. for dirty work

u said and I quote


Quote:

Originally Posted by Rahstyles
i will cal my crew " DH0 Crew "


that sounds like you are trying to say that you are in the crew.

But as you are not in the crew that makes all the difference. I retract what I said and replace it with

why dont you get 1 of your connections to install it for you

Link14716 04-13-2004 05:48 PM

Quote:

Originally Posted by Rahstyles
cuz they aint do that ++++....

now if u keep talk shyt.. u might find out wat kinda work that.. they do

And you need to stop with hack threats. You realize that's a bannable offence? You are not a god, you did not do anything, you need to shut up, seriosuly.

filth 04-13-2004 05:49 PM

ooh look you showing how mature you are and threatening to get peoples sites hacked again

Link14716 04-13-2004 06:21 PM

Quote:

Originally Posted by Rahstyles
hey now i never threatend. ++++..

and plus nobody has prof if dH0 hacks

You're just digging yourself into a bigger hole.

filth 04-13-2004 06:22 PM

Quote:

Originally Posted by Rahstyles
hey now i never threatend. ++++..

and plus nobody has prof if dH0 hacks

lol try doing a search on google for dH0 crew im sure you will find some

Quote:

Originally Posted by Rahstyles
i will cal my crew " DH0 Crew "

and i know u heard of them hackers

and suppose you didnt mean heackers when you posted that, and if thats not a threat I dont know what is.

oh and i suppose the following was just a freindly comment

Quote:

Originally Posted by Rahstyles
cuz they aint do that ++++....

now if u keep talk shyt.. u might find out wat kinda work that.. they do


ptbyjason 04-13-2004 06:32 PM

Quote:

Originally Posted by erikajune
When I click on an item in ushop, it takes me to this page: http://www.incredifind.com/index.cfm...hp?do=a&aid=10

Any idea why it would be doing this?

And the prices aren't showing up properly. It's displaying all the costs of items as 9 times the amount I specified in the acp. Weird....

That sounds like spyware on your computer that either changed the coding of the hack, or redirected your browser. Run spybot or ad-aware and get rid of the spyware.

Zelda-King 04-13-2004 06:44 PM

I have someone who's points're in the minus range (-9). Is that normal? Everything else has been fine still, by the way. Even with the Arcade Pass. :)

vhoang 04-13-2004 06:48 PM

To Matt: i cant seem to get "point per view" to work, u have any suggestion? Thanks.

vhoang 04-13-2004 06:49 PM

Quote:

Originally Posted by Zelda-King
I have someone who's points're in the minus range (-9). Is that normal? Everything else has been fine still, by the way. Even with the Arcade Pass. :)

He/she might have tried "Thief" options!!!

Link14716 04-13-2004 06:59 PM

Quote:

Originally Posted by Zelda-King
I have someone who's points're in the minus range (-9). Is that normal? Everything else has been fine still, by the way. Even with the Arcade Pass. :)

Sounds like a possible small bug.Can you go to that user's user history (ushop.php?do=userhistory&u=<userid>) and see what actions they used to get into the negatives?

Link14716 04-13-2004 07:00 PM

Quote:

Originally Posted by vhoang
To Matt: i cant seem to get "point per view" to work, u have any suggestion? Thanks.

I think Zachery missed a file edit when he was making the HTML file. Hold on and I'll post it.

EDIT: More than one actually.

vhoang 04-13-2004 07:06 PM

Quote:

Originally Posted by Link14716
I think Zachery missed a file edit when he was making the HTML file. Hold on and I'll post it.

EDIT: More than one actually.

Clear enuf, thanks. I'll wait for ur post.

Link14716 04-13-2004 07:09 PM

From what I can see, Zachery missed two file edits - meaning points per views and points for reputation won't work.

In reputation.php:
Find:
PHP Code:

    $DB_site->query("
        INSERT INTO " 
TABLE_PREFIX "reputation (postid, reputation, userid, whoadded, reason, dateline)
        VALUES (
$postid$score$userid$bbuserinfo[userid], '" addslashes(fetch_censored_text($reason)) . "','" TIMENOW "')
    "
); 

Add below:
PHP Code:

    // ### START UTT POINTS SYSTEM  ###
    
if ($vboptions['uttpoints_enablesystem'] == '1')
    { 
// It's enabled! Yay!
        
if ($score '0')
        { 
// If the amount of reputation is positive...
            
if ($vboptions['uttpoints_pointsforgreputation'] != '0')
            { 
// Needed value is not 0... good.
                    
$givethempoints = ($vboptions['uttpoints_pointsforgreputation'] * $score);
            }
        }
        else
        { 
// If the amount of reputation is negative...
            
if ($vboptions['uttpoints_pointsforbreputation'] != '0')
            { 
// Needed value is not 0... good.
                    
$givethempoints = ($vboptions['uttpoints_pointsforbreputation'] * $score);
            }
        }
        if (isset(
$givethempoints))
        { 
// If they get money....
            // Send the query and we're done.
            
$DB_site->query("UPDATE ".TABLE_PREFIX $vboptions[uttpoints_pointtable]." SET ".$vboptions[uttpoints_pointsfield]."=".$vboptions[uttpoints_pointsfield]."+".$givethempoints." WHERE userid='$userinfo[userid]'");
        }
    } 

In showthread.php:
Find:
PHP Code:

    $DB_site->shutdown_query("
        INSERT INTO " 
TABLE_PREFIX "threadviews (threadid)
        VALUES (" 
intval($threadinfo['threadid']) . ')'
    
);


Add below:
PHP Code:

// ### START UTT POINTS SYSTEM  ###
if ($vboptions['uttpoints_enablesystem'] == '1')
// It's enabled! Yay!
    
if ($thread['postuserid'] != $bbuserinfo['userid'])
    { 
// Don't give points if the user viewing the thread is the one who created it.
        
if ($vboptions['uttpoints_perview'] != '0' && $forum['uttpoints_perview'] != '0')
        { 
// Both needed values are not 0... good.
                
$givethempoints = ($vboptions['uttpoints_perview'] * $forum['uttpoints_perview']);
        }
    }
    if (isset(
$givethempoints))
    { 
// If they get money....
        // Send the query and we're done.
        
$DB_site->shutdown_query("UPDATE ".TABLE_PREFIX $vboptions[uttpoints_pointtable]." SET ".$vboptions[uttpoints_pointsfield]."=".$vboptions[uttpoints_pointsfield]."+".$givethempoints." WHERE userid='$thread[postuserid]'");
    }


The zip will be updated accordingly in a few minutes.

Zelda-King 04-13-2004 07:19 PM

Quote:

Originally Posted by Link14716
Sounds like a possible small bug.Can you go to that user's user history (ushop.php?do=userhistory&u=<userid>) and see what actions they used to get into the negatives?

It says "No History Found". They've gone up to 17 now, by the way (+17 that is).

vhoang 04-13-2004 07:19 PM

Updated, it works. Thanks Matt a bunch!!!!!

erikajune 04-13-2004 07:28 PM

Quote:

Originally Posted by Link14716
Re-download the zip file and re-upload the installer. When you load up ushop_install.php, there is a link: "Click here to install ONLY the templates (useful after upgrading vBulletin) -->", use it to redo the templates.

That worked! :D The links now work.

Now just that error I get every once and a while. Hmmm

Also, when I went to remove a glow - it charged me the amount of a glow. ??

Link14716 04-13-2004 07:32 PM

Quote:

Originally Posted by erikajune
That worked! :D The links now work.

Now just that error I get every once and a while. Hmmm

Also, when I went to remove a glow - it charged me the amount of a glow. ??

...it shouldn't have. Are you sure it charged you again to remove it?

AN-net 04-13-2004 07:33 PM

how did u forget that!! drrrr!

SmasherMaster 04-13-2004 07:36 PM

Quote:

Originally Posted by Link14716
I'd recommend that as well. Be sure to redownload first, though, since there have been some fixes to the installer.


I did, still got the same error and still no actions found!!!!!! :mad:

Link14716 04-13-2004 07:41 PM

Did you follow the instructions in the first post after re-installing?

mantra 04-13-2004 07:48 PM

is there anyway I can just install the uCash portion .. since I only want my members to earn points and they can redeem them in another way ? ..

thanks

Link14716 04-13-2004 07:56 PM

Quote:

Originally Posted by mantra
is there anyway I can just install the uCash portion .. since I only want my members to earn points and they can redeem them in another way ? ..

thanks

Upload only the installer to the admincp folder. Do all file edits except global.php, includes/init.php, and admincp/usergroup.php, all template edits except for navbar, and then install it normally. Afterawards, you can run these queries to get rid of the uShop part:

[sql]DROP TABLE IF EXISTS utt_store_action;
DROP TABLE IF EXISTS utt_store_bank;
DROP TABLE IF EXISTS utt_store_history;
ALTER TABLE user DROP `uttstore_history` , DROP `uttstore_glow` , DROP `uttstore_usernamecolor` , DROP `uttstore_boldusername` , DROP `uttstore_italicsusername` , DROP `uttstore_bankdata` , DROP `uttstore_bankqueue`;
ALTER TABLE usergroup DROP `uttstore_discount`;
DELETE FROM datastore WHERE title='utt_store_act';[/sql]

dstruct2k 04-13-2004 08:05 PM

Quote:

Originally Posted by mantra
any hacks that will let me sell my own items to the users of my forum (i.e. dvds, cds, etc)

thanks

Ahem... Link, I think you're kinda lying... :D

This can be done, but don't expect anyone to do it for you. What it would take is creating a new action.*.php file that somehow places an order to another form where it is processed and you (or another company) follows through and delivers.


Not easy, but possible. :)

mantra 04-13-2004 08:05 PM

if I get rid of the ushop part, my members will still earn points, correct?
how can they redeem them ? i just want them to donate points to me in return for some prize ..

thanks

AutomatikStudio 04-13-2004 08:13 PM

I'm somewhat confused. Of all of the file updates that have had to be made...has the original files in the first post been updated to reflect these changes? 27 pages of posts are a lot to sift through to find all the changes that need to be made.

dstruct2k 04-13-2004 08:16 PM

Well, go through at a quick glance if you're looking for updates, and turn posts-per-page to max. :)

Although Matt should probably think about getting the first post updated with all these fixes, or at least making a 0.95. :)

Link14716 04-13-2004 08:16 PM

Quote:

Originally Posted by dstruct2k
Ahem... Link, I think you're kinda lying... :D

This can be done, but don't expect anyone to do it for you. What it would take is creating a new action.*.php file that somehow places an order to another form where it is processed and you (or another company) follows through and delivers.


Not easy, but possible. :)

I said it can't because it can't by default.

Link14716 04-13-2004 08:17 PM

Quote:

Originally Posted by mantra
if I get rid of the ushop part, my members will still earn points, correct?
how can they redeem them ? i just want them to donate points to me in return for some prize ..

thanks

Donate is a part of uShop.

Link14716 04-13-2004 08:19 PM

Quote:

Originally Posted by AutomatikStudio
I'm somewhat confused. Of all of the file updates that have had to be made...has the original files in the first post been updated to reflect these changes? 27 pages of posts are a lot to sift through to find all the changes that need to be made.

Only things that will break features have been fixed in the main post.

dstruct2k 04-13-2004 08:20 PM

mantra:
You're wanting to only install PART of this hack, so expect to have some work ahead of you too, because that's what it will take to do what you want. A query to remove points from a user is easy, but remember that you need to code a page that does that. :)

Link14716 04-13-2004 08:22 PM

Quote:

Originally Posted by dstruct2k
mantra:
You're wanting to only install PART of this hack, so expect to have some work ahead of you too, because that's what it will take to do what you want. A query to remove points from a user is easy, but remember that you need to code a page that does that. :)

I suggest that mantra should just insstall the full hack, disable every action except donate and possibly admin donate, and not do the navbar template edits. That should work well.

dstruct2k 04-13-2004 08:27 PM

Yeah, then all he would have to do is create a couple custom actions and BOOM he has a shop. :D

Link14716 04-13-2004 08:28 PM

Not everyone can make custom actions.

NuclioN 04-13-2004 08:36 PM

This is a great hack :) Tnx Link4716 for your support

Cyricx 04-13-2004 09:13 PM

Is there a way I can make a limit on the number of points a person can get? Other then from donations.

Thinking modifying a query so that it only adds if it the users points is < 10000.00 or something like that.

dstruct2k 04-13-2004 09:21 PM

Make some sort of cronjob or something that essentially does this:

IF user_points > x
SET user_points = x


Very simple, although I'm not gonna bother coding it. :)

Maybe adding it to global.php or something would be better though.


All times are GMT. The time now is 09:31 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03877 seconds
  • Memory Usage 1,869KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_php_printable
  • (24)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete