vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Points Hack v1.0 With Donate (https://vborg.vbsupport.ru/showthread.php?t=43538)

PSI|Dr-X 09-13-2002 10:00 PM

Points Hack v1.0 With Donate
 
What does it do?
You can donate money to someone and moderator or admin can give money

You must run 2 query's and add 6 templates

Functions
The functions are:

Give Points to someone
Users can donate

Bugs
There are no bugs

Screenshot
You'll see the screenshot on the next post

PSI|Dr-X 09-14-2002 08:42 PM

Screenshot:

assassingod 09-14-2002 08:47 PM

Why does a points hack need a donate option?

Link14716 09-14-2002 08:49 PM

Code:

<a href="moderator.php?s=$session[sessionhash]&action=points&userid=$userinfo[userid]" target=_blank>
And yet this hack doesn't modify moderator.php.

Hmm..... suspicious.... ;)

EDIT:
Code:

$field = "field5";
require("./global.php");

And yet you run a query? I bet the query is useless and this is a Shinra Points rip. Oh, and you forgot two files.

assassingod 09-14-2002 08:56 PM

I was just about to post that Link14716.:) 2 files missin

Im not exactly a wizard at PHP, but I know mistakes when i see one. And there isnt anything related to moderator.php :p

Link14716 09-14-2002 09:04 PM

Let me see how identical this and shinra points are.....

Shinra:
Code:

$perms=getpermissions();
if (!$perms[ismoderator] and !$ismod=$DB_site->query_first("SELECT * FROM moderator WHERE userid=$bbuserinfo[userid]")) {
    echo "<p>You do not have permission to do this!</p>";
    exit;
  }

This:
Code:

$perms = getpermissions();
if (!$perms[ismoderator] and !$ismod = $DB_site->query_first("SELECT * FROM moderator WHERE userid=$bbuserinfo[userid]"))
{
echo "<p>You have no permission to do this</p>";
exit;
}

Shinra:
Code:

if ($HTTP_POST_VARS['action']=="dopoints") {
  $userpointstr=$DB_site->query_first("SELECT $pointfield FROM userfield WHERE userid=$userid");
  $pointstr = (int) $userpointstr[$pointfield];
  $userpoint = 0 + $pointstr;
  $pointamt = 0 + $amount;
  if ($pointamt==0) {
    $DB_site->query("UPDATE userfield SET $pointfield='$amount' WHERE userid=$userid");
    echo "The point field for $username has been set to $amount successfully.<p><p><font size=+1>You can now close this window.</font><br>";
  } else {
    $pointstr = ($userpoint + $pointamt);
    $DB_site->query("UPDATE userfield SET $pointfield='$pointstr' WHERE userid=$userid");
    echo "$username has been given $amount Points successfully.<p><p><font size=+1>You can now close this window.</font><br>";
  }
}

This:
Code:

if ($HTTP_POST_VARS['action'] == "addpoints")
{
$upoints = $DB_site->query_first("SELECT $field FROM userfield WHERE userid=$userid");
$pointsereg = (int) $upoints[$field];
$usrpoint = 0 + $pointsereg;
$pointamt = 0 + $pointsgiven;
$pointsereg = ($usrpoint + $pointamt);
$DB_site->query("UPDATE userfield SET $field = '$pointsereg' WHERE userid = $userid");
echo "You have given $username $pointsgiven Points successfully.<p><br>";
}

VERY identical, but this one looks like you included donate.php, let me try to find similarities in that file.......

PSI|Dr-X 09-14-2002 09:08 PM

I have only included the shinra's points hack and those querys are for the donate function because when i put it in a variabel it gave parse error and the 2 files those where missing was a mistake of me i was trying to make a installation for the templates but it gave a parse error too

[D]Vincent 09-14-2002 09:19 PM

Why do this? There's already two hacks like this. The Shinra one already has a donate add-on and the Gold one I converted all the current add-ons for it to use. THis is very pointless.

afterlab 09-14-2002 09:33 PM

Word up, DVincent.. :rambo: *kills hack*

Link14716 09-14-2002 09:38 PM

easy to avoid parse errors, add a semi-colon or a } somewhere.

*Furtherly kills hack.*

DrkFusion 09-14-2002 10:10 PM

Though I use none of the other points hack
*kills hack anyways*

kmfdm_kid2000 09-14-2002 10:42 PM

Hmmm, looks like someone got ripped off...Anyone got the URL for the original Shinra hack?? I might consider using that one...I have GeForce's gold hack, but I can't find a way to subtract gold from posts in the forums, so I call it quality points, and award more for forums that contribute to content...

Now there's a hacker I respect, GeForce makes some of the most useful hacks here, and as far as I know, they're all very original ideas...

[D]Vincent 09-14-2002 11:00 PM

Vincent]kmfdm_kid2000
PM me, I have all the add-ons for the gold one including the one that let's you remove gold. I'll send it to you if you PM me.


BTW since I started the kill hack trend I get a piece of the killing actions :D
[high]* [D]Vincent stabs the hack a few times and destroys the evidence
[/high]
:D

Velocd 09-14-2002 11:51 PM

PSI|Dr-X, stop making hacks that are ripped from other members, nobody appreciates it.

Try building a hack that is 100% your code, and then you might get the respect you're looking for.

Bison 09-15-2002 02:13 AM

Damn!

You guys are vicious! BTW Velocd, that vB3 Similar Threads hack looks like something that I saw being implemented in VB3 ... original is it?

Link14716 09-15-2002 02:17 AM

But the point is it was HIS code and there was NO hack released like it.

This is a rip of Shinra points, he just changed some stuff and gave inadequete instructions.

[D]Vincent 09-15-2002 02:28 AM

There was a donate hack add-on for Shinra Online's Point one so there was a hack like it released, it's just a big rip that's pointless.

[D]Vincent 09-15-2002 02:30 AM

Vincent]
Quote:

Originally posted by Rolodex
Damn!

You guys are vicious! BTW Velocd, that vB3 Similar Threads hack looks like something that I saw being implemented in VB3 ... original is it?

He saw it on vB3 and decided to make it as a hack. I don't believe he took the coding from the makers of vB3 so the coding is 100% his.

Velocd 09-15-2002 02:38 AM

Quote:

Originally posted by Rolodex
Damn!

You guys are vicious! BTW Velocd, that vB3 Similar Threads hack looks like something that I saw being implemented in VB3 ... original is it?

That hack concept is from VB3, but the code is 100% completely original, even the methods used. :p

And speaking of that hack, I've found it to be very useful these past months, as it's quite surprising how accurate it can be ;)

Erwin 09-15-2002 06:39 AM

Hacks for vB3 are COMPLETELY different since the code is different, so VeloCD actually did quite well to "port" that feature to vB2. So it wasn't a copy.

[D]Vincent 09-15-2002 06:40 AM

We've gotten over that already I believe >_>

blackice912 09-15-2002 09:09 AM

Dang, bloody murder in this thread!

Webmasta XT 09-15-2002 11:08 PM

this is a Defenat RIP! lol


All times are GMT. The time now is 06:36 PM.

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

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01320 seconds
  • Memory Usage 1,759KB
  • 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
  • (6)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (23)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete