Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome, Guest. Please login or register.
Did you miss your activation email?

May 28, 2020, 10:21:37 PM

Login with username, password and session length
Members
Stats
  • Total Posts: 190002
  • Total Topics: 20832
  • Online Today: 128
  • Online Ever: 917
  • (January 21, 2020, 09:02:26 AM)
Users Online
Users: 0
Guests: 86
Total: 86

Author Topic: [Block] Additional Stats  (Read 26170 times)

0 Members and 1 Guest are viewing this topic.

JPDeni

  • Guest
Re: [Block] Additional Stats
« Reply #60 on: March 18, 2009, 06:59:06 PM »
Cool. :)

Offline lurkalot

  • Administrator
  • *
  • Posts: 6611
    • Camera Craniums
Re: [Block] Additional Stats
« Reply #61 on: April 19, 2009, 09:38:07 AM »
Probably asking in the wrong place, but,

Anyone managed to pull any info from a Coppermine gallery, and add it to this block?

  • Users in gallery = Who
  • What album they're viewing
  • What pic they're viewing

etc, etc.

I can't seem to find any way of doing something like this, and I've searched everywhere.  Even asked over at http://coppermine-gallery.net , and http://www.simplemachines.org/ to no avail.  There must be loads of people using smf, and coppermine, and having the same problem.

I have SMF 1.1.8 bridged with Coppermine 1.4.21, and tinyportal 0.9.8

Offline Ken.

  • Support Team
  • *
  • Posts: 4351
    • Our FamilyForum
Re: [Block] Additional Stats
« Reply #62 on: April 19, 2009, 10:19:01 AM »
Did you take a look at CpmFetch on the CPG forum?

I've not looked at it in some time now, but I think it had some stats capability to go along with it's image displays.

----------------------------------------------------
" If everything seems under control, you’re not going fast enough." - Mario Andretti  ^-^

Offline lurkalot

  • Administrator
  • *
  • Posts: 6611
    • Camera Craniums
Re: [Block] Additional Stats
« Reply #63 on: April 19, 2009, 10:34:21 AM »
Thanks Ken.   

I'm using copperminefetch to pull images to my latest images front page block.

My problem is the users online doesn't show when someone is in the gallery, it just shows them as "Viewing the board index of cameracraniums.com"

Would be nice if I could get this to show them in the additional stats block I'm using.  like, Users in gallery and  Member name  underneath, much like the part that shows users in arcade.

Offline ZarPrime

  • Friends
  • *
  • Posts: 4653
Re: [Block] Additional Stats
« Reply #64 on: April 19, 2009, 10:45:03 AM »
lurkalot,

Hang around for awhile and be patient.  Perhaps Lord Anubis will see this and be able to add something to the code for you to be able to do this since he wrote the original code.

ZarPrime

Offline lurkalot

  • Administrator
  • *
  • Posts: 6611
    • Camera Craniums
Re: [Block] Additional Stats
« Reply #65 on: April 22, 2009, 12:52:07 AM »
lurkalot,

Hang around for awhile and be patient.  Perhaps Lord Anubis will see this and be able to add something to the code for you to be able to do this since he wrote the original code.

ZarPrime

Thanks.  I did ask a similar question directly on Lord Anubis's site a year ago, think he was stumped then. lol...

I also just asked again over at http://coppermine-gallery.net/, and was told that Coppermine doesn't record that info, so there's no easy way to accomplish that tracking.  see here, http://forum.coppermine-gallery.net/index.php/topic,59120.0.html

That said, I'm sure I've seen this done on sites before, just can't find one now, to ask them. :(

Looks like I'll have to give up on this one.

Offline Ianedres

  • Friends
  • *
  • Posts: 684
  • $foo['ianedres'] < $foo['ichbin']
    • Clickity click dot dot dot com thingy
Re: [Block] Additional Stats
« Reply #66 on: April 22, 2009, 09:36:51 PM »
I am 99% sure that Coppermine does not track your current position through the database, which would be how SMF would obtain that info... ::)

Offline Lord Anubis

  • Hero Member
  • *****
  • Posts: 679
Re: [Block] Additional Stats
« Reply #67 on: April 23, 2009, 08:40:18 AM »

Thanks.  I did ask a similar question directly on Lord Anubis's site a year ago, think he was stumped then. lol...


Correct, I never used Coppermine so have no idea how incorporate this  ???

Offline lurkalot

  • Administrator
  • *
  • Posts: 6611
    • Camera Craniums
Re: [Block] Additional Stats
« Reply #68 on: April 23, 2009, 10:46:42 AM »

Thanks.  I did ask a similar question directly on Lord Anubis's site a year ago, think he was stumped then. lol...


Correct, I never used Coppermine so have no idea how incorporate this  ???

Thanks Lord Anubis

Just to be clear, I wasn't having a dig at you, I know you tried very hard to help me. ;) 

I was wondering if there was some sort of script I could put in my gallery sub directory that could show users visiting the gallery, and then pull the info to the bottom of this block.  Anyone know if there is such a thing, and if this is possible? 

Offline Lord Anubis

  • Hero Member
  • *****
  • Posts: 679
Re: [Block] Additional Stats
« Reply #69 on: April 23, 2009, 01:49:12 PM »
there is a few, search google for "users online script", I doubt it will grab their usernames without modification, but it will allow you to show how many people are on that page for a certain time interval