Forums

Unfortunately no one can be told what FluxBB is - you have to see it for yourself.

You are not logged in.

#101 2013-03-13 05:41:41

Visman
Member
From: Siberia
Registered: 2010-07-10
Posts: 860
Website

Re: [MOD] Poll Mod - 1.3.3

up to v.1.3.2:

For FluxBB 1.5.1, 1.5.2, 1.5.3.
Dutch is added. Thanks to glennvho.
Fix for close topic.


My modification of FluxBB 1.5.6 - rev.64
I speak only Russian  tongue

Offline

#102 2013-03-16 19:02:47

Gilga
Member
Registered: 2013-03-16
Posts: 36

Re: [MOD] Poll Mod - 1.3.3

maybe somes conflicts with mod installer and some's other mod


h ttp://fluxbb.org/forums/viewtopic.php?id=6963

Offline

#103 2013-03-17 01:27:48

Visman
Member
From: Siberia
Registered: 2010-07-10
Posts: 860
Website

Re: [MOD] Poll Mod - 1.3.3

Gilga wrote:

maybe somes conflicts with mod installer and some's other mod

If modifications change the same code location, the conflict will be.
The automatic installer shall have more intelligence wink


My modification of FluxBB 1.5.6 - rev.64
I speak only Russian  tongue

Offline

#104 2013-03-17 15:22:58

Visman
Member
From: Siberia
Registered: 2010-07-10
Posts: 860
Website

Re: [MOD] Poll Mod - 1.3.3

Note for merge topics: Poll from the second subject (which is deleted) will be gone.


My modification of FluxBB 1.5.6 - rev.64
I speak only Russian  tongue

Offline

#105 2013-03-17 17:35:05

Otomatic
FluxBB Donor
From: Paris - France
Registered: 2010-01-26
Posts: 461
Website

Re: [MOD] Poll Mod - 1.3.3

Visman wrote:

The automatic installer shall have more intelligence wink

Hi,

Any automatic thing is stupid and self disciplined. It does what the programmer told him to do. It can not think, and if he was told to find " this" but that the programmer did not put a space but a tab... nothing is found.


Ce n'est pas parce que l'erreur se propage qu'elle devient vérité. Ghandi
An error does not become truth by reason of multiplied propagation. Ghandi

Offline

#106 2013-05-04 16:06:08

eee
New member
Registered: 2013-05-04
Posts: 2

Re: [MOD] Poll Mod - 1.3.3

I have installed this mod v. 1.3.2, FluxBB 1.5.3 and I have one issue. Poll doesn't save (lost) from topic adding form. But poll saves from topic editing form. What could be the reason?
Other plugins: PMS New, Upload.

Offline

#107 2013-05-04 16:39:33

Visman
Member
From: Siberia
Registered: 2010-07-10
Posts: 860
Website

Re: [MOD] Poll Mod - 1.3.3

Look at post.php of changes. Probably you forgot something.
Look at log of errors of your server.
Enable PUN_DEBUG and PUN_SHOW_QUERIES http://fluxbb.org/docs/v1.5/constants#pun_debug


My modification of FluxBB 1.5.6 - rev.64
I speak only Russian  tongue

Offline

#108 2013-05-06 09:35:42

eee
New member
Registered: 2013-05-04
Posts: 2

Re: [MOD] Poll Mod - 1.3.3

Visman wrote:

Look at post.php of changes. Probably you forgot something.
Look at log of errors of your server.
Enable PUN_DEBUG and PUN_SHOW_QUERIES

Ok, I've put "poll_save($new_tid);" in wrong place. Thank you.

Offline

#109 2013-07-08 20:08:16

aberzen
New member
Registered: 2013-07-08
Posts: 2

Re: [MOD] Poll Mod - 1.3.3

Hello,

Mod looks great but before starting the installation (a little scary for me as I am a novice of fluxbb) I'd like to know if it is possible to see who voted and how with this mod ?
I'd like to use it to organize events (I would propose a date and poeple would vote to say if yes or no they will be there).

Offline

#110 2013-07-09 03:49:49

Visman
Member
From: Siberia
Registered: 2010-07-10
Posts: 860
Website

Re: [MOD] Poll Mod - 1.3.3

Information about voting is in a database (table poll_voted), but it where it isn't visible in modification.

02f2ca1edf373e6703a047925f1da7b8.jpg

Last edited by Visman (2013-07-09 03:54:24)


My modification of FluxBB 1.5.6 - rev.64
I speak only Russian  tongue

Offline

#111 2013-07-09 04:36:22

aberzen
New member
Registered: 2013-07-08
Posts: 2

Re: [MOD] Poll Mod - 1.3.3

ok thanks for the answer.

Offline

#112 2013-07-24 10:09:43

Visman
Member
From: Siberia
Registered: 2010-07-10
Posts: 860
Website

Re: [MOD] Poll Mod - 1.3.3

Visman wrote:

@elbekko, i don't know why requests stop working in innodb method. Maybe there is log of errors?

Please test with innodb:
file viewtopic.php

if (!is_null(poll_post('poll_submit')))
{
	poll_vote($id, $pun_user['id']);

	header('Location: viewtopic.php?id='.$id.((isset($_GET['p']) && $_GET['p'] > 1) ? '&p='.intval($_GET['p']) : ''));
	exit;
}

-->

if (!is_null(poll_post('poll_submit')))
{
	poll_vote($id, $pun_user['id']);

	// End the transaction
	$db->end_transaction();

	// Close the db connection (and free up any result data)
	$db->close();

	header('Location: viewtopic.php?id='.$id.((isset($_GET['p']) && $_GET['p'] > 1) ? '&p='.intval($_GET['p']) : ''));
	exit;
}

My modification of FluxBB 1.5.6 - rev.64
I speak only Russian  tongue

Offline

#113 2013-08-10 15:46:04

Visman
Member
From: Siberia
Registered: 2010-07-10
Posts: 860
Website

Re: [MOD] Poll Mod - 1.3.3

Visman wrote:

Please test with innodb:
file viewtopic.php

if (!is_null(poll_post('poll_submit')))
{
	poll_vote($id, $pun_user['id']);

	header('Location: viewtopic.php?id='.$id.((isset($_GET['p']) && $_GET['p'] > 1) ? '&p='.intval($_GET['p']) : ''));
	exit;
}

-->

if (!is_null(poll_post('poll_submit')))
{
	poll_vote($id, $pun_user['id']);

	// End the transaction
	$db->end_transaction();

	// Close the db connection (and free up any result data)
	$db->close();

	header('Location: viewtopic.php?id='.$id.((isset($_GET['p']) && $_GET['p'] > 1) ? '&p='.intval($_GET['p']) : ''));
	exit;
}

Who tested this change with innodb?


My modification of FluxBB 1.5.6 - rev.64
I speak only Russian  tongue

Offline

#114 2013-08-18 10:38:09

Visman
Member
From: Siberia
Registered: 2010-07-10
Posts: 860
Website

Re: [MOD] Poll Mod - 1.3.3

v 1.3.3
Fix for InnoDB.
For FluxBB 1.5.4.


My modification of FluxBB 1.5.6 - rev.64
I speak only Russian  tongue

Offline

#115 2014-02-04 14:11:38

Spiney
Member
Registered: 2014-01-23
Posts: 16

Re: [MOD] Poll Mod - 1.3.3

Looks useful. Does it work with 1.5.6?

Offline

#116 2014-04-10 17:09:33

chris98
Member
From: England, United Kingdom
Registered: 2013-05-31
Posts: 435
Website

Offline

#117 2014-04-11 01:57:38

Visman
Member
From: Siberia
Registered: 2010-07-10
Posts: 860
Website

Re: [MOD] Poll Mod - 1.3.3

Create poll in a subject and vote.
You will see that will show on the screen.


My modification of FluxBB 1.5.6 - rev.64
I speak only Russian  tongue

Offline

#118 2014-04-22 19:49:10

chris98
Member
From: England, United Kingdom
Registered: 2013-05-31
Posts: 435
Website

Re: [MOD] Poll Mod - 1.3.3

It isn't showing as a poll in viewtopic.php. The data is there in the database, I've looked but no poll is showing, it's just like a normal topic. Does that mean I can't view it because it's my created poll, or because of something else?

Offline

#119 2014-04-23 01:38:31

Visman
Member
From: Siberia
Registered: 2010-07-10
Posts: 860
Website

Re: [MOD] Poll Mod - 1.3.3

chris98 wrote:

It isn't showing as a poll in viewtopic.php. The data is there in the database, I've looked but no poll is showing, it's just like a normal topic. Does that mean I can't view it because it's my created poll, or because of something else?

If neither a question, nor results of poll, the message on that that you voted it isn't visible, modification means is established incorrectly.


My modification of FluxBB 1.5.6 - rev.64
I speak only Russian  tongue

Offline

#120 2014-05-06 17:20:25

chris98
Member
From: England, United Kingdom
Registered: 2013-05-31
Posts: 435
Website

Re: [MOD] Poll Mod - 1.3.3

Ok, I didn't add the most important part:

<?php if ($cur_post['id'] == $cur_topic['first_post_id']) poll_display_topic($id, $pun_user['id'], $p); ?>

I would like to be able to have options as images - is there any way I could have it parsed with bbcode to allow

[img]my image url[/img]

as an option?

Last edited by chris98 (2014-05-06 17:20:48)

Offline

#121 2014-05-07 02:16:24

Visman
Member
From: Siberia
Registered: 2010-07-10
Posts: 860
Website

Re: [MOD] Poll Mod - 1.3.3

The question and versions of answers can be only the text.
Pictures, video, etc. you can place in a message body.


My modification of FluxBB 1.5.6 - rev.64
I speak only Russian  tongue

Offline

#122 2014-06-14 04:09:02

Squiggles
Member
Registered: 2012-12-14
Posts: 271

Re: [MOD] Poll Mod - 1.3.3

Does this mod provide the ability to turn polls on for certain sections of the forum only?

Also is there also an option to allow / disallow certain user groups from using polls?

Cheers,
Squiggles

Offline

#123 2014-06-14 05:00:44

Visman
Member
From: Siberia
Registered: 2010-07-10
Posts: 860
Website

Re: [MOD] Poll Mod - 1.3.3

On both questions the answer - no.
But in future versions it is possible to make such restrictions.


My modification of FluxBB 1.5.6 - rev.64
I speak only Russian  tongue

Offline

Board footer

Powered by FluxBB 1.5.6