Page 1 of 2

Another footer bar links

Posted: 16 Apr 2010, 15:42
by Georgio
Hi there PhpBB3 BBCodes Team and Members,

I want to add another bar to public the mods links at footer like in the foto. The snipet was in the old site but here i didn't found it.

Image

Thanks in advance and Cheers to all members PhpBB3BBCodes.com

Re: Another footer bar links

Posted: 16 Apr 2010, 15:50
by cisco007
why don't you read this topic? and instead of doing it to the header you do it to the footer, just add the edit before this!

Code: Select all

		<span class="corners-bottom"><span></span></span></div>
	</div>

Re: Another footer bar links

Posted: 16 Apr 2010, 21:20
by Stoker
cisco??



Georgio, this is the code from the existing navbar in overall_footer.html:

Code: Select all

<div class="navbar">
		<div class="inner"><span class="corners-top"><span></span></span>

		<ul class="linklist">
			<li class="icon-home"><a href="{U_INDEX}" accesskey="h">{L_INDEX}</a></li>
				<!-- IF not S_IS_BOT -->
					<!-- IF S_WATCH_FORUM_LINK --><li <!-- IF S_WATCHING_FORUM -->class="icon-unsubscribe"<!-- ELSE -->class="icon-subscribe"<!-- ENDIF -->><a href="{S_WATCH_FORUM_LINK}" title="{S_WATCH_FORUM_TITLE}">{S_WATCH_FORUM_TITLE}</a></li><!-- ENDIF -->
					<!-- IF U_WATCH_TOPIC --><li <!-- IF S_WATCHING_TOPIC -->class="icon-unsubscribe"<!-- ELSE -->class="icon-subscribe"<!-- ENDIF -->><a href="{U_WATCH_TOPIC}" title="{L_WATCH_TOPIC}">{L_WATCH_TOPIC}</a></li><!-- ENDIF -->
					<!-- IF U_BOOKMARK_TOPIC --><li class="icon-bookmark"><a href="{U_BOOKMARK_TOPIC}" title="{L_BOOKMARK_TOPIC}">{L_BOOKMARK_TOPIC}</a></li><!-- ENDIF -->
					<!-- IF U_BUMP_TOPIC --><li class="icon-bump"><a href="{U_BUMP_TOPIC}" title="{L_BUMP_TOPIC}">{L_BUMP_TOPIC}</a></li><!-- ENDIF -->
				<!-- ENDIF -->
			<li class="rightside"><!-- IF U_TEAM --><a href="{U_TEAM}">{L_THE_TEAM}</a> &bull; <!-- ENDIF --><!-- IF not S_IS_BOT --><a href="{U_DELETE_COOKIES}">{L_DELETE_COOKIES}</a> &bull; <!-- ENDIF -->{S_TIMEZONE}</li>
		</ul>

		<span class="corners-bottom"><span></span></span></div>
	</div>
add this after that code:

Code: Select all

<div class="navbar">
		<div class="inner"><span class="corners-top"><span></span></span>

		<ul class="linklist">
			<li>links to the left here</li>
			<li class="rightside">links to the right here</li>
		</ul>

		<span class="corners-bottom"><span></span></span></div>
	</div>
Thats it.

Re: Another footer bar links

Posted: 16 Apr 2010, 21:51
by cisco007
well the way i said is the way i have now all my footers!

Code: Select all

	<div class="navbar">
		<div class="inner"><span class="corners-top"><span></span></span>

		<ul class="linklist">
			<li class="icon-home"><a href="{U_PORTAL}">Portal</a> &bull; <a href="{U_INDEX}" accesskey="h">{L_INDEX}</a></li>
				<!-- IF not S_IS_BOT -->
					<!-- IF S_WATCH_FORUM_LINK --><li <!-- IF S_WATCHING_FORUM -->class="icon-unsubscribe"<!-- ELSE -->class="icon-subscribe"<!-- ENDIF -->><a href="{S_WATCH_FORUM_LINK}" title="{S_WATCH_FORUM_TITLE}">{S_WATCH_FORUM_TITLE}</a></li><!-- ENDIF -->
					<!-- IF U_WATCH_TOPIC --><li <!-- IF S_WATCHING_TOPIC -->class="icon-unsubscribe"<!-- ELSE -->class="icon-subscribe"<!-- ENDIF -->><a href="{U_WATCH_TOPIC}" title="{L_WATCH_TOPIC}">{L_WATCH_TOPIC}</a></li><!-- ENDIF -->
					<!-- IF U_BOOKMARK_TOPIC --><li class="icon-bookmark"><a href="{U_BOOKMARK_TOPIC}" title="{L_BOOKMARK_TOPIC}">{L_BOOKMARK_TOPIC}</a></li><!-- ENDIF -->
					<!-- IF U_BUMP_TOPIC --><li class="icon-bump"><a href="{U_BUMP_TOPIC}" title="{L_BUMP_TOPIC}">{L_BUMP_TOPIC}</a></li><!-- ENDIF -->
				<!-- ENDIF -->
<li class="rightside"><!-- IF not S_IS_BOT --><a href="{U_DELETE_COOKIES}">{L_DELETE_COOKIES}</a> &bull; <!-- ENDIF -->{S_TIMEZONE}</li>
		</ul>
		<ul class="linklist2 navlinks2">
<li class="icon-dl"><!-- IF U_TEAM --><a href="{U_TEAM}">{L_THE_TEAM}</a> &bull; <!-- ENDIF --><a href="{U_BOTSS}" title="{L_BOTSS}">{L_BOTSS}</a> &bull; <a href="{U_GROUPS}">{L_GROUPS}</a> </li>
		</ul>

		<span class="corners-bottom"><span></span></span></div>
	</div>

notice the code i added before this:

Code: Select all

		<span class="corners-bottom"><span></span></span></div>
	</div

Code: Select all

		<ul class="linklist2 navlinks2">
<li class="icon-dl"><!-- IF U_TEAM --><a href="{U_TEAM}">{L_THE_TEAM}</a> &bull; <!-- ENDIF --><a href="{U_BOTSS}" title="{L_BOTSS}">{L_BOTSS}</a> &bull; <a href="{U_GROUPS}">{L_GROUPS}</a> </li>
		</ul>
[hsimg]http://img2.pict.com/7d/43/4c/3370801/0/1271452132.jpg[/hsimg]
of course the way i do this i add a another class to the css files as posted in my previous link, so that is is within the same box like the header i think the way you have it Stoker, is that it will show an extra box like his picture wants, but if he wants an extra box, instead on what i posted, hey well more more power to you! now let me crawl back in my box!

Re: Another footer bar links

Posted: 15 May 2010, 21:21
by Georgio
10x a lot Stoker & Cisco, very nice now xD

Re: Another footer bar links

Posted: 15 May 2010, 22:04
by cisco007
Georgio, if you are going to post bbcodes from here on your site, the least you could do is post or give credit to the original, or where you got them from!

Re: Another footer bar links

Posted: 21 May 2010, 19:35
by Georgio
cisco007 » 15 May 2010, 22:04 wrote:Georgio, if you are going to post bbcodes from here on your site, the least you could do is post or give credit to the original, or where you got them from!
ohh yeah, if you're seen my website i always put the credits on the bbcodes.

Re: Another footer bar links

Posted: 21 May 2010, 20:23
by cisco007
no, that is why i said it, i've been there, and some that i know you got from here don't have any credits, nor some of the snippets and simple mods, you do not give credit, at least with a link back to this site showing where you got them!

Re: Another footer bar links

Posted: 20 Jul 2010, 21:49
by wijo
cisco007 » 16 Apr 2010, 21:51 wrote: of course the way i do this i add a another class to the css files as posted in my previous link, so that is is within the same box like the header i think the way you have it Stoker, is that it will show an extra box like his picture wants, but if he wants an extra box, instead on what i posted, hey well more more power to you! now let me crawl back in my box!
Hallo Cisko.
I like the way you did it. I understand, that i have to add something in a css file. Can you tell me what to change and in which file?
I want to add an extra link to unread posts. In which file can i find the codes like these: {U_INDEX} I'm looking for the code for ./forum/search.php?search_id=unreadposts

tia

Re: Another footer bar links

Posted: 20 Jul 2010, 22:37
by cisco007
open yourstyle/theme/common.css
find:

Code: Select all

ul.navlinks {
	padding-bottom: 1px;
	margin-bottom: 1px;
	border-bottom: 1px solid #FFFFFF;
	font-weight: bold; 
}
add after:

Code: Select all

ul.navlinks2 {
	padding-bottom: 1px;
	margin-bottom: 1px;
   border-top: 1px solid #FFFFFF;

}
and instead of using:

Code: Select all

      <ul class="linklist2 navlinks2">
<li class="icon-dl"><!-- IF U_TEAM --><a href="{U_TEAM}">{L_THE_TEAM}</a> &bull; <!-- ENDIF --><a href="{U_BOTSS}" title="{L_BOTSS}">{L_BOTSS}</a> &bull; <a href="{U_GROUPS}">{L_GROUPS}</a> </li>
      </ul>
you can just use this:

Code: Select all

      <ul class="linklist navlinks2">
<li class="icon-dl"><!-- IF U_TEAM --><a href="{U_TEAM}">{L_THE_TEAM}</a> &bull; <!-- ENDIF --><a href="{U_BOTSS}" title="{L_BOTSS}">{L_BOTSS}</a> &bull; <a href="{U_GROUPS}">{L_GROUPS}</a> </li>
      </ul>

for the second question you will have to look at the includes/functions.php file just look for U_INDEX and take a look at the other codes, you will get the idea of how to add your own {U_WHATEVER}!