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)

almannai 04-25-2010 01:24 PM

Quote:

Originally Posted by stained (Post 2027011)
In common with another member I also have ads in my sidebar so I'd like to prevent guests and my non-premium members from collapsing the relevant boxes so there is a need for the facility to hide the collapse buttons.

Many thanks for the mod Allmanai. Could I ask a quick question? I hide other ads from my premium users by wrapping the google script in the following:

PHP Code:

<vb:if condition="!is_member_of($bbuserinfo, 29)">
....
ad script

<vb:if condition="$adsshown[] = 9"></vb:if></vb:if> 

There will no doubt be a simple answer to this question but would you happen to know why the sidebar ads still show despite this code?

Thanks

It should work except the forumhome
I've answered Peter Ostry to make sidebar permenant but still he didn't reply to tell us if has worked for him or not.

you better control $bbandSBactive in global start and see how it goes.
so if my condition then $bbandSBactive=0;
else $bbandSBactive=1;

Quote:

Originally Posted by ranz (Post 2027016)
Awesome mod - well done! :up:

you are welcome

MikeWarner 04-25-2010 03:31 PM

Quote:

Originally Posted by almannai (Post 2026959)
Not yet..

I'm guessing I can hack in this conditional into the correct template:
Code:

<vb:if condition="$bbuserinfo[styleid]==x">
Stuff for styleid 'x' here
</vb:if>


businessmeet 04-25-2010 04:34 PM

Hey, I'm not sure what's going on here, but, when loading the site's index page, I see the sidebar loading along with everything else, but then it disappears. All the settings are correct, the blocks are added, as well as other settings / options too. Everyone else sees the sidebar just fine, no issues for them. It's just me, that it's not showing for me. I see it there, when loading up the site, but once it's loaded, it goes away... ?

At first, I thought it was maybe a Firefox add-on, so I tried disabling some add-ons, still no go. Here's the url: http://freelancefirst.com/ It loads fine, and displays fine in IE8. My Firefox version is: 3.6.3. Any ideas, suggestions and etc? Thanks. :)

Videx 04-25-2010 04:39 PM

Quote:

Originally Posted by businessmeet (Post 2027136)
Hey, I'm not sure what's going on here, but, when loading the site's index page, I see the sidebar loading along with everything else, but then it disappears.

Actually, this is 'normal' on slower connections - it's what I deal with from work. What isn't normal (though you didn't mention it) is that you should have a button to uncollapse the sidebar.

businessmeet 04-25-2010 04:55 PM

Quote:

Originally Posted by Videx (Post 2027142)
Actually, this is 'normal' on slower connections - it's what I deal with from work. What isn't normal (though you didn't mention it) is that you should have a button to uncollapse the sidebar.

Hmm, that's odd. My connection isn't that slow though. Haha. (Although; I'm on the lowest high speed dsl connection with verizon). I don't see a button for it to collapse on this custom skin that's on there. However, the buttons are there for the other two "default" skins... The sidebar that was designed with this custom skin, apparently doesn't have buttons to collapse it and etc. It's supposed to be displayed open at all times, apparently... Like I said above, the sidebar displays fine in IE8... so the connection shouldn't be a problem.

almannai 04-25-2010 04:57 PM

Quote:

Originally Posted by MikeWarner (Post 2027096)
I'm guessing I can hack in this conditional into the correct template:
Code:

<vb:if condition="$bbuserinfo[styleid]==x">
Stuff for styleid 'x' here
</vb:if>


It will work on every page except homepage

Quote:

Originally Posted by businessmeet (Post 2027136)
Hey, I'm not sure what's going on here, but, when loading the site's index page, I see the sidebar loading along with everything else, but then it disappears. All the settings are correct, the blocks are added, as well as other settings / options too. Everyone else sees the sidebar just fine, no issues for them. It's just me, that it's not showing for me. I see it there, when loading up the site, but once it's loaded, it goes away... ?

At first, I thought it was maybe a Firefox add-on, so I tried disabling some add-ons, still no go. Here's the url: http://freelancefirst.com/ It loads fine, and displays fine in IE8. My Firefox version is: 3.6.3. Any ideas, suggestions and etc? Thanks. :)

Once you hack the mod you will be by your own. You've change the mod and not possible to help you out.


Quote:

Originally Posted by Videx (Post 2027142)
Actually, this is 'normal' on slower connections - it's what I deal with from work. What isn't normal (though you didn't mention it) is that you should have a button to uncollapse the sidebar.

Yes and thank you for your follow up...

businessmeet 04-25-2010 05:27 PM

Quote:

Originally Posted by almannai (Post 2027153)
Once you hack the mod you will be by your own. You've change the mod and not possible to help you out.

Not sure what happened, but the mod was added by another admin. I didn't add it, nor had the abilities to "hack" the mod before, and I didn't "hack" the mod at all. Hehe. I guess I'll ask the other admin if he might have done something with it. Thanks though. ;)

almannai 04-25-2010 06:03 PM

Quote:

Originally Posted by businessmeet (Post 2027171)
Not sure what happened, but the mod was added by another admin. I didn't add it, nor had the abilities to "hack" the mod before, and I didn't "hack" the mod at all. Hehe. I guess I'll ask the other admin if he might have done something with it. Thanks though. ;)

I've checked your site again with the default style and it is working ok on homepage. On other pages though, the sidebar is showing at the bottom so it is either hacked or some conflict with other mod.

Peter Lo 04-26-2010 12:14 AM

Perhaps you might want to share it with the rest of the readers on this thread; and perhaps even the developer himself, as he didn't find it. Not much help to say "I've got a problem, oh but I solved it" as the rest seraching the thread will not know how you solved it.

Quote:

Originally Posted by adadk (Post 2002846)
Excellent mod almannai.
Is there any way to change the width of it however? I looked through different options trying find a setting of some sort for that but didn't have any luck.

edit: n/m found it.


almannai 04-26-2010 06:03 AM

Quote:

Originally Posted by Peter Lo (Post 2027329)
Perhaps you might want to share it with the rest of the readers on this thread; and perhaps even the developer himself, as he didn't find it. Not much help to say "I've got a problem, oh but I solved it" as the rest seraching the thread will not know how you solved it.

You can change the width from the stylesheet settings for each style.


All times are GMT. The time now is 12:52 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.02415 seconds
  • Memory Usage 1,761KB
  • 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_code_printable
  • (1)bbcode_php_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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