[2.0.17] Quick poll insert

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in here. No new MODs will be accepted into the MOD Database for phpBB2
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.

Rating:

Excellent!
7
70%
Very Good
1
10%
Good
2
20%
Fair
0
No votes
Poor
0
No votes
 
Total votes: 10

Extensions Robot
Extensions Robot
Extensions Robot
Posts: 27930
Joined: Sat Aug 16, 2003 7:36 am

[2.0.17] Quick poll insert

Post by Extensions Robot » Sun Oct 02, 2005 2:18 pm

MOD Name: Quick poll insert
Author: Manipe
MOD Description: Makes it easier to insert poll options, with a big text box, meaning you don't have to hit 'update' every time you want to add an extra option.


MOD Version: 1.0.2

Download File: quick_poll_insert_1.0.2.zip
mods overview page: View
File Size: 1980 Bytes

Security Score: 0
Last edited by Extensions Robot on Mon Apr 30, 2007 12:28 am, edited 1 time in total.
(this is a non-active account manager for the phpBB Extension Customisations Team)

ycl6
Translator
Posts: 5696
Joined: Sat Feb 15, 2003 10:35 am
Location: Taiwan
Contact:

Post by ycl6 » Thu Oct 06, 2005 11:27 am

MOD Validated/Released

Notes:
This MOD changes the way poll options are created, it makes the process simplier, very handy if you are adding numerous poll options.

fahraeus
Registered User
Posts: 134
Joined: Tue Nov 23, 2004 3:47 pm

Post by fahraeus » Sun Oct 09, 2005 2:25 am

demo? screenshot?

User avatar
3Di
Former Team Member
Posts: 13917
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Post by 3Di » Sun Oct 09, 2005 3:34 am

meaning you don't have to hit 'update' every time you want to add an extra option


cool, thx.
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
👨‍🏫 | Take a tour to | The Studio | 👨‍🏫

fahraeus
Registered User
Posts: 134
Joined: Tue Nov 23, 2004 3:47 pm

Post by fahraeus » Sun Oct 09, 2005 3:38 am

Installed it. In simple words - Great! Much easier for non savvy users to create polls.

Manipe
Former Team Member
Posts: 1146
Joined: Thu Jul 22, 2004 6:30 pm
Location: Éire
Contact:

Post by Manipe » Sun Oct 09, 2005 4:44 am

Thanks!! :D
My MODs: [ Topics a user has started ] , [ Profile views ] , [ Colour on poll results ] , [ Topic posters ] , [ Add number to PM ] , [ Default avatar ] , [ View category name ] , [ Null vote ] , [ Forum description in viewforum ] , [ Resync forum ids ] , [ View PM while replying ] , [ Quick poll insert ] , [ Limit login attempts ] , [ Track PMs ]

www.ManipeF1.com

christiansongwriter
Registered User
Posts: 102
Joined: Tue May 24, 2005 2:53 am

Post by christiansongwriter » Mon Oct 10, 2005 8:49 pm

Love this mod! But, is there a way to make the table smaller (like maybe a third of the current size)???

Thanks so much!
James

Manipe
Former Team Member
Posts: 1146
Joined: Thu Jul 22, 2004 6:30 pm
Location: Éire
Contact:

Post by Manipe » Tue Oct 11, 2005 6:55 pm

Well, I made it the size of how many poll options you allow on your board.
You can change the size of it by finding this code in "templates/subSilver/posting_poll_body.tpl"

Code: Select all

{POLL_MAX_OPTIONS}
Replace that with the number of rows you want to appear in the textarea.
My MODs: [ Topics a user has started ] , [ Profile views ] , [ Colour on poll results ] , [ Topic posters ] , [ Add number to PM ] , [ Default avatar ] , [ View category name ] , [ Null vote ] , [ Forum description in viewforum ] , [ Resync forum ids ] , [ View PM while replying ] , [ Quick poll insert ] , [ Limit login attempts ] , [ Track PMs ]

www.ManipeF1.com

christiansongwriter
Registered User
Posts: 102
Joined: Tue May 24, 2005 2:53 am

Post by christiansongwriter » Wed Oct 12, 2005 1:39 am

Awesome - thanks so much! :)

Regards,
James

Manipe
Former Team Member
Posts: 1146
Joined: Thu Jul 22, 2004 6:30 pm
Location: Éire
Contact:

Post by Manipe » Wed Oct 12, 2005 6:45 pm

Anytime.
My MODs: [ Topics a user has started ] , [ Profile views ] , [ Colour on poll results ] , [ Topic posters ] , [ Add number to PM ] , [ Default avatar ] , [ View category name ] , [ Null vote ] , [ Forum description in viewforum ] , [ Resync forum ids ] , [ View PM while replying ] , [ Quick poll insert ] , [ Limit login attempts ] , [ Track PMs ]

www.ManipeF1.com

NightriderXP
Registered User
Posts: 1418
Joined: Sat Oct 09, 2004 8:17 am
Location: Florida, US
Contact:

Post by NightriderXP » Tue Oct 18, 2005 3:55 pm

Thanks for another terrific MOD Manipe. This install quickly and easily using EasyMod and as usual for your MODs, it works as advertised...

Image

Manipe
Former Team Member
Posts: 1146
Joined: Thu Jul 22, 2004 6:30 pm
Location: Éire
Contact:

Post by Manipe » Tue Oct 18, 2005 4:57 pm

:wink:
Expect nothing less!
My MODs: [ Topics a user has started ] , [ Profile views ] , [ Colour on poll results ] , [ Topic posters ] , [ Add number to PM ] , [ Default avatar ] , [ View category name ] , [ Null vote ] , [ Forum description in viewforum ] , [ Resync forum ids ] , [ View PM while replying ] , [ Quick poll insert ] , [ Limit login attempts ] , [ Track PMs ]

www.ManipeF1.com

User avatar
swisscheese
Registered User
Posts: 14
Joined: Sat Jul 09, 2005 4:48 pm
Contact:

Post by swisscheese » Thu Oct 20, 2005 1:27 pm

christiansongwriter wrote: Love this mod! But, is there a way to make the table smaller (like maybe a third of the current size)???

Thanks so much!
James

Manipe wrote: Well, I made it the size of how many poll options you allow on your board.
You can change the size of it by finding this code in "templates/subSilver/posting_poll_body.tpl"

Code: Select all

{POLL_MAX_OPTIONS}
Replace that with the number of rows you want to appear in the textarea.


...or you could apply this Patch:

Code: Select all

############################################################## 
## MOD Title:           Quick poll insert - PATCH to set Poll Option Box Height
## MOD Author:          SwissCheese < N/A > (N/A) http://www.RafikiTalk.com/mods/ 
## MOD Description:     Sets the height of the Poll Option Box to any
##                      fixed value you choose and will thus display the
##                      same sized box, regardless of the value that is
##                      set in the ACP for the 'max_poll_options' variable.
## 
## MOD Version:         1.0.0 
## 
## Installation Level:  Easy 
## Installation Time:   ~1 Minutes
## 
## Files To Edit:       2
##                      posting.php
##                      templates/subSilver/posting_poll_body.tpl
## 
## Included Files:      n/a
## 
## License:             http://opensource.org/licenses/gpl-license.php GNU General Public License v2
############################################################## 
## For security purposes, please check: http://www.phpbb.com/mods/
## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at http://www.phpbb.com/mods/
############################################################## 
## 
## Author Notes: 
## 
## This Patch is for the "Quick poll insert MOD" by Manipe found
## at: http://www.phpbb.com/phpBB/viewtopic.php?t=329340 which
## (obviously) needs to be installed for this Patch to work... 
## 
############################################################## 
## 
## MOD History: 
## 
##   2005-10-20 - Version 1.0.0 
##      - Initial Release 
## 
############################################################## 
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
##############################################################

# 
#-----[ OPEN ]------------------------------------------------
#
templates/subSilver/posting_poll_body.tpl

#
#-----[ FIND ]------------------------------------------------
# The actual line will be longer. It may look something like this: 
# <textarea rows="{POLL_MAX_OPTIONS}" class="post" name="poll_option_text" style="width: 312px;">{POLL_OPTION}</textarea></span>
#

rows="{POLL_MAX_OPTIONS}"

#
#-----[ IN-LINE FIND ]------------------------------------------------
#
{POLL_MAX_OPTIONS}

#
#-----[ IN-LINE REPLACE WITH ]----------------------------------------
# The following value is just an example... You can set it to
# however many lines high you want your Poll Box to be... If
# more poll options than this value are added, the box will
# automatically display a scroll bar...

	4

#
#-----[ OPEN ]------------------------------------------------
#
posting.php

#
#-----[ FIND ]------------------------------------------------
#
// Quick poll insert MOD, By Manipe (Begin)
		'POLL_MAX_OPTIONS' => $board_config['max_poll_options'],
// Quick poll insert MOD, By Manipe (End)
#
#-----[ REPLACE WITH ]----------------------------------------
# Intentionaly left empty (ie. it will delete the above FIND)
#

#
#-----[ SAVE/CLOSE ALL FILES ]--------------------------------
#
# EoM

bozoka45
Registered User
Posts: 41
Joined: Fri Mar 19, 2004 2:26 am

Post by bozoka45 » Sat Oct 22, 2005 10:43 pm

Cool mod. Thanks.

User avatar
beggers
Registered User
Posts: 1257
Joined: Fri Nov 23, 2001 8:19 pm
Location: Las Vegas
Contact:

Post by beggers » Sun Oct 23, 2005 6:46 am

This is a great idea. It's pretty easy to install and works good. Here's a screen shot of what the poll section looks like now:

Image

UPDATE: Since I took that shot I realized that this mod should also change "Poll option" to "Poll options". Change that in lang_main.php:

$lang['Poll_option'] = 'Poll option';

to

$lang['Poll_option'] = 'Poll options';

Post Reply

Return to “[2.0.x] MOD Database Releases”