Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4260
Latest: Verrick
New This Month: 3
New This Week: 0
New Today: 0
Stats
Total Posts: 43301
Total Topics: 7525
Most Online Today: 102
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 69
Total: 69

Author Topic: show number of total images in gallery  (Read 5298 times)

0 Members and 1 Guest are viewing this topic.

Offline mrijs

  • Member
  • *
  • Posts: 4
    • View Profile
show number of total images in gallery
« on: May 05, 2007, 10:14:49 am »
Hey, I want to show the total number of images in my gallery in the default stats box of TP.
Well I found out that can be done by editing the TPortalBlocks.template.php....

But.... the problem is I dont know the string function whatever its called for the total images in the gallery.

Someone PLEASE help me.

Thanks :)

Maarten

Offline Renegd98

  • Member
  • *
  • Posts: 26
    • View Profile
Re: show number of total images in gallery
« Reply #1 on: May 05, 2007, 10:21:50 am »
You can make a phpbox and put the following in it and it will show what you want and more:

ssi_gallerystats($output_method = 'echo');

It shows:

Total Pictures xxx
Total Views xxxx
Total Gallery Filesize xxx.xx kb
Total Comments xxx


Offline mrijs

  • Member
  • *
  • Posts: 4
    • View Profile
Re: show number of total images in gallery
« Reply #2 on: May 05, 2007, 10:48:14 am »
thanks a lot!
are you sure it isnt possible to just show the total images? my users are probably not interested in the total file size of the folder.

thanks a lot though, ill probably use it :)

- Maarten

 

Related Topics

  Subject / Started by Replies Last post
5 Replies
6466 Views
Last post November 29, 2006, 06:42:00 pm
by SMFHacks
2 Replies
6516 Views
Last post May 05, 2007, 10:50:31 am
by mrijs
11 Replies
9161 Views
Last post March 30, 2013, 07:49:26 pm
by madfiddler
3 Replies
3230 Views
Last post January 06, 2016, 10:25:28 am
by SMFHacks
6 Replies
1408 Views
Last post September 02, 2021, 07:35:00 am
by SMFHacks

+- Recent Topics

Pretty Urls extras by SMFHacks
May 13, 2024, 10:28:54 am

Mod question by Verrick
May 11, 2024, 02:42:50 pm

i have paid but cant download ad pro. by SMFHacks
May 02, 2024, 11:29:38 pm

Please Help! by SMFHacks
April 17, 2024, 08:04:55 am

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Can't DROP 'id_member'; check that column/key exists Datei: by SMFHacks
March 30, 2024, 11:58:20 am

No thumbnails on new uploads by Tonyvic
March 29, 2024, 06:26:18 am

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

Powered by EzPortal