mailer.git
13 years agoCSS classes cleaned up, templates simplified:
Roland Häder [Tue, 17 Aug 2010 19:32:18 +0000 (19:32 +0000)]
CSS classes cleaned up, templates simplified:
- Deprecated CSS classes for ext-register removed (already no longer used)
- Duplicate border-style removed
- HTML templates for ext-mailid simplified by removing an uneccessary table

13 years agoOld, lost function sendHtmlMail() removed, this is now handled by sendEmail() and...
Roland Häder [Tue, 17 Aug 2010 06:47:48 +0000 (06:47 +0000)]
Old, lost function sendHtmlMail() removed, this is now handled by sendEmail() and a new html_header.tpl email template

13 years agoSome improvements
Roland Häder [Tue, 17 Aug 2010 06:29:00 +0000 (06:29 +0000)]
Some improvements

13 years agoFixes for missing parameters in js.php
Roland Häder [Mon, 16 Aug 2010 18:18:59 +0000 (18:18 +0000)]
Fixes for missing parameters in js.php

13 years agoError fixed
Roland Häder [Mon, 16 Aug 2010 05:35:33 +0000 (05:35 +0000)]
Error fixed

13 years agoSome strtoupper() calls saved
Roland Häder [Mon, 16 Aug 2010 04:55:23 +0000 (04:55 +0000)]
Some strtoupper() calls saved

13 years agoNew extension 'terms' introduced
Roland Häder [Mon, 16 Aug 2010 01:51:55 +0000 (01:51 +0000)]
New extension 'terms' introduced

13 years agoMore usage of EL, homeADS added
Roland Häder [Mon, 16 Aug 2010 01:35:26 +0000 (01:35 +0000)]
More usage of EL, homeADS added
- Advertising network 'homeADS' added
- More usage of EL in ext-network
- TODOs.txt updated

13 years agoOnly a question mark at the end is no valid HTTP request
Roland Häder [Sat, 14 Aug 2010 03:47:22 +0000 (03:47 +0000)]
Only a question mark at the end is no valid HTTP request

13 years agoTest added so the error message from SVN tool goes away
Roland Häder [Fri, 13 Aug 2010 20:59:45 +0000 (20:59 +0000)]
Test added so the error message from SVN tool goes away

13 years agoDeprecated files removed, TODOs.txt updated:
Roland Häder [Fri, 13 Aug 2010 20:58:12 +0000 (20:58 +0000)]
Deprecated files removed, TODOs.txt updated:
- Deprecated templates and scripts removed
- Script DOCS/remove-deprecated.sh added which should aid this step
- TODOs.txt updated

13 years agoNew network added, more usage of EL:
Roland Häder [Fri, 13 Aug 2010 18:12:27 +0000 (18:12 +0000)]
New network added, more usage of EL:
- New network 'VIPads' added
- More usage of EL code in network templates
- TODOs.txt updated

13 years agoThe sender of a mail should better pay more (price) than the receivers will earn...
Roland Häder [Mon, 9 Aug 2010 19:40:15 +0000 (19:40 +0000)]
The sender of a mail should better pay more (price) than the receivers will earn (payment)

13 years agoFull insert SQLs may prevent problems in the future...
Roland Häder [Mon, 9 Aug 2010 19:37:31 +0000 (19:37 +0000)]
Full insert SQLs may prevent problems in the future...

13 years agoFix for broken emails... :(
Roland Häder [Mon, 9 Aug 2010 04:19:37 +0000 (04:19 +0000)]
Fix for broken emails... :(

13 years agoNew network added, sorting now showed:
Roland Häder [Mon, 9 Aug 2010 00:15:53 +0000 (00:15 +0000)]
New network added, sorting now showed:
- New adverstising network 'doubleads' added
- Sorting of API array elements is now showed (yet not functional for sorting)
- TODOs.txt updated

13 years agoBase data added for 'doubleads', fixed wrong placeholder %UID%, should be %CID% for...
Roland Häder [Sun, 8 Aug 2010 04:09:09 +0000 (04:09 +0000)]
Base data added for 'doubleads', fixed wrong placeholder %UID%, should be %CID% for YooMedia network

13 years agoMore networks added, EL "post" added, templates fixed:
Roland Häder [Sun, 8 Aug 2010 03:18:34 +0000 (03:18 +0000)]
More networks added, EL "post" added, templates fixed:
- New advertising network 'City-Ads' and 'Gold-Sponsor' added
- Templates fixed, bad handling of network_type_id
- New EL code {%post=foo%} introduced, it is similar to the GET code, so you
  can access elements in $_POST. Also this code has no support for extra
  functions
- TODOs.txt updated

13 years agoArray element translations added for YooMedia
Roland Häder [Sat, 7 Aug 2010 22:34:02 +0000 (22:34 +0000)]
Array element translations added for YooMedia

13 years agoAdded array element translations for 'Werbepartner.cc'
Roland Häder [Fri, 6 Aug 2010 23:37:28 +0000 (23:37 +0000)]
Added array element translations for 'Werbepartner.cc'

13 years agoFirst column removed, may now make lesser trouble
Roland Häder [Fri, 6 Aug 2010 21:43:01 +0000 (21:43 +0000)]
First column removed, may now make lesser trouble

13 years agoEven more array element translations (again) added, interface of Switzerland updated...
Roland Häder [Fri, 6 Aug 2010 18:16:29 +0000 (18:16 +0000)]
Even more array element translations (again) added, interface of Switzerland updated to v3

13 years agoAdded even more array element translations
Roland Häder [Fri, 6 Aug 2010 17:36:13 +0000 (17:36 +0000)]
Added even more array element translations

13 years agoEven more array element translations added
Roland Häder [Fri, 6 Aug 2010 14:21:20 +0000 (14:21 +0000)]
Even more array element translations added

13 years agoFixed a lot ext-network forms, {%get=foo%} introduced, a lot array elements added
Roland Häder [Fri, 6 Aug 2010 12:54:56 +0000 (12:54 +0000)]
Fixed a lot ext-network forms, {%get=foo%} introduced, a lot array elements added
- Fixed all form for ext-network to handle dynamic parameters correctly
- Introduced new EL: {%get=foo%} is now a helper EL to insert parameters from
  GET request, still this doesn't support extra functions but will be added soon
- Added a lot array element translations for many networks
- TODOs.txt updated

13 years agoNaming convention applied on some language strings
Roland Häder [Fri, 6 Aug 2010 09:59:13 +0000 (09:59 +0000)]
Naming convention applied on some language strings

13 years agoAPI array elements for AbisZED-Netz added
Roland Häder [Fri, 6 Aug 2010 00:13:17 +0000 (00:13 +0000)]
API array elements for AbisZED-Netz added

13 years agoA3H added, handling fixed:
Roland Häder [Thu, 5 Aug 2010 23:35:39 +0000 (23:35 +0000)]
A3H added, handling fixed:
- API array elements added for A3H
- A lot Array index translations added
- Disabling of already added elements fixed
- Current selected handle will now be pre-selected again
- TODOs.txt updated

13 years agoAdded sorting for later easier inserting of more array elements
Roland Häder [Thu, 5 Aug 2010 22:25:57 +0000 (22:25 +0000)]
Added sorting for later easier inserting of more array elements

13 years agoNo more required
Roland Häder [Thu, 5 Aug 2010 22:13:54 +0000 (22:13 +0000)]
No more required

13 years agoListing of API array elements basicly finished
Roland Häder [Thu, 5 Aug 2010 22:08:30 +0000 (22:08 +0000)]
Listing of API array elements basicly finished

13 years agoAdding of API array indexes basicly finished
Roland Häder [Thu, 5 Aug 2010 20:56:18 +0000 (20:56 +0000)]
Adding of API array indexes basicly finished

13 years agoFixed
Roland Häder [Tue, 3 Aug 2010 23:40:24 +0000 (23:40 +0000)]
Fixed

13 years agoEven more indexes rewritten to __FUNCTION__
Roland Häder [Tue, 3 Aug 2010 23:21:30 +0000 (23:21 +0000)]
Even more  indexes rewritten to __FUNCTION__

13 years agoFix... :-(
Roland Häder [Tue, 3 Aug 2010 23:15:59 +0000 (23:15 +0000)]
Fix... :-(

13 years agoNaming convention applied, wrapper functions may use __FUNCTION__ as first index
Roland Häder [Tue, 3 Aug 2010 23:14:11 +0000 (23:14 +0000)]
Naming convention applied, wrapper functions may use __FUNCTION__ as first index

13 years agoObsolete parameter removed, duplicate menu removed
Roland Häder [Tue, 3 Aug 2010 22:39:39 +0000 (22:39 +0000)]
Obsolete parameter  removed, duplicate menu removed

13 years agoCall-back function names shortened, __FUNCTION__ used:
Roland Häder [Mon, 2 Aug 2010 21:40:41 +0000 (21:40 +0000)]
Call-back function names shortened, __FUNCTION__ used:
- All call-back function names in ext-network shortened, they were to long
- __FUNCTION__ used now in all (except security_functions.php) function
  libraries

13 years agoThis is no longer required, see template admin_add_network_api_translation
Roland Häder [Mon, 2 Aug 2010 20:27:01 +0000 (20:27 +0000)]
This is no longer required, see template admin_add_network_api_translation

13 years agoMore usage of EL
Roland Häder [Mon, 2 Aug 2010 19:58:23 +0000 (19:58 +0000)]
More usage of EL

13 years agoNaming conventionn for language id strings applied on ext-nickname, typo in ids fixed
Roland Häder [Mon, 2 Aug 2010 18:42:51 +0000 (18:42 +0000)]
Naming conventionn for language id strings applied on ext-nickname, typo in ids fixed

13 years agoDuplicate message id GUEST_GENDER removed, column type TIMESTAMP in ext-sponsor,
Roland Häder [Mon, 2 Aug 2010 18:10:20 +0000 (18:10 +0000)]
Duplicate message id GUEST_GENDER removed, column type TIMESTAMP in ext-sponsor,
- Duplicate message id GUEST_GENDER removed and rewritten to GENDER
- Database column type TIMESTAMP (VARCHAR(10) is very old) used in ext-sponsor
- TODOs.txt updated

13 years agoMore usage of isValidUserId()
Roland Häder [Sun, 1 Aug 2010 07:30:16 +0000 (07:30 +0000)]
More usage of isValidUserId()

13 years agoFixed wrong handling of nickname in member login
Roland Häder [Sun, 1 Aug 2010 07:27:18 +0000 (07:27 +0000)]
Fixed wrong handling of nickname in member login

13 years agoFix for monthly bonus reset script
Roland Häder [Sun, 1 Aug 2010 06:45:40 +0000 (06:45 +0000)]
Fix for monthly bonus reset script

13 years agoIntroduced new function capitalizeUnderscoreString(), rewritten 'do' parameter:
Roland Häder [Sat, 31 Jul 2010 06:06:12 +0000 (06:06 +0000)]
Introduced new function capitalizeUnderscoreString(), rewritten 'do' parameter:
- Introduced new function capitalizeUnderscoreString(), this function does first
  convert all dashes (-) into underscores (_) and then capitalizes all strings
  parts. This function is self-cached to speedup things
- All ext-network templates rewritten which has a 'do' parameter, this parameter
  identifies the form which should be processed by doNetworkProccessForm()

13 years agoOld lost code removed in modules.php, naming convention applied:
Roland Häder [Fri, 30 Jul 2010 01:23:49 +0000 (01:23 +0000)]
Old lost code removed in modules.php, naming convention applied:
- Old lost code to check if 'module' is set removed, it is done now in a filter
- Naming convention applied: subject line identifier should end with _SUBJECT
- Some code simplified

13 years agoEven more usage of EL
Roland Häder [Thu, 29 Jul 2010 23:49:29 +0000 (23:49 +0000)]
Even more usage of EL

13 years agoGeneric function accepts eights (!) but optional parameter $callback, ext-network...
Roland Häder [Thu, 29 Jul 2010 23:20:57 +0000 (23:20 +0000)]
Generic function accepts eights (!) but optional parameter $callback, ext-network continued:
- The generic function generateOptionList() does now accept an optional eights
  parameter $callback. This is already used in ext-network to 'translate' values
  from column translation_name and can be any valid call-back function passed to
  call_user_func_array().
- Extension ext-network does now have very basic API array index translations
- TODOs.txt updated

13 years agoThe table 'network_translations' is now a static table maintained in the database
Roland Häder [Thu, 29 Jul 2010 22:43:43 +0000 (22:43 +0000)]
The table 'network_translations' is now a static table maintained in the database

13 years agoTemplate fixed
Roland Häder [Thu, 29 Jul 2010 22:09:51 +0000 (22:09 +0000)]
Template fixed

13 years agoMore usage of EL
Roland Häder [Thu, 29 Jul 2010 22:03:02 +0000 (22:03 +0000)]
More usage of EL

13 years agoMore usage of isValdUserId()
Roland Häder [Thu, 29 Jul 2010 21:01:34 +0000 (21:01 +0000)]
More usage of isValdUserId()

13 years agoNaming convention applied on language strings, check added to wrapper:
Roland Häder [Wed, 28 Jul 2010 20:28:53 +0000 (20:28 +0000)]
Naming convention applied on language strings, check added to wrapper:
- Naming convention applied on more language strings
- Check added to wrapper function ifPostContainsSelections() to make sure the
  form is really sent
- TODOs.txt updated

13 years agoTODOs.txt updated... :-(
Roland Häder [Tue, 27 Jul 2010 22:49:35 +0000 (22:49 +0000)]
TODOs.txt updated... :-(

13 years agoTotal eval() commands slightly reduced, still there are some left
Roland Häder [Tue, 27 Jul 2010 22:44:26 +0000 (22:44 +0000)]
Total eval() commands slightly reduced, still there are some left

13 years agoGerman Umlaute fixed, new wrapper functions for ext-profile added
Roland Häder [Sat, 24 Jul 2010 23:16:39 +0000 (23:16 +0000)]
German Umlaute fixed, new wrapper functions for ext-profile added

13 years agoNaming convention applied, ext-network menu resorted:
Roland Häder [Sat, 24 Jul 2010 22:16:13 +0000 (22:16 +0000)]
Naming convention applied, ext-network menu resorted:
- Naming convention applied on ext-network templates and PHP scripts
- From same extension, the menu has been resorted
- SQL_NUMROWS() is now cached
- Many code cleanups related to SQL_NUMROWS()
- TODOs.txt updated

13 years agoTheme 'org' now requires css.php or inline mode
Roland Häder [Sat, 24 Jul 2010 04:47:10 +0000 (04:47 +0000)]
Theme 'org' now requires css.php or inline mode

13 years agoShould be fixed long time ago... :-(
Roland Häder [Sat, 24 Jul 2010 03:57:21 +0000 (03:57 +0000)]
Should be fixed long time ago... :-(

13 years agoRewritten to make usage of newly introduced math EL code
Roland Häder [Sat, 24 Jul 2010 02:58:18 +0000 (02:58 +0000)]
Rewritten to make usage of newly introduced math EL code

13 years agoSlogan added, logout added to ext-sponsor:
Roland Häder [Sat, 24 Jul 2010 01:47:34 +0000 (01:47 +0000)]
Slogan added, logout added to ext-sponsor:
- The slogan will now be displayed in sponsor menu's header
- Logout and only redirect from sponsor area to guest area added

13 years agoFix for missing 'you are here' navigation and redirect added to sponsor login if...
Roland Häder [Sat, 24 Jul 2010 01:41:21 +0000 (01:41 +0000)]
Fix for missing 'you are here' navigation and redirect added to sponsor login if already logged in

13 years agoFixes for messed up sponsor menu
Roland Häder [Sat, 24 Jul 2010 01:37:12 +0000 (01:37 +0000)]
Fixes for messed up sponsor menu

13 years agoMore rewrites/fixes (not all is fixed) for ext-sponsor
Roland Häder [Sat, 24 Jul 2010 01:32:28 +0000 (01:32 +0000)]
More rewrites/fixes (not all is fixed) for ext-sponsor

13 years agoSQL fix and renamed language string fixed
Roland Häder [Fri, 23 Jul 2010 23:51:58 +0000 (23:51 +0000)]
SQL fix and renamed language string fixed

13 years agoSome SQL queries improved, sponsor registration fixed:
Roland Häder [Fri, 23 Jul 2010 05:13:27 +0000 (05:13 +0000)]
Some SQL queries improved, sponsor registration fixed:
- Some SQL queries improved by removed single quotes around data that are
  numbers. This may help MySQL to improve speed of the query
- Sponsor registration from admin (and possibly guest) area was broken
- TODOs.txt updated

13 years agoA lot template functions for ext-sponsor added, fixes in admin template
Roland Häder [Fri, 23 Jul 2010 04:10:05 +0000 (04:10 +0000)]
A lot template functions for ext-sponsor added, fixes in admin template

13 years agoMade mails debugable without messing the output, fixes for forced sponsor registratio...
Roland Häder [Fri, 23 Jul 2010 03:36:57 +0000 (03:36 +0000)]
Made mails debugable without messing the output, fixes for forced sponsor registration by admin

13 years agoFixed missing entity encoding (please test this)
Roland Häder [Fri, 23 Jul 2010 03:13:34 +0000 (03:13 +0000)]
Fixed missing entity encoding (please test this)

13 years agoSome sponsor API functions added, expression function for user moved:
Roland Häder [Fri, 23 Jul 2010 03:11:12 +0000 (03:11 +0000)]
Some sponsor API functions added, expression function for user moved:
- Missing function generateSponsorEmailLink() added
- Sponsor registration rewritten to make usage of API function, we can use the
  function in admin area again, so the code is shorter
- Usage of EL in admin template for ext-sponsor
- TODOs.txt updated

13 years agoEven more renamed/fixed, internal TODO about FOO_1/FOO_2 merge continued
Roland Häder [Fri, 23 Jul 2010 02:37:04 +0000 (02:37 +0000)]
Even more renamed/fixed, internal TODO about FOO_1/FOO_2 merge continued

13 years agoNaming convention applied (missed to rename some strings)
Roland Häder [Fri, 23 Jul 2010 02:34:17 +0000 (02:34 +0000)]
Naming convention applied (missed to rename some strings)

13 years agoFixes for auto-activation of extensions while registration phase
Roland Häder [Fri, 23 Jul 2010 02:20:26 +0000 (02:20 +0000)]
Fixes for auto-activation of extensions while registration phase

13 years agoNumerous ext-sponsor fixes and HTML rewrites (sorry for lame description)
Roland Häder [Thu, 22 Jul 2010 14:39:01 +0000 (14:39 +0000)]
Numerous ext-sponsor fixes and HTML rewrites (sorry for lame description)

13 years agoHandling of local newer revisions than on update server added
Roland Häder [Thu, 22 Jul 2010 12:35:27 +0000 (12:35 +0000)]
Handling of local newer revisions than on update server added

13 years agoMissing language string added
Roland Häder [Thu, 22 Jul 2010 12:27:38 +0000 (12:27 +0000)]
Missing language string added

13 years agoMore language strings renamed (better naming convention)
Roland Häder [Thu, 22 Jul 2010 12:24:48 +0000 (12:24 +0000)]
More language strings renamed (better naming convention)

13 years agoNew wrapper functions introduced
Roland Häder [Thu, 22 Jul 2010 11:49:19 +0000 (11:49 +0000)]
New wrapper functions introduced

13 years agoLegacy comments removed, description for ext-network expanded:
Roland Häder [Thu, 22 Jul 2010 10:11:00 +0000 (10:11 +0000)]
Legacy comments removed, description for ext-network expanded:
- Some legacy comments removed, they belong to a much older version of this
  script and are no longer valid, but still we would recommend you to remove
  at least install.php
- Description text for extension ext-network heavily expanded, planed V-Check
  support noted
- Some old-lost code refactured
- TODOs.txt updated

13 years agoEven more string languages/templates renamed (not really) according to naming convention
Roland Häder [Wed, 21 Jul 2010 04:45:24 +0000 (04:45 +0000)]
Even more string languages/templates renamed (not really) according to naming convention

13 years agoMoved doTemplateFooBar() down (to match with other include files)
Roland Häder [Wed, 21 Jul 2010 01:55:44 +0000 (01:55 +0000)]
Moved doTemplateFooBar() down (to match with other include files)

13 years agoNaming convention applied (database columns, keys), Code cosmetics applied:
Roland Häder [Wed, 21 Jul 2010 01:38:58 +0000 (01:38 +0000)]
Naming convention applied (database columns, keys), Code cosmetics applied:
- Naming convention applied on some old-lost database column names (ext-sponsor)
- Notation of SQL queries improved
- Other minor code improvements
- TODOs.txt updated

13 years agoOur convention says if(-else) blocks should not be put in one line
Roland Häder [Wed, 21 Jul 2010 00:55:07 +0000 (00:55 +0000)]
Our convention says if(-else) blocks should not be put in one line

13 years agoTODOs.txt updated... :-(
Roland Häder [Wed, 21 Jul 2010 00:22:21 +0000 (00:22 +0000)]
TODOs.txt updated... :-(

13 years agoNew template helper function doTemplateExtensionRegistrationLink() introduced
Roland Häder [Wed, 21 Jul 2010 00:21:38 +0000 (00:21 +0000)]
New template helper function doTemplateExtensionRegistrationLink() introduced

13 years agoNow with extension name
Roland Häder [Wed, 21 Jul 2010 00:03:59 +0000 (00:03 +0000)]
Now with extension name

13 years agoTypo... :(
Roland Häder [Wed, 21 Jul 2010 00:00:57 +0000 (00:00 +0000)]
Typo... :(

13 years agoNow first comes the warning for installating non-productive extensions
Roland Häder [Tue, 20 Jul 2010 23:54:57 +0000 (23:54 +0000)]
Now first comes the warning for installating non-productive extensions

13 years agoNow non-productive extensions cant be quick-registered any longer (but still installa...
Roland Häder [Tue, 20 Jul 2010 23:53:02 +0000 (23:53 +0000)]
Now non-productive extensions cant be quick-registered any longer (but still installable through 'execute' button)

13 years agoEven more language strings renamed
Roland Häder [Tue, 20 Jul 2010 23:14:09 +0000 (23:14 +0000)]
Even more language strings renamed

13 years agoNaming convention, more usage of EL, new wrapper function introduced:
Roland Häder [Tue, 20 Jul 2010 22:48:37 +0000 (22:48 +0000)]
Naming convention, more usage of EL, new wrapper function introduced:
- Naming convention applied on further more language strings
- New wrapper function isDirectPaymentAllowed() added
- More usage of EL to shorten PHP scripts
- Parameter $locked in function addPointsToRefSystem() optimized out
- TODOs.txt updated

13 years agoNaming convention applied, more cleanups, more EL
Roland Häder [Tue, 20 Jul 2010 21:06:18 +0000 (21:06 +0000)]
Naming convention applied, more cleanups, more EL

13 years agoMore usage of EL
Roland Häder [Tue, 20 Jul 2010 05:39:43 +0000 (05:39 +0000)]
More usage of EL

13 years agoWrapper getMtWord2() added
Roland Häder [Tue, 20 Jul 2010 05:32:44 +0000 (05:32 +0000)]
Wrapper getMtWord2() added

13 years agoFixed two parser errors
Roland Häder [Tue, 20 Jul 2010 05:30:35 +0000 (05:30 +0000)]
Fixed two parser errors

13 years agoFix for inserted codes while registering of extensions, many rewrites/cleanups:
Roland Häder [Mon, 19 Jul 2010 15:38:33 +0000 (15:38 +0000)]
Fix for inserted codes while registering of extensions, many rewrites/cleanups:
- Fix for extension registration, codes like {OPEN_CONFIG} and such are no
  longer compiled in while the extension gots registered. This come handy for
  e.g. our POINTS replacement.
- More usage of countSumTotalData() which should reduce the number of SQL
  queries in the whole script
- Replaced a lot double-quotes with single-quotes
- Other minor cleanups

13 years agoNew extension ext-cliclbanner introduced, a lot SVN properties changed
Roland Häder [Mon, 19 Jul 2010 00:28:54 +0000 (00:28 +0000)]
New extension ext-cliclbanner introduced, a lot SVN properties changed

13 years agoIP resolver fixed, no need to lookup IP addresses
Roland Häder [Sun, 18 Jul 2010 12:19:51 +0000 (12:19 +0000)]
IP resolver fixed, no need to lookup IP addresses

13 years agoYet-another renaming-mistake :(
Roland Häder [Sun, 18 Jul 2010 03:37:56 +0000 (03:37 +0000)]
Yet-another renaming-mistake :(