Author Topic: [SOLVED] Points display config help  (Read 8559 times)

Zion

  • Guest
[SOLVED] Points display config help
« on: July 22, 2007, 10:38:00 pm »
Me again  :laugh:

As you can see from here : www.1timeuser.com

my points display is currently like this :

310.00 1T Points
8609.00 Bank 1T Points
8919 Total 1T Points

what I would like it to look like is this :

1T Points = 310.00
Bank 1T Points = 8609.00
Total 1T Points = 8919

any sugestions on how to do it? :P

Thanks in advance, this place rocks  O0

Offline feildmaster

Re: Points display config help
« Reply #1 on: July 23, 2007, 01:41:07 am »
sure, is 1T Points your suffix?

actually, show me the code and i can change it around for you... search for something like...

Code: [Select]
// Removed one <br /> from end of post count line. (in the display.php)

n give me the say... next 20 lines... that is if u don't know where that code is. =)

Zion

  • Guest
Re: Points display config help
« Reply #2 on: July 23, 2007, 02:50:03 am »
Ive attached the files ;)

Thanks mate I really appriciate this :)

Offline feildmaster

Re: Points display config help
« Reply #3 on: July 23, 2007, 03:14:26 am »
there u go...

Zion

  • Guest
Re: Points display config help
« Reply #4 on: July 23, 2007, 03:19:30 am »
Thanks very much :) Works perfectly  ;D

Offline CuTe_MaN

Re: [SOLVED] Points display config help
« Reply #5 on: July 24, 2007, 07:28:52 pm »
I have looked in the code that you have added in the Display.template.php but I the money in the bank didnt show, it only showed:

bank =  and the suffex

and another question if it is possible to remove the two zeros from the end of the number

Bank 1T Points = 8609.00


so can u help in editing the problem???


CuTe_MaN
« Last Edit: July 24, 2007, 07:30:37 pm by CuTe_MaN »

Offline feildmaster

Re: [SOLVED] Points display config help
« Reply #6 on: July 24, 2007, 09:44:52 pm »
getting rid of the .00 would be done in the phpMyAdmin, go to...

smf_members edit the "money" and "moneyBank" to get rid of the ,2 in the "Length/Values"

also, for you to get the money in bank to show you would also have to edit Display.php...
« Last Edit: July 24, 2007, 09:46:58 pm by feildmaster »

Offline CuTe_MaN

Re: [SOLVED] Points display config help
« Reply #7 on: July 24, 2007, 09:46:28 pm »
thank you for the fast reply

but how to fix the other problem?

CuTe_MaN


Offline feildmaster

Re: [SOLVED] Points display config help
« Reply #8 on: July 24, 2007, 09:47:57 pm »
I've edited post, umm... i forget what was used for it but i think that's what it was...

well that's what i thought but i was wrong. =)
« Last Edit: July 24, 2007, 09:52:09 pm by feildmaster »

Offline CuTe_MaN

Re: [SOLVED] Points display config help
« Reply #9 on: July 25, 2007, 02:45:18 am »
i will try to find what you have edited in the Display.php file


edit: I have looked in the Display.php but I couldnt find any thing there for the Shop


can u help me in finding the code that I need to add?

CuTe_MaN
« Last Edit: July 25, 2007, 05:01:42 am by CuTe_MaN »

Offline feildmaster

Re: [SOLVED] Points display config help
« Reply #10 on: July 25, 2007, 11:28:01 am »
im not too sure, i'll find out sooner or later though.... ^^

Offline CuTe_MaN

Re: [SOLVED] Points display config help
« Reply #11 on: August 13, 2007, 06:24:23 am »
have u found how to solve that probelm?

now It shows the users money in pocket but in bank it only shows the bank word

and the total it shows only the money in the pocket

Cute_MaN

Offline feildmaster

Re: [SOLVED] Points display config help
« Reply #12 on: August 13, 2007, 07:40:35 am »
im not sure, its a global so it should be able to post the bank amount no matter what... if u used the same code i put

Offline CuTe_MaN

Re: [SOLVED] Points display config help
« Reply #13 on: August 13, 2007, 07:41:57 am »
thats the problem

I have checked the code several times and it is the same

Offline feildmaster

Re: [SOLVED] Points display config help
« Reply #14 on: August 13, 2007, 07:51:43 am »
ah... i found out...

go into Load.php
search for...
Code: [Select]
mem.money,add
Code: [Select]
mem.moneyBank,after both

then search for
Code: [Select]
'money' => $profile['money'],and add
Code: [Select]
'moneyBank' => $profile['moneyBank']