The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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> |
#2
|
||||
|
||||
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"> 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. |
#3
|
|||
|
|||
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 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|