News: June 24th, 2017, The Tinyportal team is pleased to announce the release of ~~ TinyPortal 1.3! GET IT NOW!!!

Login  |  Register
* * *
TinyPortal on Twitter
Welcome, Guest. Please login or register.
Did you miss your activation email?
June 26, 2017, 11:17:24 AM

Login with username, password and session length

Recent

Members
Stats
  • Total Posts: 181136
  • Total Topics: 20323
  • Online Today: 85
  • Online Ever: 383
  • (January 02, 2015, 05:58:49 AM)
Users Online
Users: 1
Guests: 56
Total: 57

Please read the Posting Guidelines


Author Topic: Keep a 'Tally' in a block?  (Read 684 times)

0 Members and 1 Guest are viewing this topic.

Offline VladTepes

  • Jr. Member
  • **
  • Posts: 46
Keep a 'Tally' in a block?
« on: May 21, 2017, 10:57:26 PM »
I was on a forum where they had a 'tally' feature.

It was an SMF 1.x forum and worked kind of like a poll.. sort of.

Basically it had a list of options with a tally being kept against each, and users could add to the total tally throughout the year. 

It was/is a hunting forum and the feature allowed us to keep a tally of the number of feral animals culled by members, by state, during the year.

Say I shoot 30 rabbits in Qld - I then go into the and select those options / complete the relevant fields.

It would create a spreadsheet with this data, and from that some graphs which could be viewed on the forum.

If anyone could point me in the right direction for this, it would be appreciated....

Cheers

P.S. I don't want this to degenerate or become a discussion of anyone's feelings on hunting etc.  It's a programming issue so let's keep it at that please :)
« Last Edit: May 22, 2017, 10:10:44 PM by VladTepes »

Online illori

  • Administrator
  • *
  • Posts: 1738
Re: Keep a 'Tally' in a block?
« Reply #1 on: May 22, 2017, 03:16:56 AM »
you would need to find a 3rd party script to do what you want. by default TP does not have a block that can do what you want.

Offline VladTepes

  • Jr. Member
  • **
  • Posts: 46
Re: Keep a 'Tally' in a block?
« Reply #2 on: May 22, 2017, 05:55:05 PM »
I though that would likely be the case.

I am hoping to get my hands on some or all of the files which were involved - seems there was some php, some html and that possibly some of the output was done in flash.  Obviously a different means will need to be found to do what the flash component used to do.

I am unsure as to whether there were actually any changes to the SMF database. Hopefully not.

If I am able to recreate it, I think that doing so as a TP block might be a good way to do it?  OR would an SMF mod (official or otherwise) perhaps be a better approach?

I'm no coding expert, just rank amateur so I am hoping there might be someone out there wants to take this on voluntarily as a bit of a project.

Anyway I'll have a look at the files if/when I can get them and go from there.

Offline VladTepes

  • Jr. Member
  • **
  • Posts: 46
Re: Keep a 'Tally' in a block?
« Reply #3 on: May 22, 2017, 10:14:01 PM »
OP updated with exact usage.

I have got the various files now (haven't had a chance to look at them as yet - work firewall issue  ;D ) but hopefully it wouldn't be a MAJOR problem for someone familiar with PHP / html5 to get this up and running.  I just need to find that "someone"   8)