Roland Häder [Tue, 23 Aug 2011 14:57:56 +0000 (14:57 +0000)]
Extension ext-network continued, "translation" function introduced:
- Already added network type handler configuration can now be displayed (shown)
and changed
- Most advertising networks require "hours" for reload time, but other may
require different time units, therefore a new entry has been added to table
'network_types_config' to reflect these differences
- "Translation" function 'translateTimeUnit()' introduced which can "translate"
time units (like W for weeks) into human-readable
- Function createFancyTime() uses now EL code (see newly introduced function)
- TODOs.txt updated
Roland Häder [Mon, 22 Aug 2011 18:15:21 +0000 (18:15 +0000)]
Extension ext-network continued:
- Network types handler can now be added (yet a template for showing saved data
needs to be added)
- Several minor improvements
- todo-builder.sh does now search for .htaccess files with something to do
- TODOs.txt updated
Roland Häder [Sun, 21 Aug 2011 10:39:04 +0000 (10:39 +0000)]
Extension ext-network continued, links in bug report mail added:
- General German README.txt file updated (mostly how it is written)
- Missing templates for configuring network types added (still one is missing)
- Title of this project added to all 'developer team' text blocks
- Links to forums, bug tracker and DokuWiki added to mail template for bug
report. Please remember that this mail does not reach the developer team.
Roland Häder [Sun, 21 Aug 2011 09:02:36 +0000 (09:02 +0000)]
Extension ext-network continued:
- Offline documentation updated
- Fixed wrong parameter 'hash' for advertisement network 'FuCoExSponsor' and
added sub-tracking id for all types
Roland Häder [Thu, 18 Aug 2011 23:04:06 +0000 (23:04 +0000)]
Extension ext-network continued, functions renamed:
- Loading of network types handler configuration implemented (with missing
templates which will follow next commit)
- Functions makeFooToBar() renamed to convertFooToBar(), functions with this
(convert) prefix will be used in PHP scripts and some templates, compared to
translateFooBar() which will be used only in templates as "translation
helper"
- DOCS/debug-lines.log ignored which will be used to identify commented-in
debug lines
- TODOs.txt updated
Roland Häder [Thu, 18 Aug 2011 02:18:18 +0000 (02:18 +0000)]
Admin menu has now a JavaScript "effect":
- Admin menu system can now be JavaScript-enabled. You need to enable JavaScript
in your browser to see the full "effect". If you leave it disabled, all menus
are fully displayed
- The helping text in admin area won't work in JavaScript-enabled mode
- Generic word 'mode' replaced on all (!) places to make it everywhere more
clear which "mode" I mean there
- TODOs.txt updated
Roland Häder [Tue, 16 Aug 2011 20:46:22 +0000 (20:46 +0000)]
Admin menu prepared for AJAX requests:
- Admin menu system prepared for later updates (e.g. AJAX-driven) by adding ids to li-tags
- 2 internal TODOs closed to rewrite to SQL_FETCHARRAY()
- TODOs.txt updated
Roland Häder [Tue, 16 Aug 2011 15:16:13 +0000 (15:16 +0000)]
Cleanups and all "base scripts" fixed:
- Referral listing in admin area fixed and deprecated code removed (cleanup)
- All "base scripts" now set start time (to avoid later missing elements)
- I missed to update 0.4.6 for ext-user, now it is updated
- Non-set timestamps are now NULL (was still in ext-user)
- TODOs.txt updated
Roland Häder [Mon, 15 Aug 2011 18:18:05 +0000 (18:18 +0000)]
Extension ext-network continued:
- Table 'network_error_types' is no longer needed, the 'handler' value is
written directly in table 'network_error_codes'.
Roland Häder [Sun, 14 Aug 2011 03:57:13 +0000 (03:57 +0000)]
Extension ext-beg improved, better EL code used:
- Two language strings merged together (ext-beg)
- Template call-back function {%template,DisplayUsername=$fooUserid%}
introduced for encapsulated displaying of userid / nickname
Roland Häder [Sun, 14 Aug 2011 01:24:09 +0000 (01:24 +0000)]
- The update of jquery caused an about with missing variable $this which is
caused by the code "compiler" (see FILTER_COMPILE_CODE() and eval() command
in loadTemplate()). If I would prevent "compiling" dollar chars, also
JavaScript templates e.g. from ext-surfbar won't work anymore.
- TODOs.txt updated
Roland Häder [Sat, 13 Aug 2011 16:10:08 +0000 (16:10 +0000)]
Extension ext-network continued:
- All button language ids renamed to better naming convention, suffix is
_SUBMIT because the language id will be placed on a submit button
- Also many other language id renamed
- Referral link and 88x31 button added, now the webmaster (you!) can enter his
or her referral link and a 88x31 formatted banner which are planned to be
displayed in guest and member area (not yet finished)
- TODOs.txt updated
Roland Häder [Fri, 12 Aug 2011 20:58:25 +0000 (20:58 +0000)]
Large code cleanups:
- Typo 'referal' fixed (should be 'referral', really!)
- Several queries improved with back-ticks and formatting
- TODOs.txt updated
Roland Häder [Fri, 12 Aug 2011 19:30:02 +0000 (19:30 +0000)]
HTTP-related functions refactured:
- Function extractHostnameFromUrl() moved to http-functions.php
- Now all sendFooRequest() functions, except sendRawRequest() are having the
structure in first lines (POST requests doesn't have parts in URL for this
script).
- TODOs.txt update
Roland Häder [Fri, 12 Aug 2011 01:08:01 +0000 (01:08 +0000)]
Extension ext-network continued:
- Some language ids renamed (better naming)
- Function isNetworkApiConfigured() introduced which checks if a network API is
already configured by given network id
- Variable $id renamed to $networkId
- Wether the network API is configured is now displayed in network selection box
General:
- CSS classes 'good' and 'bad' added (but unused)
Roland Häder [Thu, 11 Aug 2011 23:37:01 +0000 (23:37 +0000)]
Extension ext-network continued (sorry guys for all these splitted commits):
- Renamed database table 'network_config' to 'network_api_config'
- Also renamed all to above table belonging PHP script, template and language
strings
- TODOs.txt updated
Roland Häder [Thu, 11 Aug 2011 23:28:51 +0000 (23:28 +0000)]
Extension ext-network continued:
- Saving of network API configuration data basicly finished
- Function getUpdateSqlFromArray() introduced which "converts" an array (both
one- and two-dimensional) into an SQL query for updating database tables
- TODOs.txt updated
Roland Häder [Thu, 11 Aug 2011 22:33:08 +0000 (22:33 +0000)]
Extension ext-network continued, ext-iso3166 cleared
- Column 'network_active' renamed to 'network_api_active'
- Same for "translation" function
- Extension ext-iso3166 is now made empty
- TODOs.txt updated
Roland Häder [Thu, 11 Aug 2011 21:42:46 +0000 (21:42 +0000)]
Extension ext-network continued:
- All advertising networks are now configured in a separate form
- Link to network configuration added
- Language ids renamed and text updated to reflect latest code changes
- TODOs.txt updated
Roland Häder [Thu, 11 Aug 2011 19:32:41 +0000 (19:32 +0000)]
Extension ext-network continued:
- network-check.php renamed to network-vcheck.php to make to most German
webmasters clear what this script is about :)
- TODOs.txt updated
Roland Häder [Thu, 11 Aug 2011 18:39:49 +0000 (18:39 +0000)]
Extension ext-forced/network continued:
- README.txt added for how you have to name your design (folder/directory name
only). Don't forget to set the real (displayed) name in theme.php.
- Extension ext-forced continued: Template for editing forced-ads added
- Some language ids in ext-network renamed
Roland Häder [Wed, 10 Aug 2011 19:38:10 +0000 (19:38 +0000)]
Extension ext-admins improved:
- The menu point what-admins_contct does now provide a shiny new selection box
fully made of templates
- Fixed admin contact link (still there are a lot copies around in the script)
- TODOs.txt updated
Roland Häder [Wed, 10 Aug 2011 18:44:11 +0000 (18:44 +0000)]
Extension ext-admins updated:
- We don't shortcut names of any columns, array elements et cetera. This may
lead to misunderstandings of the code.
- More EL code used in ext-admins
- Function getAdminMenuMode() introduced
- Internal TODO closed (SQL_FETCHARRAY() shall be more used)
- TODOs.txt updated
Roland Häder [Wed, 10 Aug 2011 02:12:28 +0000 (02:12 +0000)]
Extension ext-network continued/fixed:
- Advertising network 'allads4you' updated: allowed countries and minimum stay
now is for all advertising types
- New api array translation "allowed_countries" added
- SQL fixed in ext-network
- Language ids renamed to match with database column
Roland Häder [Wed, 3 Aug 2011 16:11:27 +0000 (16:11 +0000)]
Extension ext-earning continued:
- JOIN doesn't work if the joined table contains data but with wrong entries,
so it needs be splitted up into two queries
- Renamed earnings->earning
- TODOs.txt updated
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