Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases

Reply
 
Thread Tools
Post Award Hack 1.2 Details »»
Post Award Hack 1.2
Version: 1.2, by Abe1 Abe1 is offline
Developer Last Online: Jun 2010 Show Printable Version Email this Page

Version: 3.0.3 Rating:
Released: 09-06-2004 Last Update: 10-23-2004 Installs: 67
DB Changes
 
No support by the author.

Post Award Hack version 1.2

Overview:
This hack will allow you to award individual posts. It will give you an option to add or remove the award. It will show a rosette on a post that has been awarded.

Features:
Shows a rosette on all awarded posts
Search for individuals awarded posts
Search for all awarded posts
Allow either just admin, super mod and admin, or all moderators to give awards


Files to upload: 2 (one php and one gif)
Files to edit: Zero
Templates to add: Zero
Templates to edit: Five
Queries to run: Two
Time to install: Less then 5 minutes.

Please click ?install? if you use it.

Please post feedback as this is my first big hack.

Updates:
Version 1.0 -
Release

Version 1.1 -
Security Update
Find all awarded posts

Version 1.2 -
Fixed if you want moderators to give awards
Fixed Search page title
I no longer make the search options manual to implement

Show Your Support

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

Comments
  #102  
Old 11-10-2004, 11:57 AM
Lord Brar's Avatar
Lord Brar Lord Brar is offline
 
Join Date: Jul 2004
Posts: 102
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sounds interesting... I am gonna install it
Reply With Quote
  #103  
Old 11-14-2004, 05:18 PM
James T Brock James T Brock is offline
 
Join Date: Sep 2004
Posts: 273
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack. Works great. Anyway to get statistics with this, like how many awarded posts each user has?
Reply With Quote
  #104  
Old 11-14-2004, 05:20 PM
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Location: I LOVE New York!
Posts: 2,886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by James T Brock
Great hack. Works great. Anyway to get statistics with this, like how many awarded posts each user has?
Hopefully some day.
Reply With Quote
  #105  
Old 12-10-2004, 08:19 AM
cinq's Avatar
cinq cinq is offline
 
Join Date: Oct 2002
Posts: 1,398
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just to clarify, the search for awarded posts simply lists out ALL the awarded posts ?

Or can a search ( like normal vb search ) actually be done and only shows results which have the 'awarded post' status ?
Reply With Quote
  #106  
Old 12-11-2004, 09:31 AM
sirstone sirstone is offline
 
Join Date: Dec 2004
Location: germany
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I´ve installed the version 3.0.3 of VB Bulletin..

open template 'postbit'

find:
--------------------------------------------------------------------
<div class="normal" style="float:$stylevar[right]">
--------------------------------------------------------------------

after place: (If you want only administrators to give awards)
--------------------------------------------------------------------
<if condition="$bbuserinfo[usergroupid]=='6'">
<if condition="$post[award]=='0'">&nbsp;
<a href="award.php?$session[sessionurl]do=award&postid=$post[postid]">Add Award</a>
<else />&nbsp;<a href="award.php?$session[sessionurl]do=award_remove&postid=$post[postid]">Remove Award</a>
</if>
</if>

I can´t find this one:

<div class="normal" style="float:$stylevar[right]">

Can anybody help?

Sirstone
Reply With Quote
  #107  
Old 12-12-2004, 12:35 PM
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Location: I LOVE New York!
Posts: 2,886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sirstone
I?ve installed the version 3.0.3 of VB Bulletin..

open template 'postbit'

find:
--------------------------------------------------------------------
<div class="normal" style="float:$stylevar[right]">
--------------------------------------------------------------------

after place: (If you want only administrators to give awards)
--------------------------------------------------------------------
<if condition="$bbuserinfo[usergroupid]=='6'">
<if condition="$post[award]=='0'">&nbsp;
<a href="award.php?$session[sessionurl]do=award&postid=$post[postid]">Add Award</a>
<else />&nbsp;<a href="award.php?$session[sessionurl]do=award_remove&postid=$post[postid]">Remove Award</a>
</if>
</if>



I can?t find this one:

<div class="normal" style="float:$stylevar[right]">

Can anybody help?

Sirstone
It should be in the top ten lines of the template.
Reply With Quote
  #108  
Old 12-12-2004, 12:37 PM
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Location: I LOVE New York!
Posts: 2,886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cinq
Just to clarify, the search for awarded posts simply lists out ALL the awarded posts ?

Or can a search ( like normal vb search ) actually be done and only shows results which have the 'awarded post' status ?
Right now, will only search all awarded posts. Maybe in the future I'll some more feature. Right now now I'm working on my other hack called 'Post Thank You Hack' (it's in the beta section).
Reply With Quote
  #109  
Old 12-17-2004, 06:09 PM
Roxie's Avatar
Roxie Roxie is offline
 
Join Date: May 2002
Location: on vb.org
Posts: 526
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent idea. I'll be installing this over the weekend.
Reply With Quote
  #110  
Old 01-05-2005, 11:43 AM
MikaK's Avatar
MikaK MikaK is offline
 
Join Date: Nov 2004
Location: Helsinki, Finland
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*installed*
Reply With Quote
  #111  
Old 01-08-2005, 05:08 PM
j_86 j_86 is offline
 
Join Date: May 2003
Posts: 275
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This hack is VB 3.05 compatiable.
Reply With Quote
Reply

Thread Tools

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 04:02 PM.


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.06030 seconds
  • Memory Usage 2,302KB
  • 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_quote
  • (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