vForums Support Banner



 

Welcome Guest! Please Login or Register
vForums Support :: vForums :: Support :: Money/Credit Assistance - View Topic
Topic Rating: *****
Printable View
blanka
Full Member
***

[Avatar]

Posts: 319
Status: Offline
Gender: Male
Joined:  
Reputation: 10%  


pm
Money/Credit Assistance (24th Jul 08 at 4:48am UTC)
Might be obvious but meh
Forum URL: Rather not mention.
Experienced By: Ermm me. xD
Browser: Doesn't matter
Operating System: Doesn't matter

Problem:
I got 1 quick question.

1)Is there a way to not have the points/whatever not have a decimal?
http://wimg.co.uk/1wNFZy.png
^ Like how it has it there.
Ross
Administrator
*****

[Avatar]

Posts: 3,709
Status: Offline
Gender: Male
Age: 9 14
Joined:  

Additional Groups:
Support Team
***


Reputation: 45%  


pmwwwtwittergtalkvForum
Re: Money/Credit Assistance (24th Jul 08 at 8:28am UTC)
Sorry, I'm a little confused. You want to only have it as a whole number "Money: 268" even if they get a decimal per-post "0.25"? Or have I got that wrong? {Smile}

Image
blanka
Full Member
***

[Avatar]

Posts: 319
Status: Offline
Gender: Male
Joined:  
Reputation: 10%  


pm
Re: Money/Credit Assistance (24th Jul 08 at 5:20pm UTC)
Yep, even if the have a decimal could you just have not show?
Ross
Administrator
*****

[Avatar]

Posts: 3,709
Status: Offline
Gender: Male
Age: 9 14
Joined:  

Additional Groups:
Support Team
***


Reputation: 45%  


pmwwwtwittergtalkvForum
Re: Money/Credit Assistance (24th Jul 08 at 5:41pm UTC)
OK, in your mini-profile template, replace the {additional_info} tag with this piece of code {Smile}

Code: JavaScript
 
  1. <script type="text/javascript">
  2. var additional_info = "{additional_info}";
  3. additional_info = additional_info.replace(/\.\d{1,2}/gi, '');
  4. document.write(additional_info);
  5. </script>
 

Image
Alex Bailey
Senior Member
****

Posts: 503
Status: Offline
Gender: Male
Location: Uk
Age: 33
Joined:  
Reputation: 8%  


pmmsnaim
Re: Money/Credit Assistance (24th Jul 08 at 8:20pm UTC)
And that should work if the mini profile template has been remodelled?

ting-tong2k6@hotmail.com
blanka
Full Member
***

[Avatar]

Posts: 319
Status: Offline
Gender: Male
Joined:  
Reputation: 10%  


pm
Re: Money/Credit Assistance (25th Jul 08 at 2:01am UTC)
Thanks, Ross. =)
Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: Money/Credit Assistance (25th Jul 08 at 10:01pm UTC)
 
And that should work if the mini profile template has been remodelled?


Yes it should! {Smile}
 Printable View

All times are GMT+0 :: The current time is 1:21am
Page generated in 4.0791 seconds
This Forum is Powered By vForums (v2.4)
Create a Forum for Free | Find Forums