Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Events plugin
Post: Events plugin

For anyone that is having an issue with time zones and having to add events a day before/after to show them, there is a fix, although it can't be applied to the plugin - GetSimple has to be tweaked (s...
SamWM Plugins 146 358,651 2011-09-09, 19:55:01
    Thread: Events plugin
Post: Events plugin

Apologies for the bugginess of this plugin, I think something changed between 2.3 and 3 (I was OK till I upgraded). I would appreciate any patches via GitHub, since I am struggling to resolve the cau...
SamWM Plugins 146 358,651 2011-07-31, 23:04:06
    Thread: Events plugin
Post: Events plugin

Some of the issues may be related to when the events_preload() fires. In the root directory (i.e. end user) it is before the HTML is output (and also before the time zone is set), using the hook index...
SamWM Plugins 146 358,651 2011-07-27, 03:18:26
    Thread: Events plugin
Post: Events plugin

I am trying to debug the issues with storing and retrieving the events... there is some code that should set the date to midnight UTC time (keeping times as separate attributes in the xml, to simplify...
SamWM Plugins 146 358,651 2011-07-27, 02:12:54
    Thread: Keep getting "CSRF detected!"
Post: Keep getting "CSRF detected!"

What fixes it for me is changing Code: -- $ip = $_SERVER['REMOTE_ADDR']; -- to Code: -- $ip = ""; // or a random string, as long as it doesn't change between requests -- in the get_nonce function in...
SamWM General Questions and Problems 35 92,756 2011-06-11, 02:42:26
    Thread: Keep getting "CSRF detected!"
Post: Keep getting "CSRF detected!"

Same reason as mine - IP address changing between requests
SamWM General Questions and Problems 35 92,756 2011-06-10, 19:06:16
    Thread: Keep getting "CSRF detected!"
Post: Keep getting "CSRF detected!"

Turning off CSRF via gsconfig.php does work when using SVN version. Also found what is probably the cause of the error... my IP address can occasionally change (depending on which internet gateway I ...
SamWM General Questions and Problems 35 92,756 2011-05-28, 01:52:33
    Thread: Keep getting "CSRF detected!"
Post: Keep getting "CSRF detected!"

I'm also getting 'CSRF Detected' whenever I edit a page as well, even if I clear everything in the rich text box. Only solution for me seems to be to edit the code so it always returns true. Running W...
SamWM General Questions and Problems 35 92,756 2011-05-06, 21:17:34
    Thread: Events plugin
Post: Events plugin

I had the BOM encoding since there were problems with Cyrillic (and other non-latin/ANSI characters) characters being stored in the events XML file and this was an attempt to fix it. Anyone use Cyrill...
SamWM Plugins 146 358,651 2011-04-07, 07:01:03
    Thread: Events plugin
Post: Events plugin

Updated the first post in this topic with an update to this plugin. Apologies for the delay in making changes. I have only tested it in GMT time and English, on a Windows IIS box.
SamWM Plugins 146 358,651 2011-03-26, 09:22:45
    Thread: .htaccess and Windows Hosting
Post: .htaccess and Windows Hosting

I'm aware that PHP_OS only reports the operating system, hence the mention of Apache Windows. I'm a user of XAMPP myself. SERVER_SOFTWARE would be a better check though, just need to check if it conta...
SamWM General Questions and Problems 7 33,599 2010-11-27, 02:13:13
    Thread: .htaccess and Windows Hosting
Post: .htaccess and Windows Hosting

Currently using GetSimple on a Windows host. However, the generation of .htaccess files can cause a problem (every time I go on the health check page for example). This is because some IIS extensions ...
SamWM General Questions and Problems 7 33,599 2010-11-20, 01:58:01
    Thread: Events plugin
Post: Events plugin

Does the navigation work on the admin page, on the content page or neither? Does the month name and the day abbreviations show in the correct language? The links should contain `?month=12&year=2010` ...
SamWM Plugins 146 358,651 2010-11-17, 02:51:24
    Thread: Events plugin
Post: Events plugin

Just an update: PHP files are saved as UTF-8 (with BOM, since for some reason it kept reverting back to ANSI when I edited it) and the original post in this topic has the latest version. Delete data/...
SamWM Plugins 146 358,651 2010-11-06, 20:50:25
    Thread: Events plugin
Post: Events plugin

Didn't think the code page would have an impact on how dates are displayed. My testing is limited to the Windows version of PHP, although that shouldn't make a difference. When I use setlocale, the da...
SamWM Plugins 146 358,651 2010-11-06, 04:27:11
    Thread: Events plugin
Post: Events plugin

Update again (2.1c), was not formatting the date header in the events_list method. For those with encoding problems, try deleting the data/other/events.xml file and see if that makes a difference. The...
SamWM Plugins 146 358,651 2010-10-11, 01:43:00
    Thread: Events plugin
Post: Events plugin

Oleg06 Wrote: -- http://neowebtime.ru/0000/event not working at all when you click on the calendar transition does not occur when you click on the calendar month does not go back Russian text breaks ...
SamWM Plugins 146 358,651 2010-10-10, 02:51:12
    Thread: Events plugin
Post: Events plugin

Hi all, Done another update, but might need further testing. Calender should hopefully show the month name in the appropriate locale (rather than English). Using `setlocale` in the `gsconfig.php` fi...
SamWM Plugins 146 358,651 2010-10-08, 22:11:18
    Thread: Events plugin
Post: Events plugin

Sorry, not been able to spend much time on this recently. Trying to figure out what the problem is, since it is based on code already used by GetSimple. If you open the events.xml in notepad (or which...
SamWM Plugins 146 358,651 2010-08-20, 19:08:37
    Thread: Events plugin
Post: Events plugin

Is the text encoded properly in the XML file (data/other/events.xml)? Not really tested it in other languages, just English. Oleg06 Wrote: -- SamWM Wrote: -- New version attached, rich text enabled....
SamWM Plugins 146 358,651 2010-07-30, 05:27:21
    Thread: Events plugin
Post: Events plugin

Since it just uses php's `date` method, it should hopefully work if you set the locale in the gsconfig.php file (at the bottom). e.g. Code: -- setlocale(LC_ALL, 'sv_SE'); -- You would probably want t...
SamWM Plugins 146 358,651 2010-07-26, 02:39:57
    Thread: Events plugin
Post: Events plugin

I had code like that originally, but found that it was trying to include `admin/php-helper/calender.php` rather than `plugins/php-helper/calendar.php`. Perhaps a Windows issue (tested it on XAMPP and ...
SamWM Plugins 146 358,651 2010-07-26, 02:23:30
    Thread: Events plugin
Post: Events plugin

Hi all, I've created an events plugin people may find useful. Source can be found on GitHub - SamWM/get-simple-plugins (http://github.com/SamWM/get-simple-plugins). Attached plugin code in zip file. ...
SamWM Plugins 146 358,651 2010-07-25, 07:17:37
    Thread: Special css class names for developers
Post: Special css class names for developers

If a developer knew that if all they had to do is add a class to an input and a datepicker would show when the input is clicked, it would mean that they would not have to write any JavaScript (some ma...
SamWM Feature Requests 2 7,627 2010-07-16, 20:29:30
    Thread: Special css class names for developers
Post: Special css class names for developers

How about having special class names that can be used by developers for extra functionality (JavaScript interactivity wise)? For example have an input Code: -- -- and when you click on it a date p...
SamWM Feature Requests 2 7,627 2010-07-13, 20:02:27
    Thread: Removing <p> Tags
Post: Removing <p> Tags

If you want to enter a line break instead of a paragraph, just press `[shift] + [enter]` like you would in most Word Processor's.
SamWM Developer Discussions 6 15,135 2010-07-06, 18:57:07
    Thread: KCFinder for GetSimple 2.x
Post: KCFinder for GetSimple 2.x

Got KCFinder 2 working for me, all I needed to change was uploadURL in kcfinder-2.0\config.php and create an .htaccess file in the kcfinder-2.0 directory. Download v2 of KCFinder http://kcfinder.sunh...
SamWM Plugins 23 69,517 2010-07-02, 20:10:03
    Thread: KCFinder for GetSimple 2.x
Post: KCFinder for GetSimple 2.x

How this to start with, a theme with a dark background (instead of grey)? Unzip to plugins\kcfinder-1.7\themes, it should create a folder called 'getsimple' in it, then change 'theme' => "getsimple" ...
SamWM Plugins 23 69,517 2010-06-30, 01:39:44
    Thread: KCFinder for GetSimple 2.x
Post: KCFinder for GetSimple 2.x

This may also work in config.php: Code: -- 'uploadURL' => "../../data", --
SamWM Plugins 23 69,517 2010-06-29, 20:53:09
    Thread: KCFinder for GetSimple 2.x
Post: KCFinder for GetSimple 2.x

Close to what worked for me. I took out $this->config['uploadDir'] and $this->config['uploadURL'] (lines 62 + 63) from class/class_browser.php since they are set in config.php and you shouldn't real...
SamWM Plugins 23 69,517 2010-06-29, 20:40:48