• Welcome to Simple Machines Community Forum. Please login or sign up.

[Theme] Themis (SMF v1.0.5 - 1.1RC2)

Started by bloc, October 03, 2004, 03:24:05 AM

Previous topic - Next topic

bloc

Then you will need to add the Themis strings to a dutch/german version of the language file inside Themis folder as well. Thats what causing the errors.

Ganghiss

April 07, 2006, 11:01:35 PM #201 Last Edit: April 07, 2006, 11:05:23 PM by Ganghiss
Bloc,

This is a great theme. The sidebar is the main feature that lured me in to using it. I'm having some difficulty getting a sidebar with a height sized the way I would like it to be (one that matches the rest of the site). While the code I used in the sidebar works and sizes properly in a page by itself, it's too small in the forum.

Here's the code entered in the sidebar form:
<link rel="stylesheet" type="text/css" href="../untfc.css">
<div align="left" style="margin: 0; padding-bottom: 5; border: none">
<script type="text/javascript">
/***********************************************
* Switch Menu script- by Martial B of http://getElementById.com/
* Modified by Dynamic Drive for format & NS4/IE4 compatibility
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

var persistmenu="yes" //"yes" or "no". Make sure each SPAN content contains an incrementing ID starting at 1 (id="sub1", id="sub2", etc)
var persisttype="sitewide" //enter "sitewide" for menu to persist across site, "local" for this page only

if (document.getElementById){ //DynamicDrive.com change
document.write('<style type="text/css">\n')
document.write('.submenu{display: none;}\n')
document.write('<\/style>\n')
}

function SwitchMenu(obj){
if(document.getElementById){
var el = document.getElementById(obj);
var ar = document.getElementById("masterdiv").getElementsByTagName("span"); //DynamicDrive.com change
if(el.style.display != "block"){ //DynamicDrive.com change
for (var i=0; i<ar.length; i++){
if (ar[i].className=="submenu") //DynamicDrive.com change
ar[i].style.display = "none";
}
el.style.display = "block";
}else{
el.style.display = "none";
}
}
}

function get_cookie(Name) {
var search = Name + "="
var returnvalue = "";
if (document.cookie.length > 0) {
offset = document.cookie.indexOf(search)
if (offset != -1) {
offset += search.length
end = document.cookie.indexOf(";", offset);
if (end == -1) end = document.cookie.length;
returnvalue=unescape(document.cookie.substring(offset, end))
}
}
return returnvalue;
}

function onloadfunction(){
if (persistmenu=="yes"){
var cookiename=(persisttype=="sitewide")? "switchmenu" : window.location.pathname
var cookievalue=get_cookie(cookiename)
if (cookievalue!="")
document.getElementById(cookievalue).style.display="block"
}
}

function savemenustate(){
var inc=1, blockid=""
while (document.getElementById("sub"+inc)){
if (document.getElementById("sub"+inc).style.display=="block"){
blockid="sub"+inc
break
}
inc++
}
var cookiename=(persisttype=="sitewide")? "switchmenu" : window.location.pathname
var cookievalue=(persisttype=="sitewide")? blockid+";path=/" : blockid
document.cookie=cookiename+"="+cookievalue
}

if (window.addEventListener)
window.addEventListener("load", onloadfunction, false)
else if (window.attachEvent)
window.attachEvent("onload", onloadfunction)
else if (document.getElementById)
window.onload=onloadfunction

if (persistmenu=="yes" && document.getElementById)
window.onunload=savemenustate
</script>
<script type="text/javascript" src="../oodomimagerollover.js">

/***********************************************
* DOM Image Rollover II- By Adam Smith (http://www.codevendor.com)
* Script featured on and available at Dynamic Drive (http://www.dynamicdrive.com)
* Keep this notice intact for usage please
***********************************************/

</script>
<!-- Main Table -->
<table style="position: relative; border-collapse: collapse; width: 150; height: 900; padding: 0" id="table3">
<tr>
<td class="TableRoundedBlackTL">
<img border="0" src="../../images/outerTL.gif" alt="" title="" width="5" height="5">
</td>
<td class="TableRoundedBlackSideT"></td>
<td class="TableRoundedBlackTR">
<img border="0" src="../../images/outerTR.gif" alt="" title="" width="5" height="5">
</td>
</tr>
<tr>
<td class="TableRoundedBlackSideL"></td>
<td style="width: 140; height: 150; padding: 0; text-align: center; vertical-align: middle; background-color: #000000">
<a id="Home" href="../../index.htm">
<img border="0" src="../../images/Old%20UNTFC%20logo.gif" alt="UNTFC Logo" title="UNTFC Logo" width="100" height="137">
</a>
</td>
<td class="TableRoundedBlackSideR"></td>
</tr>
<tr>
<td class="TableRoundedBlackSideL"></td>
<td style="width: 140; height: 540; padding: 0; text-align: left; vertical-align: top; background-color: #000000">
<!-- This is the container div for the drop down menu -->
<div id="masterdiv" style="cursor: pointer">
<img src="../../images/About.gif" srcover="../../images/AboutR.gif" onclick="SwitchMenu('AboutSubmenu')" alt="About" title="About" width="140" height="15"><br>
<!-- About Seubmenu -->
<span class="submenu" id="AboutSubmenu">
<a id="History" href="../history.htm">
<img border="0" src="../../images/History.gif" srcover="../../images/HistoryR.gif" alt="History" title="History" width="140" height="15"></a><br>
<a id="Officers" href="../officers.htm">
<img border="0" src="../../images/OfficerBios.gif" srcover="../../images/OfficerBiosR.gif" alt="Officer Bios" title="Officer Bios" width="140" height="15"></a><br>
<a id="Meetings" href="../meetings.htm">
<img border="0" src="../../images/MeetingInfo.gif" srcover="../../images/MeetingInfoR.gif" alt="Meeting Info" title="Meeting Info" width="140" height="15"></a><br>
<a id="Ratings" href="../ratings.htm">
<img border="0" src="../../images/USFARatings.gif" srcover="../../images/USFARatingsR.gif" alt="USFA Ratings" title="USFA Ratings" width="140" height="15"></a><br>
</span>
<!-- End of About Submenu -->
<a id="MessageBoard" href="../msgboard.htm">
<img src="../../images/MsgBoard.gif" srcover="../../images/MsgBoardR.gif" onclick="SwitchMenu('MsgBoardSubmenu')" alt="Message Board" title="Message Board" border="0" width="140" height="15"></a><br>
<!-- Message Board Submenu -->
<span class="submenu" id="MsgBoardSubmenu">
<!-- No Submenu Listings -->
</span>
<!-- End of Message Board Submenu -->
<img src="../../images/Photos_Files.gif" srcover="../../images/Photos_FilesR.gif" onclick="SwitchMenu('PhotosDocsSubmenu')" alt="Photos, Files, &amp; Docs" title="Photos, Files, &amp; Docs" width="140" height="15"><br>
<!-- Photos, Docs & Files Submenu -->
<span class="submenu" id="PhotosDocsSubmenu">
<a id="PhotoAlbums" href="../../photoalbums.htm">
<img border="0" src="../../images/PhotoAlbums.gif" srcover="../../images/PhotoAlbumsR.gif" alt="Photo Albums" title="Photo Albums" width="140" height="15"></a><br>
<a id="Forms_Docs" href="../forms_docs.htm">
<img border="0" src="../../images/FormsDocs.gif" srcover="../../images/FormsDocsR.gif" alt="Forms &amp; Docs" title="Forms &amp; Docs" width="140" height="15"></a><br>
<a id="Files" href="../files.htm">
<img border="0" src="../../images/Files.gif" srcover="../../images/FilesR.gif" alt="Files" title="Files" width="140" height="15"></a><br>
</span>
<!-- End of Photos, Docs & Files Submenu -->
<a id="Calendar" href="../calendar.htm">
<img src="../../images/Calendar.gif" srcover="../../images/CalendarR.gif" onclick="SwitchMenu('CalendarSubmenu')" alt="Calendar" title="Calendar" border="0" width="140" height="15"></a><br>
<!-- Calendar Submenu -->
<span class="submenu" id="CalendarSubmenu">
<!-- No Submenu Listings -->
</span>
<!-- End of Calendar Submenu -->
<a id="Armoury" href="../armoury.htm">
<img src="../../images/Armoury.gif" srcover="../../images/ArmouryR.gif" onclick="SwitchMenu('ArmourySubmenu')" alt="Armoury" title="Armoury" border="0" width="140" height="15"></a><br>
<!-- Armoury Submenu -->
<span class="submenu" id="ArmourySubmenu">
<!-- No Submenu Listings -->
</span>
<!-- End of Armoury Submenu -->
<img src="../../images/Links.gif" srcover="../../images/LinksR.gif" onclick="SwitchMenu('LinksSubmenu')" alt="Links" title="Links" width="140" height="15"><br>
<!-- Links Submenu -->
<span class="submenu" id="LinksSubmenu">
<a id="Articles" href="../articles.htm">
<img border="0" src="../../images/Articles.gif" srcover="../../images/ArticlesR.gif" alt="Articles" title="Articles" width="140" height="15"></a><br>
<a id="Vendors" href="../vendors.htm">
<img border="0" src="../../images/Vendors.gif" srcover="../../images/VendorsR.gif" alt="Vendors" title="Vendors" width="140" height="15"></a><br>
<a id="UNTLinks" href="../untlinks.htm">
<img border="0" src="../../images/UNTLinks.gif" srcover="../../images/UNTLinksR.gif" alt="UNT Links" title="UNT Links" width="140" height="15"></a><br>
<a id="USFALinks" href="../usfalinks.htm">
<img border="0" src="../../images/USFALinks.gif" srcover="../../images/USFALinksR.gif" alt="USFA Links" title="USFA Links" width="140" height="15"></a><br>
<a id="OtherLinks" href="../otherlinks.htm">
<img border="0" src="../../images/OtherLinks.gif" srcover="../../images/OtherLinksR.gif" alt="Other Links" title="Other Links" width="140" height="15"></a>
</span>
<!-- End of Links Submenu -->
</div>
<!-- This is the end of the container div for the drop down menu -->
</td>
<td class="TableRoundedBlackSideR"></td>
</tr>
<tr>
<td class="TableRoundedBlackSideL"></td>
<td style="width: 140; height: 200; padding-left: 5; padding-bottom: 5; text-align: left; vertical-align: bottom; background-color: #000000">
<!-- Search UNTFC Form -->
<form method="GET" action="http://www.google.com/u/unorthtexas" target="_blank">
<label for="SearchTerms" id="SearchLabel">Search this site:</label>
<input type="text" name="SearchText4" size="15" value=" " onFocus="this.select();" id="SearchTerms">
<input type="hidden" value="inurl:student.orgs.unt.edu/orgs/untfc">
<input type="submit" value="Search UNTFC" class="SearchUNT">
</form>
<!-- End of Search UNTFC Form -->
<!-- Rec Sports Logo -->
<p>
<a target="_blank" href="http://www.unt.edu/recsports/">
<img border="0" src="../../images/RecSportsLogo.PNG" width="130" height="35" align="bottom" alt="Recreational Sports logo" title="Recreational Sports logo">
</a>
</p>
<!-- End of Rec Sports Logo -->
</td>
<td class="TableRoundedBlackSideR"></td>
</tr>
<tr>
<td class="TableRoundedBlackBL">
<img border="0" src="../../images/outerBL.gif" alt="" title="" width="5" height="5">
</td>
<td class="TableRoundedBlackSideB"></td>
<td class="TableRoundedBlackBR">
<img border="0" src="../../images/outerBR.gif" alt="" title="" width="5" height="5">
</td>
</tr>
</table>
</div>


This is a screenshot of the forum inserted in an inline frame so the sidebar can be shown in comparison to the desired size (left most table):


Thanks for any input with this.

Surferbird

How can i make this theme whole face or forum narrow, let say to 80% or simialr, any idea?
.:: Always something to ask - always grateful for assistance ::.

HellasVerona

i installed this theme
and when i aply theme got this error
Unable to load the 'main_above' template.
smf 1.0.7
any suggestion? thanks

mchristianim

Dear Bloc,

I am using 1.1 RC2 and upgraded some files to RC2-1 today.

Still I see error messages in the Errorlogs:

First:
8: Undefined index: mostOnline
...\forum\Themes\themis11rc2\BoardIndex.template.php (eval?)

Second:
8: Undefined index: mostOnlineToday
...\forum\Themes\themis11rc2\BoardIndex.template.php (eval?)

I tried to find it through the forums, but sorry, this subject is not easy to find or not well enough explained.

I understood it had something to do with the language strings of the theme?

Thanks in advance...

Karrit

Love the theme, but when I entered in my banner link it won't display. The image file is in PNG format, but should that matter?

bloc

Quote from: mchristianim on July 24, 2006, 02:31:13 PM
Dear Bloc,

I am using 1.1 RC2 and upgraded some files to RC2-1 today.

Still I see error messages in the Errorlogs:

First:
8: Undefined index: mostOnline
...\forum\Themes\themis11rc2\BoardIndex.template.php (eval?)

Second:
8: Undefined index: mostOnlineToday
...\forum\Themes\themis11rc2\BoardIndex.template.php (eval?)

I tried to find it through the forums, but sorry, this subject is not easy to find or not well enough explained.

I understood it had something to do with the language strings of the theme?

Thanks in advance...


Yes, it has. if you use another language than english you need to add those strings in your language as well. They are located in Themes/(Themis)/languages/index.english.php.

bloc

Quote from: Karrit on August 04, 2006, 11:05:25 AM
Love the theme, but when I entered in my banner link it won't display. The image file is in PNG format, but should that matter?

Using IE perhaps? Also, if the PNG is 24-bit it won't display, only 8-bit.

XzotiC


aircooled

hxxp:www.holdthepickle.com [nonactive]

smd

can we get an update for rc3, please?
I installed it on RC3, and works fine so far except that on the calendar page there is no page to post events to the calendar :[

bloc

I will start conversion on all themes shortly, then these issues and similar should be sorted out.

ja

I really like this theme.  Very nice.

But I would like to use it without the Icons (Graphics) over the Main Menu.

Would like the Main menu to appear -  Just as the text -

Home | Help | Search | Admin | Profile | Logout

I'm not sure of a way of deleting the appropriate coding to do this.  (If delete Graphics links - the alternative text appears.)

Or is there another Theme based on this that I cannot find?

spiros

Has this theme been updated for latest version?

IchBin™

IchBin™        TinyPortal

spiros

Thanks DuBist™!

However, I can see:

QuoteCompatible With: 1.0.6, 1.0.7, 1.0.8, 1.1 RC2, 1.1 RC3, 1.1, 1.1.1

Does that mean it runs on 1.1.4 too?

bloc

yes, it does. I haven't got around to actually update all items with that info.


Advertisement: