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)

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.


All times are GMT. The time now is 03:25 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.02257 seconds
  • Memory Usage 1,745KB
  • 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_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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