Jump to content

ipbfuck

Members
  • Posts

    875
  • Joined

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Posts posted by ipbfuck

  1. i've customized xml with this:

    /* !Hook Data - DO NOT REMOVE */
    public static function hookData() {
     return array_merge_recursive( array (
      'globalTemplate' => 
      array (
        0 => 
        array (
          'selector' => 'html > head',
          'type' => 'add_inside_end',
          'content' => '
    {{if \IPS\Member::loggedIn()->member_id === NULL}}
    {{if settings.cookieNotice_js == 1}}
    <script src="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/1.0.9/cookieconsent.min.js"></script>
    {{else}}
    <script src="{resource=\'plugins/cookieNotice.js\' app=\'core\' location=\'global\'}"></script>
    {{endif}}
    
    <script>
    ....
    </script>
    {{endif}}',
        ),
      ),
    ), parent::hookData() );
    }
    /* End Hook Data */

     

    now is only for guest ;)

  2. i've make review (5star), but i cannot see atm...

    anyway: installed, translated in ita (inserted translation in review), all work fine but just a small request:

    continue....PNG

    ... and continue!

     

    so, very long javascript in source, also for admin/user (cookie already accepted - or, anyway, not necessary).

    then, in my opinion, is best to put this javascript in js file and, maybe, a simple flag "by usergroup" (anyone can enable just for guest and remove unuseful code for logged member) ^_^

     

    thanks in advance if reply,

    S.N.

     

  3. i've simply add an id to ads, and removed with something like this:  $( "#adsid" ).remove(); added only in page where i want remove (eg in a sidebar block) ;)

    imho, more simple :)

    u can test in my laltroweb.it/tools/bugtrack/ page.

    (ads in sidebar is removed here)!

     

    regards...

     

     

  4. Edit: this work in forum:

    [data-forumid="1"] .fa::before {content:"\f1ea";} /* news icon forum id=1 */

    and this in pages database:

    [data-categoryid="1"] .fa::before {content:"\f121";} /* code icon database id=1 */

     

    U can choose icons from here: https://fortawesome.github.io/Font-Awesome/icons/

    and copy "Unicode" format (+ a backslash).

     

    thats is all (i've put all in custom.css) :)

     

    Cattura.PNG.babdd964bd913706af47b9e92b6d

  5. Hi!

    Like from object,

    can be a great feature add ability to change category icon in pages database via category settings.

    otherwise, atm, all category contain same icon and this isn't a great view.

    i hope this can be implemented in feature release :)

    -

    Edit: this can be a good feature also in forum category...

    -

    regards,

    S.N.

  6. I can't enable cause a different url with ssl.
    My host (freehosting) support ssl only with subdomain: darkwolf.ssl.altervista.org nor with vhost (vhost isn't released to all users).
    Even, i've try to enable with this but this cause an apikey issue for different domain.

    -
    Solution, new hosting or attend a new release without apikey :)

×
×
  • Create New...