TinyPortal

Development => Support => Topic started by: Chackan on September 25, 2007, 04:02:47 AM

Title: How to add a Poll in the frontpage?
Post by: Chackan on September 25, 2007, 04:02:47 AM
First of all sorry if this is the wrong section.

I'd like to add a Poll in the frontpage, or a Poll Block dont know what to call it,  but something that could have a Poll :S Maybe a mod or something :S

Thanks!
Title: Re: How to add a Poll in the frontpage?
Post by: Ken. on September 25, 2007, 04:26:36 AM
Check the Block Code Snippets board.
Title: Re: How to add a Poll in the frontpage?
Post by: Chackan on September 25, 2007, 04:30:15 AM
Already checked it, but i'm kind of afraid of changing the php code :S

Also, my SMF version is 1.1.4 and all the code is for 1.1.3 or earlier. I tried the SMF Poll Mod by Clemenzo but it also won't install in my version  :-\
Title: Re: How to add a Poll in the frontpage?
Post by: Ken. on September 25, 2007, 09:59:29 AM
The mod may need to be re-written to work with this later version in which case you will need to contact the mod author.

As for changing the php code, I'm not sure what you are referring to but to use the block code snippet below you simply place it in the correct type block and make any needed adjustments to show the poll(s) you want.

It's easy to do and if you make copies of your files you can put the existing one back in case something goes wrong.
http://www.tinyportal.net/index.php?topic=9869.0
Title: Re: How to add a Poll in the frontpage?
Post by: Chackan on September 25, 2007, 12:36:16 PM
I'll try then. Thanks very much :D
Title: Re: How to add a Poll in the frontpage?
Post by: clemenzo on September 25, 2007, 02:22:59 PM
Quote from: Chackan on September 25, 2007, 04:30:15 AM
Already checked it, but i'm kind of afraid of changing the php code :S

Also, my SMF version is 1.1.4 and all the code is for 1.1.3 or earlier. I tried the SMF Poll Mod by Clemenzo but it also won't install in my version  :-\

The SMF Mod does work on SMF 1.1.4. I reinstalled the mod after patching my SMF to 1.1.4. See http://dev.voixbox.com
Title: Re: How to add a Poll in the frontpage?
Post by: Chackan on September 25, 2007, 04:29:27 PM
Oo Weird, it gave me corrupt or not compatible data :S Going to check it.

Still getting this error :S

The package you are trying to download or install is either corrupt or not compatible with this version of SMF.
Title: Re: How to add a Poll in the frontpage?
Post by: clemenzo on September 25, 2007, 04:30:49 PM
Quote from: Chackan on September 25, 2007, 04:29:27 PM
Oo Weird, it gave me corrupt or not compatible data :S Going to check it.

Still getting this error :S

The package you are trying to download or install is either corrupt or not compatible with this version of SMF.
Share your site url?
Title: Re: How to add a Poll in the frontpage?
Post by: Chackan on September 25, 2007, 04:35:24 PM
http://www.otherworld-portal.com (http://www.otherworld-portal.com)

SMF File    Your Version   Current Version
SMF Package   SMF 1.1.4   SMF 1.1.4
Sources                      1.1.4          1.1.4
Default Template        1.1.2          1.1.2
Language Files           1.1.2           1.1.2
Current Templates   1.1            1.1

Dunno if this helps :S
Title: Re: How to add a Poll in the frontpage?
Post by: clemenzo on September 25, 2007, 04:48:37 PM
Quote from: Chackan on September 25, 2007, 04:35:24 PM
http://www.otherworld-portal.com (http://www.otherworld-portal.com)

SMF File    Your Version   Current Version
SMF Package   SMF 1.1.4   SMF 1.1.4
Sources                      1.1.4          1.1.4
Default Template        1.1.2          1.1.2
Language Files           1.1.2           1.1.2
Current Templates   1.1            1.1

Dunno if this helps :S
Can we move the discussion to the SMF Poll mod page at http://www.simplemachines.org/community/index.php?topic=176062.0 ?

I hope you are using version 1.01 of the poll mod.. :)
Title: Re: How to add a Poll in the frontpage?
Post by: Chackan on September 25, 2007, 04:51:52 PM
Okay, i'll continue there.