Adult Script Pro Community Forums

The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!

You are not logged in.

#1 2017-11-23 14:36:29

thiva7
Member
Registered: 2011-04-30
Posts: 1,022

change views format

Hey

with this change total views will show as 349,284,568 instent of 349284568

to add it just go to /templates/defboot/_video_list.tpl.php

and in line 27 change

echo $video['total_views']

with

echo number_format($video['total_views'])

thats is save and its done

Offline

#2 2017-11-26 10:07:30

Double_D
Member
From: The Netherlands
Registered: 2014-08-14
Posts: 305
Website

Re: change views format

cool wink
thx thiva

Offline

#3 2017-11-27 08:57:14

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: change views format

Also there could be a option to use for example k, like 1,200k, instead of 12,000...


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#4 2017-11-27 18:22:33

Double_D
Member
From: The Netherlands
Registered: 2014-08-14
Posts: 305
Website

Re: change views format

that's also nice too

Offline

Board footer

Powered by FluxBB