vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Forum Display Enhancements - UA Sidebar 3.0.6 for VB 3.6.x - VB 3.7 Beta 3 (https://vborg.vbsupport.ru/showthread.php?t=167042)

jaks 01-04-2008 10:00 PM

UA Sidebar 3.0.6 for VB 3.6.x - VB 3.7 Beta 3
 
CSS Issues were addressed in UAsidebar Version 3.0.5 Please make sure to update your CSS code for your style, upload the newest product and overwrite the previous versions.

A simple variation of the Forum Intro Mod. This will add upto 3 blocks as a sidebar on your forum index pages. Each forum would have it's own 1-3 bocks. You can turn them on or off. Block 1 is the Key block, if it is not enabled no blocks will show regardless of how blocks 2 and 3 are set.

This is the second version and is labelled 3.0.1. 3.0.0 Had an issue with the new profiles. Apparently I used the same name for my wrapper as it does so i quickly changed it.

This will also work with VB 3.6.x

Add your block code in Admincp >>> Forum Manager >>> Whatever Forum near the bottom of the options.
Template edits must be made. Instructions are below. Each edit is clearly labelled to make it easy to find in or remove from your templates.

*** Advertising removed ***

UA_Sidebar Update 3.0.6 changes:
  • Added a right sidebar template and CSS for it. (Requested)
UA_Sidebar Update 3.0.5 changes:
  • CSS bug fixed a slight change in the CSS code.
  • 1 template change to address CSS issue.
UA_Sidebar Update 3.0.4 changes:
  • Added missing wrapit div and CSS
UA_Sidebar Update 3.0.3 changes:
  • Templates now included in product file
  • Changed Div ID to UAsidebar so it doesn't conflict with other mods past/present/future.
    If updating you must change #sidebar to #UAsidebar in your CSS
  • Overwrite Product is now possible.
  • Edits are easier with less code to paste
Features:
  • Each forum can have it's own 1,2 or 3 sidebar blocks controlled in Forum Management
  • You can edit the templates to your needs.
Future Features and Possible Future Features:
  • Optional product file that will include Auto Template edits
  • Option to move sidebar to the right side
  • Last x posts in specific forum (No promises)
  • Default sidebar for all forums (No promises)
  • Users in this forum (No promises)
*** ALWAYS BACKUP YOUR STYLE BEFORE EDITING ***

Known Bugs
  • [FIXED IN 3.0.5]Thread list goes off the page a 165px in Firefox as of Version 3.0.4.
  • [FIXED IN 3.0.5]Sidebar sits above Threadlist in IE as of Version 3.0.4.


CSS CODE
#############################

*Note* You will have to adjust the top margin to line up with your style. 26px worked for me but you may need more or less to line up with the navbar.*END NOTE*

Add this CSS code to the bottom of the Additional CSS Definitions box for the style you are using.

For a left sidebar
Code:

/* Start UASidebar Left CSS */
#UAcontent
{ margin-left: 175px; }
body
{ height: 100%; overflow: auto; }
#UAsidebar
{ float:left; margin-top: 26px; width: 175px; }/* END UA Sidebar CSS */
/* End UA Sidebar Left CSS */

For a right sidebar
Code:

/* Start UASidebar Right CSS */
#UAcontentright
{ margin-right: 180px; }
body
{ height: 100%; overflow: auto; }
#UAsidebarright
{ float:right; margin-top: 26px; width: 175px; }
/* End UA Sidebar Right CSS */




###############################

In the forumdisplay template find
Code:

$navbar
For a left sidebar Add below:
Code:

<!-- Start UA Sidebar Left Top  -->
$ua_sidebar_forumdisplay_bit
<!-- / End UA Sidebar Top  -->

For a right sidebar Add below:
Code:

<!-- Start UA Sidebar Right Top  -->
$ua_sidebar_forumdisplay_bit_right
<!-- / End UA Sidebar Top  -->

(If you used my Forum Intro hack place above or below <!-- / End Forum Intro --> )
####################

In footer template find
Code:

$spacer_close
Above Add:
Code:

<!-- Start UA Sidebar bottom -->
$ua_sidebar_footbit
<!-- End UA Sidebar Bottom -->


jaks 01-05-2008 08:21 PM

Saved

aakhan136 01-05-2008 09:47 PM

Thanks

yingzhou 01-06-2008 12:55 PM

this greats!!!

Hornstar 01-06-2008 10:39 PM

Thanks, can you choose what side you would like it on?

jaks 01-07-2008 04:22 AM

Added a right sidebar template and the CSS for it. Just update to 3.0.6 and use the right sidebar css and template call. Instructions and new screenshot in the first post.

SEOvB 01-07-2008 05:52 AM

should
Code:

<!-- Start UA Sidebar bottom -->
$ua_sidebar_footbit
<!-- End UA Sidebar Bottom -->

Be added to the forumdisplay template above $footer and not the footer template? since the other code is only placed on forumdisplay?

and where do i edit the settings for 3.0.6 no new settings have appeared any where in my adminCP


*Edit, nvrmind, i couldn't get this to work at all, uninstalled

jaks 01-07-2008 06:08 AM

Quote:

Originally Posted by FRDS (Post 1416970)
should
Code:

<!-- Start UA Sidebar bottom -->
$ua_sidebar_footbit
<!-- End UA Sidebar Bottom -->

Be added to the forumdisplay template above $footer and not the footer template? since the other code is only placed on forumdisplay?

and where do i edit the settings for 3.0.6 no new settings have appeared any where in my adminCP


*Edit, nvrmind, i couldn't get this to work at all, uninstalled

The $ua_sidebar_footbit can go in the forumdisplay template but future versions will allow for showthread sidebars so placing it in the footer makes the most sense if you plan to use that feature when it's available.

To add your blocks you go to Forums & Moderators >>> Forum Manager >>> Edit any forum you want then scroll to the bottom the fields will be there.

CareyG 02-12-2008 05:00 PM

How can I get these sidebars to show on forumhome?

chapsrulez 03-24-2008 05:55 AM

doesnt work with IE
works great with firefox...


All times are GMT. The time now is 09:26 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.01084 seconds
  • Memory Usage 1,748KB
  • 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
  • (9)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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