Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools
Points Hack v1.0 With Donate Details »»
Points Hack v1.0 With Donate
Version: 1.00, by PSI|Dr-X PSI|Dr-X is offline
Developer Last Online: Jul 2005 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 09-13-2002 Last Update: Never Installs: 1
 
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 09-14-2002, 08:42 PM
PSI|Dr-X PSI|Dr-X is offline
 
Join Date: Aug 2002
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Screenshot:
Reply With Quote
  #3  
Old 09-14-2002, 08:47 PM
assassingod's Avatar
assassingod assassingod is offline
 
Join Date: Jul 2002
Posts: 3,337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why does a points hack need a donate option?
Reply With Quote
  #4  
Old 09-14-2002, 08:49 PM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 09-14-2002, 08:56 PM
assassingod's Avatar
assassingod assassingod is offline
 
Join Date: Jul 2002
Posts: 3,337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #6  
Old 09-14-2002, 09:04 PM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.......
Reply With Quote
  #7  
Old 09-14-2002, 09:08 PM
PSI|Dr-X PSI|Dr-X is offline
 
Join Date: Aug 2002
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #8  
Old 09-14-2002, 09:19 PM
[D]Vincent's Avatar
[D]Vincent [D]Vincent is offline
 
Join Date: Jun 2002
Location: In my own little world?
Posts: 411
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #9  
Old 09-14-2002, 09:33 PM
afterlab's Avatar
afterlab afterlab is offline
 
Join Date: Oct 2001
Location: Dallas, TX
Posts: 327
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Word up, DVincent.. :rambo: *kills hack*
Reply With Quote
  #10  
Old 09-14-2002, 09:38 PM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

*Furtherly kills hack.*
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:08 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.05611 seconds
  • Memory Usage 2,288KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete