vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   e-steki Unvote (https://vborg.vbsupport.ru/showthread.php?t=111228)

Lea Verou 04-29-2006 01:46 AM

Quote:

Originally Posted by Psionic Vision
Sorry for not making the updates as I offered, haven't had time to. :(

Neither had I :(

DWard 05-11-2006 02:41 PM

Very useful.

bada_bing 05-12-2006 12:30 PM

excellant hack thank you both of you..

bada_bing 05-24-2006 06:37 PM

I had a question are both Psionic Vision fixed in the zip download or do I need to get them from his post replies?

SeanS 09-12-2006 11:28 PM

I'm having no joy trying to import the product-unvote.xml file -- I get an "Invalid File Specified" message on vBulletin 3.6.0. Any suggestions?
ta,
sean

SeanS 09-12-2006 11:54 PM

I'm an idiot, needed to use the "Plugins and Product" | "Manage Products" screens. Thanks for a great addition.

Exitilus 09-13-2006 12:42 AM

Use the XML from this post

https://vborg.vbsupport.ru/showpost....1&postcount=31

Barteh 09-16-2006 09:31 AM

Installed Psionic's fixed version, works like a charm :)

I'm not much of a coder so I humbly await the update that allows multiple vote polls to be 'unvoted' :)

PoetJA-1975 10-08-2006 05:53 AM

Great stuff - thanx for sharing /me CLICKS INSTALL

Jacquii

chrisvonc 10-11-2006 06:23 PM

Nice, thank you! A very welcome mod! SHould be a standard option.

Mellow 10-18-2006 12:14 PM

This is great... this simple fix make VB complete in my opinion.. again, Thanks!

Guest210212002 10-18-2006 01:47 PM

/me clicks install

Barteh 10-29-2006 11:17 PM

I've got a bit of an odd problem with unvote... the 'Withdraw vote' option is not showing up for one of my members. He's running Firefox 2 and tried it under IE as well, so it's probably not a plugin parsing the page and removing that line.

I've added a test account to the same four usergroups that he's in, and for this one 'Withdraw vote' *does* appear in the exact same poll, just like for the standard usergroup - all working fine.

Any suggestions as to where the problem might lie?

deeoo 12-10-2006 11:47 AM

Great mod. However, I can still unvote after the poll has been closed. I can't seem to find the 'if-code' to not show the link after it had been closed.

deeoo 12-11-2006 07:13 AM

Found it! What you should do is open showthread.php and poll.php and look for this:
Code:

                        if ($nopermission)
                        {
                                $pollstatus = $vbphrase['you_may_not_vote_on_this_poll'];
                        }
                        else if ($showresults)
                        {
                                $pollstatus = $vbphrase['this_poll_is_closed'];
                        }
                        else if ($uservoted)
                        {
                                $pollstatus = $vbphrase['you_have_already_voted_on_this_poll'];
                        }

and replace it with this:
Code:

                        $unvote = false;
                        if ($nopermission)
                        {
                                $pollstatus = $vbphrase['you_may_not_vote_on_this_poll'];
                                $unvote = false;
                        }
                        else if ($showresults)
                        {
                                $pollstatus = $vbphrase['this_poll_is_closed'];
                                $unvote = false;
                        }
                        else if ($uservoted)
                        {
                                $pollstatus = $vbphrase['you_have_already_voted_on_this_poll'];
                                $unvote = true;
                        }

Then, in the template pollresults_table you look for:
Code:

$pollstatus
and ADD behind it:
Code:

<if condition="$unvote"> | <a href="poll.php?$session[sessionurl]do=unvote&amp;pollid=$pollinfo[pollid]">$vbphrase[unvote_unvote]</a></if>

adwade 03-21-2007 12:11 AM

Quote:

Originally Posted by Michelle (Post 949007)
What feature did you add Psionic? I am asking to decide whether I'll upgrade it on my board now or later :)

I just D/L'd and installed the v1.01 zip file into my vB3.64 and everything seems to work fine. Is v1.01 bugfree -or- are we supposed to be D/L'ing one of Psionic Vision's xml files instead and installing it?

Btw, GREAT MOD! Many Thanxx for creating it.

dcpaq2xx 04-01-2007 10:27 PM

Quote:

Originally Posted by adwade (Post 1208441)
Is v1.01 bugfree -or- are we supposed to be D/L'ing one of Psionic Vision's xml files instead and installing it?

Yes what is the difference between this one and Psionic's version?

Which one 'should' we be using?

Thanks

Doug

Exitilus 04-02-2007 01:19 AM

Use Psionics

dcpaq2xx 04-02-2007 01:22 AM

Quote:

Originally Posted by Exitilus (Post 1217995)
Use Psionics

Ok, but why and what is the difference between the two?

Doug

Exitilus 04-02-2007 02:54 AM

Psionic tweaked it to work better if I remember. It's been a while.

dcpaq2xx 04-02-2007 02:57 AM

Oh I see.

I was just wondering but that link to his file, is there anything else on that post that would be helpful reading about his hack? The link only takes me to that one post, and I cant figure out how to access all the replys on that post.

Doug

Exitilus 04-02-2007 03:30 PM

use the product that he posted (most current one) .... then use the instructions in the zip file for the mod.

dcpaq2xx 04-02-2007 04:03 PM

That "Who" posted, please be more specific. thank you.

Doug

Exitilus 04-02-2007 07:17 PM

Psionic

dcpaq2xx 04-03-2007 09:09 AM

Ok, Thank you.

Doug

manofphat 04-19-2008 12:25 PM

Does this work in 3.6.8 and will it work in 3.7?

Exitilus 04-30-2008 12:13 AM

Using a XML that was posted later on in this Thread, and the standard Template Edit. It seems to work perfectly fine on 3.7. The only thing I didn't verify is what happens when you edit / change aspects of the Poll after someone has voted.

aidler 05-17-2008 09:39 AM

The number of voters isn't updated after you withdraw your vote.


All times are GMT. The time now is 01:01 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01252 seconds
  • Memory Usage 1,778KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (28)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete