vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   vBulletin Forum Sideblocks - Show Poll In Forum Sideblock (https://vborg.vbsupport.ru/showthread.php?t=266481)

deverill2010 07-08-2012 12:42 PM

Quote:

Originally Posted by Badshah93 (Post 2346036)
You will need to edit one plugin of Everywhere Sidebar Mod.

Open Plugin "sidebar_global"

Find: (3 times)
Code:

$fullblockid = str_replace('sgdiscussions', 'sgnewdiscussions', $fullblockid);
Add After it:
PHP Code:

$cccache unserialize($block['configcache']); 
if (
strpos($cccache['html_template'], 'block_sideblock_poll') !== false

   
$fullblockid 'sidebar_poll'


I haven't tested it but i expect it to work.

Unfortunately that doesn't work :(

Badshah93 07-08-2012 01:23 PM

1 Attachment(s)
Quote:

Originally Posted by deverill2010 (Post 2346040)
Unfortunately that doesn't work :(

Try this in place of previous code..

PHP Code:

$cccache unserialize($block['configcache']); 
if (
strpos($cccache['html_template'], 'block_sideblock_poll') !== false

   
$fullblockid 'sidebar_poll_1'


After doing this, upload attached xml.

deverill2010 07-08-2012 02:03 PM

Ok now it's showing twice. do I need to remove the originaly product? Thanks by the way.

Badshah93 07-08-2012 03:58 PM

Quote:

Originally Posted by deverill2010 (Post 2346070)
Ok now it's showing twice. do I need to remove the originaly product? Thanks by the way.

remove one of the poll sideblock from block manager. (anyone)

deverill2010 07-08-2012 04:43 PM

Ok I've done that. I removed one and am left with this one which is active -

Poll This mod will create Poll Sideblock.

but now no polls are showing? agh

Badshah93 07-09-2012 03:08 AM

Quote:

Originally Posted by deverill2010 (Post 2346107)
Ok I've done that. I removed one and am left with this one which is active -

Poll This mod will create Poll Sideblock.

but now no polls are showing? agh

remove all poll sideblock and reinstall the mod.

deverill2010 07-09-2012 01:17 PM

It's working great now thanks!

LuisUrquilla 07-26-2012 02:37 PM

Great little widget, just what I was looking for.

Kavada 08-09-2012 01:02 AM

downloaded this looks great, but how do i move the poll to the top of my sideblock and how do i change the title of the widget to something other than "poll"?

deverill2010 08-13-2012 04:55 AM

I'm having a issue with this, I'm not sure if it's because I'm using the every where side bar. However when on the main forum page, if I haven't voted in the poll, the poll box gets wrapped around all the other boxes.


All times are GMT. The time now is 06:30 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.01227 seconds
  • Memory Usage 1,744KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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