Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
UA Sidebar 3.0.7 Details »»
UA Sidebar 3.0.7
Version: 3.0.7, by jaks jaks is offline
Developer Last Online: Feb 2008 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 3.7.x Rating:
Released: 01-04-2008 Last Update: 01-19-2008 Installs: 48
Uses Plugins Template Edits
Re-useable Code Translations  
No support by the author.

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.7 changes
  • Fixed error in the Table Header phrase. (Thanks to Sophia for pointing it out )
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 -->

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 01-22-2008, 08:50 AM
seangworld's Avatar
seangworld seangworld is offline
 
Join Date: Sep 2002
Location: Chesapeake, VA
Posts: 272
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

actually i figured out what was happening...

the sidebars show up when viewing the different forums BUT does NOT show up for FORUMHOME, which is needed.

i decided to use vBa's integration tool.
Reply With Quote
  #23  
Old 01-25-2008, 12:19 PM
gwerzal's Avatar
gwerzal gwerzal is offline
 
Join Date: Oct 2007
Posts: 317
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I like this hack. This could be very useful to me.

My forum is on quite a broard subject so be able to put specific adds in specific forums will be very good.

As mentioned before some way of pulling the latest thread of the forum its in to 1 of the blocks would be great.

I will defiantely be using this but i havn't installed it yet.

Is it likely to be updated a lot soon as if it is i will probably wait till its more stable if you know what i mean.

Thanks anyway
Reply With Quote
  #24  
Old 01-26-2008, 11:14 PM
seangworld's Avatar
seangworld seangworld is offline
 
Join Date: Sep 2002
Location: Chesapeake, VA
Posts: 272
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gwerzal View Post
I like this hack. This could be very useful to me.

My forum is on quite a broard subject so be able to put specific adds in specific forums will be very good.

As mentioned before some way of pulling the latest thread of the forum its in to 1 of the blocks would be great.

I will defiantely be using this but i havn't installed it yet.

Is it likely to be updated a lot soon as if it is i will probably wait till its more stable if you know what i mean.

Thanks anyway
google does that automatically.
Reply With Quote
  #25  
Old 01-27-2008, 06:16 AM
jaks jaks is offline
 
Join Date: Dec 2004
Location: Toronto
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by seangworld View Post
actually i figured out what was happening...

the sidebars show up when viewing the different forums BUT does NOT show up for FORUMHOME, which is needed.

i decided to use vBa's integration tool.
The whole point of this hack is so each individual forum has it's own blocks. I did add the template edits to show blocks on the forum index which are not editible from admincp though.


Quote:
Originally Posted by gwerzal View Post
I like this hack. This could be very useful to me.

My forum is on quite a broard subject so be able to put specific adds in specific forums will be very good.

As mentioned before some way of pulling the latest thread of the forum its in to 1 of the blocks would be great.

I will defiantely be using this but i havn't installed it yet.

Is it likely to be updated a lot soon as if it is i will probably wait till its more stable if you know what i mean.

Thanks anyway
As this is right now, it is completely stable. This will work with all versions that use the plugin system including future versions unless there is a MAJOR core code change and I seriously doubt that will happen any time soon.

The extra features like last x posts etc... will take some time. I have other projects on the go right now so there will be no updates for a bit.

If someone else has the time and wants to add some features please feel free.
Reply With Quote
  #26  
Old 02-22-2008, 01:09 PM
superthang superthang is offline
 
Join Date: Aug 2007
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very nice hack indeed, thanks alot!
Can we ađd so it show up in thread mode tơo ?

like if u enable for forum A

u want the same for all thread views tơo

thx
Reply With Quote
  #27  
Old 02-24-2008, 01:04 AM
BatMNet BatMNet is offline
 
Join Date: Jan 2008
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great thankyou Installed.. Works perfectly

1. So could you please fully explain how to put the sidebars on the forums index page?

2. Is there a way to make it so there is a default bar.. Say bar one could be a menu that you want on each forum and 2 & 3 can be customisable?.. If too much I don't mind copying and pasting
Reply With Quote
  #28  
Old 02-26-2008, 09:11 AM
rapsearch's Avatar
rapsearch rapsearch is offline
 
Join Date: Aug 2002
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

^ i'd like to know that as well.... sidebars for the index page..

also, maby for a future version. an option to enable/disable sidebars for an entire categorie

lets say you have

cat A
- forums A1
- forums A2
- etc

if you make sidebars for 'cat A' they wont show up in forums A1 and the rest.... you should be able to make it available in all of the subforums as most of the times its about the same subject
Reply With Quote
  #29  
Old 02-28-2008, 03:21 AM
Brew's Avatar
Brew Brew is offline
 
Join Date: Sep 2002
Posts: 359
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Add me in as one who is wanting this on ForumHome too. I don't see any instructions on how to get this to work on the home page.

Nice mod though. It'll be nice to have content-specific blocks in the forums.

The ability to have these blocks in the thread display would be a huge plus as well.
Reply With Quote
  #30  
Old 03-04-2008, 06:43 AM
ShawneyJ's Avatar
ShawneyJ ShawneyJ is offline
 
Join Date: Jul 2006
Location: Australia
Posts: 1,758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

so easy to install but just does not show up lol.
Reply With Quote
  #31  
Old 03-04-2008, 12:08 PM
EarnDollars EarnDollars is offline
 
Join Date: Feb 2008
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

would try this when my forum online
Thx!
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 07:21 PM.


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.10465 seconds
  • Memory Usage 2,324KB
  • Queries Executed 25 (?)
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
  • (7)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete