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)
-   -   Add-On Releases - Everywhere Sidebar 4 VB4 (https://vborg.vbsupport.ru/showthread.php?t=233871)

Bonjax 07-23-2011 12:05 AM

Installed Everywhere Sidebar and it looks good. One thing we'd like it to do is have it be a color other than the default gray but it won't co-operate. All it will do is still gray.

Any ideas?

HipHopStan.com 07-28-2011 08:52 PM

Quote:

Originally Posted by Octavius. (Post 2218722)
Alright I figured out what was slowing my sidebar down the most.

Show ESB Onload
Show ESB after page load.

^^^This option is on by default. I turned it off and now my pages load instantly.

Why is that even needed?

wow... ur right... that option definitely adds to the load time

Bunni U 07-28-2011 09:54 PM

Quote:

Originally Posted by HipHopStan.com (Post 2226196)
wow... ur right... that option definitely adds to the load time

hmmm that option, for what ever silly reason, catches the ESB hook "parse_templates"
PHP Code:

if ($vbulletin->options['bbactive'] and $vbulletin->options['esidebar_switch'])$bbandSBactive=1;
if (
$bbandSBactive){
if(
$vboptions['storecssasfile']){
$tempside='<link rel="stylesheet" type="text/css" href="\' . $vbcsspath . \'forumhome-rollup.css" />';
}else{
$tempside='<link rel="stylesheet" type="text/css" href="\' . $vbcsspath . \'sidebar.css,forumbits.css,forumhome.css,tagcloud.css,widgets.css,options.css" />';
if(
$vbulletin->options['esidebar_onload'] and in_array(THIS_SCRIPT, array('index''forumdisplay''showthread''newreply''editpost''vbcms''usercp''member''private''search''album''faq''calendar''list''profile''subscription')))
$tempside.='<style>#sidebar_container{display:none;}#content_container{display:none;}</style>';
$tempside.='<!--[if IE 6]><link rel="stylesheet" type="text/css" href="\' . $vbcsspath . \'forumbits-ie.css" /><![endif]-->';
$tempside.='<!--[if lt IE 8]><link rel="stylesheet" type="text/css" href="\' . $vbcsspath . \'forumbits-ie.css,sidebar-ie.css" /><![endif]-->';
}
$sidebarext_search '$final_rendered = \'\''
$sidebarext_replace =  '$final_rendered=\''.$tempside.'\'';               
$vbulletin->templatecache['headinclude_bottom'] = str_replace($sidebarext_search$sidebarext_replace$vbulletin->templatecache['headinclude_bottom']);
    } 


for my forum line 9 of that hook:
PHP Code:

$tempside.='<style>#sidebar_container{display:none;}#content_container{display:none;}</style>'

applied those display:none css styles to both the sidebar and all forum content, causing all content to be hidden, for what ever reason, updating from 1.4.3.1 to 1.4.3.3 caused that display:none style to not be removed (assuming it was supposed to be removed when the page loaded). This resulted in all correlating pages to be empty vb pages (had header and footer but nothing else).

Interestingly, the aforementioned functionality worked correctly when the forums were disabled via VB settings-> Forum disabled. And ceased to work with the above observations once the forum was enabled.

Perhaps our boards differ from others in that our main content has the content_container class, so perhaps functionality that was only ment for ESB was also being applied to all site content and thus my board was the only one that encountered such problems.


In regards to your finding, Ill assume that this "Show ESB Onload" option, causes ESB to hide your page results, until everything is loaded. So, in essence you are just seeing the page load now in the same amount of time, but now you can see it loading. Where-as before page content was hidden until the page finished loading.

almannai 07-29-2011 04:47 AM

Quote:

Originally Posted by HipHopStan.com (Post 2226196)
wow... ur right... that option definitely adds to the load time

Quote:

Originally Posted by Bunni U (Post 2226218)
hmmm that option, for what ever silly reason, catches the ESB hook "parse_templates"
PHP Code:

if ($vbulletin->options['bbactive'] and $vbulletin->options['esidebar_switch'])$bbandSBactive=1;
if (
$bbandSBactive){
if(
$vboptions['storecssasfile']){
$tempside='<link rel="stylesheet" type="text/css" href="\' . $vbcsspath . \'forumhome-rollup.css" />';
}else{
$tempside='<link rel="stylesheet" type="text/css" href="\' . $vbcsspath . \'sidebar.css,forumbits.css,forumhome.css,tagcloud.css,widgets.css,options.css" />';
if(
$vbulletin->options['esidebar_onload'] and in_array(THIS_SCRIPT, array('index''forumdisplay''showthread''newreply''editpost''vbcms''usercp''member''private''search''album''faq''calendar''list''profile''subscription')))
$tempside.='<style>#sidebar_container{display:none;}#content_container{display:none;}</style>';
$tempside.='<!--[if IE 6]><link rel="stylesheet" type="text/css" href="\' . $vbcsspath . \'forumbits-ie.css" /><![endif]-->';
$tempside.='<!--[if lt IE 8]><link rel="stylesheet" type="text/css" href="\' . $vbcsspath . \'forumbits-ie.css,sidebar-ie.css" /><![endif]-->';
}
$sidebarext_search '$final_rendered = \'\''
$sidebarext_replace =  '$final_rendered=\''.$tempside.'\'';               
$vbulletin->templatecache['headinclude_bottom'] = str_replace($sidebarext_search$sidebarext_replace$vbulletin->templatecache['headinclude_bottom']);
    } 


for my forum line 9 of that hook:
PHP Code:

$tempside.='<style>#sidebar_container{display:none;}#content_container{display:none;}</style>'

applied those display:none css styles to both the sidebar and all forum content, causing all content to be hidden, for what ever reason, updating from 1.4.3.1 to 1.4.3.3 caused that display:none style to not be removed (assuming it was supposed to be removed when the page loaded). This resulted in all correlating pages to be empty vb pages (had header and footer but nothing else).

Interestingly, the aforementioned functionality worked correctly when the forums were disabled via VB settings-> Forum disabled. And ceased to work with the above observations once the forum was enabled.

Perhaps our boards differ from others in that our main content has the content_container class, so perhaps functionality that was only ment for ESB was also being applied to all site content and thus my board was the only one that encountered such problems.


In regards to your finding, Ill assume that this "Show ESB Onload" option, causes ESB to hide your page results, until everything is loaded. So, in essence you are just seeing the page load now in the same amount of time, but now you can see it loading. Where-as before page content was hidden until the page finished loading.

Ok this option added for future uses and because some members requested it. I see most people don't like it. In the next update I will make sure that this option default will be turend off. But sure this option is not added for SILLY reason.

This mod has a lot of options and a lot of my time spent on it so it want hurt if you spend some time setting the options of this mod to suit your forum. This is not this mod fault.

Loversama 07-29-2011 09:08 AM

1 Attachment(s)
I am having some problems with the sidebar showing on my articals.php page (which is my homepage), I have included my file in the post, can someone tell me why the sidebar isnt showing, I have done all the necessary template edits, its driving me insane :confused:



EDIT: SOLVED

I looked into it again and the SHELL_BLANK template needs editing also :)

almannai 07-29-2011 07:06 PM

Quote:

Originally Posted by Loversama (Post 2226349)
I am having some problems with the sidebar showing on my articals.php page (which is my homepage), I have included my file in the post, can someone tell me why the sidebar isnt showing, I have done all the necessary template edits, its driving me insane :confused:



EDIT: SOLVED

I looked into it again and the SHELL_BLANK template needs editing also :)

Thank you for sharing this

djbaxter 07-31-2011 05:04 PM

1 Attachment(s)
In a Forum Only version 4.1.5 test installation, I'm using an HTML block for the sidebar.

When I install ESB, it displays the style chooser and hides the actuial sidebar. See before and after screenshots.

almannai 07-31-2011 05:20 PM

Quote:

Originally Posted by djbaxter (Post 2227304)
In a Forum Only version 4.1.5 test installation, I'm using an HTML block for the sidebar.

When I install ESB, it displays the style chooser and hides the actuial sidebar. See before and after screenshots.

Can I see your block html content?

djbaxter 07-31-2011 05:26 PM

Quote:

Originally Posted by almannai (Post 2227313)
Can I see your block html content?

Sure:

HTML Code:

<!-- SIDEBAR -->
<div id="sidebarwrap">
<div class="side">
<div id="sidebar2">
<ul>
<li><b><font face="Arial" font color="#ff9933">Featured 5 Star Programs</font></b><br />
    <ul>
<li><a href="http://www.empyremedia.com/?r=100040">Empyre Media (Network)</a></li>
<li><a href="http://www.5staraffiliateprograms.com/luckylocal">LuckyLocal <font face="Arial">(Local Shopping)</font></a> <sup><font face="Arial" font color="#ff9933" font size="1">New!</font></sup></li>
<li><a href="http://www.5staraffiliateprograms.com/revenuewire">RevenueWire (Software)</a></li>
<li><a href="http://www.5staraffiliateprograms.com/cpaway">CPAway (Network)</a></li>
<li><a href="http://advertising-recruiting.5staraffiliateprograms.com/recruitment.html"><font color="#ff9933">Feature YOUR Program Here</font></a></li>
    </ul>
</li>
<br />
<li><b><font face="Arial" font color="#ff9933">5 Star Programs (Sponsors)</font></b>
    <ul>
<li><a href="http://www.5staraffiliateprograms.com/bidhere">BidHere (Auction)</a></li>
<li><a target="_blank" href="http://www.5staraffiliateprograms.com/wealthyaffiliate">Wealthy Affiliate (Training)</a></li>
<li><a href="http://www.5staraffiliateprograms.com/datingaffiliate">Singlesnet.com (Dating)</a></li>
<li><a href="http://advertising-recruiting.5staraffiliateprograms.com/recruitment.html"><font color="#ff9933"><strong>YOUR Program HERE!</strong></font></a></li>

<br />
<li class="center"><strong><font size="2" face="Arial" font color="#006699">The free forum support we<br />
provide is made possible by the 5 Star clients above. Please visit our sponsors.</font></strong></li>

<br />
<li><b><font face="Arial" font color="#ff9933"><a href="http://affiliate-blogs.5staraffiliateprograms.com/disclosure-policy">Advertising Disclosure Policy</a></font></b></li>
 <br />
 
    </ul>
</li>
 
<li><b><font face="Arial" font color="#ff9933">Most Popular</font></b>
    <ul>
        <li><a href="http://affiliate-blogs.5staraffiliateprograms.com/">5 Star Affiliate <strong>BLOG</strong></a></li>
        <li><a href="http://affiliate-marketing-forums.5staraffiliateprograms.com/">5 Star <strong>FORUM</strong></a></li>
        <li><a href="http://affiliate-directory.5staraffiliateprograms.com/">5 Star Affiliate <strong>DIRECTORY</strong></a></li>
        <li><a href="http://feeds.feedburner.com/AffiliateMarketingBlogsSeoBlogs" class="img"><img src="http://www.5staraffiliateprograms.com/images/rssbutton.gif" alt="affiliate news feed"align="left" hspace="1" /></a><a href="http://feeds.feedburner.com/AffiliateMarketingBlogsSeoBlogs">&nbsp;Blog RSS Feed</a></li>
        <li><a href="http://feeds.feedburner.com/5StarAffiliateForums" class="img"><img src="http://www.5staraffiliateprograms.com/images/rssbutton.gif" alt="affiliate marketing forum news feed"align="left" hspace="1" /></a><a href="http://feeds.feedburner.com/5StarAffiliateForums">&nbsp;Forum RSS Feed</a></li>
<li><a href="http://twitter.com/LindaBuquet">Twitter 5 Star Affiliate Blog</a></li>
        <li><a href="http://twitter.com/affiliateforums">Twitter 5 Star Affiliate Forum</a></li>
          </ul>
</li>
 
 <br />
 
<li><b><font face="Arial" font color="#ff9933">Affiliate Resources</font></b>
    <ul>
        <li><a href="http://affiliate-directory.5staraffiliateprograms.com/">Top 50 Affiliate Directory</a></li>
<li><a target="_blank" href="http://www.5staraffiliateprograms.com/wealthyaffiliate">Wealthy Affiliate (Ad)</a></li>
<li><a target="_blank" href="http://www.sitesell.com/revenue10.html">Affiliate Software (Ad)</a></li>
<li><a target="_blank" href="http://affiliatemarketing.sitesell.com/revenue10.html">Learn Affiliate Marketing (Ad)</a></li>

</ul>
</li>
<br />
<li><b><font face="Arial" font color="#ff9933">Merchant/AM  Resources</font></b>
    <ul>
<li><a href="http://advertising-recruiting.5staraffiliateprograms.com/recruitment.html">Affiliate Recruiting & PR</a></li>
        <li><a href="http://www.5staraffiliateprograms.com/trackingsoftware.html">Affiliate Tracking Solutions</a></li>
        <li><a href="http://affiliate-marketing-forums.5staraffiliateprograms.com/merchant-affiliate-manager-discussions/"> Affiliate Manager Forums</a></li>
 
    </ul>
</li>
<br />
<li><b><font face="Arial" font color="#ff9933">Free Consultation</font></b>
    <ul>
<li><font color="#006699"><strong>Merchants Only - Click For</strong><br />
          <strong><a href="http://advertising-recruiting.5staraffiliateprograms.com/recruitment.html"><font color="#ff9933">Free Phone Consultation</font></a></strong></li>
 
<br />
 
<li class="center"><a href="http://www.affiliatemarketingbuzz.com/" class="img"><img src="http://www.5staraffiliateprograms.com/images/ambuzzbutton149.jpg" alt="" /></a></li>
 
</ul>
</li>
</ul>
 
</div><!-- end sidebar 2 -->
<div class="clear side-bottom"></div>
</div>
</div>
<!-- END SIDEBAR -->


almannai 07-31-2011 05:39 PM

Quote:

Originally Posted by djbaxter (Post 2227315)
Sure:

HTML Code:

<!-- SIDEBAR -->
<div id="sidebarwrap">
<div class="side">
<div id="sidebar2">
<ul>
<li><b><font face="Arial" font color="#ff9933">Featured 5 Star Programs</font></b><br />
    <ul>
<li><a href="http://www.empyremedia.com/?r=100040">Empyre Media (Network)</a></li>
<li><a href="http://www.5staraffiliateprograms.com/luckylocal">LuckyLocal <font face="Arial">(Local Shopping)</font></a> <sup><font face="Arial" font color="#ff9933" font size="1">New!</font></sup></li>
<li><a href="http://www.5staraffiliateprograms.com/revenuewire">RevenueWire (Software)</a></li>
<li><a href="http://www.5staraffiliateprograms.com/cpaway">CPAway (Network)</a></li>
<li><a href="http://advertising-recruiting.5staraffiliateprograms.com/recruitment.html"><font color="#ff9933">Feature YOUR Program Here</font></a></li>
    </ul>
</li>
<br />
<li><b><font face="Arial" font color="#ff9933">5 Star Programs (Sponsors)</font></b>
    <ul>
<li><a href="http://www.5staraffiliateprograms.com/bidhere">BidHere (Auction)</a></li>
<li><a target="_blank" href="http://www.5staraffiliateprograms.com/wealthyaffiliate">Wealthy Affiliate (Training)</a></li>
<li><a href="http://www.5staraffiliateprograms.com/datingaffiliate">Singlesnet.com (Dating)</a></li>
<li><a href="http://advertising-recruiting.5staraffiliateprograms.com/recruitment.html"><font color="#ff9933"><strong>YOUR Program HERE!</strong></font></a></li>

<br />
<li class="center"><strong><font size="2" face="Arial" font color="#006699">The free forum support we<br />
provide is made possible by the 5 Star clients above. Please visit our sponsors.</font></strong></li>

<br />
<li><b><font face="Arial" font color="#ff9933"><a href="http://affiliate-blogs.5staraffiliateprograms.com/disclosure-policy">Advertising Disclosure Policy</a></font></b></li>
 <br />
 
    </ul>
</li>
 
<li><b><font face="Arial" font color="#ff9933">Most Popular</font></b>
    <ul>
        <li><a href="http://affiliate-blogs.5staraffiliateprograms.com/">5 Star Affiliate <strong>BLOG</strong></a></li>
        <li><a href="http://affiliate-marketing-forums.5staraffiliateprograms.com/">5 Star <strong>FORUM</strong></a></li>
        <li><a href="http://affiliate-directory.5staraffiliateprograms.com/">5 Star Affiliate <strong>DIRECTORY</strong></a></li>
        <li><a href="http://feeds.feedburner.com/AffiliateMarketingBlogsSeoBlogs" class="img"><img src="http://www.5staraffiliateprograms.com/images/rssbutton.gif" alt="affiliate news feed"align="left" hspace="1" /></a><a href="http://feeds.feedburner.com/AffiliateMarketingBlogsSeoBlogs">&nbsp;Blog RSS Feed</a></li>
        <li><a href="http://feeds.feedburner.com/5StarAffiliateForums" class="img"><img src="http://www.5staraffiliateprograms.com/images/rssbutton.gif" alt="affiliate marketing forum news feed"align="left" hspace="1" /></a><a href="http://feeds.feedburner.com/5StarAffiliateForums">&nbsp;Forum RSS Feed</a></li>
<li><a href="http://twitter.com/LindaBuquet">Twitter 5 Star Affiliate Blog</a></li>
        <li><a href="http://twitter.com/affiliateforums">Twitter 5 Star Affiliate Forum</a></li>
          </ul>
</li>
 
 <br />
 
<li><b><font face="Arial" font color="#ff9933">Affiliate Resources</font></b>
    <ul>
        <li><a href="http://affiliate-directory.5staraffiliateprograms.com/">Top 50 Affiliate Directory</a></li>
<li><a target="_blank" href="http://www.5staraffiliateprograms.com/wealthyaffiliate">Wealthy Affiliate (Ad)</a></li>
<li><a target="_blank" href="http://www.sitesell.com/revenue10.html">Affiliate Software (Ad)</a></li>
<li><a target="_blank" href="http://affiliatemarketing.sitesell.com/revenue10.html">Learn Affiliate Marketing (Ad)</a></li>

</ul>
</li>
<br />
<li><b><font face="Arial" font color="#ff9933">Merchant/AM  Resources</font></b>
    <ul>
<li><a href="http://advertising-recruiting.5staraffiliateprograms.com/recruitment.html">Affiliate Recruiting & PR</a></li>
        <li><a href="http://www.5staraffiliateprograms.com/trackingsoftware.html">Affiliate Tracking Solutions</a></li>
        <li><a href="http://affiliate-marketing-forums.5staraffiliateprograms.com/merchant-affiliate-manager-discussions/"> Affiliate Manager Forums</a></li>
 
    </ul>
</li>
<br />
<li><b><font face="Arial" font color="#ff9933">Free Consultation</font></b>
    <ul>
<li><font color="#006699"><strong>Merchants Only - Click For</strong><br />
          <strong><a href="http://advertising-recruiting.5staraffiliateprograms.com/recruitment.html"><font color="#ff9933">Free Phone Consultation</font></a></strong></li>
 
<br />
 
<li class="center"><a href="http://www.affiliatemarketingbuzz.com/" class="img"><img src="http://www.5staraffiliateprograms.com/images/ambuzzbutton149.jpg" alt="" /></a></li>
 
</ul>
</li>
</ul>
 
</div><!-- end sidebar 2 -->
<div class="clear side-bottom"></div>
</div>
</div>
<!-- END SIDEBAR -->


just change all <ul> and <li> to capital letters


All times are GMT. The time now is 08:12 AM.

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.05121 seconds
  • Memory Usage 1,908KB
  • 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
  • (2)bbcode_html_printable
  • (4)bbcode_php_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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