Log in

Stats

  • Category: Tools
  • License: GNU General Public License (GPL) version 2
  • Updated: 2012-9-26
  • Downloads: 411
  • Recommendations: 9

Releases


Previous releases:

Other Projects

iionly's plugins:

[Minimal Hide Search Box plugin for Elgg 1.8] for Elgg 1.8

This plugin hides the seach box from site visitors not logged-in.

Last updated 240 days ago

This plugin contains the most simple code to hide the search box from site visitors who are not logged-in.

No framework necessary!

I thought it would be enough guidance when I posted the complete code necessary in the discussion thread where this question was asked. But it seems copy+paste is not as easy as I thought...

Even more annoying when some people take the ready-to-use code and blow it out of proportion with some unneeded "framework" (aka "self-praise") dependencies...

Install instructions:

  1. Copy the plugin folder in your mod directory,
  2. Enable the plugin in the admin section of your site,
  3. Done.

 

Release notes:

First and most likely last release.

Comments

  • iconMatrix 240 days ago

    Love it!

  • costakisc 240 days ago

    lulz

  • Liang Lee 240 days ago

    @iionly grate, tell me one thing that why people abuse other projects?

  • TheMuller 240 days ago

    I love chick fights. Some mud please..?!

    Recommend plugin, thanx

  • sadraict 240 days ago

    Love it thnx.

  • rjcalifornia 239 days ago

    Awesome :D

  • costakisc 239 days ago

    funny, i saw a code almost identical to this that somebody added a framework to, after they copied and pasted this code from a comment, and added a copyright to..........what a smuck that guy is. Recommended plugin, nice job iionly

  • DhrupDeScoop 239 days ago

    @costa:

    PlZ tellme -- what's a 'smuck' ?
    and who r u tokkin abt anyways ?

  • costakisc 239 days ago
    an obnoxious or contemptible person. and will keep it polite and not actually name him, but i think he is one of your favorite people on here..lulz.  I believe he was the reason behind the creation of this plugin  
    :p
  • DhrupDeScoop 237 days ago

    This is the code (for hiding the search box for non-logged-in users) as written by IIOnly for his 'minimal_hide_search' plugin :-
    <?php
    elgg_register_event_handler('init', 'system', 'minimal_hide_search_init');
    function minimal_hide_search_init(){
    if(!elgg_is_logged_in()){
        elgg_unextend_view('page/elements/header', 'search/header');
        }
    }
    ?>
    GRAND TOTAL #Lines = 4
    ELGG TOTAL #Lines = 2
    no fat, no cholesterol, no mascara, no framework - *only *four *lines of php code . anyone is quite free and welcome to not use IIOnly's mean lean short to-the-point plugin or to use any other plugin - that might perform similar functions and fufils needs -  even if people might just be happy with the other plugin's size :-
    GRAND TOTAL #Lines = 269  ?
    ELGG TOTAL #Lines = 16 ?
    there is freedom to choose in this world of elgg plugins - choose 4 lines or choose 269 lines of code for your plugins - whatever helps you make your day and your website better for you.

  • GuuugleMe 181 days ago

    whell, some people think that they will be more popular and famose if they have "created" hundreds of plugins, even if they are just copy-paste and masked with some unnesesery codes, and the biger the plugin is the better it should be... hm, maybe that works for kindergarten fans, but for me, and probably for 99,99 % of users the most popular programmers are those who write compatibile and usefull plugins and who upgrade or modifie those hundreds of plugins which are old and abandoned by their own creator... and for me, even better are those who can combine two or more plugins into one, functional... i,m just tired of those red error messages because uncompatibility... I immediately remember of BSOD on windows... old programmer will probably remember how annoying was the time of BSOD  :(  So, please, copy, paste, merge, combine, write, test, do anything what is needed to give us, users, plugins which will work no matter what you must do... "the purpose justifieds the means" or in my language: "cilj opravdava sredstva" ... tnx <3