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)
-   -   Donation Add-on to Points System Hack (https://vborg.vbsupport.ru/showthread.php?t=35312)

Vivi Ornitier 03-15-2002 12:14 AM

hmm . . can we make a javascript pop up window? So people won't have to donate and then come back to the original poast again? thx!

E 03-22-2002 06:23 AM

^^ word... but nice hack

Floris 03-22-2002 10:29 AM

Can't you make this work with referrals systems? So users can donate their gained referral points to other users ?

custsrvcrep 09-28-2002 02:43 AM

Can anyone figure out how to address the GIVER and the RECEIVER by username for this hack?

At the donation page (the donation template) ... I would like to say

"Welcome (THE GIVER USERNAME), you wish to donate to (THE RECEIVER USERNAME). Is that correct? If not, press your back key now."

This should be easy right? I can't make it work ... any suggestions ...
$bbuserinfo[userid] $bbuserinfo [olduser], etc., don't work.

The only thing I can get it to do is to display the giver and receiver account number (olduser/newuser) ... but I can't figure out how to translate this into a username.

Holidazed 07-17-2003 03:20 AM

Is this hack still being supported? Can you add PM notification to the person recieving the donation? Maybe even to the person doing the donating?

Frozen Dreams 07-22-2003 11:10 AM

Quote:

03-02-02 at 08:52 AM GameZilla said this in Post #15
do same in newthread.php and newreply.php

find:
PHP Code:

      // update user stuff
      
$dotitle="";
      if (
$bbuserinfo[userid]!=0

and below that put

PHP Code:

        // START Update GOLD
  
$userpointstr $DB_site->query_first("SELECT field5 FROM userfield WHERE userid='$bbuserinfo[userid]'");
  
$pointstr $userpointstr[field5];
  
$gold $pointstr 4;
  
$DB_site->query("UPDATE userfield SET field5='$gold' WHERE userid='$bbuserinfo[userid]'");
  
// END Update GOLD 

REMEMBER TO CHANGE "field5" to the freld of your points


would there be any way to turn this around?
take away 2 points whenever the user posts? but this only when posting in a specific forum?
I need this for an RPG ... and it's gonna be energy level ... so this will only show in the RPG forum and I also just want points taken away when posting in there

anyone could please help me with this?

Holidazed 07-22-2003 07:17 PM

I don't think anyone is here.


All times are GMT. The time now is 06:56 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.01215 seconds
  • Memory Usage 1,741KB
  • 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
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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