Code: Select all
############################################################################################
## MOD Title: phpwcms Graphical Text MOD
## MOD Author: Jerome < spam@jerome-gamez.de > (Jerome Gamez) http://jerome-gamez.de/
## MOD Description: Adds the possibilty to create dynamic graphical text
## with replacement tags
##
## MOD Version: 2.0
##
## Installation Level: Easy
## Installation Time: 5-10 Minutes
##
##
## Files To Edit: phpwcms.php
## include/inc_front/content.func.inc.php
##
###########################################################################################
## For Security Purposes, Please Check http://www.phpwcms.de/forum/
## for the latest version of this MOD. Downloading this MOD from other sites could cause
## malicious code to enter into your phpwcms-installation. As such, phpwcms will not
## offer support for MOD's not offered at: http://www.phpwcms.de/forum/
###########################################################################################
## Author Notes:
##
## For usage information, see the file "replacement tags.txt".
##
## Full localisation is only available in english and german. All other languages
## are also english and perhaps not actual. This is due to the fact that I can't
## speak all the languages, but the folders must be available to prevent phpwcms
## from moaning about include-errors.
##
## If you want to translate the MOD to your native language, please feel free to
## send me your lang.inc.php so that I can include it to the MOD.
##
###########################################################################################
## MOD History:
##
## 2004-05-17 - Version 2.0
## * Added underline ability
## * 2.0 final. This version will be included into the core of phpwcms. No further
## development as a MOD.
##
## 2004-05-15 - Version 1.5
## * Added background and foreground transparency
## Note: Transparency can lead to worse image quality
##
## 2004-05-11 - Version 1.4
## * Chose output format (JPG, PNG, GIF) in the styles area.
## Unsupported formats will not show up
## * Just one replacement tag available: {GT:style] ... {/GT}
## * Fixed filename issue (no capital letters were possible)
##
## 2004-05-04 - Version 1.3
## * Perfect caching
## * Dropped fontizer.php => no security/exploit issues anymore
## * fixed some bugs
## * fixed NS 4.x problem (could not handle URI parameters)
##
## 2004-05-03 - Version 1.2 BETA
## * Added first caching engine (better, but not best)
## * Fixed some bugs
##
## 2004-04-25 - Version 1.1.2
## * Fixed bug which prevented from deleting a style
## * Added font, color and style data to show how things work and to make it possible
## directly to use the fonts, colors and styles
##
## 2004-04-13 - Version 1.1.1
## * Fixed display bugs in the styles edit screen
## * Fix of the fonts include problem that affects users with disadvantageous
## open_basedir/include settings of php
##
## 2004-04-13 - Version 1.1
## * Change in the use of the replacement tag. It is now possible to use other
## replacement tags within a graphical text replacement tag
## * Background color property added. This property is optional, but if it is not
## given, the quality of the generated text will decrease massively
## * Font preview in the backend added
## * Anti-Aliasing switch
## * Color presets
## Ability to define names that represent colors. This makes subsequent changes to
## colors easier and more effective (the changes are reflected on the whole website
## immediately)
## * Styles presets:
## Ability to define combinations of font, size and colors for easier
## inclusion in articles and subsequent site wide changes (the changes are reflected
## on the whole website immediately
## * Changement of replacement tags
## * {GT:font_shortname:size:antialiasing:fgcolor:(bgcolor)}text{/GT}
## * {GT:style}text{/GT}
##
## 2004-04-08 - Version 1.0
## * Initial Release
##
###########################################################################################
## Before Adding This MOD To Your phpwcms, You Should Back Up All Files Related To This MOD
###########################################################################################
- You will first have to upload your fonts to your webspace and add them to the database before you can make use of it. More detailed information is provided on the 'Graphical Text' MOD's index page.
- Transparent background will lead to bad image quality
mod_graphical_text_2_0.zip
Replacement Tags
{GT:style}text{/GT}
This is really easy to use. You have to define styles in the backend that you can use in the frontend.
You will need freetype support enabled on your server. Search your phpinfo() for the string "freetype" to check if you have it.
For transparency you need at least PHP 4.3.2.