Index of /mirror/serendipity/additional_plugins/serendipity_event_guestbook/

 Parent Directory
 CVS/
 UTF-8/
 img/
 ChangeLog                            27-Aug-2008 10:11:37  84
 README                               28-Jul-2007 07:28:06  7.8K
 documentation_en.html                28-Jul-2007 07:28:06  7.7K
 lang_bg.inc.php                      25-Jul-2007 07:43:29  4.2K
 lang_de.inc.php                      28-Jul-2007 07:28:06  9.2K
 lang_en.inc.php                      13-Aug-2008 08:16:36  8.0K
 lang_ja.inc.php                      25-Jul-2007 07:43:30  4.1K
 lang_ko.inc.php                      25-Jul-2007 07:43:30  3.8K
 lang_nl.inc.php                      25-Jul-2007 07:43:31  1.1K
 lang_pl.inc.php                      25-Jul-2007 07:43:31  7.5K
 lang_se.inc.php                      25-Jul-2007 07:43:31  7.3K
 plugin_guestbook_entries.tpl         08-Jul-2008 06:07:55  2.9K
 plugin_guestbook_form.tpl            08-Jul-2008 06:07:56  3.5K
 serendipity_event_guestbook.php      27-Aug-2008 19:21:44  39.8K
 serendipity_plugin_guestbook.php     13-Aug-2008 08:17:00  5.9K
 style_guestbook_backend.css          28-Jul-2007 07:28:08  3.5K

README
/**************************************************************** * serendipty_event_guestbook.php, README * * if you have a interesting hack or want to help, * * please leave a message in http://www.s9y.org/forums/ * * have fun! Ian * ****************************************************************/ ------------------------------------- | Version 2.8 - 2007-07-23 | ------------------------------------- - ATTENTION: This version needs you to verify and set/submit the guestbook config again! - Changed lang files. The lang files , and are now up to date. *** If you update other lang files please change the first line to $Id: serendipity_event_guestbook.php, langfile(short name) v2.8 200x/xx/xx name - Images new and moved and old files clean up. *** Deleted the very old 'plugin_guestbook.tpl' file: this confuses newbies. Please do the same! *** button_background.png and shorttime.gif belong into plugins img folder. *** Please delete them in plugin folder to not confuse anybody. *** Added a blank.gif and a info.gif, which actually is the config help picture, into plugins img folder. - Changed plugin_guestbook_form.tpl. *** make use of the new smarty vars *** if set: popup and show messages *** Now a user using the popup issue can view his entry after DB INSERT. *** changed action="{$plugin_guestbook_action}#entry" to action="{$commentform_action}?frontpage#feedback" inside plugin_guestbook_form.tpl. This seems necessary if you use a static page as your start page. Be sure to have the staticpage plugin in order before the contactform and guestbook plugin. Well, actually the '?frontpage' will be done in serendipity_event_guestbook.php. *** added admin stuff *** modified some css - Changed plugin_guestbook_entries.tpl. *** make use of the new smarty vars *** if set: order form on top or end and be able to even link to the form *** moved some things around *** added admin stuff and a missing , which seems nessessary! *** modified some css - Changed, cleaned and modified the style_guestbook_backend.css *** you may put a very own version of both tpl and css files inside your template folder. >> GH: TEMPORARILY DEACTIVATED - One extra dynamic field added (dyn). *** I don't think there is any need to use mgroeninger's excellent dynamic function from contactform. - In order to make things more configurable, these vars were changed or added (see also the lang files): *** 'headline' *** staticpage headline on top of page, by Garvin (v. 2.7). *** 'intro' *** is used for free additional text entry on top of guestbook page. *** 'pageurl' *** now called permalink, while pagetitle is used as the original (1.x) pageurl and for staticpage_pagetitle, see below. (Sounds a bit messy, I know, but this is more straight!) *** 'pagetitle' *** is used in staticpages and other templates and defines the URL of the page 'index.php?serendipity[subpage]=name'. *** 'formorder' *** decide to have form appear first, default is form at end of entries. *** 'formpopup' *** decide to have the form appear in a popup page, default (yes) is no popup. >>GH:TEMPORARILY DEACTIVATED! *** 'showdynfield' *** this is a basic dynamic field as a mysql varchar(100) field. Use with a input field in plugin_guestbook_form.tpl and as a text output in plugin_guestbook_entries.tpl. I tried it with a tinyblob field, but it is not a very good idea to store binary data in databases, and so I came back to this small input text field. If you want to change this field with another label name, set config dynfield to the new name and submit. - Fixed a small bug in paginator function. - General code clean up and moved things around. More documented code. - Now this really is a fully template version (99.9% ;-)). *** Moved some remaining divs and some admin stuff into the tpls. *** Sorry, there are still some needs inside functions for remaining line breaks and the urls of the paginator function. - Good news! The code for the staticpage plugin at the end oft this page is obsolet by now. *** We'll keep the compatibility to 1.x until next 3.x release. Well, actually this version should be 3.0..... ------------------------------------- | Version 2.5 to 2.7 - 2007-??-?? | ------------------------------------- - some tweaks by Garvin ------------------------------------- | Version 2.0 to 2.4 - 2006-10-06 | ------------------------------------- - Some link generation changes to function generate_EntriesPage() to make it work with/without mode_rewrite - Entries SQL query and show now execute only when user is in 'entries view' or 'entry done' mode - Guestbookform tpl action url is now: $serendipity['baseURL'] . $serendipity['indexFile'] . '#entry' - Changed sidebar serendipity_event_staticpage.php to be compatible to guestbook 2.0 version too (code1). In case you allready used this plugin to show a link to the guestbook plugin in your sidebar, please go into admin panel, go to static pages, and say yes again to show guestbook plugin. Doing this, changes to code will take effect. - Made sidebar serendipity_plugin_guestbook work with 2.0 version only - Target admin mail address should now be compatible to old guestbook version 1.38 - just one targetmail used - Markup config var makes tpl based entries textfield output get parsed through S9y standard text formatting and converting standard smilies - Change old guestbook table now works for mysql (only?) - More cleanup / renaming and reconfigured wordwrap in config for 2.0 final - Now the guestbook should work well with/without CAPTCHAS - this needed a new config variable so please check your Captchas settings in spamblock and! guestbook plugins - Generell clean up and messages tweaks. - Now serendipity_event_guestbook is nearly full template based (see plugin_guestbook_entries.tpl and plugin_guestbook_form.tpl) - You will find images shorttime.gif, button_background.png and delete.png in $this_plugin/img dir now. - Change css (style_guestbook_backend.css) and template files to your needs - Please check other lang files - actualy only , and will work! - Permalink ("pageurl") is a full path from http root eg. "/serendipity/pages/guestbook.html" or "/serendipity/index.php?/pages/guestbook.html" (see mod_rewrite) - Please Note: This version is making use of plugin::spamblock features and captchas (disabled for admins), - Please Note: timelock and sessionlock config vars will not be used anymore - removed by table update Code1: serendipity_event_staticpage.php line 560 in version 3.36 case 'serendipity_event_guestbook': $q = 'SELECT value FROM '.$serendipity['dbPrefix'].'config WHERE name LIKE \'serendipity_event_guestbook%version\''; $s = serendipity_db_query($q, true, 'assoc'); $q = 'SELECT value FROM '.$serendipity['dbPrefix'].'config WHERE name LIKE \'serendipity_event_guestbook%pageurl\''; $ret = serendipity_db_query($q, true, 'assoc'); if (is_array($ret)) { if($s['value'] == '2.0') { $page[$plugin]['name'] = PLUGIN_GUESTBOOK_TITLE; } else { $page[$plugin]['name'] = GUESTBOOK_TITLE; } if ($serendipity['rewrite'] == 'none') { #$page[$plugin]['link'] = $serendipity['serendipityHTTPPath'] . $serendipity['indexFile'] .'?serendipity[subpage]=' . $ret['value']; /*value should be either /serendipity/index.php?/pages/guestbook.html in case of rewrite == false or */ $page[$plugin]['link'] = $serendipity['serendipityHTTPPath'] . $ret['value']; } else { /* /serendipity/pages/guestbook.html in case of rewrite == true */ $page[$plugin]['link'] = $ret['value']; } } break;
Powered by Netmirror.org – Hosted by Cityreview (DE, AT, CH, NL, BE, IT, US, UK, ES, FR, CN)