Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43259
Total Topics: 7518
Most Online Today: 177
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 176
Total: 177

Author Topic: show number of total images in gallery  (Read 5246 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
6401 Views
Last post November 29, 2006, 06:42:00 pm
by SMFHacks
2 Replies
6475 Views
Last post May 05, 2007, 10:50:31 am
by mrijs
11 Replies
9068 Views
Last post March 30, 2013, 07:49:26 pm
by madfiddler
3 Replies
3180 Views
Last post January 06, 2016, 10:25:28 am
by SMFHacks
6 Replies
1340 Views
Last post September 02, 2021, 07:35:00 am
by SMFHacks

+- Recent Topics

No thumbnails on new uploads by SMFHacks
March 27, 2024, 02:10:41 pm

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

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

Powered by EzPortal