News: February 16th, 2020, The Tinyportal team is pleased to announce the release of ~~ TinyPortal 1.6.5! GET IT NOW!!!

Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media
Welcome, Guest. Please login or register.
Did you miss your activation email?

April 02, 2020, 01:27:32 PM

Login with username, password and session length

Recent

Members
Stats
  • Total Posts: 189572
  • Total Topics: 20808
  • Online Today: 625
  • Online Ever: 917
  • (January 21, 2020, 09:02:26 AM)
Users Online
Users: 1
Guests: 49
Total: 50

Author Topic: Who Voted What  (Read 4381 times)

0 Members and 1 Guest are viewing this topic.

GAHroadkill

  • Guest
Who Voted What
« on: April 16, 2009, 10:03:23 AM »
I am new to the PHP and Tinyportals. I have been working on my site and I finally figure out how to get Who voted what 1.1.3 to load into smf 1.1.8 I change the package info version lines to 1.1.8 from 1.1.3 to get it to install. It loaded fine and is running with out errors. I have the package here for anyone who may need it. I was wondering if any one can help me a TP Block. I would like to have a block that shows a current poll result for a poll I choose. I just not sure as to the code I would use. I guess this post could fit under a couple of areas in the forums. If I have posted this in the wrong area I am sorry( go figure a noob  :uglystupid2:).

Roadkill
« Last Edit: April 16, 2009, 10:05:46 AM by GAHroadkill »

Offline ZarPrime

  • Friends
  • *
  • Posts: 4653
Re: Who Voted What
« Reply #1 on: April 16, 2009, 03:10:21 PM »
Hi Roadkill,

Welcome to TinyPortal,

Is this "Who Voted What" that you have included here the same Mod located on the SMF site at http://custom.simplemachines.org/mods/index.php?mod=347 or is this something else that you have created?  If it is the Mod from SMF, it shouldn't be on here.  I don't know how this Mod works but the Mod Creator would be the person to ask about putting it's result into a TinyPortal block.  If it is the same Mod that is available on SMF then we should remove it since we can't provide support for it here.

We can teach you how to make blocks but we can't give you support on how to make another SMF Mod work correctly here.

LMK what it is you need for us to do, and how you respond will tell us whether this topic needs to be moved to some other board like Support.

Thanks,

ZarPrime

GAHroadkill

  • Guest
Re: Who Voted What
« Reply #2 on: April 17, 2009, 10:33:10 AM »
Zar Prime,
      The orignal Mod was from SMF and I change the package-info.php config lines to read smf 1.1.8 instead of 1.1.3 and the ref in the modification.php to read 1.1.8 instead of the 1.1.3 version it was orginal written. So I guess you would call this a mod for smf 1.1.8

      I was wonder with the TP block, I have seen you can use block snipets and java,html and others. I would like to set a block up that had a code that ref a poll posted in the forum and showed the results in the block. So I guess I really had two post in one. I am a little weak with script coding and was looking for some advice as to how I would start this. Html is very basic and I understand that. With the Tiny Portal interface I am trying to figure out these coding scripts to customize the web site to be both orignal and functional with all the tool out there.

Offline ZarPrime

  • Friends
  • *
  • Posts: 4653
Re: Who Voted What
« Reply #3 on: April 17, 2009, 11:16:46 AM »
I'm not sure what that mod does.  However, there is some code in our block code snippets board that will allow you to display the results of polls in a block.  You might want to do a search in that board for "poll" and it will find those snippets.

ZarPrime

Offline Ken.

  • Support Team
  • *
  • Posts: 4349
    • Our FamilyForum
Re: Who Voted What
« Reply #4 on: April 17, 2009, 11:23:02 AM »
Take a look at this Block Code Snippet:
http://www.tinyportal.net/index.php?topic=9869.0

I've not had any polls running in a long while now, but the last time I used this snippet it worked very well.
« Last Edit: February 03, 2012, 09:42:13 PM by IchBinâ„¢ »

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