Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Show Poll In Forum Sideblock Details »»
Show Poll In Forum Sideblock
Version: 2.1, by Badshah93 Badshah93 is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: vBulletin Forum Sideblocks - Version: 4.x.x Rating:
Released: 07-07-2011 Last Update: 05-24-2012 Installs: 345
Uses Plugins Auto-Templates
Translations  
No support by the author.

.::Show Poll In Forum Sideblock::.

-> Special Thanks To Paul M For allowing me to use one of the code from his one of the mod.

What is it?
=====================================

This mod will show the Poll in Forum Sideblock.

Features
=====================================

1. Enable/Disable the mod from admincp.
2. Get Latest Poll From Multiple Forum. New!
3. Get Poll From Particular Thread.
4. Fully Integrated with Vbulletin Forum Sideblock Manager

-> You can change display order
-> Cache Time


5. No Template Edits.

Upgrade Instructions
=====================================

1. Upload The New xml from Product manager in Admincp. (Don't Forget to click on overwrite)
2. Enable the mod and enter threadid or forumid's for fetching the poll.
3. Run clear system cache under Maintenance



New Installation Instructions
=====================================
1. In the Product Manager in AdminCP, import the product XML file.
2. Open Settings -> Show Poll In Forum Sideblock
Enable the mod and enter threadid or forumid for fetching the poll.
3. Run clear system cache under Maintenance



Uninstalling:
=====================================
1. You can disable the mod from admincp OR Uninstall the product from the Product Manager in the AdminCP.



Mod History:

v1.0 : 08 Jul 2011 : First Release.
v2.0 : 10 Jul 2011 : With More Features And Integrated with Vbulletin Forum Sideblock Manager.
v2.1 : 28 Jul 2011 : Fix Table Prefix Issue and added multiple forums feature.



-> Click On Mark As Installed If You Have Installed This Mod.
-> You Can Nominate it also for Mod Of The Month.

Download Now

File Type: xml product-poll_on_vb4_sideblock_2.1.xml (19.6 KB, 975 views)

Screenshots

File Type: png image1.png (23.4 KB, 0 views)
File Type: png imag2.png (17.6 KB, 0 views)
File Type: png image4.png (19.1 KB, 0 views)
File Type: png image3.png (20.3 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
14 благодарности(ей) от:
baghdad4ever, BlueCheri, bluered, Da-Vinci, dlewisr, gsk8, Heaven, Jasem, kushal, petacat, RaSa, SᴩiDᴇЯ, Umar1, xertox

Comments
  #22  
Old 07-10-2011, 01:32 PM
reddyink reddyink is offline
 
Join Date: Aug 2007
Posts: 236
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

excellent features added on 2.0 update. Author seem to be taking feedback seriously and providing timely updates.
Reply With Quote
  #23  
Old 07-10-2011, 03:36 PM
Aramist Aramist is offline
 
Join Date: Apr 2006
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have no idea why.... but it doesnt work with "Everywhere Siderbar" Mod.

When i turn off "Everywhere Siderbar" it works fine.

Any Tip?

Ty
Reply With Quote
  #24  
Old 07-10-2011, 03:40 PM
Lord. Dela Lord. Dela is offline
 
Join Date: Nov 2010
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Dont Work For me

VB 4.05
Reply With Quote
  #25  
Old 07-10-2011, 03:49 PM
Badshah93 Badshah93 is offline
 
Join Date: Jun 2010
Location: India
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Aramist View Post
I have no idea why.... but it doesnt work with "Everywhere Siderbar" Mod.

When i turn off "Everywhere Siderbar" it works fine.

Any Tip?

Ty
Open Plugin Manager in Admincp

Search For Poll For Forum Sideblock By Ayush

Below that you will see a Cache Templates plugin, click on edit

Replace All with

Code:
$cache = array_merge((array)$cache,array(
'sideblock_polloption',
'sideblock_polloptions_table',
'sideblock_polloption_multiple',
'sideblock_pollresult',
'sideblock_pollresults_table'));

$cache[] = 'block_sideblock_poll';


let me know if this works out as i am using sidebar for index page only.
Reply With Quote
  #26  
Old 07-10-2011, 05:48 PM
Aramist Aramist is offline
 
Join Date: Apr 2006
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No effects =/

It does not shows the poll block on the side bar...even in index.

=/
Reply With Quote
  #27  
Old 07-10-2011, 06:29 PM
Badshah93 Badshah93 is offline
 
Join Date: Jun 2010
Location: India
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Aramist View Post
No effects =/

It does not shows the poll block on the side bar...even in index.

=/
i don't use everywhere sideblock mod so for me there is default sideblock, which comes in index page only.

i will test this mod with everywhere sidebar mod and will try to find out the solution for it.


UPDATE:

HERE IS TRICK TO MAKE IT WORK WITH EVERYWHERE SIDEBAR MOD

Edit Poll For Forum Sideblock By Ayush in Forum Blocks Manager

find:

Template to Use

Change block_sideblock_poll to block_html

and save it...


Now Open Block_html template in style and manager

Paste the Following Code At Top

Code:
<style type="text/css">
.pollbar1,
.pollbar2,
.pollbar3,
.pollbar4,
.pollbar5,
.pollbar6 {
	height:10px;
      margin-top:1px;
   
}

.pollbar1 {
	background:{vb:stylevar pollbar1_background};
}

.pollbar2 {
	background:{vb:stylevar pollbar2_background};
}

.pollbar3 {
	background:{vb:stylevar pollbar3_background};
}

.pollbar4 {
	background:{vb:stylevar pollbar4_background};
}

.pollbar5 {
	background:{vb:stylevar pollbar5_background};
}

.pollbar6 {
	background:{vb:stylevar pollbar6_background};
}

#pollbarwrapper {
	position: relative;
	width: {vb:math {vb:stylevar pollbars_result_bit_width}+13};
        display:block;
	float: {vb:stylevar left};
	clear: {vb:stylevar right};
}

#pollbarwrapper div {
	float:{vb:stylevar left};	
}

.percentvotes {
	position: relative;
        margin: -12px 0 0 0;
        font-size:{vb:stylevar small_fontSize};
        font-weight:bold;
}


.pollquestion {
	font-size:12px;
}

.pollbuttons {
margin-top: 10px;
}

.pollres {
font-weight: bold;
font-size: 13px;
display: inline-block;
color: #B00;
}

.pollquestionmain {
font-weight: bold;
font-size: 13px;
display: inline-block;
color: #3E3E3E;
}
</style>
Reply With Quote
  #28  
Old 07-10-2011, 08:46 PM
Aramist Aramist is offline
 
Join Date: Apr 2006
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice !

Works fine now.!!

Ty for the mod and your support !
Reply With Quote
  #29  
Old 07-11-2011, 12:03 AM
Dr.osamA's Avatar
Dr.osamA Dr.osamA is offline
 
Join Date: Aug 2004
Location: Syrie
Posts: 979
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you for update

keep it up man
Reply With Quote
  #30  
Old 07-11-2011, 05:42 AM
ccr ccr is offline
 
Join Date: Jan 2011
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You've made a great job with this update, thank you
Reply With Quote
  #31  
Old 07-11-2011, 06:25 PM
Big-K Big-K is offline
 
Join Date: Feb 2005
Posts: 139
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed, and nominated. thanks
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:44 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05269 seconds
  • Memory Usage 2,356KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (14)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (5)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete