vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   estore - Public Opinions (https://vborg.vbsupport.ru/showthread.php?t=107831)

Reeve of shinra 02-12-2006 10:00 PM

estore - Public Opinions
 
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.

HTML Code:

<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/attachmen...chmentid=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

Quote:

Originally Posted by docvader
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!


All times are GMT. The time now is 11:26 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01053 seconds
  • Memory Usage 1,733KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete