Version: 2.1, by Abe1
Developer Last Online: Jun 2010
Version: 3.5.3
Rating:
Released: 07-21-2005
Last Update: 02-08-2006
Installs: 86
DB Changes Uses Plugins Template Edits
Additional Files
No support by the author.
Post Award Hack 2.1
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
Settings to allow what users or usergroups can give thanks
Installation information on hack:
Files edited: 0
Templates edited: 4
Files to upload: 1
Time to install: 5 minutes max
Updates:
Version 2.1 (2/8/06):
GOLD Release of this hack for vBulletin version 3.5
Added user and usergroup permissions via the acp options
Rewrote the template edits
Please post your comments or suggestions for this hack. I read ALL posts.
MAKE SURE YOU CLICK INSTALL! You will get an email when a new version is released.
This hack is created for your use free of charge. No payment is requested. However, if you would like to donate money for the work I put in to this hack, a donation would show your appreciation.
Where's the PHP file (award.php) and where is the SQL to update the database. Also I found a problem in the templates editing...
You have
in MEMBERINFO:
Code:
find:
--------------------------------------------------------------------
<if condition="$vboptions['profilelastpost']">
--------------------------------------------------------------------
replace with:
--------------------------------------------------------------------
<tr>
<td><a href="search.php?$session[sessionurl]do=findawards&u=$userinfo[userid]">Find all awarded posts by $userinfo[username]</a></td>
</tr>
--------------------------------------------------------------------
It should be:
Code:
find:
<td><a href="search.php?$session[sessionurl]do=process&showposts=0&starteronly=1&exactname=1&searchuser=$userinfo[urlusername]"><phrase 1="$userinfo[username]">$vbphrase[find_all_threads_started_by_x]</phrase></a></td>
</tr>
after it add:
<!-- HACK -->
<tr>
<td><a href="search.php?$session[sessionurl]do=findawards&u=$userinfo[userid]">Find all awarded posts by $userinfo[username]</a></td>
</tr>
<!-- HACK -->
First, thanks for that template error. It should have said "add before" instead or "replace". I fixed it in the zip download.
Second, the award.php is no longer needed. All actions are in the plugings. Yhe SQL change is also done by the installer when you import the plugings. It's a pritty cool way how the installer and uninstaller work using the plug-in sytem.
Why do some of the templates link to award.php then if it's handled by the plugin?
I must have been sleeping when I made the installer. Anyways, I just fixed it over. award.php was not changed to showthread.php. The search features I had made already go to search.php.