uShop - Public Opinions v1
This modification is in the archives.
This is a simple add-on for the ushop that adds an option to buy a 'public opinion' for another user.
Essentially it works just like the 'change other users title' option (in fact, its mostly same code). The only difference is that the user who recieved the public opinion can't go back and change it. This is good for boards that want a feature like the change other users title option but dont want it to affect titles. ----------------------------------------- Step 1: Run this query PHP Code:
ALTER TABLE `user` ADD `uttstore_po` VARCHAR( 250 ) NOT NULL ;
Step 3: Create a new store action for it in the admin cp under 'utt store hack' => 'add action'. For the short name, I used "po" Step 4: Add this in any templates you would like the PO displayed (ie: postbit) PHP Code:
<if condition="$post['uttstore_po']">
And thats it. Some stuff for version 2 (if and when I ever get around to it) * Ability to use bbcode * Time limit on changes * Rep influence on how long PO's last Enjoy and please let me know if you use this. Download This modification is archived and cannot be downloaded. |
Similar Mods
estore - Public Opinions | vBulletin 3.5 Add-ons |