vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Miscellaneous Hacks - uCash 3.x (https://vborg.vbsupport.ru/showthread.php?t=219475)

s-p0k 07-26-2009 06:18 AM

Quote:

Originally Posted by Link14716 (Post 1855546)
Did you upload the files to your forums directory? The only thing I can think of is your server doesn't display PHP errors and the required functions_ucash.php file isn't being found in your includes directory.


ty for the info will look in to it.............

ATP_JD 07-26-2009 05:16 PM

First, thanks for a really slick product. This is almost the exact system I've been beating my head against a brick wall to create for the last week.

Question: The template modification instructions state:

Quote:

-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
In your memberinfo_block_ministats template, find:
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

$template_hook[profile_ministats_list]

-+-+-+-+-+
Add Above:
-+-+-+-+-+

<dd>$userinfo[ucashdisplay]</dd></if>
Is that trailing "</if>" really supposed to be there? Is the line missing the opening of the conditional in front of it?

Thanks in advance.

- Justin

ragtek 07-26-2009 05:19 PM

Also i wouldtn't edit the template, there's above a template hook, so why not use it?:D

Link14716 07-26-2009 06:07 PM

Quote:

Originally Posted by ATP_JD (Post 1855979)
First, thanks for a really slick product. This is almost the exact system I've been beating my head against a brick wall to create for the last week.

Question: The template modification instructions state:



Is that trailing "</if>" really supposed to be there? Is the line missing the opening of the conditional in front of it?

Thanks in advance.

- Justin

Thanks for pointing that out. The correct line to add to memberinfo_block_ministats would be:
Code:

                                <if condition="$show['ucash']"><dt class="shade">Points</dt>
                                <dd>$userinfo[ucashdisplay]</dd></if>

I'll update the zip file in a minute here.

Link14716 07-27-2009 02:34 AM

I messed it up again. Screw it, I'll just use the template hooks because I suck at making modification text files apparently. Updated.

DS MrSinister 07-27-2009 02:47 AM

Thank you for getting back in the game.. i did miss using ucash...

Link14716 07-27-2009 03:43 AM

I have template hooks used in beta 2, going to get infractions and a basic admin script done before pushing it out.

Link14716 07-27-2009 06:56 AM

Beta 2 is released! New features here are point deduction on infractions, the use of template hooks, and a primitive admin script. Upgrade by re-uploading the files and re-importing product-ucash.xml, allowing overwrite. Then, undo the template edits that you did to memberinfo_block_ministats and postbit/postbit_legacy as they aren't needed anymore.

Hornstar 07-31-2009 06:37 AM

If I want to clear everyones points back to 0. How do I do this?

Link14716 07-31-2009 07:49 AM

Run a database query:

Code:

UPDATE user SET ucash = 0;


All times are GMT. The time now is 12:15 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
  • Page Generation 0.01095 seconds
  • Memory Usage 1,739KB
  • 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
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete