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)

hugh_ 03-06-2013 07:39 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2407566)
The main template name for that mod is: ag_shell not attachmentgallery.

So try:

attachmentgallery|ag_shell

I tried that before I posted here, it didnt work.

BirdOPrey5 03-09-2013 09:46 AM

Every vBulletin page has a template, otherwise nothing would work.

For tags.php the template it: tag_cloud_page

SO add this to the custom box-

Code:

tags|tag_cloud_page

Please "Mark as Installed" if you use this. :)

BirdOPrey5 03-09-2013 09:57 AM

Quote:

Originally Posted by hugh_ (Post 2408215)
I tried that before I posted here, it didnt work.

Weird.... I guess it's not compatible then. Sorry.

Greenwoodi 03-14-2013 09:10 AM

Hi, everybody! Prompt, please, as it is possible to move sidebar to a template a header? Thanks for the answer.

BirdOPrey5 03-14-2013 09:12 PM

I don't understand what you want- a sidebar in the header? Not going to happen with this mod- don't see how it would work like that.

PHP FAN 03-19-2013 11:46 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2400869)
In Admin CP -> Settings -> Options -> Forum Sidebar and Block Options you can choose Left or Right. Note this only works for the newer version of this mod- "Sidebar Anywhere" not Sidebar for Activity Stream.

The width should obey the stylevar forum_sidebar_width.

Hi

In Right to Left style:

If the HomePage sidebar show in the left, the "Sidebar Anywhere" will show in the right.
And if the HomePage sidebar show in the right, the "Sidebar Anywhere" will show in the left.

simon661 03-31-2013 10:34 PM

it is very nice mod, work good in my forum, thanks!

Check my forum to see how it works:
http://www.railtransit-cbtc.com/CBTCcommunity/forum.php

ps2wiz 04-02-2013 08:35 PM

Does this mod give the option to enable both left and right sidebars at the same time?

tazping2000 04-04-2013 11:53 AM

Weird .... this mod has been working with me for a few years. The other day I disabled and today when I enabled it it no longer works!! No sidebars. I didn't change anything!! :(

I tried uninstalling, etc..

Hippy 04-05-2013 08:55 PM

Quote:

Originally Posted by tazping2000 (Post 2414207)
Weird .... this mod has been working with me for a few years. The other day I disabled and today when I enabled it it no longer works!! No sidebars. I didn't change anything!! :(

I tried uninstalling, etc..

years ???????
this mod was only released May 22 2012

reinstall it..

BirdOPrey5 04-09-2013 01:15 PM

Quote:

Originally Posted by PHP FAN (Post 2411065)
Hi

In Right to Left style:

If the HomePage sidebar show in the left, the "Sidebar Anywhere" will show in the right.
And if the HomePage sidebar show in the right, the "Sidebar Anywhere" will show in the left.

Sorry about that, I don't have any RTL boards to test off of.

Go to Admin CP -> Plugin Manager -> Sidebar Anywhere Edits plugin

Find the 4 instances of:

Code:

$vboptions[\'sidebarposition\'] == 0
and change them to

Code:

$vboptions[\'sidebarposition\'] == 1
See if that fixes the issue.

Quote:

Originally Posted by ps2wiz (Post 2413930)
Does this mod give the option to enable both left and right sidebars at the same time?

Quote:

Originally Posted by Hippy (Post 2414570)
years ???????
this mod was only released May 22 2012

reinstall it..

Reinstall is good advice.

Bluefin221 04-16-2013 06:59 PM

I seem to be having a bit of trouble for the main template, so just to make sure I believe I am supposed to take the template name from this part of the file.

Code:

// ################### PRE-CACHE TEMPLATES AND DATA ######################
// get special phrase groups
$phrasegroups = array();
// get special data templates from the datastore
$specialtemplates = array();
// pre-cache templates used by all actions
$globaltemplates = array('vbfixer_cpn_temp',);
// pre-cache templates used by specific actions
$actiontemplates = array();

As you can see only one thing I can take from that which I use like so.
multi_custom_page|vbfixer_cpn_temp

Cannot get the blocks to show at all though I have tried a variety of different combinations.

The this script is defined like this: 'multi_custom_page'.$scrpt

So I'm not 100% sure what I should be placing in both sides due to this.

mikesafl 04-16-2013 11:25 PM

Im going crazy trying to figure this out, Can i add certain blocks to certain page, BUT disable that block from showing on the main page of the site?

BirdOPrey5 04-17-2013 12:18 AM

Quote:

Originally Posted by Bluefin221 (Post 2416734)
I seem to be having a bit of trouble for the main template, so just to make sure I believe I am supposed to take the template name from this part of the file.

Code:

// ################### PRE-CACHE TEMPLATES AND DATA ######################
// get special phrase groups
$phrasegroups = array();
// get special data templates from the datastore
$specialtemplates = array();
// pre-cache templates used by all actions
$globaltemplates = array('vbfixer_cpn_temp',);
// pre-cache templates used by specific actions
$actiontemplates = array();

As you can see only one thing I can take from that which I use like so.
multi_custom_page|vbfixer_cpn_temp

Cannot get the blocks to show at all though I have tried a variety of different combinations.

The this script is defined like this: 'multi_custom_page'.$scrpt

So I'm not 100% sure what I should be placing in both sides due to this.

I'd really need to see the THIS_SCRIPT line in the php file to figure out the script name.

To determine the template name go to your Admin CP -> Settings -> Options -> General Settings, and turn on the setting that puts Template Names in HTML comments...

Then reload the custom page you want the sidebar to appear on, view the HTML source. The first comment for the first template at the top of the page is going to be the template name you need.

Disable the setting once you have found it.


Quote:

Originally Posted by mikesafl (Post 2416808)
Im going crazy trying to figure this out, Can i add certain blocks to certain page, BUT disable that block from showing on the main page of the site?

No, the same blocks appear on all pages.

Bluefin221 04-17-2013 10:12 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2416824)
I'd really need to see the THIS_SCRIPT line in the php file to figure out the script name.

I had the template name correct here is the THIS_SCRIPT part.

Code:

define('THIS_SCRIPT', 'multi_custom_page'.$scrpt);
I have tried various variations for this but cannot appear to get it working.

BirdOPrey5 04-18-2013 06:58 PM

Have you tried just multi_custom_page as the script name?

Bluefin221 04-18-2013 07:44 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2417212)
Have you tried just multi_custom_page as the script name?

Yes this is what I had originally: multi_custom_page|vbfixer_cpn_temp

It doesn't work though.

AusPhotography 04-19-2013 01:20 AM

Will this work on 4.2.1?

rhody401 04-19-2013 12:59 PM

I'm using it on my forum with 4.2.1, and have no problems to report

BirdOPrey5 04-19-2013 01:41 PM

Quote:

Originally Posted by Bluefin221 (Post 2417222)
Yes this is what I had originally: multi_custom_page|vbfixer_cpn_temp

It doesn't work though.

Anyway of knowing what the value of $script it? If it changes often then this mod won't work with it. If there is one or a few values it should still work if you can figure out what it is,

Quote:

Originally Posted by ricktas (Post 2417257)
Will this work on 4.2.1?

Working fine on 4.2.1 for me.

Bluefin221 04-19-2013 04:19 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2417323)
Anyway of knowing what the value of $script it? If it changes often then this mod won't work with it. If there is one or a few values it should still work if you can figure out what it is,

Yes value of $script is ab_s=1

So it goes...

multi_custom_page.php?ab_s=1
multi_custom_page.php?ab_s=2
multi_custom_page.php?ab_s=3

Upto 10.

So I guess it probably wont work with this, I might just make the pages myself as that seems a lot easier, I was just being lazy by trying to get a mod that made vb pages for me and all I did was add the content in it.

BirdOPrey5 04-20-2013 12:35 AM

try...

multi_custom_page1|vbfixer_cpn_temp
multi_custom_page2|vbfixer_cpn_temp
multi_custom_page3|vbfixer_cpn_temp
etc...

Bluefin221 04-20-2013 12:59 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2417422)
try...

multi_custom_page1|vbfixer_cpn_temp
multi_custom_page2|vbfixer_cpn_temp
multi_custom_page3|vbfixer_cpn_temp
etc...

Worked a treat.

http://www.fpcforums.com/forums/mult...age.php?ab_s=1

Thank you.

PHP FAN 04-21-2013 09:29 AM

1 Attachment(s)
Quote:

Originally Posted by BirdOPrey5 (Post 2415312)
Sorry about that, I don't have any RTL boards to test off of.

You can test RTL layout very easy:

Go to Admin CP -> Languages & Phrases -> Language Manager

Add New Language (English)

Name it RTL Test or what ever you like

But make sure you select (Right to Left) in the Text Direction filed



Quote:

Originally Posted by BirdOPrey5 (Post 2415312)
Go to Admin CP -> Plugin Manager -> Sidebar Anywhere Edits plugin

Find the 4 instances of:

Code:

$vboptions[\'sidebarposition\'] == 0
and change them to

Code:

$vboptions[\'sidebarposition\'] == 1
See if that fixes the issue.

Reinstall is good advice.



It works but the tab-collapsed.png looks not right until I click on it.


Thanks

RonH. 04-27-2013 08:57 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2374902)
Instead of? I'm not sure how you would disable the blog sidebar, maybe via css display:none. You can add blog as a custom page, it works, I've tested it.

I'm using the suite version of 4.2.0 and I'm interested only in using the Blog portion on my blog site. Will this mod of yours suit my purpose of using it as a customizable sidebar block on my blog page? I do hope I have asked my question in a manner that you will understand.

BirdOPrey5 04-28-2013 12:46 PM

This mod doesn't allow for customized sidebar blocks. It displays the same sidebar blocks on every page.

You can use it only for your blog if you want but vBulletin designed the blog to have their own sidebar.

RonH. 04-28-2013 09:25 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2418925)
You can use it only for your blog if you want but vBulletin designed the blog to have their own sidebar.

Okay, I understand. Thanks. One more question if I may for either you or anyone else here who may know, is there a way to modify or manipulate vBs sidebar in the blog portion to allow for the addition of HTML or some other way to add sections to the existing pre-packaged blog contents? I just want to add simple html links and small images with links or just some text etc.

RonH. 04-29-2013 08:05 PM

This mod should not be re-named from ANYWHERE but instead to Most Anywhere. It does not work on the vB 4.2 Blog page. If anyone wants to make a mod that works with or in addition to the vB version that comes with the blog contact me. Am willing to pay. It MUST actually work though. My Blog is part of the suite version of vB.

BirdOPrey5 05-12-2013 12:13 PM

FYI-

It has come to my attention someone has figured out how to display different blocks on different pages- check it out here- https://vborg.vbsupport.ru/showthread.php?t=296104

RonH. 05-12-2013 05:24 PM

It dosn't work on the vB Blog section either. Tried it out. I've given up on vB for my blog and decided to use WordPress Blog instead.

tagline 05-14-2013 08:38 PM

1 Attachment(s)
I've an issue with my template that's not the default one. Some part of the template are missing... how to fix it?

BirdOPrey5 05-15-2013 12:38 PM

Would suggest reverting any forum blocks templates showing issues. Backup the style first, though.

tagline 05-15-2013 02:07 PM

Sorry, but I don't understand. :confused:
In the case, I've removed the entire template and re-installed but nothing happens. Can you post a step by step guide? Thank's

BirdOPrey5 05-15-2013 06:14 PM

Do you have the problem on the default style?

To get the default style go to Admin CP -> Styles & Templates -> Style Manager -> Add New Style and create a new style with no parent style. This will be the default style.

Then go to Admin CP -> Settings -> Options -> Style & Language Settings and give permission for users to change styles (if it was disabled) so you can change to the default style to test it.

tagline 05-15-2013 08:38 PM

My problem is not with default style. I've already set up my board in order to change template. I've a custom template and in the forum.php page there is no problem but if I change view (e.g. in post or thread) I lost template as you can see in previous attachement.

tagline 05-23-2013 07:45 PM

No support, no responses for more than a week (just one but it is not the answer to my question)...

Uninstalled

BirdOPrey5 05-23-2013 11:37 PM

If you don't have the problem with the default style then obviously the problem is due to your custom style, not the mod. So sorry, I cannot trouble shoot custom styling issues but I am not a style expert, I really have no idea what may be broken in your custom style and I do not have time to log into your site and look around. Had you posted a link to the site with the issue so I can see it happening there is a small chance I may have noticed something obvious, but you didn't. FYI - A screenshot isn't very helpful when trouble shooting styling issues.

tagline 05-24-2013 05:10 AM

Joe, thanks anyway.

dimmicosacerchi 06-09-2013 06:55 PM

Hi, I'm trying to add custom pages siderbar in Easy Forms and form, but the siderbar does not appear.
Could someone help me? Thank you.

bzcomputers 06-09-2013 06:58 PM

Quote:

Originally Posted by dimmicosacerchi (Post 2426931)
Hi, I'm trying to add custom pages siderbar in Easy Forms and form, but the siderbar does not appear.
Could someone help me? Thank you.

post link to page


All times are GMT. The time now is 03:07 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.01635 seconds
  • Memory Usage 1,839KB
  • 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
  • (8)bbcode_code_printable
  • (20)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