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)
-   -   Get Points by Posting (Points Add-On) (https://vborg.vbsupport.ru/showthread.php?t=35926)

E 04-03-2002 05:15 AM

give us the code then

ExAvIoUr 04-03-2002 09:14 AM

hey man i get this error

Parse error: parse error in /home/virtual/site4/fst/var/www/html/forums/newreply.php on line 450

????

i have followed the instructions carefully..

ExAvIoUr 04-03-2002 09:14 AM

and on line 450 there is '?>'

the closing of the entire php..

E 04-03-2002 10:24 AM

ok... did u deleete all the slashes the file made... download the second attachment not the first

Vivi Ornitier 04-03-2002 12:41 PM

Ok, then I will give you the code:

Find this in newreply.php:
PHP Code:

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

And place this underneath it:
PHP Code:

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

Just change the X to the appropriate number, and the ? to the amount you want added.

For newthread.php, just find the same thing and place that under it, also.

Velocd 04-03-2002 04:16 PM

Sweeet, I'm about to try. But does this code totally replace the original hack, or just fixes the quick reply problem?

UPDATE!

There is still the problem of editing your post that gives you points, when it shouldn't.

Oh great Vivi please save us!

Vivi Ornitier 04-03-2002 08:42 PM

Hmm, I never knew that it had that problem. I'll have to look at the code and see it it's possible to fix that error.

Hmm, I just edited one of my posts at a board that uses that hack, and it didn't add any points for the edit...

Velocd 04-03-2002 11:20 PM

hmmm, thats odd its not doing if for me either. I could have sworn it added points when I did it earlier..strange.

Hey Vivi, I have one last request for you if this is all possible. Could you make it so every time you level up (this is using the HP/MP/EXP hack now) the amount of points you get per reply/thread increases?

Say at level 8 you get 6 points per reply/thread. Level 9 you get 7. Lvl 10 you get 8. etc. Ofcourse these values can be changed.

:p

Iguacu 04-04-2002 03:06 AM

if ur having that problem just use:
PHP Code:

if ($HTTP_POST_VARS['action']!=="editpost")
{
vivi's hack here



Shroomboy 04-09-2002 09:36 AM

Vivi... iposted that exact same hack... and it wasn't mine... you dont have the right to use it as yours.. and yesit was posted on your name... b/c i was on that name when i ran my VBB illegally... man you like taking credit for things you didn't do...

along with your illegal VBB... yea 1 person is suppose to be using that account and he can't make VBB hacks... I knowhim... so you are usin your VBB illegally...


All times are GMT. The time now is 02:44 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.01103 seconds
  • Memory Usage 1,735KB
  • 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
  • (3)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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