mailer.git
8 years agoText slightly rewritten
Roland Häder [Sun, 31 Jul 2011 12:20:11 +0000 (12:20 +0000)]
Text slightly rewritten

8 years agoEarning subscriptions introduced (unfinished):
Roland Häder [Sun, 31 Jul 2011 12:16:48 +0000 (12:16 +0000)]
Earning subscriptions introduced (unfinished):
- Generic support (unfinished admin/member scripts) added for extra earnings on
  a "subscription" basis. The user can (or shall when finished) see how much
  he/she earned per "earning subscription". This whole data table is now cached,
  other user_earning will follow
- Extension ext-forced continued, reload lock and minimum stay moved to
  campaigns
- Fix in inc/db/lib-mysql3.php for badly named variable (now: $isAlterIndex)
  which could cause many ALTER TABLE commands to fail
- Other minor improvements

8 years agoTypo fixed
Roland Häder [Sat, 30 Jul 2011 08:45:57 +0000 (08:45 +0000)]
Typo fixed

8 years agoOpps, that was no longer needed
Roland Häder [Sat, 30 Jul 2011 08:43:50 +0000 (08:43 +0000)]
Opps, that was no longer needed

8 years agoMissing message id added
Roland Häder [Sat, 30 Jul 2011 08:42:43 +0000 (08:42 +0000)]
Missing message id added

8 years agoFix for missing array element 'mails_sent'
Roland Häder [Sat, 30 Jul 2011 08:37:59 +0000 (08:37 +0000)]
Fix for missing array element 'mails_sent'

8 years agoRewritten to use filter and wrapper
Roland Häder [Sat, 30 Jul 2011 02:23:27 +0000 (02:23 +0000)]
Rewritten to use filter and wrapper

8 years agoSome text shorter, alternative text added to forced-ads table row
Roland Häder [Fri, 29 Jul 2011 21:27:34 +0000 (21:27 +0000)]
Some text shorter, alternative text added to forced-ads table row

8 years agoRenamed form fields to separate them from others
Roland Häder [Fri, 29 Jul 2011 21:19:17 +0000 (21:19 +0000)]
Renamed form fields to separate them from others

8 years agoMore usage of wrapper functions
Roland Häder [Fri, 29 Jul 2011 10:22:41 +0000 (10:22 +0000)]
More usage of wrapper functions

8 years agoSearch for email with regular expression
Roland Häder [Fri, 29 Jul 2011 10:00:13 +0000 (10:00 +0000)]
Search for email with regular expression

8 years agoAdded BACKSLASH to prevent massive escaping
Roland Häder [Fri, 29 Jul 2011 09:47:44 +0000 (09:47 +0000)]
Added BACKSLASH to prevent massive escaping

8 years agoFix for previous commit
Roland Häder [Fri, 29 Jul 2011 06:31:20 +0000 (06:31 +0000)]
Fix for previous commit

8 years agoDeprecated $DATA renamed:
Roland Häder [Fri, 29 Jul 2011 06:28:58 +0000 (06:28 +0000)]
Deprecated $DATA renamed:
- Deprecated $DATA replaced with $content
- TODOs.txt updated

8 years agoFixes
Roland Häder [Fri, 29 Jul 2011 05:07:08 +0000 (05:07 +0000)]
Fixes

8 years agoBetter text here
Roland Häder [Fri, 29 Jul 2011 04:43:12 +0000 (04:43 +0000)]
Better text here

8 years agoListing of coupons rewritten to more clear
Roland Häder [Fri, 29 Jul 2011 04:40:38 +0000 (04:40 +0000)]
Listing of coupons rewritten to more clear

8 years agoMore EL code
Roland Häder [Fri, 29 Jul 2011 01:43:24 +0000 (01:43 +0000)]
More EL code

8 years agoDouble-dot removed, some default more performant settings
Roland Häder [Fri, 29 Jul 2011 01:33:14 +0000 (01:33 +0000)]
Double-dot removed, some default more performant settings

8 years agoMembers can now no longer enter 'NULL' as their nickname
Roland Häder [Fri, 29 Jul 2011 00:54:04 +0000 (00:54 +0000)]
Members can now no longer enter 'NULL' as their nickname

8 years agoWrapper getBonusRanks() more used
Roland Häder [Fri, 29 Jul 2011 00:19:18 +0000 (00:19 +0000)]
Wrapper getBonusRanks() more used

8 years agoWrapper getTurboRates() introduced
Roland Häder [Fri, 29 Jul 2011 00:14:49 +0000 (00:14 +0000)]
Wrapper getTurboRates() introduced

8 years agoHandling of bonus points fixed
Roland Häder [Fri, 29 Jul 2011 00:13:07 +0000 (00:13 +0000)]
Handling of bonus points fixed

8 years agoinsertUserStatsRecord() was commented out, but still the status (true/false) is being...
Roland Häder [Thu, 28 Jul 2011 23:56:02 +0000 (23:56 +0000)]
insertUserStatsRecord() was commented out, but still the status (true/false) is being ignored

8 years ago'Send bonus mail' looks now much nicer
Roland Häder [Thu, 28 Jul 2011 23:47:49 +0000 (23:47 +0000)]
'Send bonus mail' looks now much nicer

8 years agoMoved if() block to make random passwords possible again
Roland Häder [Thu, 28 Jul 2011 23:42:00 +0000 (23:42 +0000)]
Moved if() block to make random passwords possible again

8 years agoMore EL code, some templates renamed:
Roland Häder [Thu, 28 Jul 2011 23:32:06 +0000 (23:32 +0000)]
More EL code, some templates renamed:
- Templates renamed to conform with naming convention
- Some PHP code converted in EL code
- TODOs.txt updated

8 years agoext-holiday is no self-account-cancelation function
Roland Häder [Thu, 28 Jul 2011 23:15:48 +0000 (23:15 +0000)]
ext-holiday is no self-account-cancelation function

8 years agoParser error fixed
Roland Häder [Thu, 28 Jul 2011 23:07:32 +0000 (23:07 +0000)]
Parser error fixed

8 years agoFixes for old-lost code
Roland Häder [Thu, 28 Jul 2011 23:04:49 +0000 (23:04 +0000)]
Fixes for old-lost code

8 years agoDouble % for sprintf()
Roland Häder [Thu, 28 Jul 2011 22:51:58 +0000 (22:51 +0000)]
Double % for sprintf()

8 years agoext-coupon 0.0.2 wasn't right ... :(
Roland Häder [Thu, 28 Jul 2011 22:39:58 +0000 (22:39 +0000)]
ext-coupon 0.0.2 wasn't right ... :(

8 years agoMinor cleanups:
Roland Häder [Thu, 28 Jul 2011 22:05:27 +0000 (22:05 +0000)]
Minor cleanups:
- isFileReadable() does now check is_file() first
- Internal TODO closed (was not needed)
- TODOs.txt updated

8 years agofetchUserData() does not accept NULL, please report any findings
Roland Häder [Thu, 28 Jul 2011 21:55:02 +0000 (21:55 +0000)]
fetchUserData() does not accept NULL, please report any findings

8 years agoHandling of invalid referal ids fixed
Roland Häder [Thu, 28 Jul 2011 21:53:11 +0000 (21:53 +0000)]
Handling of invalid referal ids fixed

8 years agomodules.cache now depends in ext-mods, some SQLs improved
Roland Häder [Thu, 28 Jul 2011 21:41:23 +0000 (21:41 +0000)]
modules.cache now depends in ext-mods, some SQLs improved

8 years agoMissing wrapper added
Roland Häder [Thu, 28 Jul 2011 21:21:51 +0000 (21:21 +0000)]
Missing wrapper added

8 years agoDependency birthday->user added
Roland Häder [Thu, 28 Jul 2011 21:17:05 +0000 (21:17 +0000)]
Dependency birthday->user added

8 years agoDefault is now Y
Roland Häder [Thu, 28 Jul 2011 20:51:52 +0000 (20:51 +0000)]
Default is now Y

8 years agoFix 'index' to 'home' in index.php
Roland Häder [Thu, 28 Jul 2011 05:17:08 +0000 (05:17 +0000)]
Fix 'index' to 'home' in index.php

8 years agoMissed this :(
Roland Häder [Thu, 28 Jul 2011 05:11:26 +0000 (05:11 +0000)]
Missed this :(

8 years agotrue is for 'asArray' parameter, 'return' was a little misleading here so I added...
Roland Häder [Thu, 28 Jul 2011 05:08:51 +0000 (05:08 +0000)]
true is for 'asArray' parameter, 'return' was a little misleading here so I added it in some parts :(

8 years ago... instead display reload lock and minimum stay
Roland Häder [Thu, 28 Jul 2011 05:06:18 +0000 (05:06 +0000)]
... instead display reload lock and minimum stay

8 years agoForced-Ads are never locked, instead lock campaigns
Roland Häder [Thu, 28 Jul 2011 05:01:15 +0000 (05:01 +0000)]
Forced-Ads are never locked, instead lock campaigns

8 years agoext-sql_patches must be at least 0.8.3
Roland Häder [Thu, 28 Jul 2011 04:45:33 +0000 (04:45 +0000)]
ext-sql_patches must be at least 0.8.3

8 years agomerge_array() call fixed
Roland Häder [Thu, 28 Jul 2011 04:42:33 +0000 (04:42 +0000)]
merge_array() call fixed

8 years agoA lot has been rewritten, ext-teams added, ext-forced continued:
Roland Häder [Thu, 28 Jul 2011 04:07:10 +0000 (04:07 +0000)]
A lot has been rewritten, ext-teams added, ext-forced continued:
- Adding of (admin only) forced-ads basicly finished
- Listing of forced-ads in admin area basicly finished
- Extension ext-teams introduced (stub only)
- Many rewrites/refacturings (I cannot recall them all!) here and there,
  including more usage of EL code and filters
- TODOs.txt updated

8 years agoFix for SQL with ref_depth=NULL
Roland Häder [Fri, 22 Jul 2011 20:59:55 +0000 (20:59 +0000)]
Fix for SQL with ref_depth=NULL

8 years agoNo 'Wernis' in ext-funcoins
Roland Häder [Tue, 19 Jul 2011 18:03:58 +0000 (18:03 +0000)]
No 'Wernis' in ext-funcoins

8 years agoext-funcoins: Wrappers for configuration entries added
Roland Häder [Tue, 19 Jul 2011 17:44:14 +0000 (17:44 +0000)]
ext-funcoins: Wrappers for configuration entries added

8 years agoNot just default :(
Roland Häder [Tue, 19 Jul 2011 17:34:50 +0000 (17:34 +0000)]
Not just default :(

8 years agoIt is the value, not entry
Roland Häder [Tue, 19 Jul 2011 17:34:17 +0000 (17:34 +0000)]
It is the value, not entry

8 years agoExtension ext-funcoins continued, template helper function added:
Roland Häder [Tue, 19 Jul 2011 17:33:18 +0000 (17:33 +0000)]
Extension ext-funcoins continued, template helper function added:
- Extension ext-funcoins: Configuration basicly finished (but not yet used)
- Template helper doTemplateConfigurationYesNoSelectionBox() introduced which
  will unify yes/no configuration selections.
- TODOs.txt updated

8 years agoBetter this way
Roland Häder [Tue, 19 Jul 2011 15:04:49 +0000 (15:04 +0000)]
Better this way

8 years agoSuperfluous SQL query rewritten to getUserData() call
Roland Häder [Tue, 19 Jul 2011 15:04:10 +0000 (15:04 +0000)]
Superfluous SQL query rewritten to getUserData() call

8 years agoTypo and SQL fixes
Roland Häder [Mon, 18 Jul 2011 14:39:53 +0000 (14:39 +0000)]
Typo and SQL fixes

8 years agoDo better call debug_report_bug() if something bad happened
Roland Häder [Mon, 18 Jul 2011 13:58:04 +0000 (13:58 +0000)]
Do better call debug_report_bug() if something bad happened

8 years agoSQL fixed, generateRandomCode() improved (is now generating better numbers)
Roland Häder [Mon, 18 Jul 2011 10:59:42 +0000 (10:59 +0000)]
SQL fixed, generateRandomCode() improved (is now generating better numbers)

9 years agoTypos fixed
Roland Häder [Sat, 16 Jul 2011 11:32:43 +0000 (11:32 +0000)]
Typos fixed

9 years agoMissing initReferalSystem() call added
Roland Häder [Fri, 15 Jul 2011 22:46:05 +0000 (22:46 +0000)]
Missing initReferalSystem() call added

9 years agoDo not reset accounts on daily reset
Roland Häder [Fri, 15 Jul 2011 22:37:57 +0000 (22:37 +0000)]
Do not reset accounts on daily reset

9 years agoSame date format in user details/list
Roland Häder [Fri, 15 Jul 2011 22:26:33 +0000 (22:26 +0000)]
Same date format in user details/list

9 years agoQueries fixed
Roland Häder [Fri, 15 Jul 2011 22:15:20 +0000 (22:15 +0000)]
Queries fixed

9 years agoWe require FAILED, sorry folks
Roland Häder [Fri, 15 Jul 2011 20:33:00 +0000 (20:33 +0000)]
We require FAILED, sorry folks

9 years agoRemoved deprecated FAILED type
Roland Häder [Fri, 15 Jul 2011 20:27:18 +0000 (20:27 +0000)]
Removed deprecated FAILED type

9 years agoSome improvements to SQL tables
Roland Häder [Fri, 15 Jul 2011 20:20:49 +0000 (20:20 +0000)]
Some improvements to SQL tables

9 years agoExtension ext-funcoins started, some cleanups:
Roland Häder [Fri, 15 Jul 2011 15:40:15 +0000 (15:40 +0000)]
Extension ext-funcoins started, some cleanups:
- ext-funcoins started (only extra table, config entries and menu entries plus
  one script are ready)
- ext-wernis: SQL fixed
- Superfluous duplicate 'POINTS' removed

9 years agoNaming convention: 'cnt' is shortcutting 'count'
Roland Häder [Fri, 15 Jul 2011 11:40:05 +0000 (11:40 +0000)]
Naming convention: 'cnt' is shortcutting 'count'

9 years agoScript action-sponsor.php in guest area doesn't display the navigation link 'You...
Roland Häder [Fri, 15 Jul 2011 11:35:36 +0000 (11:35 +0000)]
Script action-sponsor.php in guest area doesn't display the navigation link 'You are here'

9 years agoExtension ext-mediadata continued, wrapper function introduced:
Roland Häder [Fri, 15 Jul 2011 11:23:30 +0000 (11:23 +0000)]
Extension ext-mediadata continued, wrapper function introduced:
- ext-mediadata: Rewritten output of engine software, version and repository
  data (used revision and when created)
- Wrapper function getDateTimeFromRepository() introduced

9 years agoExtensions fixed/improved:
Roland Häder [Fri, 15 Jul 2011 11:10:01 +0000 (11:10 +0000)]
Extensions fixed/improved:
- ext-rallye: A lot templates renamed and member-related added for better
  naming, language strings swapped out to language file
- ext-active: Fixed missing variable $last
- TODOs.txt updated

9 years agoSQL fixed
Roland Häder [Fri, 15 Jul 2011 10:48:48 +0000 (10:48 +0000)]
SQL fixed

9 years agoNaming convention applied, ext-refback description updated:
Roland Häder [Fri, 15 Jul 2011 10:40:09 +0000 (10:40 +0000)]
Naming convention applied, ext-refback description updated:
- ext-mediadata: renamed _clr to click_rate (better naming)
- ext-refback: Description for refback updated (which the member can see)
- Some minor improvements here and there
- TODOs.txt updated

9 years agoRefback and referal points hopefully fixed:
Roland Häder [Fri, 15 Jul 2011 01:21:46 +0000 (01:21 +0000)]
Refback and referal points hopefully fixed:
- All userids are now initialized NULL and not '0'
- Template added for deleted bonus mails
- Handling of refback and referal points now fully fixed (I hope so)
- Several debug lines extended with more debugging data
- TODOs.txt updated

9 years agoSome CSS classes purged, ol.listing added, extensions fixed:
Roland Häder [Thu, 14 Jul 2011 21:47:54 +0000 (21:47 +0000)]
Some CSS classes purged, ol.listing added, extensions fixed:
- Some out-dated (superfluous) CSS classes purged
- Others fixed/rewritten (really a lot!)
- Extension ext-beg now displays correctly memeber menu entries and SQL query
  is fixed
- Extension ext-refback now sends correct userids out and allows an optional
  note to the recipient
- Other minor improvements/fixes

9 years agoHandled unconfirmed mails, renamed array index
Roland Häder [Thu, 14 Jul 2011 18:53:55 +0000 (18:53 +0000)]
Handled unconfirmed mails, renamed array index

9 years agoReferal id will now always be stored, if valid can be found in GLOBALS array
Roland Häder [Thu, 14 Jul 2011 18:40:50 +0000 (18:40 +0000)]
Referal id will now always be stored, if valid can be found in GLOBALS array

9 years agoEven them a bit longer...
Roland Häder [Thu, 14 Jul 2011 16:02:08 +0000 (16:02 +0000)]
Even them a bit longer...

9 years agoFinal fixes?
Roland Häder [Thu, 14 Jul 2011 15:58:35 +0000 (15:58 +0000)]
Final fixes?

9 years agoNot DEFAULT_POINTS
Roland Häder [Thu, 14 Jul 2011 15:55:49 +0000 (15:55 +0000)]
Not DEFAULT_POINTS

9 years agoMenu entries moved to ext-user:
Roland Häder [Thu, 14 Jul 2011 15:51:40 +0000 (15:51 +0000)]
Menu entries moved to ext-user:
- 'add_points' and 'sub_points' are user actions and should belong into ext-user
- Some minor comment improvements

9 years agoMenu system fixes, list_user simplified:
Roland Häder [Thu, 14 Jul 2011 15:38:07 +0000 (15:38 +0000)]
Menu system fixes, list_user simplified:
- Menu entry 'add_points' has truncated output due to to short VARCHAR
- what=list_user and correspondig functions simplified towards XML-rewrite
- TODOs.txt updated

9 years agoImportant fix for mail and 'percents' renamed to 'click_rate' where it is a click...
Roland Häder [Thu, 14 Jul 2011 13:42:16 +0000 (13:42 +0000)]
Important fix for mail and 'percents' renamed to 'click_rate' where it is a click rate

9 years agoNo die() here
Roland Häder [Thu, 14 Jul 2011 13:10:27 +0000 (13:10 +0000)]
No die() here

9 years agoMissing templates added
Roland Häder [Thu, 14 Jul 2011 13:07:41 +0000 (13:07 +0000)]
Missing templates added

9 years agoCSS class 'pre' is now no longer used, use regular pre tag instead
Roland Häder [Thu, 14 Jul 2011 12:55:26 +0000 (12:55 +0000)]
CSS class 'pre' is now no longer used, use regular pre tag instead

9 years agoFixes for compilation, more EL code:
Roland Häder [Thu, 14 Jul 2011 12:17:57 +0000 (12:17 +0000)]
Fixes for compilation, more EL code:
- More usage of EL code
- Compilation will now compile {OPEN_TEMPLATE} and its brothers out
- Compilation loop count will be added in HTML code and if debug-mode is enabled
- TODOs.txt updated

9 years agoExtension ext-refback continued:
Roland Häder [Wed, 13 Jul 2011 23:11:26 +0000 (23:11 +0000)]
Extension ext-refback continued:
- Templates renamed to naming convention
- Minor improvements here and there
- TODOs.txt updated

9 years ago'guest' may come when e.g. ext-nickname is not installed but a template requested...
Roland Häder [Wed, 13 Jul 2011 11:12:41 +0000 (11:12 +0000)]
'guest' may come when e.g. ext-nickname is not installed but a template requested the user's nickname

9 years agoSome words rewritten
Roland Häder [Wed, 13 Jul 2011 11:10:01 +0000 (11:10 +0000)]
Some words rewritten

9 years agoOld column name fixed
Roland Häder [Wed, 13 Jul 2011 11:01:18 +0000 (11:01 +0000)]
Old column name fixed

9 years agoThis might be more clear
Roland Häder [Wed, 13 Jul 2011 09:22:14 +0000 (09:22 +0000)]
This might be more clear

9 years agoNow we have a listing here
Roland Häder [Wed, 13 Jul 2011 08:56:19 +0000 (08:56 +0000)]
Now we have a listing here

9 years agoMember area section 'referal links' refactured:
Roland Häder [Wed, 13 Jul 2011 08:53:29 +0000 (08:53 +0000)]
Member area section 'referal links' refactured:
- The member can now see how much mails (of minimum) he has clicked to be
  randomly selected as referal id
- He can also see his referal (including nickname if installed&set)
- New CSS class listing for ul/li tags added
- Templates renamed to new naming convention
- TODOs.txt updated

9 years agoDon't miss to rebuild the cache ... :( Maybe a filter is a nicer way here?
Roland Häder [Tue, 12 Jul 2011 22:51:53 +0000 (22:51 +0000)]
Don't miss to rebuild the cache ... :( Maybe a filter is a nicer way here?

9 years agoSome fixes:
Roland Häder [Tue, 12 Jul 2011 22:49:54 +0000 (22:49 +0000)]
Some fixes:
- what-repair_refs.php does now check for latest ext-user
- Drop of 'user_refs' moved from ext-refback to ext-user (opps!)

9 years agoFile renamed to naming convention, ext-repair continued:
Roland Häder [Tue, 12 Jul 2011 22:44:50 +0000 (22:44 +0000)]
File renamed to naming convention, ext-repair continued:
- gen_refback.php renamed to fix_refsystem.php to make it more clear that this
  script is a) generic and b) is fixing the referal system
- Extension ext-repair: The referal system can now be repaired
- TODOs.txt updated

9 years agoMinor cleanups/renaming
Roland Häder [Tue, 12 Jul 2011 22:07:51 +0000 (22:07 +0000)]
Minor cleanups/renaming

9 years agoWrapper introduced, renaming to the naming convention:
Roland Häder [Tue, 12 Jul 2011 21:55:23 +0000 (21:55 +0000)]
Wrapper introduced, renaming to the naming convention:
- Wrapper function getTotalUnconfirmedMails() introduced to shorten things
- But don't shortcut array elements or variables, cnt->count renamed
- TODOs.txt updated

9 years agoIntroduced makeNullToZero()
Roland Häder [Tue, 12 Jul 2011 21:21:36 +0000 (21:21 +0000)]
Introduced makeNullToZero()