TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 629
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 340
  • Total: 340

Simple & Professional Menu with Icons.

Started by youngjoonshi, July 10, 2006, 08:49:15 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

lebisol

in your case/condition 'userinfo' needs the be shown in TP admin.
not sure about your JS, nake sure you include the Javascript with the rest of the script - NOT in body. Import would be a better choice.

catchpen

#101
Here's some icons that go with dark themes, modified from http://commons.wikimedia.org/wiki/Crystal_Clear. They go with this menu pretty good.



lebisol

catchpen,as a general courtesy rule I don't think you can distribute this without permission of EACH of the authors and according to their rules.
So maybe just the link to wiki will do  ;)

catchpen

Thanks, but I read on the site and didn't see anything about that. Transparent background still looks like crap.  It says to mention the source (which I did) and I think it should be OK then. If not moderators feel free to delete.

Quotehow to reuse Commons' media files

[edit] Looking for media files on Commons

In order to find certain media files on Wikimedia Commons see if an appropriate article for your file exists. Fewer articles exist in Commons than in Wikipedia, but Bicycle, Lake, many National Parks, plant species, animals, etc., exist. Add in your local Wikipedia a link to at least one gallery article of Wikimedia Commons, if possible.

A good way finding certain media on Wikimedia Commons is by using Mayflower search.

If you want to reuse Wikimedia Commons media files outside Wikimedia projects you are welcome to do so. However keep some very important points in mind:

    * Unlike traditional media repositories, Wikimedia Commons is free. Everyone is allowed to copy, use and modify any files here freely for any purpose including commercial ones as long as the source and the authors are credited and, in many cases, as long as you release your copies/improvements under the same freedom to others.
    * The Wikimedia Commons database itself and the texts in it are licensed under the GNU Free Documentation License. The license conditions of each individual media file can be found on their description pages.
    * However be aware that we cannot guarantee the correctness of the information given on each file. So please verify on your own the license conditions given on the media file you want to use.
    * More detailed information on usage conditions can be found at Commons:Licensing.

IchBin


lebisol

My bad then, I really thought they belong to http://www.crystalxp.net/ as I have seen them there before than on wikimedia & wiki's lic is not all that clear author was using translator so I thought it may be rip
http://commons.wikimedia.org/wiki/Template_talk:Crystal_clear

...but hey great even better, they make pretty cool stuff!

Thanks!

fahl

Just using basic php one for now,Works fine but i would like to add login/logout & register links,

tried adding them like calendar link,but gives error.

This is how far i have got

global  $scripturl,$settings,$boardurl,$context;
echo'
<div class="smalltext">
<font  size="1"><b>Navigation</b></font><br><hr>
<img src="',$settings['images_url'],'/menu/home.gif"/><font size="2"><a href="',$scripturl,'"> Home</a></font><br>
<img src="',$settings['images_url'],'/menu/forum.gif" /><font size="2"><a href="',$scripturl,'?action=forum"> Forum</a></font></b><br>
<img src="',$settings['images_url'],'/menu/arcade.gif" height="16" width="16"/><font size="2"><a href="',$scripturl,'?action=usercp"> User Control Panel</a></font><br>
<img src="',$settings['images_url'],'/menu/archive.gif" height="16" width="16"/><font size="2"><a href="',$scripturl,'?action=sitemap"> SiteMap</a></font><br>
<img src="',$settings['images_url'],'/menu/rss.gif"/><font size="2"><a href="',$scripturl,'?action=coppermine"> Photo Gallery</a></font><br>
<img src="',$settings['images_url'],'/menu/rss.gif"/><font size="2"><a href="',$scripturl,'?action=treasury"> Treasury</a></font><br><br>
<img src="',$settings['images_url'],'/menu/rss.gif"/><font size="2"><a href="',$scripturl,'?action=chat"> Live Chat</a></font><br><br>
<font size="1"><b>Services</b></font><br><hr>';
if ($context['allow_admin'])
{
echo'<img src="',$settings['images_url'],'/menu/calendar.gif"/><font size="2"><a href="',$scripturl,'?action=admin"> Admin</a></font><br>';
}
echo'<img src="',$settings['images_url'],'/menu/members.gif"/><font size="2"><a href="',$scripturl,'?action=mlist"> Member List</a></font><br>
<img src="',$settings['images_url'],'/menu/online.gif"/><font size="2"><a href="',$scripturl,'?action=who"> Who\'s Online?</a></font><br>
<img src="',$settings['images_url'],'/menu/stats.gif"/><font size="2"><a href="',$scripturl,'?action=stats"> Statistics</a></font><br><br>
<font size="1"><b>Help & Support</b></font><br><hr>
<img src="',$settings['images_url'],'/menu/search.gif"/><font size="2"><a href="',$scripturl,'?action=search"> Search</a></font><br>
<img src="',$settings['images_url'],'/menu/faq.gif"/><font size="2"><a href="',$scripturl,'?action=help"> Help Center</a></font><br>
</div>';


This is code from index_template

if ($context['user']['is_guest'])
{
echo $tab1, $ca== 'login' ? '1' : '2' , '"><a href="', $scripturl, '?action=login">'.$txt[34]. '</a></td>';
echo $tab1, $ca== 'register' ? '1' : '2' , '"><a href="', $scripturl, '?action=register">'.$txt[97]. '</a></td>';
}
// Otherwise, they might want to [logout]...
else
echo $tab1, $ca== 'logout' ? '1' : '2' , '"><a href="', $scripturl, '?action=logout;sesc='.$context['session_id'].'">'.$txt[108]. '</a></td>';


echo '<td><img src="'.$settings['images_url'].'/img/tab_last.jpg" alt="" style="margin: 0;" /></td></tr></table>';
}


Any help much appreciated

IchBin

It would help if you told us what the error is that you get.

fahl

Thanx but i got it sorted,Had an extra ? :uglystupid2:

FUBAR

#109
I'm using the PHP version of this block but was wondering if it's possible to have a link open a new pop up window?

I'm just trying to open a new pop-up window linked to another HTML page in a certain size.  (MP3 Player)

I tried this but it didn't seem to work...


<img src="',$settings['images_url'],'/menu/mp3player.png" height="16" width="16"/><font size="2"><a href="http://www.mywebpage.com/mp3player.html" onclick="window.open('http://www.mywebpage.com/mp3player.html','popup','width=500,height=500,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"> MP3 Player</a></font><br>


Is this possible or would I have to switch to the script box version and use javascript?

Thanks guys and sorry to bump such an old topic.

This website is proudly hosted on Crocweb Cloud Website Hosting.