vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   get points when posting or reply (https://vborg.vbsupport.ru/showthread.php?t=36557)

mewgood 03-26-2002 12:40 AM

get points when posting or reply
 
Can anyone make this hack or post the old hack?I know this was release, but I dunno where is the attachment.
Please help~~~

mewgood 03-26-2002 06:23 AM

can anyone plz help??
plz
plz

E 03-26-2002 09:19 AM

1 Attachment(s)
heres the txt file i was given.. u will need too edit it tho as it has alot of characters (mostly "/"'s) that u need too get rid of

DemiNeo0101 03-26-2002 06:38 PM

na just Get MED pad and open it in that. BTW med pad has to be the best thing to use to edit html/php file's. It's a god to me.

get it here: http://www.utopia-planitia.de/indexus.html

mewgood 03-26-2002 10:02 PM

can someone plz edit this? I suck at php...
Please
i really want this hack:(
Please

Vivi Ornitier 03-26-2002 10:32 PM

this will do it for you
Back up New Thread and New Reply

Open New Thread

Find
PHP Code:

// update user stuff
      
$dotitle="";
      if (
$bbuserinfo[userid]!=0)
      {
        if (
$bbuserinfo[customtitle]==&& $foruminfo[countposts])
        {
          
$usergroup=$DB_site->query_first("SELECT usertitle FROM usergroup WHERE usergroupid='$bbuserinfo[usergroupid]'");
          if (
$usergroup[usertitle]=="") {
            
$gettitle=$DB_site->query_first("SELECT title FROM usertitle WHERE minposts<=$bbuserinfo[posts]".iif ($foruminfo['countposts'],"+1","")." ORDER BY minposts DESC LIMIT 1");
            
$usertitle=$gettitle[title];
          } else {
            
$usertitle=$usergroup[usertitle];
          }
          
$dotitle="usertitle='".addslashes($usertitle)."',";
        }

          
$DB_site->query("UPDATE user SET
          "
.iif ($foruminfo[countposts],"posts=posts+1,","")."
          
$dotitle"."lastpost='".time()."' WHERE userid='$bbuserinfo[userid]'");
      } 

Under that put
PHP Code:

$DB_site->query("UPDATE userfield SET
          field5=field5+x WHERE userid='
$bbuserinfo[userid]'");
      } 

Where X is that is the points/gil you want to be added.. Change Field 5 to whatever you point field is palced on

Open New Reply and do those steps again.

I do not take credit for this hack so please do not give me credit.... MY friend made this hack for his site... i asked him for it and he gave me it...

mewgood 03-26-2002 11:25 PM

thx

Vivi Ornitier 03-26-2002 11:28 PM

Please tell me if it works and please tell me if the directions are confusing


All times are GMT. The time now is 11:17 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.01059 seconds
  • Memory Usage 1,736KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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