Jump to content

Leaderboard

  1. Darius

    Darius

    Apprentice


    • Points

      1

    • Posts

      43


  2. Technologx

    Technologx

    Contributor


    • Points

      1

    • Posts

      172


  3. Tony

    Tony

    Administrator


    • Points

      1

    • Posts

      5,256


  4. Justin™

    Justin™

    Retired Staff


    • Points

      1

    • Posts

      369


Popular Content

Showing content with the highest reputation on 12/12/2014 in all areas

  1. This tutorial will disable right click on your site for guests only! Just add that code at the very top of your ACP > look & Feel > Skin name > Global Template > defaultHeader <if test="IPSMember::isInGroup( $this->memberData, array(2) )"> <script language=JavaScript> var message="You Must Log-in before you can use Right Click!"; function clickIE4(){ if (event.button==2){ alert(message); return false; } } function clickNS4(e){ if (document.layers||document.getElementById&&!document.all){ if (e.which==2||e.which==3){ alert(message); return false; } } } if (document.layers){ document.captureEvents(Event.MOUSEDOWN); document.onmousedown=clickNS4; } else if (document.all&&!document.getElementById){ document.onmousedown=clickIE4; } document.oncontextmenu=new Function("alert(message);return false") </script> </if>To Change what the message says all you need to do is Edit this part of the codes "You Must Log-in before you can use Right Click!" And if your wanna add different groups to the code just go to this <if test="IPSMember::isInGroup( $this->memberData, array(2) )">and where it says 0 add your groups like this 2,4,12 etc....
    1 point
  2. Go to your ACP->Look & Feel then find the mobile skin you'd like to use this for. Click the dropdown arrow and click Manage Templates & CSS. Once you open this and the screen loads Global Template should be opened. Now you need to find globalTemplate. Find this ending tag </head> and place this code right above it <link rel="apple-touch-icon-precomposed" href="http://technologx.pw/mobile/apple-touch-icon-precomposed.png"> <link rel="apple-touch-icon-precomposed" sizes="72x72" href="apple-touch-icon-72x72-precomposed.png"> <link rel="apple-touch-icon-precomposed" sizes="72x72" href="apple-touch-icon-72x72-precomposed.png"> <link rel="apple-touch-icon-precomposed" sizes="114x114" href="http://technologx.pw/mobile/apple-touch-icon-114x114-precomposed.png"> <link rel="apple-touch-icon-precomposed" sizes="144x144" href="http://technologx.pw/mobile/apple-touch-icon-144x144-precomposed.png"> <link rel="apple-touch-startup-image" href="http://technologx.pw/mobile/startup-320x460.png" media="screen and (max-device-width : 320px)"> Now change my site with your site url and point the mobile skin into the directory your images will be. Like I have mine in mobile. Remember this can be any directory you'd like it to be in the sizes have to be exact or it will not work.
    1 point
  3. User-agent: * Disallow: /admin/ Disallow: /cache/ Disallow: /converge_local/ Disallow: /hooks/ Disallow: /ips_kernel/ Disallow: /retail/ Disallow: /public/style_captcha/ Disallow: /index.php?app=core&module=task Disallow: /index.php?app=forums&module=moderate&section=moderate Disallow: /index.php?app=forums&module=extras&section=forward Disallow: /index.php?app=members&module=chat Disallow: /index.php?&unlockUserAgent=1 Disallow: /*&module=search Allow: /*&search_tags= Disallow: /*app=core&module=global&section=reputation Disallow: /*app=core&module=usercp Disallow: /*app=members&module=messaging Disallow: /*&p= Disallow: /*&pid= Disallow: /*&hl= Disallow: /*&start= Disallow: /*view__getnewpost$ Disallow: /*view__getlastpost$ Disallow: /*view__old$ Disallow: /*view__new$ Disallow: /*view__getfirst$ Disallow: /*view__getprevious$ Disallow: /*view__getnext$ Disallow: /*view__getlast$ Disallow: /*&view=getnewpost$ Disallow: /*&view=getlastpost$ Disallow: /*&view=old$ Disallow: /*&view=new$ Disallow: /*&view=getfirst$ Disallow: /*&view=getprevious$ Disallow: /*&view=getnext$ Disallow: /*&view=getlast$ Disallow: /*?s= Disallow: /*&s= Disallow: /index.php?app=core&module=global&section=login&do=deleteCookies Disallow: /index.php?app=forums&module=extras&section=rating Disallow: /index.php?app=forums&module=forums&section=markasread Disallow: /*&do=who Disallow: /*&section=dname
    1 point
  4. Users who have the hook installed with their IPB 3.4.x package, may have noticed an oddity with their View New Content page (something similar to the image below): If you are experiencing this issue, it is caused by the aforementioned hook. You'll need to make one small edit and you'll be all set. Navigate to: <Your IPB Root>/Hooks/tbGfSkinSearch_xxxxx.php [*]The "xxxxx" substitutes the string of random characters attached to your file. Find this line: $data['last_poster'] = $data['last_poster_id'] ? IPSMember::makeProfileLink( TBGroupFormat::makeNameFormatted( $data, $data['last_poster_name'], $data['last_poster_group'], 'last_poster_id' ), $data['last_poster_id'], $data['seo_last_name'] ) : $this->settings['guest_name_pre'] . $data['last_poster_name'] . $this->settings['guest_name_suf']; ... and replace it with this: /*$data['last_poster'] = $data['last_poster_id'] ? IPSMember::makeProfileLink( TBGroupFormat::makeNameFormatted( $data, $data['last_poster_name'], $data['last_poster_group'], 'last_poster_id' ), $data['last_poster_id'], $data['seo_last_name'] ) : $this->settings['guest_name_pre'] . $data['last_poster_name'] . $this->settings['guest_name_suf'];*/ Save your edit, and refresh your page -- fixed! I strongly recommend downloading a copy of the file, making the edit, and then re-uploading it to avoid any issues with the upload. Editing the file inside of FTP programs such as Filezilla is not always efficient. [*]Credits to Paradiizee for working with me to find a fix for this. Be sure to thank him! [*]Please Note: This is only a temporary fix until the hook's original author makes the appropriate updates for full 3.4.x support.
    1 point
  5. Go to admin -> skin_cp -> cp_skin_global.php and find: and replace it with this: Save and go to admin -> applications -> core -> extensions -> dashboardNotifications.php and find: and replace with this: Save and you're done. In general, this works for 3.2.x, 3.3.x and 3.4.x.
    1 point
This leaderboard is set to New York/GMT-05:00
×
×
  • Create New...