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 08-17-2015, 02:06 AM
wootriffic wootriffic is offline
 
Join Date: May 2012
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Issue with adding social links after logo

So i'm trying to add simplistic text urls after my logo in list format
Will be the main twitter account, retweet account, and facebook.

I went into templates header, and tried adding my coding to the area, however it screwed up everything after the header image.
The coding i'm pasting is the following

Code:
<ul><li>Twitter <a href="http://twitter.com/U_S_N>@U_S_N</a></li><li>USN <a href="http://facebook.com/unitedstreamers.net>Facebook</a></li><li>ReTweet <a href="http://twitter.com/streamerrt>@StreamerRT</a></li></ul>
Not sure what i'm doing wrong. Little guidance?
Reply With Quote
  #2  
Old 08-17-2015, 06:44 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Add this to the header template, I believe your placing the code in the wrong area... there are two in fact, one for logged in users and one for those not logged in so it will need to be placed in both <ul> areas, look for:
Code:
		<vb:if condition="$show['member']">
			<ul class="isuser">
TONS OF CODE HERE THEN THE CODE BELOW COMES UP
		<vb:else />
			<ul class="nouser">
You want to add your social links to the navbar, by adding them below the <ul class=isuser"> OR under the <ul class="nouser"> they will show last in the links of <li>'s despite being directly below the ul code because it displays them top to bottom in last to first order by way of coding. Now I do know that the nouser area is defined by a certain size css where the login boxes comes into play - so if you happen to insert it there for whatever reason further adjustments will need to be made. Also please make note that this area is in fact also the toplinks css area so you could get the mini social links <li>'s into place then if the toplinks are uip too high you can move them using the standard css by adjusting the default values or overwriting them in additional.css.

Edit: Add the social links in the toplinks, otherwise you need to create some custom css and a div class="name" area to house the code IF you want to show it in a position where something else already "exist" otherwise it will as you said, screw things up naturally.
Reply With Quote
  #3  
Old 08-18-2015, 12:02 AM
wootriffic wootriffic is offline
 
Join Date: May 2012
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Seems my coding is what screwed everything up.
simply doing <li> then the url </li> did the trick
addition of <ul> broke everything
The actual coding (its sloppy to get it how i wanted it, but works)
Code:
<div class="above_body"> <!-- closing tag is in template navbar -->
<div id="header" class="floatcontainer doc_header">
	<vb:if condition="$stylevar['titleimage']"><div><a name="top" href="{vb:link forumhome}" class="logo-image"><img src="{vb:stylevar titleimage}" alt="United Streamers" /><img src="http://unitedstreamers.net/digitalvb/morbid/misc/usn-header-logo-r.png" border="0" alt="United Streamers"></a><font color="#cdcdcd">|||||||||||||||||||||||||||||||</font>
<li><font color="#cdcdcd">||||||</font> <font size="2"><a href="http://twitter.com/U_S_N" rel="nofollow"> @U_S_N</a></font></li>
<li><font color="#cdcdcd">||||||</font> <font size="2"><a href="http://facebook.com/unitedstreamers.net" rel="nofollow"> USN Facebook</a></font></li>
<li><font color="#cdcdcd">||||||</font> <font size="2"><a href="http://twitter.com/streamerrt" rel="nofollow"> ReTweet Service</a></font></li><font color="#cdcdcd">|||||||||||||||||||||||||||||||</font>


so now it looks like this

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 05:56 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.03565 seconds
  • Memory Usage 2,184KB
  • 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
  • (3)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (3)postbit
  • (3)postbit_onlinestatus
  • (3)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete