1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 12:48:24 +01:00

165 Commits

Author SHA1 Message Date
CaMer0n
6c790d9ab6 renamed internal shortcode variable from 'eParserVars' to 'var'. ie. use $this->var['field_name'] inside shortcode batches. 2012-04-24 11:22:07 +00:00
CaMer0n
62e92a2621 Shortcode handler was failing to load classes under some conditions. Also added some debug info. (use e107 debugger for Firefox in SC mode) 2012-04-23 01:21:06 +00:00
secretr
1d411f1715 Simplify plugin folder structure (shortcodes/ folder in plugin root), refactoring forums to meet the new structure. 2012-01-06 10:05:32 +00:00
secretr
8e80b45ddb missing variable (typo) 2011-11-22 12:52:34 +00:00
e107steved
13f51c79c3 Change shortcode handler so you can use a non-registered shortcode class or array, without the shortcodes getting registered, and without having to permit other registered shortcodes. Modify event calendar to use this method (gets rid of callScFunc() ) 2011-03-24 21:29:45 +00:00
secretr
976aaadcac eVars/abstract batch shortcode minor improvements 2010-12-07 13:30:22 +00:00
secretr
83d4098f55 php warning removal 2010-10-26 08:25:01 +00:00
CaMer0n
2be5225d17 Also display shortcode timings when debug=time 2010-09-10 01:00:36 +00:00
secretr
fb6aba7f60 Fixed e_ajax parse error from previous commit 2010-07-27 10:45:55 +00:00
mcfly
5319933aa1 Moved check for existing shortcode class down, after we've determined what the 'real' class name is. 2010-04-26 15:05:59 +00:00
secretr
d026ec91ab Shortcode parser: batch class name fix again - just a bad day today 2010-04-26 13:47:12 +00:00
secretr
9a3355f733 Shortcode parser: batch class name fix 2010-04-26 13:16:44 +00:00
secretr
597cc1b31c Shortcode parser: batch path fix - missing 'core' part 2010-04-26 13:11:08 +00:00
secretr
78e85fb0ed Shortcode parser: variable/methods name fix, news event trigger mentioned by the recent commit 2010-04-25 15:04:53 +00:00
secretr
e0c8e76f70 Shortcode parser: fixed number of errors, more major changes, getScBatch will now auto-register batch (no need of registerShortcode() call), added new example of sc handler usage (news), work in progress 2010-04-25 13:52:14 +00:00
secretr
4e8be9a7b8 Shortcode parser: fixed number of errors, e107 method getScObject renamed to getScBatch, added new example of sc handler usage (news), work in progress 2010-04-24 11:39:14 +00:00
secretr
9fb7e748bb Shortcode parser: more code cleanup, still work in progress 2010-04-24 09:58:02 +00:00
secretr
26e4de97e6 Shortcode parser: major changes (could break stuff), e_shortcode renamed to e_parse_shortcode, abstract e_shortcode class added, functions moved to e_parse_shortcode, more to do, getScObject added to e107 class, work in progress 2010-04-23 15:54:11 +00:00
secretr
0488a2b70c Simple parse via parseTemplate added, small improvements 2010-02-19 15:10:40 +00:00
CaMer0n
316fe99fbb Removed the need for pre-registration of core shortcode classes 2010-02-10 23:11:54 +00:00
CaMer0n
1a5dfa27c6 override folder is now e107_core/override/ 2010-02-10 22:18:57 +00:00
CaMer0n
caa79b6454 Shortcode path fixes 2010-02-10 21:53:56 +00:00
secretr
4fecfffddd svn keywords added (v0.8) 2010-02-10 18:18:01 +00:00
secretr
a4c80b99e2 __autoload - plugin and core batch auto-detection added, still no support for plugins e_shortcode.php (see comments) 2010-02-03 11:08:36 +00:00
mcfly
3042ab26c2 New functionality to allow parsing of vars and shortcodes with single pass or parseTemplate 2010-01-23 16:41:56 +00:00
e107steved
17b98ac017 Another attack on globals and notices 2009-12-17 22:47:20 +00:00
secretr
84c75d3c5b admin UI - better 'layout' type interface; old featurebox 'method' disabled, shortcode handler reset scClass object method added (start of 'functions to methods' task) 2009-12-12 16:40:41 +00:00
CaMer0n
8d0028afe1 allow classes within core shortcodes (.php) + sitelinks duplication fix. 2009-11-23 10:27:43 +00:00
e107steved
3d28c5a88b Support backticks in db checking, comments in db definition files, other minor tweaks 2009-11-20 22:23:02 +00:00
CaMer0n
1377b23532 Fix copyright info. 2009-11-18 01:06:08 +00:00
marj
c3c7b3ca96 PHPdoc fix 2009-11-17 15:29:33 +00:00
secretr
df36ed2f6c __autoload handles core handlers now 2009-10-20 16:00:38 +00:00
secretr
d8655ff1b4 sc parser - object overloading now supported 2009-09-25 20:15:19 +00:00
CaMer0n
7390c49b08 Fixed typo 2009-09-21 22:25:22 +00:00
CaMer0n
c0e66e0f59 Plugin category 'menu' added - for menu only installs. (while supporting e_xxxx). siteinfo_shortcodes.php moved to siteinfo plugin: e_shortcode.php 2009-09-19 17:43:19 +00:00
CaMer0n
f6af8b30ef e_sc renamed to e_shortcode and activated in shortcode handler. /banner.php now uses the banner plugin. Banner language file cleanup. 2009-09-18 22:20:40 +00:00
secretr
e5757808f8 shortcode parser: register object (instead class name) added, overall code cleanup, phpDoc started, some future attention needed (better class methods organization) 2009-08-20 16:41:29 +00:00
secretr
9c219f52a9 more e107 class & API cahnges:
- magic __get() added to e107 and e_parse classes;
- resolved sch_load() related issues;
- more object getter;
2009-07-23 15:29:07 +00:00
CaMer0n
03715cc464 renamed get_function_name() changed to sc_function_name() for shortcode functions. Removing confusion with get_userdata, get_userclasses and other get_ functions built into PHP. 2009-07-21 06:31:23 +00:00
CaMer0n
8fa5d97fde Finally the debugger shows only what it's meant to and no longer creates Xhtml errors in some cases. 2009-07-12 02:29:24 +00:00
lisa
90d244601a notice removal 2009-02-03 11:59:12 +00:00
mcfly
6633e23f94 Added setScVar() function to shortcode handler, modified forum and news to use new function. More work on new level handler, implemented it in forum shortcodes. 2009-01-25 17:44:13 +00:00
mcfly
21f4629908 Improved news shortcode handlingImplemented new shortcode override/ directory. Any .sc file found here will override any other shortcode anywhere. 2009-01-16 01:02:41 +00:00
lisa
9c69982711 added function to initialise the shortcode class 2009-01-15 22:04:45 +00:00
lisa
8a65ec6bf8 $sc_mode as second parm 2009-01-15 20:18:46 +00:00
lisa
ed881b3da1 typo correction 2009-01-15 18:57:02 +00:00
mcfly
4c4b378bd0 Converted all admin_xxxx shortcodes to using batch shortcode file 2009-01-09 01:12:18 +00:00
mcfly
feed586bcb Converting related core shortcodes to use batch class->method functionality. 2009-01-08 21:47:44 +00:00
mcfly
d7b8b858cc Check for userclass set in shortcode, and do not render if not permitted 2009-01-08 20:16:47 +00:00
mcfly
ddff8df497 Reworked the shortcode handler again. This should now fully support the old .sc and the newer function (oor class->method) styles. I hope I didn't break it too much. 2009-01-08 17:23:13 +00:00