![]() |
uShop - Public Opinions v1
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:
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:
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. |
Better name might be uShop :)
Ill poke matt about getting the names correct in .96/1 |
screenshot ?
|
A screen shot really isnt needed. It looks exactly like the title, it just depends on where you want to put it. :)
Edit: I added a screen shot but you can add what you want in the templates. |
I love this: "* Rep influence on how long PO's last"
since my board will have Rep as a important part in, and I shouldn't let any one do anything they want but just the most respectful ones maybe. looking for that. |
/me clicks install!
|
Could I please have an example of where in the postbit template I should add this to make it look like the screenshot? would I put it after this?:
PHP Code:
|
I actually have it under teh avatar but if you wanted it under thier usertitle, then yeah that looks right.
|
Is there an option that allows admins to delete these if necessary? I want to prevent this from being used maliciously.
|
All times are GMT. The time now is 06:14 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|