The Arcive of vBulletin Modifications Site. |
|
Post Award Hack Details »»
|
|||||||||||||||||||||||||
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:
Version 2.1 (2/8/06):
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. ![]() Supporters / CoAuthors Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
Nice Award ,
is there away to give users Award , it's like this hack , Regards |
|
#3
|
||||
|
||||
|
Nice
|
|
#4
|
|||
|
|||
|
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> -------------------------------------------------------------------- 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 --> |
|
#5
|
|||
|
|||
|
Nevermind I see the sql in the xml.
|
|
#6
|
||||
|
||||
|
Quote:
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. |
|
#7
|
|||
|
|||
|
Why do some of the templates link to award.php then if it's handled by the plugin?
|
|
#8
|
||||
|
||||
|
Quote:
|
|
#9
|
|||
|
|||
|
Oh, another bug, you have in the instructions to upload to images/buttons when it should be images/misc
|
|
#10
|
||||
|
||||
|
Quote:
I had copied the image location from my Post Thanks Hack that is why is said button and not misc. Anyways, all showld be good now. |
![]() |
|
|