vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Miscellaneous Hacks - Sidebar Poll (https://vborg.vbsupport.ru/showthread.php?t=204586)

ry215 02-06-2009 10:00 PM

Sidebar Poll
 
1 Attachment(s)
I see the request here!

Description:
If your forum using sidebar, you want to give poll out this sidebar, this Mod will do it.

Info:
Plugins: 3
Phrases: 16
Templates: 6
Settings: 5

Install:

1. Import Product via Manage Products
ACP >> Plugins & Products >> Manage Products >> [Add/Import Product]

2. Edit Template:
Add in your sidebar template:

Code:

$poll_sidebar
where you want show "Poll"

3. Settings:
ACP >> vBulletin Options >> Sidebar Polls Settings

PS: Work fine with 3.7.x (Tested)

Similar MOD:
Sidebar Column
Sidebar Lastest Threads

F0xy 02-07-2009 08:32 PM

works like a charm mate, thanking you!

ry215 02-07-2009 08:35 PM

Quote:

Originally Posted by F0xy (Post 1737306)
works like a charm mate, thanking you!

you're welcome ;)

F0xy 02-07-2009 08:40 PM

i installed this on 3.7.3 in case anyone is interested and it works flawlessly.

students_forum 02-07-2009 09:17 PM

is it possible to have it set to various forumids?
but yeah cool mod

edit - worked it out ;)

Chadi 02-08-2009 02:06 AM

1 Attachment(s)
Cool mod, but not working for me in 3.8.1 on forumhome.

www.talkjesus.com

I went to setup and posted "21" for forum id and selected forum ID as choice. I did global enable as well.

All I get is blank in the side column.

In my poll forum, it totally messed up my font style/size too.

students_forum 02-08-2009 05:02 AM

^^^^ you can move it anywhere you want on the homepage, but you need to have a sidebar already ....

Allan 02-08-2009 06:12 AM

Thank for this hack :)

Chadi 02-08-2009 06:02 PM

Students...that doesn't make sense. I already have a sidebar as you can see in the link and the output is blank as you can see in that box that says "polls"

To be specific, this is the sidebar I'm using:
https://vborg.vbsupport.ru/showthread.php?t=117989

Is this a specific "sidebar" mod that is needed?

ry215 02-08-2009 06:57 PM

Quote:

Originally Posted by chadi (Post 1737934)
Students...that doesn't make sense. I already have a sidebar as you can see in the link and the output is blank as you can see in that box that says "polls"

To be specific, this is the sidebar I'm using:
https://vborg.vbsupport.ru/showthread.php?t=117989

Is this a specific "sidebar" mod that is needed?

Edit template footer, then find:

Code:

$forumhome_sidecolumn_right
add below:

Code:

$poll_sidebar
Done! :D

Chadi 02-08-2009 11:59 PM

Did that, it showed up at the very bottom of the side column. So I cannot adjust where it should go then from here.

Also, still messes up the font style/size as well.

dfc005 02-09-2009 09:18 AM

So, once installed, I should be able to just whack $poll_sidebar in any template and it will show the poll there?

saihat 02-09-2009 09:40 AM

Thank

dfc005 02-09-2009 10:05 AM

Quote:

Originally Posted by dfc005 (Post 1738529)
So, once installed, I should be able to just whack $poll_sidebar in any template and it will show the poll there?

Cause it isn't working for me....

Fynnon 02-09-2009 04:26 PM

it would be nice to be able to make a poll with a question you desire on index

example: "do you like this forum ?"

mmurtha 02-09-2009 05:10 PM

Quote:

Originally Posted by Fynnon (Post 1738839)
it would be nice to be able to make a poll with a question you desire on index

example: "do you like this forum ?"

Yes, I agree. That would be awesome!


Hey ry215,

What are the chances of you updating the Mod to be able to put in our own questions and Polls?

Thanks ...


Mary

ry215 02-09-2009 05:32 PM

Quote:

Originally Posted by Fynnon (Post 1738839)
it would be nice to be able to make a poll with a question you desire on index

example: "do you like this forum ?"

Quote:

Originally Posted by mmurtha (Post 1738880)
Yes, I agree. That would be awesome!


Hey ry215,

What are the chances of you updating the Mod to be able to put in our own questions and Polls?

Thanks ...


Mary

Sorry, I do not understand.

You can create a poll in any forum with your questions, then go to ACP >> vBulletin Options >> Sidebar Polls Settings and enter forumid or threadid of Poll Thread.

dfc005 02-09-2009 07:25 PM

Quote:

Originally Posted by dfc005 (Post 1738529)
So, once installed, I should be able to just whack $poll_sidebar in any template and it will show the poll there?

ry215, is that the case?

ry215 02-09-2009 07:50 PM

Quote:

Originally Posted by dfc005 (Post 1738992)
ry215, is that the case?

Please try before you ask. I think, that is ok.

PS: at this time, I do not see you "Mark as Installed" for this Mod :D

dfc005 02-09-2009 08:02 PM

Quote:

Originally Posted by ry215 (Post 1739009)
Please try before you ask. I think, that is ok.

PS: at this time, I do not see you "Mark as Installed" for this Mod :D

I have tried and it showed nothing. And I generally only click "Mark as Installed" when I have it installed AND working! But I'll give you the benefit of the doubt this time.

dfc005 02-09-2009 08:27 PM

Quote:

Originally Posted by dfc005 (Post 1739023)
I have tried and it showed nothing. And I generally only click "Mark as Installed" when I have it installed AND working! But I'll give you the benefit of the doubt this time.

OK, so it does work if I stick it in a template. Sorry.

What I'd like to be able to do though is include it in my custom right hand side menu I have. Which would require me to insert it into a global_start plugin. This does not work. I assume because you're plugins aren't active yet?

dfc005 02-10-2009 02:29 AM

No worries, I'm now using parse_templates as my hook for the plugin. Works a charm!

Fynnon 02-10-2009 07:13 PM

Quote:

Originally Posted by ry215 (Post 1738910)
Sorry, I do not understand.

You can create a poll in any forum with your questions, then go to ACP >> vBulletin Options >> Sidebar Polls Settings and enter forumid or threadid of Poll Thread.


What i mean is: to make a poll which can be shown on the index page without making a topic for it in the forums
We should be able to create a poll from ACP where we choose the poll questions, how long will it be displayed and who can vote

soqzippo 02-11-2009 03:50 AM

Slightly limited. Good mod because its sorta what i was looking for. However there should be an option to select newest poll or all polls in that forumid. Also an option to show more than one forum id.

Fynnon 02-11-2009 02:46 PM

it should say how many voters are and a button to see the results of the voting without voting

after a short fight with it i managed to install it ...here it is: http://bvlist.com

i had to delete this part of the mod because it didn`t integrate well with my skin:
Code:

<thead>
        <tr>
                <td class="tcat" align="left">
                        <strong>$vbphrase[sidebar_poll]</strong>
                </td>
        </tr>
</thead>

Thank you, another great mod from Viet Vbb-Team ...could be improved in the future!

jorgejgm 02-11-2009 05:39 PM

Congratulations on the mod.

But I have some problems:
If I put it on display all the pages it does not in any (FACEBOOK Style).
No avatars .Gif

Tip:
Option to show members to guests, or both.

thanks

dfc005 02-13-2009 11:44 PM

Hmmm, this mod, when enabled stops my polls from working in the normal threads. Like wise, when I try and vote in the sidebar poll, it doesn't work because the poll functionality isn't working....

dfc005 02-14-2009 02:27 AM

Actually, if I have this mod enabled and I edit a poll, it also causes trouble. Any ideas?

dfc005 02-16-2009 12:26 AM

Any updates ry215? Love the idea behind the mod and would love to be using it but it's just breaking all my polls.

blue6995 02-19-2009 09:07 PM

The poll is being displayed in my sidebar ok, but I says I have already voted, but I haven't.
How can I fix this?

Thanks

dfc005 02-19-2009 09:21 PM

Quote:

Originally Posted by blue6995 (Post 1749345)
The poll is being displayed in my sidebar ok, but I says I have already voted, but I haven't.
How can I fix this?

Thanks

I also get this same problem. Blue6995, can you still vote in your normal thread polls? I find that I can't, that the sidebar poll breaks stops me from being able to vote in the polls.

blue6995 02-20-2009 10:06 AM

Quote:

Originally Posted by dfc005 (Post 1749355)
I also get this same problem. Blue6995, can you still vote in your normal thread polls? I find that I can't, that the sidebar poll breaks stops me from being able to vote in the polls.

I have just tried that and yes, I can vote in other polls without any problems

I have just logged on as a recent member (this week) and they have the opportunity of voting. If I log on as a member that has been with us for some time (and hasn't already voted) the option to vote isn't shown - only that they have already voted!

Update: It seems that if you have read the original thread you can't vote. If you haven't read it, you can!

Nimrod. 02-20-2009 06:03 PM

Well I just cant get this thing to even show up on my board...

Nimrod. 02-20-2009 06:05 PM

Quote:

Originally Posted by blue6995 (Post 1749793)
I have just tried that and yes, I can vote in other polls without any problems

I have just logged on as a recent member (this week) and they have the opportunity of voting. If I log on as a member that has been with us for some time (and hasn't already voted) the option to vote isn't shown - only that they have already voted!

Update: It seems that if you have read the original thread you can't vote. If you haven't read it, you can!

So if you are the creator of the poll, then it will automatically show up as read and therefore cant vote?

aakhan136 02-20-2009 07:55 PM

Thank

smnet 03-01-2009 11:26 AM

When i vote in the poll on the homepage, i am taken to a thread that has nothing to do with the poll in question - how strange.

mk craig 42 03-16-2009 09:45 PM

Hey mate any chance you can get rid of the header where it says Sidebar Poll along with the skins header section? As on my sidebar i already have a section where it says Poll

So it looks stupid with 2 headers..
https://vborg.vbsupport.ru/

Also would be very greatful if you can change text to white..
Or at least tell me how to please, Thank you.

Big-K 03-16-2009 09:59 PM

Quote:

Originally Posted by mk craig 42 (Post 1769996)
Hey mate any chance you can get rid of the header where it says Sidebar Poll along with the skins header section? As on my sidebar i already have a section where it says Poll

So it looks stupid with 2 headers..
http://img11.imageshack.us/img11/2111/32387969.png

Also would be very greatful if you can change text to white..
Or at least tell me how to please, Thank you.

Here's a suggestion:

Go into sidebar_pollresults_table template
comment out: <span>$vbphrase[sidebar_poll]</span>

mk craig 42 03-16-2009 11:20 PM

Oh yea, lol. Totally forgot about editing the templates i was thinking of editing the xml file for some reason. Got too many things going on at once.

Thank you :)

smnet 03-17-2009 09:58 AM

This mod doesnt work. If you have read the thread, and sometimes when you have not then you have apparently already voted. Also, after voting when you are given the opportunity you are then redirected to the wrong thread.

Hope this gets sorted at some point. Uninstalled, but tagged.


All times are GMT. The time now is 10:38 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.01495 seconds
  • Memory Usage 1,827KB
  • 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
  • (15)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
  • (40)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