vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - Nexia's POINTS system (https://vborg.vbsupport.ru/showthread.php?t=143530)

erinys 04-12-2007 10:30 AM

i have asked for 2 basic addons wich would put thise addon on the market for usabilty

https://vborg.vbsupport.ru/showthread.php?t=144656
and
https://vborg.vbsupport.ru/showthread.php?t=144655

In other words, some basic shop options, and a basic lottery system

erinys 04-12-2007 10:39 AM

btw: the two i posted above would be very nice as basics, perhaps its easier to code the shop, and make it "pluginbased" aswell? that its easier for people to make stuff that can be bought?

nexialys 04-12-2007 10:54 AM

Quote:

Originally Posted by AzzidReign (Post 1225553)
How would I change the postbit so instead of it displaying:
Cash: 0.00$
Display:
Cash: $0.00

you would have to edit the "postbit_display_complete" hook itself and move the elements like you want... they are self explanatory..

giovannicosta 04-12-2007 06:28 PM

Quote:

Originally Posted by erinys (Post 1225810)
i have asked for 2 basic addons wich would put thise addon on the market for usabilty

https://vborg.vbsupport.ru/showthread.php?t=144656
and
https://vborg.vbsupport.ru/showthread.php?t=144655

In other words, some basic shop options, and a basic lottery system

Exact same mods I would love to see. :) :D

Queball_Beast 04-12-2007 07:09 PM

Hi,
I`m also trying to change " 0.00$ " to " $0.00 " I open the "postbit_display_complete" but still have no idea what to edit, I see " $this , $those and $post " but no idea what to do or change, so any added intructions you give would be great.

Thanks:)
Quote:

Originally Posted by nexialys (Post 1225824)
you would have to edit the "postbit_display_complete" hook itself and move the elements like you want... they are self explanatory..


harmor19 04-12-2007 07:48 PM

Quote:

Originally Posted by Queball_Beast (Post 1226139)
Hi,
I`m also trying to change " 0.00$ " to " $0.00 " I open the "postbit_display_complete" but still have no idea what to edit, I see " $this , $those and $post " but no idea what to do or change, so any added intructions you give would be great.

Thanks:)

Replace the code in "Display Points in Postbit" plugin for Nexia's hack.

The code you should see is
PHP Code:

$this->post['nex_points_hand'] = 
vb_number_format($this->post['nex_points_hand'], $this->registry->options['nex_points_currency_decimal']) .
$this->registry->options['nex_points_currency_name_symbol'];
$those_points ucfirst($this->registry->options['nex_points_currency_names']);

if(
$this->registry->options['nex_points_hook_postbit_display_complete'])
{
    
$post[posts] .= '</div><div>' $those_points ': ' $this->post['nex_points_hand'];



Delete the entire code and paste
PHP Code:

$this->post['nex_points_hand'] = 
$this->registry->options['nex_points_currency_name_symbol'] .
vb_number_format($this->post['nex_points_hand'], $this->registry->options['nex_points_currency_decimal']);
$those_points ucfirst($this->registry->options['nex_points_currency_names']);

if(
$this->registry->options['nex_points_hook_postbit_display_complete'])
{
    
$post[posts] .= '</div><div>' $those_points ': ' $this->post['nex_points_hand'];



harmor19 04-12-2007 08:27 PM

I think you should add an option to choose if the currency to precede to succeed the points.

Replicators 04-12-2007 09:34 PM

Im tempted to use this, but would it be possible to display a users credit amount in the navbar, like under the private messages? I know where to put the code to do that, but it depends on where the hook is and all. I don't want it displayed in the postbit, other people don't need to know how much everyone has.

chandker 04-12-2007 11:02 PM

Just wondering if there is any add on to allow members to donate money to each other?

aranthorn 04-13-2007 01:14 AM

Just out of curiosity:

Is harmor's navbar thing there anything more than links in the navbar? If it is, I'm missing something. This is entirely possible because my moments of clarity are fleeting in my old age.


All times are GMT. The time now is 10:39 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.02621 seconds
  • Memory Usage 1,753KB
  • 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_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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