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

Reply
 
Thread Tools Display Modes
  #1  
Old 12-06-2010, 11:05 PM
gregmlb gregmlb is offline
 
Join Date: Dec 2007
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How to Move Header onto side of Navbar?

How do I edit the header and/or navbar templates so that my forum looks like the following:

BEFORE User Login


AFTER User Login
Same as above, but with the "Welcome User, Notifications, My Profile, Settings, and Log Out" on the navbar (in place of login/Help/Register shown above).

I have no idea exactly what to edit, how to do it, etc. I've looked at the "vB4 Skinning Your Forum in 10 Easy Steps" PDF, and also the "vB4 Forum StyleVars" PDF - but those deal with cosmetic issues (not location issues).

Is there documentation somewhere that will give me the information I need in order to successfully modify the header and navbar templates - to do what I show above? Or how do you recommend I figure out how to do this? I'm good with HTML, but bad with PHP.

The above is a work-in-progress for a 3.8.6 to 4.1.0PL2 upgrade - residing on a separate test forum. Any input anyone can give me would be greatly appreciated - thanks!!!

Greg
Reply With Quote
  #2  
Old 12-07-2010, 12:35 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Reading those documents isn't going to help you with either writing CSS to move that group of code or edit the templates to move that group of code.

You could try some CSS. Something like:
HTML Code:
.toplinks {top: 60px; right: 200px; z-index: 10;}
You'll have to remove the .toplinks {left: 20px} from wherever it is in the CSS templates (do a Search in Templates for ".toplinks"). You'll have to play with the values.

The recommended way would be to copy/delete the code from the header and put it into the navbar template. But, you'll have to understand html and css a bit for that. You'd also have to write a plugin to preregister all the variables used in that <div> for the navbar since they probably aren't registered for use there.
Reply With Quote
  #3  
Old 12-16-2010, 12:14 AM
Antidepresiv Antidepresiv is offline
 
Join Date: Dec 2010
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Lynne, is it possible that you show us how to insert the login fields instead of search field ? I tried what you said, but i just cant tweak it up, and its realy ruining my header, because the toplinks are all over it..

Regards,
Antidepresiv
Reply With Quote
  #4  
Old 12-16-2010, 03:22 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't know what you mean. I wasn't doing anything with the search fields. If you have a different problem, then you may want to start a different thread and perhaps include an image of what you want.
Reply With Quote
  #5  
Old 12-16-2010, 05:36 AM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Antidepresiv View Post
Lynne, is it possible that you show us how to insert the login fields instead of search field ? I tried what you said, but i just cant tweak it up, and its realy ruining my header, because the toplinks are all over it..

Regards,
Antidepresiv
Quote:
Originally Posted by Lynne View Post
I don't know what you mean. I wasn't doing anything with the search fields. If you have a different problem, then you may want to start a different thread and perhaps include an image of what you want.
Lynne,

Anti pm'd me about this however I'm just now getting on while a script runs, this is similar to what he wants done and Anti you'll need to read up about how to register variables and a similar change you can relate your changes to here:

https://vborg.vbsupport.ru/showthread.php?t=228078
http://www.vbulletin.com/forum/showt...ons-menu-place

It's always best to start your own thread as Lynne mentioned .
Reply With Quote
  #6  
Old 12-16-2010, 10:57 AM
Antidepresiv Antidepresiv is offline
 
Join Date: Dec 2010
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for you'r response, however, those guides are rly confusing for me, i have posted a new thread, mby you could help me out, here it is https://vborg.vbsupport.ru/showthrea...69#post2134769

Regards,
Antidepresiv
Reply With Quote
  #7  
Old 12-21-2010, 08:00 PM
gregmlb gregmlb is offline
 
Join Date: Dec 2007
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
...
The recommended way would be to copy/delete the code from the header and put it into the navbar template. But, you'll have to understand html and css a bit for that. You'd also have to write a plugin to preregister all the variables used in that <div> for the navbar since they probably aren't registered for use there.
I could sure use some additional fairly specific input on how to do what Lynne describes above. Seems like a fair number of people could actually benefit from it. [If I sound LAZY by requesting this help - I would have to disagree ... I've been burning through many hours and hours of my vacation just getting to this point (which I believe is the last hurdle for getting my working 3.8.6 forum over to 4.1.0PL2)]. This has been the mother of all science projects! Wooohoooo!

I am also at the point of being willing to pay someone to do this last mod for me - so if I cannot be coached, then perhaps you can point me to where I can hire someone to do this in a hurry (as I want to do the upgrade ideally before 12/31/2010).

Here is a shot of exactly what I'm talking about ...



Anyone???
Reply With Quote
  #8  
Old 12-22-2010, 03:18 AM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gregmlb View Post
I could sure use some additional fairly specific input on how to do what Lynne describes above. Seems like a fair number of people could actually benefit from it. [If I sound LAZY by requesting this help - I would have to disagree ... I've been burning through many hours and hours of my vacation just getting to this point (which I believe is the last hurdle for getting my working 3.8.6 forum over to 4.1.0PL2)]. This has been the mother of all science projects! Wooohoooo!

I am also at the point of being willing to pay someone to do this last mod for me - so if I cannot be coached, then perhaps you can point me to where I can hire someone to do this in a hurry (as I want to do the upgrade ideally before 12/31/2010).

Here is a shot of exactly what I'm talking about ...



Anyone???
Greg,

Remember not to mention paying someone, it's best to post in the Un-Paid OR Paid Request forum if it's beyond your capabilities... I recommend un-paid first then if no one helps see if someone is within budget in the paid area.

Back to topic though, check post #5 above and follow those links, this should be cut out of header, paste into navbar with a plugin to register the variables for the toplinks and login to work in the navbar .
Reply With Quote
  #9  
Old 12-22-2010, 02:35 PM
gregmlb gregmlb is offline
 
Join Date: Dec 2007
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay - so this morning I have studied the suggestions from post #5 above ... which would involve moving what I think is the right code to the navbar template, and pre-registering the variables. I believe that if I take this on myself, I'm likely to burn up many more hours trying to get it right ... and also create many more thread posts here asking for help ... and so here are what I believe are my options:

1) Stick with my wonderful/working 3.8.6 forum - this is undesirable because my forum needs a makeover ... plus at some point, I'm sure that 3.8.6 will go end-of-life.

or

2) Cosmetically change the foreground/background colors of the user log on section - so that it is really obvious ... and just keep that located in the upper right-hand side of the browser. This is undesirable because it just doesn't look right - violates the "look and feel" of my overall website (the forum is just one part of my overall website).

or

3) Have someone to do this mod for me - this is undesirable for obvious reasons. Plus philosophically, I have to question why something like this is not built-in to vB4 ... shouldn't it be? Or should all vB4 owners who embed their forum into a larger site be coders? I guess I'm lobbying here for some ease-of-use improvements to vB4.

or

4) Wait for someone much smarter than me (and/or someone with more time on their hands) to take this exact issue on, and then post about how to do it. This is the preferred approach for me - the variable, of course, is time. I was hoping to migrate my forum from 3.8.6 to 4.1.0PL2 by 12/31/2010 ... and there is certainly no guarantee that someone will take this on before then (or even IF someone will take this on, for that matter).

Anyone have any comments about the above?
Reply With Quote
  #10  
Old 12-22-2010, 03:32 PM
Antidepresiv Antidepresiv is offline
 
Join Date: Dec 2010
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I totaly agree with you, since Superman posted those links i tried to do the same, but those posts from Cellarius, about registering variables are just too confusing for a normal user. Also for that matter i have asked a number of ppl to help me, but no1 seems to know how, some of them even don't care about it, with an exception for the user "TheWindows7site", only satisfaction that i have found now, or so to say solution for this is in this thread https://vborg.vbsupport.ru/showthrea...=238152&page=7 and in the post #95 by
Alteran Ancient.. But them again, when you use this, after users log in, the login info again goes on top.. So it's 50% percent of what i would like to have for my forums. Anyway gregmlb, seems like we are left to ourselves to figure this one out. :/ Never thought it would be so hard just to add the old vbulletin login fields. And once again i totaly agree with you, only thing left to say is that i will work on this, and if i solve it, i will post here..

Best Regards,
Antidepresiv
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 09:50 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.04770 seconds
  • Memory Usage 2,272KB
  • Queries Executed 13 (?)
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_html
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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