Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-16-2019, 01:25 AM
scottkoz20 scottkoz20 is offline
 
Join Date: Dec 2015
Location: Lewiston, NY
Posts: 344
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Filling some deadspace in the SHOWTHREAD template

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
Attached Files
File Type: (43 Bytes, 0 views)
File Type: (43 Bytes, 0 views)
Reply With Quote
  #2  
Old 03-29-2019, 04:19 PM
scottkoz20 scottkoz20 is offline
 
Join Date: Dec 2015
Location: Lewiston, NY
Posts: 344
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bumping this up to see if there any thoughts/ideas/known mods
Reply With Quote
  #3  
Old 03-30-2019, 11:23 AM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You would have to custom code an addon to share info from the showthread page & a sidebar.
Reply With Quote
Благодарность от:
scottkoz20
  #4  
Old 03-30-2019, 02:39 PM
scottkoz20 scottkoz20 is offline
 
Join Date: Dec 2015
Location: Lewiston, NY
Posts: 344
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #5  
Old 04-01-2019, 01:04 PM
alfuzzy alfuzzy is offline
 
Join Date: Jul 2018
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by scottkoz20 View Post
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
Reply With Quote
  #6  
Old 04-02-2019, 12:21 AM
scottkoz20 scottkoz20 is offline
 
Join Date: Dec 2015
Location: Lewiston, NY
Posts: 344
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by alfuzzy View Post
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)

Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:39 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03989 seconds
  • Memory Usage 2,237KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (1)post_thanks_box_bit
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (2)postbit_attachment
  • (6)postbit_onlinestatus
  • (6)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete