vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   uCash & uShop (https://vborg.vbsupport.ru/forumdisplay.php?f=100)
-   -   [REQ] Editable uCash Amount? (https://vborg.vbsupport.ru/showthread.php?t=95905)

y2krazy 09-09-2005 03:42 AM

[REQ] Editable uCash Amount?
 
Like shown in the post below, they have a currency called "Gil" and for certain people, I'm assuming Admins and Mods, they can edit their amount to be a word, phrase or a whole sentence. Is there a way to implement this into the hack itself or maybe as an add-on? Thanks in advance! ^^

http://www.shinraonline.com/board/sh...d.php?t=126893

lonely 09-10-2005 04:43 AM

i think what you see happening there is the admins have their own custom postbit that applies only to them, and inside it instead of displaying $points, they have it display whatever they want instead. just a theory.

AllenSam 09-14-2005 01:56 PM

Yeah, that can be done by a simple postbit/legacy template edit using <if condition="$post[userid]=={userid}"></if>.

They probably just did it as a way to show that they don't need gil since they are admins and can edit gil amounts.

y2krazy 09-17-2005 05:45 PM

Is there a way to make it a user-editable field like in their UserCP? That would be a lot easier than having to update the template each time they want to change it, know what I mean?


All times are GMT. The time now is 03:22 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.00964 seconds
  • Memory Usage 1,711KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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