Not logged in. · Lost password · Register
Page:  1  2  3  4  next 

All posts by tkoneo (52)

topic: PDF Plugin  in the forum: Customising UNB Modifications and plug-ins Plug-in gallery
tkoneo #1
Member since Feb 2006 · 52 posts
Group memberships: Members
Show profile · Link to this post
Version 1.2 is out

I found a found a bit time and fixed some Problems with the PlugIn.

See the first page of this thread for the new improvements.

The optional Subject is now displayed right and special letters are shown right.

I couldn't effort the Arial problem. If I use Arial as fonttype everything in the pdf works fine. Arial is also the default font and therefor don't need any inclusion file like courier or helvetica.

Maybe you could test the new version if it works better.
topic: hinweisleiste am oberen browserrand  in the forum: Support Ideas and suggestions
tkoneo #2
Member since Feb 2006 · 52 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 7281
Hi, also nur damit du mal siehst wie es bei dir aussieht:

Kopiere folgenden Code in die Datei [unb_root]/unb_lib/designs/modern/css/common.css.php, ganz an den Schluss vor
<?php
// Include user CSS definitions
@include('../css.user.php');
@include('../../css.user.php');
?>

Code:
/* A fake IE information bar */
#infobar {
    font: message-box;
}

/* Please adjust the values if the infobar is not looking good */
#infobar a, #infobar a:link, #infobar a:visited, #infobar a:active {
    display: block;
    float: left;
    clear: both;
    width: 98%;
    color: InfoText;
    background: InfoBackground url(<?php echo $ImgPath ?>warning.gif) no-repeat fixed .3em .3em;
    padding: .45em .3em .45em 2em;
    border-bottom: .16em outset;
    text-decoration: none;
    cursor: default;
}

#infobar a:hover {
    color: HighlightText;
    background: Highlight url(<?php echo $ImgPath ?>warning.gif) no-repeat fixed .3em .3em;
}

/* A fake viewplot for IE information bar */
#viewplot {
    width: 100%;
    height: expression(this.parentNode.offsetHeight - this.offsetTop);
    overflow-x: hidden;
    overflow-y: scroll;
    padding: 1em;   /* Please set this to the value as that of your <body> */
}

Anschlißend musst du noch
body
{
<?php if ($ie && !$ie7) { ?>
    width: 750px;
<?php } else { ?>
    width: 95%;
    min-width: 350px;
    max-width: 800px;
<?php } ?>
    margin: 10px auto;
    padding: 0;
}

durch

body
{
    margin: 10px auto;
    margin-top: 0;
    padding: 0;
}
ersetzen. (Seht ganz am Anfang der Datei)

und anschließend kopierst du folgenden Code in die Datei [unb_root]/unb_lib/designs/modern/tpl/_head.html, nach den Zeilen:

<body{if $headSimple} class="simple"{endif}>
{endif}{-- $headHTML}

Code:
<!-- Infobar Beginn -->
<table width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td>
<div id="infobar"><a href="forum.php?req=register">Du scheinst noch keinen kostenlosen Community-Account zu besitzen. Klicke hier um dich anzumelden...</a></div>
</td></tr></table>
<!-- /Infobar Ende -->

Jetzt hast du deine Inforbar eingebunden. Jetzt musst du noch das angehängte Bild nach [unb_root]/unb_lib/designs/modern/img/ kopieren und du bist fertig.

Allerdings hast du durch das löschen der width Angaben für den Body dein Forum auf volle Bildschirmbreite verbreitert. Leider ist dies nicht einfach ein Nebeneffekt, der (meines wissens) nicht zu vermeiden ist.

Kannst ja sehen wie es dir gefällt.
The author has attached one file to this post:
warning.gif 630 Bytes
You have no permission to open this file.
This post was edited 2 times, last on 2006-10-15, 15:52 by tkoneo.
topic: Unread Funktion in Unterforen  in the forum: Support Ideas and suggestions
tkoneo #3
Member since Feb 2006 · 52 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 6924
Ok, dann eben bei Gelegenheit, bin eh grad im Klausurenstress.

Trotzdem Danke.
topic: Unread Funktion in Unterforen  in the forum: Support Ideas and suggestions
tkoneo #4
Member since Feb 2006 · 52 posts
Group memberships: Members
Show profile · Link to this post
Subject: Unread Funktion in Unterforen
Hi Yves,

ist es möglich, dass das UNB mir wenn es ungelesene Beiträge in Unterforen gibt, nicht das Hauptforum mit als ungelesen markiert?

Beispiel:

Hauptforum BWL
Unterforum VO

Wenn jetzt in VO ein ungelesener Beitrag ist, wird auch BWL mit als ungelesen markiert. Das ist zwar sehr schön und vielleicht auch hilfreich, wenn man nicht wie ich die Unterforen nicht mit einblendet. Aber nachdem ich die Unterforen bis zur 3. oder 4. Stufe mit einblende ist es doch etwas störend, dass immer das Hauptforum mit als ungelesen markiert wird.

Kannst du mir so aus dem FF sagen, wo im Quelltext ich das ändern kann? Du kennst dich ja am besten darin aus :-)

Gruß
Neo
topic: Text Farbe andern  in the forum: Customising UNB Designs
tkoneo #5
Member since Feb 2006 · 52 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 6850
Geänder werden muss es in der Datei:

[unb_root]/unb_lib/designs/modern/css/common.css.php

Versuch mal dort die ergänzung an der Stelle:

html
{
    background: #FFFFFF url(../img/back_hlines.png);
    cursor: default;
    color: #Farbnummer;
oder
    font-color: #Farbnummer;
}

bin mir auch nicht sicher, welche css befehl der richtige ist. Aber denke mal der color befehl.

Gruß
TKONeo
This post was edited on 2006-07-05, 20:55 by tkoneo.
topic: ACL Nummern Tabelle  in the forum: Support Ideas and suggestions
tkoneo #6
Member since Feb 2006 · 52 posts
Group memberships: Members
Show profile · Link to this post
Subject: ACL Nummern Tabelle
Hi Yves,

was hälst du davon, wenn du für die Developer irgendwo in den Doc's eine Tabelle anlegst, wo jeder Developer seine ACL Nummern reinschreiben kann. In der Art:

Nummer       PlugIn                 ACL
101                Calendar           Kalender anzeigen

somit würde die Übersicht gewahrt und es käme nicht zu Problemen mit PlugIns, denn jeder Dev. sollte vor der Freigabe seine PlugIns in die Tabelle schauen, dass er keine Nummer eines andern PlugIns verwendet.

Evtl. könnte man auch ein reservierungssystem machen, dass jeder dev sich für ein PlugIn eine bestimmte anzahl an Nummer reserviert.

Ist nur ein Vorschlag, ist mir gestern halt so eingefallen :-)

Gruß
TKONeo
topic: UNB & Internet Explorer 7  in the forum: Support General support
tkoneo #7
Member since Feb 2006 · 52 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 6601
Hi there.
I installed this day the beta2 of Windows Vista, including IE7+ (Build 7.0.5384.4) and at the moment I post this post with this IE. It seems Microsoft fixed this bug of the last beta.
I had no crashes. And all of the CSS2 stuff looks realy beatiful even in IE. :-)

Regards
Neo
topic: Auf den Login-Status eines Benutzers vom Template aus zugreifen?  in the forum: Customising UNB Modifications and plug-ins
tkoneo #8
Member since Feb 2006 · 52 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 6659
Ich bin mir jetzt nicht 100%ig sicher, aber ich glaube, dass du von einem Template aus garkeinen Zugriff auf das $UNB Array hast. Du must wenn dann $UNB['LoginUserID'] in das $TP Array parsen.
topic: Calendar PlugIn (Adds an calendar to the board environment)  in the forum: Customising UNB Modifications and plug-ins Plug-in gallery
tkoneo #9
Member since Feb 2006 · 52 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 6562
Quote by Gabel:
You still have to check "Calendar announcement" than the calendar will alert you 3 days before.

Yes this is the one way.
But Mardok doesn't use the "calendar announcement section" he uses the function where the calendar creates real announcements. It is a good idea to be able to configure the time when the announcements should be created.
Maybe I find these weekend some time to implement this.
topic: Terminkalender  in the forum: Customising UNB Modifications and plug-ins
tkoneo #10
Member since Feb 2006 · 52 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 6471
Sachffst du es schon meine Hook's in die 1.6.2 zu implementieren?
Dann kann man sich nämlich das patchen für den Kalender sparen.

Wann planst du denn ein release der 1.6.2?
topic: PDF Plugin  in the forum: Customising UNB Modifications and plug-ins Plug-in gallery
tkoneo #11
Member since Feb 2006 · 52 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 6530
Sorry, but I can't find any mistake.

I used your common_out.lib.php and everything works fine. I added now a check, if no fonttype is selected "Arial" is used.

Maybe you have an PHP-Problem. What Version do you use?
topic: PDF Plugin  in the forum: Customising UNB Modifications and plug-ins Plug-in gallery
tkoneo #12
Member since Feb 2006 · 52 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 6528
Sorry, but I can't reproduce the error. Maybe you could tell me how you configured the plugin.
topic: Calendar PlugIn (Adds an calendar to the board environment)  in the forum: Customising UNB Modifications and plug-ins Plug-in gallery
tkoneo #13
Member since Feb 2006 · 52 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 6520
Nice to hear. Thanks
topic: PDF Plugin  in the forum: Customising UNB Modifications and plug-ins Plug-in gallery
tkoneo #14
Member since Feb 2006 · 52 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 6340
New Version 1.1 is out.

Quote by Mardok on 2006-04-10, 10:22:
It seems that the pdf-plugin has a problem with special letter e.g. "ä" "ü" "ö" in headlines or subjects.
In the normal text it was already replaced in "ae" "oe" "oe".

This is because I used the UnbToANSI function to convert the text from the database. Now I use utf8_decode with AbbcProc to plaintext. All chars like ä ü ö should now be shown normal. But I have seen that chars like "€" are not shown propperly. At the moment we have to life with this bug.

Quote by Mardok on 2006-04-10, 10:22:
Also it would be nice, if it is possible to translate the codes like [B][/B] also in bold.
It this is not possible it may be better to remove all these Codes.

The conversion from B to bold isn't as easy as it sounds. Because for that I have to parse every char of the message by my own. In the new Version the AbbcProc removes these chars. Some problems I have seen are with the [quote] & the [img] tag, but this is a problem of AbbcProc.
topic: Calendar PlugIn (Adds an calendar to the board environment)  in the forum: Customising UNB Modifications and plug-ins Plug-in gallery
tkoneo #15
Member since Feb 2006 · 52 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 6007
Ok, here we go!
After a long time of hard work on the calendar plugin. Here is the new Version.
Now we have V. 2.0.

I rewrite most of my code to make the plugin independent (only the new hooks must be patched in / until Yves hasn't implemented in his source).
Everything new could be seen on the first post of this thread.
http://newsboard.unclassified.de/forum/post/6007

For all of these people using the "old" version of the callender I recommend strongly to do a complete new installation of the calender.
Because a lot have changed and the diff files are only for a "plain" 1.6.1 / dev.20060402. Also the table in the database have changed, so for the new plugin you must install the table throu the config.

I hope you enjoy the pretty new version.

Neo
Close Smaller – Larger + Reply to this post:
Special characters:
Page:  1  2  3  4  next 
Special queries
Go to forum
This board is powered by the Unclassified NewsBoard software, 20120620-dev, © 2003-2011 by Yves Goergen
Page created in 277.6 ms (186.4 ms) · 159 database queries in 134.4 ms
Current time: 2013-05-20, 07:12:05 (UTC +02:00)