PDA

View Full Version : estore - Public Opinions


Reeve of shinra
02-12-2006, 10:00 PM
Public Opinions for Estore

About This Addon:
This addon for the estore essentially creates a 2nd usertitle.
- It can be displayed just about anywhere using a variable.
- It cannot be changed by the user.
- It can be changed by others via the estore.
- Works EXACTLY like the Change Other User Title action.

This addon is a good way to achieve the 'change others title' feature without having the users actual title changed. You can use this in addition to if you like. Why limit yourself? :lick:


Installation Instructions:

Download and unzip the attached file.
Upload the png file to your images/estore/ folder.
Upload the action file to your forums/estore folder.
Import the estorepo.xml file as a product.
Add the below html to any template you would like this to show up in. Good places would be postbit and memberinfo.



<if condition="$post['publicopinion']">
<div class="smallfont">
$vbphrase[publicopinion]: $post[publicopinion]
</div>
</if>


Here's a bad screenshot if you really need a visual on what a secondary title like feature would be.

https://vborg.vbsupport.ru/attachment.php?attachmentid=20407

Finally a big thanks to CMX_CMGSCCC for letting me his code to turn this out quickly.

Daniel
02-13-2006, 12:58 AM
Nice one.

Ignignokt
02-13-2006, 01:09 AM
Interesting hack, phoenixdown

The Chief
02-13-2006, 01:09 AM
waahh, those your username come like that font??

thats awesome if it does :)

anyways, looks cool, but don't totally catch what this does...

Reeve of shinra
02-13-2006, 01:13 AM
lol, the username in that pic is actually the guys title.

This adds a secondary title. We call it public opinion because when we first built this pre-leanne store, the reputation feature wasn't around. Its just a good way for members to give a title to another member without changing thiers.

AshokForums.com
02-13-2006, 01:25 AM
Thanks for this

docvader
02-13-2006, 05:37 AM
User can't change the title? Can admins do so? What if you get someone adding a public opinion that is libelous or just downright disgusting? There should be some level of control, somewhere.

Great idea though. Definitely going to use it, once I get the balls to install the eStore.

caimakale
02-13-2006, 05:51 AM
Is this supposed to have an action file? Only thing in the zip is the png and the xml file. ;)

Snake
02-13-2006, 12:04 PM
Nice!

Reeve of shinra
02-13-2006, 02:42 PM
User can't change the title? Can admins do so? What if you get someone adding a public opinion that is libelous or just downright disgusting? There should be some level of control, somewhere.

Great idea though. Definitely going to use it, once I get the balls to install the eStore.

Aside from a couple of changes, this works exactly like the change other users title action. If an admin needs to change it, he can go into the store and just buy the user a different one. My site which is addon is mainly for, is pretty liberal when it comes to such things so that wasn't really a concern for me.

I used to use a custom profile field so technically it was editable by admins... I can give you quick instructions on how to change it if its really needed by you.

caimakale - your right, silly mistake on my part. I've added the action file to the zip. Thanks!