Page 3 of 16

Posted: Thu 8. Apr 2004, 15:22
by nekket
no i'didn't... and: i tried both

Posted: Thu 8. Apr 2004, 15:37
by snobba
Same here...Just didn't work..

tag: {GT:bit:8:black:Testtext} (shorttag is correct)

With what do you create the pictures? Can it be that there could be something with the picture generating on the server?

Greetings from Martin

Posted: Thu 8. Apr 2004, 15:38
by Jérôme
I have just re-installed the MOD on a clean install and it still works for me with the replacement tag

Code: Select all

{GT:bit3:24:003366:Hallo, dies ist ein Test}
bit3 is the short name of my font. Anyway, if a shortname is not found, the MOD returns just the simple text.

A white space in front of the replacement tag (someone has posted this and then deleted it again) should not be a solution to this problem.

Have you done the change to "inc_front/content.func.inc.php"? :?:

Posted: Thu 8. Apr 2004, 15:39
by Jérôme
snobba wrote:Same here...Just didn't work..

tag: {GT:bit:8:black:Testtext} (shorttag is correct)

With what do you create the pictures? Can it be that there could be something with the picture generating on the server?

Greetings from Martin
Please don't use color-names for the color definitions, that will not work in this release (but in later ones, it will).

The pictures are generated with GD-functions and should work as GD is included in most PHP-packages.

Posted: Thu 8. Apr 2004, 15:41
by bebernl
Hellas,
i had the same problem...
i put the line in the content.func.inc.php just a few line up, before the

Code: Select all

// add possible redirection code (blablalba
and then i worked on mine

Posted: Thu 8. Apr 2004, 15:43
by nekket
Jetzt bin ich wirklich verwirrt...
Ich habe deinen {GT...}-Tag in meinen Artikel copy-pasted und jetzt wird mit der Text angezeigt... allerdings nicht als Bild, obwohl ich die Schriftart auch entsprechend benannt und aktiviert habe... ?!
EDIT:
Vielleicht war das Problem, dass ich Überschrift als Text hatte und er Umlaute nicht mag?!

Gleich die nächste Frage: Wo kann ich die Hintergrundfarbe für das PNG einstellen?

Gefunden: RGB Wert: $background = imagecolorallocate($im, 255, 255, 255);

Posted: Thu 8. Apr 2004, 15:54
by nekket
Was noch toll wäre: Hintergrundfarbe entweder transparent oder über Replacement Tag definierbar. Wenn man das Mod im Template verwendet und man verschiedene Hintergründe hat, siehts sonst nicht so doll aus.

Aber genial, sowas hab ich ewig gesucht. Super Arbeit!

Posted: Thu 8. Apr 2004, 15:56
by Jérôme
Okay...

in the next release, the background-color will be configurable and/or transparent.

Posted: Thu 8. Apr 2004, 16:00
by nekket
Found "my" problem:
script doesn't like colors beginning with A / B / C / D / E / F .. only numbers :(

Posted: Thu 8. Apr 2004, 16:04
by Jérôme
UUUUUPSALA!!! My fault! I will correct this!

Posted: Thu 8. Apr 2004, 16:06
by snobba
A, I read your installation post wrong.I thought that you could only use text color-definition(which I hate) - much better with the 'correct' color definition!

Now a picture is created but with normal text! And I tried with different shorttags on different .tff - but still the same problem. Maybe there are some answer here in GERMAN but I do not understand it! :wink:

Thanks,

Greetings from

Martin

Posted: Thu 8. Apr 2004, 16:12
by Jérôme
i have updated the ZIP-package.

Please download it again, overwrite the whole files (no database changes necessary) and try it again.

BTW: Special chars, like äöüßçõ are no problem for this MOD.

Posted: Thu 8. Apr 2004, 16:20
by frold
it seems like the font bit3 doesnt work...

It will not work on server running on xp

Posted: Thu 8. Apr 2004, 16:30
by frold
How will this mod work for a visitor?

Will it first check if the user have the font and if not will it then load the font to the harddisk or how does it work?

Cause every font is about 100kb and if you want to use many weird fonts on your site it will end with many kb a user have to download to see a page = looooong time....

Posted: Thu 8. Apr 2004, 16:49
by Jérôme
I see that I haven't explained the MOD well enough.

The fonts are loaded onto your webserver. The MOD will then generate a picture which the visitor will see like any other picture. The fonts are only used to generate the pictures.

You can use whatever font you like. I don't know why the bit3-Font does not work on your site, it works on mine, and if it doesn't, just replace it by another one :)