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
  #52  
Old 07-19-2011, 06:26 AM
Badshah93 Badshah93 is offline
 
Join Date: Jun 2010
Location: India
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mjp1111 View Post
Can I show a poll from multiple or all forums if I separate with a comma or do something else?
no.. i have not integrated that feature yet but will be doing later tonight. (as i got many request for it)
Reply With Quote
  #53  
Old 07-19-2011, 11:21 AM
wildheart's Avatar
wildheart wildheart is offline
 
Join Date: Jul 2011
Location: South Africa
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

All my edit problems has been sorted and I reinstalled this mod! Works perfectly and I love the look of it.:up:

Thanks for your help.

Here is an example of what it looks like: http://reptile-parrots.com/forums/
Reply With Quote
  #54  
Old 07-19-2011, 06:57 PM
Dennis Kaczor Dennis Kaczor is offline
 
Join Date: Oct 2005
Location: Toronto
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Been looking for something like this and installed OK.

My only problem is I have a dark skin and the tittle text is very dark looking, where can I edit that to make it lighter to read... Anyone point me in the right direction on this, and thanks in advance.

Dennis
Reply With Quote
  #55  
Old 07-19-2011, 07:08 PM
cherylferraro cherylferraro is offline
 
Join Date: Oct 2005
Location: California
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Sherif View Post
try this xml
Thank you for the suggestion. I installed the xml file you provided but unfortunately when I switch the selection from thread id to forum id it generates this error:
Code:
Database error in vBulletin 4.1.4:

Invalid SQL:
SELECT forum.forumid as forumidd, thread.threadid, thread.pollid, thread.forumid, thread.open, thread.lastpost FROM vb_forum 
LEFT join vb_thread ON thread.forumid = forum.forumid where forum.forumid = 64 ORDER BY thread.pollid DESC LIMIT 1;

MySQL Error   : Unknown column 'forum.forumid' in 'field list'
Error Number  : 1054
Request Date  : Tuesday, July 19th 2011 @ 01:02:13 PM
Error Date    : Tuesday, July 19th 2011 @ 01:02:14 PM
Script        : http://www.mysite.com/forum/
Referrer      : http://www.mysite.com/forum/index.php
IP Address    : *
Username      : me
Classname     : vB_Database
MySQL Version : 5.1.56
Reply With Quote
  #56  
Old 07-20-2011, 03:10 AM
Badshah93 Badshah93 is offline
 
Join Date: Jun 2010
Location: India
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cherylferraro View Post
Thank you for the suggestion. I installed the xml file you provided but unfortunately when I switch the selection from thread id to forum id it generates this error:
Code:
Database error in vBulletin 4.1.4:

Invalid SQL:
SELECT forum.forumid as forumidd, thread.threadid, thread.pollid, thread.forumid, thread.open, thread.lastpost FROM vb_forum 
LEFT join vb_thread ON thread.forumid = forum.forumid where forum.forumid = 64 ORDER BY thread.pollid DESC LIMIT 1;

MySQL Error   : Unknown column 'forum.forumid' in 'field list'
Error Number  : 1054
Request Date  : Tuesday, July 19th 2011 @ 01:02:13 PM
Error Date    : Tuesday, July 19th 2011 @ 01:02:14 PM
Script        : http://www.mysite.com/forum/
Referrer      : http://www.mysite.com/forum/index.php
IP Address    : *
Username      : me
Classname     : vB_Database
MySQL Version : 5.1.56
please see this post

Code:
https://vborg.vbsupport.ru/showpost.php?p=2222317&postcount=49
Quote:
Originally Posted by Dennis Kaczor View Post
Been looking for something like this and installed OK.

My only problem is I have a dark skin and the tittle text is very dark looking, where can I edit that to make it lighter to read... Anyone point me in the right direction on this, and thanks in advance.

Dennis
GO to edit templates -> Block Templates -> block_sideblock template

in that you can change the color by editing css.
Reply With Quote
  #57  
Old 07-20-2011, 01:30 PM
Dennis Kaczor Dennis Kaczor is offline
 
Join Date: Oct 2005
Location: Toronto
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

GO to edit templates -> Block Templates -> block_sideblock template

in that you can change the color by editing css.[/QUOTE]

I seen this in your code, but did not know where to find it, and thanks worked like a charm
Reply With Quote
  #58  
Old 07-22-2011, 11:57 PM
VBUsers's Avatar
VBUsers VBUsers is offline
 
Join Date: Aug 2004
Posts: 830
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nothing is showing up for me
Reply With Quote
  #59  
Old 07-23-2011, 04:10 AM
Badshah93 Badshah93 is offline
 
Join Date: Jun 2010
Location: India
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by VBUsers View Post
nothing is showing up for me
Please read all the pages of this thread, i am sure you will find your answer.
Reply With Quote
  #60  
Old 07-28-2011, 06:08 PM
netzwart's Avatar
netzwart netzwart is offline
 
Join Date: Aug 2010
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This sounds like a cool MOD. I have two questions:

1. Is it possible to let the MOD choose the polls randomly ? In other words, the polls shown in the sidebar should change regularly without the need to define which poll should be shown in the admincp.

2. Is this MOD working with vB 4.0.8 ?

Thank you

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

Version 2.1 Added.

New Feature -> user can enter multiple forumid's to fetch latest poll.
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 11:03 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.05412 seconds
  • Memory Usage 2,364KB
  • 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
  • (3)bbcode_code
  • (5)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