vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   How to add second sidebar in member profile (https://vborg.vbsupport.ru/showthread.php?t=212627)

Sweeks 05-01-2009 07:23 PM

How to add second sidebar in member profile
 
Does anyone know how I can add another sidebar exactly the same as the default sidebar but on the opposite side? I would really appreciate any help with this thank you.
________
MFLB

Dismounted 05-02-2009 12:42 AM

It's probably not as easy as you think. You'll have to modify the profile templates to allow for an extra column, then replicate the code used to create those blocks (see member.php).

Sweeks 05-02-2009 10:08 AM

Im not wanting to use any of the data from the sidebar already there, all I want is a basic table inserted so it will show on the opposite side for an advert maybe.
________
WHOLESALE VAPORIZER

Lynne 05-02-2009 02:52 PM

Take a look at the way the page is layed out currently with the divs floating left and right. Now, go google something like "layout three columns css" and you'll find a page such as this - http://bluerobot.com/web/layouts/layout3.html . Take a look at the css for those three columns and then you need to incorporate that css into your design. As Hanson said, it isn't quite as easy as you probably want it to be. It's not impossible, but it isn't a matter of just changing a couple of lines and having it work.

(The easy way would be to just put a table around it and have a new column for your stuff and the second column for what is currently in the page. Putting a table there, though, kinda ruins what they were doing by having it all done via divs. I think that's an ugly solution, but it is a solution.)

Sweeks 05-02-2009 03:46 PM

Thanks, I might go for the table solution as it seems the easiest to implement, would this be the same as how you can wrap $forumbits in a table and say have one at 70% and the other at 30% for a forumhome sidebar?

Thanks.

EDIT: I got the table working now, shame it isnt divs but it still works and looks fine :)


Thanks for the help.
________
Motorcycle tires

Markets Where 05-17-2009 12:49 PM

What kind second sidebar you like? how about this one:
http://forums.glassesadvisor.com/member.php?u=2973
If you like this one, I can tell you.


All times are GMT. The time now is 05:29 AM.

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.01013 seconds
  • Memory Usage 1,719KB
  • 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)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