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

Reply
 
Thread Tools
Get Points by Posting (Points Add-On) Details »»
Get Points by Posting (Points Add-On)
Version: 1.00, by Iguacu Iguacu is offline
Developer Last Online: Aug 2004 Show Printable Version Email this Page

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

This hack adds to Shinra Points hack by PalmeroftheTurks. I take no credit for his great hack. You do need it installed for mine, though.Mine adds to the field you used for that hack for each post or new reply. You can have different values for new threads and new replies. I was originally told that someone had already posted this, but after receiving quite a few IMs and PMs I am reposting it.
So anyways, tweak it if you want, I'm a PHP newbie and it's my first hack.

Tested on:
2.2.4
2.2.1
I don't see any reason why it shouldn't work on any other vB above 2.0

Show Your Support

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

Comments
  #22  
Old 04-03-2002, 05:15 AM
E's Avatar
E E is offline
 
Join Date: Mar 2002
Location: Fieldale Virginia
Posts: 421
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

give us the code then
Reply With Quote
  #23  
Old 04-03-2002, 09:14 AM
ExAvIoUr ExAvIoUr is offline
 
Join Date: Jan 2002
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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..
Reply With Quote
  #24  
Old 04-03-2002, 09:14 AM
ExAvIoUr ExAvIoUr is offline
 
Join Date: Jan 2002
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

and on line 450 there is '?>'

the closing of the entire php..
Reply With Quote
  #25  
Old 04-03-2002, 10:24 AM
E's Avatar
E E is offline
 
Join Date: Mar 2002
Location: Fieldale Virginia
Posts: 421
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok... did u deleete all the slashes the file made... download the second attachment not the first
Reply With Quote
  #26  
Old 04-03-2002, 12:41 PM
Vivi Ornitier's Avatar
Vivi Ornitier Vivi Ornitier is offline
 
Join Date: Nov 2001
Location: Black Mage Village
Posts: 442
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #27  
Old 04-03-2002, 04:16 PM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #28  
Old 04-03-2002, 08:42 PM
Vivi Ornitier's Avatar
Vivi Ornitier Vivi Ornitier is offline
 
Join Date: Nov 2001
Location: Black Mage Village
Posts: 442
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...
Reply With Quote
  #29  
Old 04-03-2002, 11:20 PM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.

Reply With Quote
  #30  
Old 04-04-2002, 03:06 AM
Iguacu Iguacu is offline
 
Join Date: Nov 2001
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

if ur having that problem just use:
PHP Code:
if ($HTTP_POST_VARS['action']!=="editpost")
{
vivi's hack here

Reply With Quote
  #31  
Old 04-09-2002, 09:36 AM
Shroomboy Shroomboy is offline
 
Join Date: Mar 2002
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...
Reply With Quote
Reply


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 01:34 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.06240 seconds
  • Memory Usage 2,307KB
  • 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
  • (3)bbcode_php
  • (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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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