vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Mini Mods - ChangAward Point - Integrate some Point System (https://vborg.vbsupport.ru/showthread.php?t=170200)

tackebong 02-10-2008 10:00 PM

ChangAward Point - Integrate some Point System
 
Award For Each post
This hack is the tool to award user for their useful message

Feature
-Turn Hack On or OFF
-Choose field of user to add point (available 4 celebrated point system [vbplaza,casino,vbcredit,icash) and support additonal field
-Set maxium and minium point moderator can award for each post
-Display Award Time (coming soon)
-Send Award PM to user (comming soon)
-Allow Moderator award themself: set yes or no.
-Can remove award message and return user points
-If post was awarded, award menu isn't appear

Install
1.Upload award.php to your forumroot
2.Import via product
3.Edit template postbit or postbit_lagacy
a)Find
PHP Code:

<if condition="$show['postcount']"

Add before
PHP Code:

$awardform 

b)Find
PHP Code:

<div id="post_message_$post[postid]">$post[message]</div

Add after
PHP Code:

$awardmess 

Caution:
After Import Product, immediately, you should choose Point System which you has use on your forum. And shouldn't change it afterward(to avoid problem with user point)


For Addtional Field
If you want add point for other field in some table of database
you must set Other System in vbulletin option
then config in file award.php (edit some value)
Quote:

$afield ='ebux'; //example
$atable = 'user';
$comparefield = 'userid';
http://img171.imageshack.us/img171/6358/15ar9.jpg

shadowevil 02-11-2008 03:50 AM

Thanks Chang (Tường) ...... i like it's .... installed

sinister

Magnumutz 02-11-2008 10:12 AM

Nice mod, i guess it'll come in handy.

Btw, "reason" is spelled incorrectly there.

Sofia 02-11-2008 03:39 PM

Thank you for this hack, tackebong :)

7lanet 02-26-2008 07:00 PM

Thank you for this hack

xorex 05-06-2008 05:04 AM

thax for this HAck !!:up:

If the forum costs not radically for example http://localhost/37/forums that after performance of the award That returns on http://localhost/37/37/forums and naturally gives out a mistake

Also it would be good to limit quantity of symbols in line resson as if to insert the big text it will shift the message to the right

Sorry for my bad English :)

pipibunny 08-12-2010 11:30 PM

Good idea !
But, can you change this mod for vb 4 ?


All times are GMT. The time now is 04:07 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.02845 seconds
  • Memory Usage 1,730KB
  • 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
  • (4)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete