<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="https://wiki.phpwcms.org/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://wiki.phpwcms.org/feed.php">
        <title>phpwcms-HowTo:wiki english:other-enhancements:hacks</title>
        <description></description>
        <link>https://wiki.phpwcms.org/</link>
        <image rdf:resource="https://wiki.phpwcms.org/lib/images/favicon.ico" />
       <dc:date>2026-04-07T05:08:16+02:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://wiki.phpwcms.org/doku.php/english/other-enhancements/hacks/cp-as-standard-selection?rev=1528042146&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.phpwcms.org/doku.php/english/other-enhancements/hacks/form-result-download-csv?rev=1528042146&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.phpwcms.org/doku.php/english/other-enhancements/hacks/guestbook-ban-ip?rev=1528042146&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.phpwcms.org/doku.php/english/other-enhancements/hacks/guestbook-hide_entry?rev=1265836321&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.phpwcms.org/doku.php/english/other-enhancements/hacks/slimbox-multilingual?rev=1528042146&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.phpwcms.org/doku.php/english/other-enhancements/hacks/superuser?rev=1528042146&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://wiki.phpwcms.org/lib/images/favicon.ico">
        <title>phpwcms-HowTo:wiki</title>
        <link>https://wiki.phpwcms.org/</link>
        <url>https://wiki.phpwcms.org/lib/images/favicon.ico</url>
    </image>
    <item rdf:about="https://wiki.phpwcms.org/doku.php/english/other-enhancements/hacks/cp-as-standard-selection?rev=1528042146&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-06-03T18:09:06+02:00</dc:date>
        <title>CP as standard selection</title>
        <link>https://wiki.phpwcms.org/doku.php/english/other-enhancements/hacks/cp-as-standard-selection?rev=1528042146&amp;do=diff</link>
        <description>With this hack, a content part are defined in the BE as the default choice in the list, the focus (selected) lies in the selection of the registered CP. 




Necessary preparations


- as there are:

	*  enter the switch $phpwcms['custom_cp_select']  = CP-No;  in  conf.inc.php 
	*  The file include/inc_lib/backend.functions.inc.php has to be changed a little bit (small hack)</description>
    </item>
    <item rdf:about="https://wiki.phpwcms.org/doku.php/english/other-enhancements/hacks/form-result-download-csv?rev=1528042146&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-06-03T18:09:06+02:00</dc:date>
        <title>Form results to a CSV file</title>
        <link>https://wiki.phpwcms.org/doku.php/english/other-enhancements/hacks/form-result-download-csv?rev=1528042146&amp;do=diff</link>
        <description>FIXME Translate

CP form: With this hack you can save the form inputs in BE by using the &lt;span class=&quot;important&quot;&gt;download button&lt;/span&gt; as a CSV file. 
(&lt;http://de.wikipedia.org/wiki/CSV_(Dateiformat)&gt;)

The solution presented here adds a CSV download link in the requested download output. 
&lt;span class=&quot;important&quot;&gt;&lt;/span&gt;&lt;span class=&quot;important&quot;&gt;&lt;/span&gt;&lt;span class=&quot;important&quot;&gt; Download CSV file&lt;/span&gt;&lt;span class=&quot;important&quot;&gt;download button&lt;/span&gt;&lt;span class=&quot;important&quot;&gt;&lt;/span&gt;&lt;span class=&quot;importa…</description>
    </item>
    <item rdf:about="https://wiki.phpwcms.org/doku.php/english/other-enhancements/hacks/guestbook-ban-ip?rev=1528042146&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-06-03T18:09:06+02:00</dc:date>
        <title>Guestbook ban IP</title>
        <link>https://wiki.phpwcms.org/doku.php/english/other-enhancements/hacks/guestbook-ban-ip?rev=1528042146&amp;do=diff</link>
        <description>A small enhancement for the guest book to make the the still missing “banned IP feature” possible.  

Docu: -- 

Forum: --

Autor: K.Heermann (flip-flop) &lt;http://planmatrix.de&gt; 

CMS version: &gt;= 1.4 

Version: V1.0 



Tag (in guestbook template): &lt;!--BAN_IP_START--&gt; xxx.yyy.zzz.uuu xxx.yyy.zzz.* xxx.yyy.*.* &lt;!--BAN_IP_END--&gt; 

&lt;span class=&quot;important&quot;&gt;*&lt;/span&gt;</description>
    </item>
    <item rdf:about="https://wiki.phpwcms.org/doku.php/english/other-enhancements/hacks/guestbook-hide_entry?rev=1265836321&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-02-10T22:12:01+02:00</dc:date>
        <title>Guestbook hide entry</title>
        <link>https://wiki.phpwcms.org/doku.php/english/other-enhancements/hacks/guestbook-hide_entry?rev=1265836321&amp;do=diff</link>
        <description>FIXME translate

A small enlhancement  to turn new  guestbook entries invisible until they have been edited by admin (released) in BE.

Explanation:

	*  After submitting a new entry, a ”[##]” is placed at the beginning of the message text automatically (mini-hack).
	*  All entries including a ”[##]” will not be displayed in the FE output, or an alternative text is displayed. (Template/cp-trigger Script).
	*  If ”[##]” will be deleted from the entry in BE, the entry in FE will become visible.  (…</description>
    </item>
    <item rdf:about="https://wiki.phpwcms.org/doku.php/english/other-enhancements/hacks/slimbox-multilingual?rev=1528042146&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-06-03T18:09:06+02:00</dc:date>
        <title>Slimbox: Multilingual</title>
        <link>https://wiki.phpwcms.org/doku.php/english/other-enhancements/hacks/slimbox-multilingual?rev=1528042146&amp;do=diff</link>
        <description>Version for MooTools V1.2.x

File: template/lib/slimbox/slimbox.mootools-1.2.js

In newer versions of the CMS: /template/lib/slimbox/slimbox.mootools-1.2.js


This sequence 

// AUTOLOAD CODE BLOCK (MAY BE CHANGED OR REMOVED)
Slimbox.scanPage = function() {
    $$(&quot;a&quot;).filter(function(el) {
        return el.rel &amp;&amp; el.rel.test(/^lightbox/i);
    }).slimbox({/* Put custom options here */}, null, function(el) {
        return (this == el) || ((this.rel.length &gt; 8) &amp;&amp; (this.rel == el.rel));
    });…</description>
    </item>
    <item rdf:about="https://wiki.phpwcms.org/doku.php/english/other-enhancements/hacks/superuser?rev=1528042146&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-06-03T18:09:06+02:00</dc:date>
        <title>Superuser [BE]</title>
        <link>https://wiki.phpwcms.org/doku.php/english/other-enhancements/hacks/superuser?rev=1528042146&amp;do=diff</link>
        <description>Backend: This is a really dirty solution but it works well and should be a fine quick hack to let users work with admin rights but not edit admin section without special superuser check. 

Docu: -- 

Forum: Quick and dirty Superuser functionality</description>
    </item>
</rdf:RDF>
