vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Filling some deadspace in the SHOWTHREAD template (https://vborg.vbsupport.ru/showthread.php?t=327151)

scottkoz20 03-16-2019 01:25 AM

Filling some deadspace in the SHOWTHREAD template
 
1 Attachment(s)
I am looking at potentially filling some dead space at the bottom of the SHOWTHREADS template. Currently, I have a sidebar forced on for most of my users (removable for my staff and donors) and on some of the thread pages (especially those with 1 or 2 posts), there is some deadspace.

I am wondering if there is an easy way to create 2 or 3 columns that I can add information that could also be on the sidebar (like last 5-10 posts on the site) or something else that can be added in using the same type of structure as the Forum Blocks.

If there is a mod that exists to facilitate with this, awesome... if not, how hard would it be to create blocks like this for content? It could be for paid content potentially as well...

Thanks,
Scott

scottkoz20 03-29-2019 04:19 PM

bumping this up to see if there any thoughts/ideas/known mods

snakes1100 03-30-2019 11:23 AM

You would have to custom code an addon to share info from the showthread page & a sidebar.

scottkoz20 03-30-2019 02:39 PM

probably would need to be custom code as well for non-side bar information. This is a lower priority item for me.

Thank you for the reply

alfuzzy 04-01-2019 01:04 PM

Quote:

Originally Posted by scottkoz20 (Post 2598803)
Currently, I have a sidebar forced on for most of my users (removable for my staff and donors)...

Hey there Scott. I have some sidebars on my site at the moment...and at the moment they are still "hideable" by users using the vBulletin open/close tab.

How did you "force" the sidebar on non-donating members (can't close or hide it). Was this via tweaking some code...or did you use a 3rd party plugin product?

Also a 2nd question. Do you have this sidebar on just your home page or all website pages?

My understanding is by default...vBulletin 4 only does the sidebar on the forum home page but not other pages. I did see there's a 3rd party product called "Sidebar Anywhere"...didn't know if you were using this.

Thanks

scottkoz20 04-02-2019 12:21 AM

Quote:

Originally Posted by alfuzzy (Post 2598941)
Hey there Scott. I have some sidebars on my site at the moment...and at the moment they are still "hideable" by users using the vBulletin open/close tab.

How did you "force" the sidebar on non-donating members (can't close or hide it). Was this via tweaking some code...or did you use a 3rd party plugin product?

Also a 2nd question. Do you have this sidebar on just your home page or all website pages?

My understanding is by default...vBulletin 4 only does the sidebar on the forum home page but not other pages. I did see there's a 3rd party product called "Sidebar Anywhere"...didn't know if you were using this.

Thanks

I am using the Sidebar Anywhere mod for vB4. In the settings, you have the ability to identify what usergroups can collapse the sidebar. In addition, I have made several templates in the BLOCK TEMPLATES section where I commented out

Code:

                <div class="blocksubhead">
                        <a class="collapse" id="collapse_block_html_{vb:raw blockinfo.blockid}" href="{vb:raw relpath}#top"><img alt="" src="{vb:stylevar imgdir_button}/collapse_40b.png" id="collapseimg_html_{vb:raw blockinfo.blockid}"/></a>
                        <span class="blocktitle">{vb:raw blockinfo.title}</span>
                </div>

Then in the Sidebar blocks, you have to ensure you are changing the TEMPLATE TO USE in the block setup.

I also have built a sideblock that has no headings and just allows for Ad Content (using this for 300x250 and 300x600 ad types)

:D


All times are GMT. The time now is 12:16 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.01566 seconds
  • Memory Usage 1,724KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete