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)
-   -   Miscellaneous Hacks - Sidebar Anywhere (Formerly Sidebar for Activity Stream) by BOP5 (https://vborg.vbsupport.ru/showthread.php?t=283307)

Hippy 08-03-2012 11:59 PM

Thanks Brotha

Killhunter 08-04-2012 07:41 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2354028)
That wouldn't be a suggestion for this mod- that would be a separate forum sideblock that works as you request.

Well, you cant do that? :o

sweetpotato 08-05-2012 02:51 AM

Is there anyway to excluded threads/posts of certain forums being showed on sidebar?
Thanks,

BirdOPrey5 08-05-2012 10:46 AM

Quote:

Originally Posted by Killhunter (Post 2354481)
Well, you cant do that? :o

No, sorry.

Quote:

Originally Posted by sweetpotato (Post 2354571)
Is there anyway to excluded threads/posts of certain forums being showed on sidebar?
Thanks,

You can edit the forum block in Forum Blocks Manager and restrict which forum's posts/threads get pulled from for each block.

Anygma 08-10-2012 03:27 PM

the sidebar sudden didnt work on subpages except in forum.php...
but when Im logged out, its working fine..
What are the probable cause?

Thanks

BirdOPrey5 08-10-2012 04:55 PM

Make sure it is enabled for your usergroup in the Admin CP Settings.

Anygma 08-11-2012 03:58 AM

Its already enabled for ALL uergroups...

BirdOPrey5 08-11-2012 07:08 PM

I can't think of any other reason it would not show if you were logged in. If you want to PM me a link to your site and Amin CP access I can take a look.

gedsta 08-15-2012 12:42 PM

Installed and working fine on our beta website, thanks for the latest update.

Couple more useful additions maybe?

1) The ability to place the sidebar to the left or right hand side of the forums?
2) The ability to also change the width of the sidebar etc eg 200, 210, 230 etc?
3) The ability to also change the width of the gap between the sidebar and the forums etc?

Thanks again.

BirdOPrey5 08-15-2012 08:25 PM

Quote:

Originally Posted by gedsta (Post 2357131)
Installed and working fine on our beta website, thanks for the latest update.

Couple more useful additions maybe?

1) The ability to place the sidebar to the left or right hand side of the forums?
2) The ability to also change the width of the sidebar etc eg 200, 210, 230 etc?
3) The ability to also change the width of the gap between the sidebar and the forums etc?

Thanks again.

These are all possible now.

Left or Right will work based on what you have the default forum sidebar set to (Admin CP -> Settings -> Options -> Forum Sidebar and Block Option)

The width can be changed by the stylevar- the same stylevar that changes the default sidebar width- it has been mentioned in this thread before- I think it is in Stylvar Editor -> Sidebar-> forum_sidebar_width. Just search for "sidebar" there's only a few.

Any other changes - like the gap width can be done via custom CSS in additional.css or stylevars if they exist.

For example this in addtional.css should narrow the gap-

Code:

#sidebar_container {
 padding-right: 10px !important;
}

Note padding=right is needed for the siebar on the right of the page. If on the left of the page use padding-left.

gedsta 08-15-2012 08:37 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2357237)
These are all possible now.

Great news, thank you very much for the additional information.

I think there is one more thing I need to know now before we put your mod live and give it a go.

We use Logician's WebTemplates and as per your instructions, I have added the following.

view|Test Webtemplate*30 (a test one)

But I am unsure as to what the second part should be. We normally use the default template default_basic_theme1 or Default Basic Theme but adding that to the box still doesn't work. :(

ie

view|default_basic_theme1*30

Any pointers at all if possible?

BirdOPrey5 08-15-2012 09:55 PM

1) Did you open (I assume) view.php in a text editor and confirm the "THIS_SCRIPT" name is indeed "view" ?

2) Did you go to Admin CP -> Settings -> Options -> General Settings and enable Template Names in HTML Comments, and then load/view a page on view.php, view the HTML source in your browser, and then copy the template name at the top of the code?

Those are the two pieces of info you need for it to work on a custom mod.

gedsta 08-16-2012 11:55 AM

Quote:

1) Did you open (I assume) view.php in a text editor and confirm the "THIS_SCRIPT" name is indeed "view" ?
Yes.

Quote:

2) Did you go to Admin CP -> Settings -> Options -> General Settings and enable Template Names in HTML Comments, and then load/view a page on view.php, view the HTML source in your browser, and then copy the template name at the top of the code?
The template I checked after doing this is Test - adding the text;

view|Test*30

Does not show the sidebar at all.

I know on the alternative mod, the following had to be added to view.php as Logician confirmed in his thread.

Find

PHP Code:

print_output($templater->render()); 

Add above

PHP Code:

$templater->register('sidebarext'$sidebarext);

$templater->register('sidebaropen'$sidebaropen); 



https://vborg.vbsupport.ru/showpost....&postcount=219

BirdOPrey5 08-18-2012 09:19 AM

Can you give me a link to a page on your site that is powered by Web templates and make sure your Template names in HTML comments are still enabled.

zascok 08-18-2012 01:07 PM

Thanks, ones again. Actually I was looking for something to make sidebar to work somehow on vBA , this did it with no hassle. Just a tiny 4-5 px uneven with the rest of vBA lining. Don't mind tho. but if there is a way with no troubles for you , please advise

Anygma 08-20-2012 01:57 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2356264)
I can't think of any other reason it would not show if you were logged in. If you want to PM me a link to your site and Amin CP access I can take a look.

nvm, it only happens on chrome on my desktop..

anyway..
I added a custom code on FORUMHOME, above {vb:raw sidebar}..
But when I go to other pages it is not included on the sidebar..
How can I include my custom code show on other pages too?
My custom codes only include html, vb:raw codes, and vb phrases codes..

Thanks!

Alecsmith 08-28-2012 08:36 AM

Hey BirdOPrey5 everywhere sidebar not working on custom skin it is working on Activity & Forumhome but not at other options like showthread, PM etc.

Gemma 08-28-2012 08:43 AM

Quote:

Originally Posted by Alecsmith (Post 2360644)
Hey BirdOPrey5 everywhere sidebar not working on custom skin it is working on Activity & Forumhome but not at other options like showthread, PM etc.

This might be a silly, simple question but have you set it up to show on those pages?

Alecsmith 08-28-2012 08:54 AM

Quote:

Originally Posted by Gemma (Post 2360646)
This might be a silly, simple question but have you set it up to show on those pages?

I tried but isn't working i am using Ideal Theme from Themeforest

BirdOPrey5 08-29-2012 04:49 PM

Are you sure you downloaded the right version?

You need to download the second Zip fie: Sidebar Anywhere by BOP5v210.zip

The top one works only on the Acitivty Stream.

Alecsmith 08-30-2012 03:37 AM

Yeah i installed same version anyway i uninstalled and then fresh installed plugin its working fine, Thanks :)

qpurser 09-04-2012 06:33 AM

1 Attachment(s)
As always great MOD.
Works very well but I have a small issue.

The sidebar shows properly on most pages with sidebar activated however I found a small problem with the Calendar page.
The sidebar shows up properly when viewing the calendar in general or the detailed event view.
Only when editing the calendar event the sidebar gets moved all the way to the bottom of the page and the forum footer moves to the right top of the page as shown in the screenshot.

Any suggestions to fix this?

Thanks
Michael

ksmedia 09-11-2012 12:34 AM

Thanks for the great Mod,

is there a possibility of displaying a block based on forum-ID, as you´ve done it with THIS_SCRIPT. For example:

block_html_2|forum-id1
block_html_3|forum-id2
..etc

Thanks in Advance

BirdOPrey5 09-11-2012 11:44 AM

No way of specify specific blocks as it is current designed.

JAnders 09-14-2012 05:46 PM

the sidebar displays pretty much anywhere fine except when reading posts. in some cases it just shows way at the bottom of the page, in other instances it overlaps with the rest of the page.

BirdOPrey5 09-17-2012 08:57 AM

Can you try it temporarily on the default style and see if you still have the issue?

sivaganeshk 09-23-2012 03:25 PM

Can we display sidebar *only* on threads?
Does this sidebar loads only recent activity? or any html/php contents?

BirdOPrey5 09-27-2012 03:03 PM

You can enable the sidebar only on the SHOWTHREAD template if you wish.

It should load any sdebar block the regular sidebar loads.

BlogTwits 10-03-2012 08:36 AM

Hi, sorry if this has been answered, does the activity stream block show the exact same info as the forum block or can you choose different blocks? I noticed on Qapla that both pages show the same sideblocks. Thanks

BlogTwits 10-03-2012 08:43 AM

Never mind, just saw the info in the zip :)

se7o 10-03-2012 04:17 PM

I have problem

the original side bar in home page is in the right side

the sections side bar is in left

i want make all pages in right

see

http://www.ng3awya.com/forum.php



http://www.ng3awya.com/forum8.html

BirdOPrey5 10-05-2012 05:46 PM

Seems to be a bug because I didn't account for RTL languages on left/right positions.

Please go to the Admin CP -> Plugin Manager and edit the plugin: Sidebar Anywhere Edits

Find the line:
Code:

if ($vbulletin->options['sidebarposition'])
and change it to:
Code:

if (!$vbulletin->options['sidebarposition'])
(add the exclamation point)

and let me know if it works, please.

sticky 10-06-2012 03:53 AM

I think this is coded absolutely awesome and pretty badass the only problem is, why not work on the CMS page? It works everywhere else...

BirdOPrey5 10-06-2012 10:29 AM

It's just not a built in location because for the CMS people usually use CMS widgets in their own "sidebar" but if you add this code to the Custom Scripts... setting:

Code:

vbcms|vbcms_page
It will work on CMS pages.

sticky 10-06-2012 04:13 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2371136)
It's just not a built in location because for the CMS people usually use CMS widgets in their own "sidebar" but if you add this code to the Custom Scripts... setting:

Code:

vbcms|vbcms_page
It will work on CMS pages.

Perfect, going to try it now. Thanks!

sticky 10-06-2012 05:02 PM

Had to disable the mod as for whatever reason if enabled on forum pages when trying to edit and quick save it won't work. Have to click go advanced.

This bug needs to be fixed or it may be how it plays with another mod but either way it's a big problem toward using this.

BirdOPrey5 10-06-2012 06:35 PM

Quote:

Originally Posted by sticky (Post 2371221)
Had to disable the mod as for whatever reason if enabled on forum pages when trying to edit and quick save it won't work. Have to click go advanced.

This bug needs to be fixed or it may be how it plays with another mod but either way it's a big problem toward using this.

I'm not having that issue on my site with Chrome. What browser are you using?

And you are talking about editing posts on showthread, correct?

se7o 10-07-2012 04:04 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2371023)
Seems to be a bug because I didn't account for RTL languages on left/right positions.

Please go to the Admin CP -> Plugin Manager and edit the plugin: Sidebar Anywhere Edits

Find the line:
Code:

if ($vbulletin->options['sidebarposition'])
and change it to:
Code:

if (!$vbulletin->options['sidebarposition'])
(add the exclamation point)

and let me know if it works, please.




it not work


(add the exclamation point)



i don't understand this point

BirdOPrey5 10-07-2012 08:54 PM

! = exclamation point, you need to add it to the code... Before the $.

Azonaco 10-08-2012 09:32 PM

Is there any way to get the sidebar to display below where a thread starts? Aligned with the first post would be perfect for our site.


All times are GMT. The time now is 04:27 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.01578 seconds
  • Memory Usage 1,834KB
  • 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
  • (7)bbcode_code_printable
  • (2)bbcode_php_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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