Advertisement:

Author Topic: Hide Images from Guests  (Read 21097 times)

Offline Diego Andrés

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,120
  • Gender: Male
  • We know, we'll be coming
    • MeTiroAtuTia on GitHub
    • @bihgetter on Twitter
    • SMF Tricks - Free & Premium Themes
Hide Images from Guests
« on: July 12, 2009, 06:33:24 AM »
Link to Mod

Hide Images from Guests
This mod allows you to hide images from guests.

Allows you to stop guests from viewing links. Informs the guest to register or login.

Language Support
- English
- Arabic

Changelog
v2.0 - 12.02.2011
- Works with only SMF 2.0 x.

Donate


Version 1.3:
Quote
Hide Images From Guests

Official Site & Demo : SAFAD-Soft
Sponsored By : SmfArabic
Powered By The Cute : SAFAD :)



Usability :
 This Mod Will Automatically Hide Images From : Guests

License :
The Mods License Use General Public License (GPL)

Compatibility :
SimpleMachinesForum 2.0
SimpleMachinesForum 1.1

Change-log :
  Version : 1.0 - - - - - - - - - - - - - - 03/07/2009
  Just Added !!
 
  Version : 1.1 - - - - - - - - - - - - - - 26/07/2009
  Incrased Compatibility With SMF 2


  Version : 1.2 - - - - - - - - - - - - - - 22/11/2009
More Compatibility For SMF 2 RC2
A Better Read Me File :)

  Version : 1.3 - - - - - - - - - - - - - - 20/03/2010
Updated For 2.0RC3
Also For 1.1.11
« Last Edit: November 22, 2009, 01:12:54 PM by SAFAD »

SMF Tricks - Free & Premium Responsive Themes for SMF.

Offline gourav

  • Semi-Newbie
  • *
  • Posts: 77
  • Gender: Male
Re: Hide Images From Guests
« Reply #1 on: July 12, 2009, 07:09:40 AM »
Hey Great mod :)
Can you please update it for Beta 2 Rc1-1 ?
Thanks

Offline Sevgiformu.com

  • Semi-Newbie
  • *
  • Posts: 93
  • Gender: Male
    • Sevgiformu.com
Re: Hide Images From Guests
« Reply #2 on: July 12, 2009, 07:32:09 AM »
thank you very nice mod

turkish translate.

Code: [Select]
//HideImagesFromGuests
$txt['prevent_view_pic'] = 'Ziyaretci\'Resimleri Göremez,Lütfen <a href="' . $scripturl . '?action=register">Kayıt Olun</a> or <a href="' . $scripturl . '?action=login">Üye İseniz Giriş Yapın</a>';
//HideImagesFromGuests

Offline DilSe

  • Full Member
  • ***
  • Posts: 404
Re: Hide Images From Guests
« Reply #3 on: July 12, 2009, 12:43:50 PM »
hello good mod..

after install this mod .. when i open any section or any topic i get it this error

Fatal error: Call to undefined function: str_ireplace() in /snt/w0700/d23/s19/b02fc5b45/www/domin.com/SMF/Sources/Subs.php on line 4432
Best Site For Sufiana kalam

www.sufianakalam.com

Offline MF30

  • Jr. Member
  • **
  • Posts: 119
    • Futebol Tuga
Re: Hide Images From Guests
« Reply #4 on: July 12, 2009, 01:19:38 PM »
Good mod.

Thanks.

Offline Realinfo

  • Full Member
  • ***
  • Posts: 627
    • Real Info
Re: Hide Images From Guests
« Reply #5 on: July 13, 2009, 09:15:10 PM »
Thanks for MOD but will it Hide images from Google Bot too......... I mean I need that Google Bot can see my Images while Guests not.................

Offline JeremyB.

  • Jr. Member
  • **
  • Posts: 298
  • Gender: Male
  • $phpJeremyB;?>
Re: Hide Images From Guests
« Reply #6 on: July 14, 2009, 03:39:41 AM »
It will hide it from ALL types of guests
"The most overlooked advantage to owning a computer is that if they foul up, there's no law against whacking them around a little."

Offline cold77

  • Newbie
  • *
  • Posts: 5
Re: Hide Images From Guests
« Reply #7 on: July 14, 2009, 04:25:27 AM »
thanks for the mods!

Offline SAFAD

  • Full Member
  • ***
  • Posts: 679
  • Gender: Male
  • away
    • أكاديمية صفد سوفت
Re: Hide Images From Guests
« Reply #8 on: July 21, 2009, 05:07:26 AM »
O sorry I Didn't see this topic (Blind and first time make a mod for SMF)
@gourav now it is compatible with 1.1.X and 2.X
@Php Coder Turkish Thanx for the translation i will put it now
@Hanzalah you have an error on your forum try it on another or make a new fresh files
@Realinfo this is possible but i won't make it! why ? cuz this is black hat seo i mean when google enter a page and see :
"hello you're the best !!"
and a visitor see
"get out !!"
google will think this is kind of trick to trick him and win PR
so Black Hat Seo

anyone else i didn't say his name :
THANK YOU FOR SUPPORTING ME !
Best Regards
Best Regards
Sadaoui "SAFAD" Abderrahim - Lead Developer @ Electron Inc.

Offline SAFAD

  • Full Member
  • ***
  • Posts: 679
  • Gender: Male
  • away
    • أكاديمية صفد سوفت
Re: Hide Images From Guests
« Reply #9 on: July 21, 2009, 05:11:50 AM »
@Php Coder Turkish can you please give me the file names :D
Thanx
Best Regards
Sadaoui "SAFAD" Abderrahim - Lead Developer @ Electron Inc.

Offline Cal O'Shaw

  • Full Member
  • ***
  • Posts: 444
  • SMF 1.1.14 & 2.0 Sites
Re: Hide Images From Guests
« Reply #10 on: July 23, 2009, 02:13:19 AM »
Hello,

When you say it hides images, does that mean just images displayed with the [img][/img] tags, or does it include the avatars and gifs?  And does it go get the image and decide not to display it or does it skip the call to get the image entirely?  I'm trying to reduce our CPU load and wondering if this will help.

Grazie,

Cal

Offline SAFAD

  • Full Member
  • ***
  • Posts: 679
  • Gender: Male
  • away
    • أكاديمية صفد سوفت
Re: Hide Images From Guests
« Reply #11 on: July 23, 2009, 10:15:48 AM »
only bbcode one
[img] thing
this won't do a Server load
if it is
so all SMF
do aserver load
and it is really wrong idea
Best Regards
Sadaoui "SAFAD" Abderrahim - Lead Developer @ Electron Inc.

Offline philcross

  • Jr. Member
  • **
  • Posts: 165
Re: Hide Images From Guests
« Reply #12 on: July 27, 2009, 02:03:09 PM »

great mod - thanks

Offline SAFAD

  • Full Member
  • ***
  • Posts: 679
  • Gender: Male
  • away
    • أكاديمية صفد سوفت
Re: Hide Images From Guests
« Reply #13 on: July 28, 2009, 04:56:40 AM »
no problem bro
Best Regards
Sadaoui "SAFAD" Abderrahim - Lead Developer @ Electron Inc.

Offline hmalik007

  • Newbie
  • *
  • Posts: 5
Re: Hide Images From Guests
« Reply #14 on: July 29, 2009, 08:27:59 PM »
bro, is it possible to change the default text with some custom text and style. if yes please tell me how ? thanks in advance.
« Last Edit: July 29, 2009, 08:37:53 PM by hmalik007 »

Offline SAFAD

  • Full Member
  • ***
  • Posts: 679
  • Gender: Male
  • away
    • أكاديمية صفد سوفت
Re: Hide Images From Guests
« Reply #15 on: August 01, 2009, 10:34:57 AM »
Thx For The Idea
I Will Make New Version That Lets You Choose Your Text And How Does It Look
Yes You Can
Open
mod1.1.xml
else
mod2.xml if you use smf2

Search For
Code: [Select]
$txt['prevent_view_pic'] = 'visitors can't see pics , please <a href="' . $scripturl . '?action=register">register</a> or <a href="' . $scripturl . '?action=login">login</a>';
change what you can
PS: Use Html Better Than BBcode
Best Regards
Best Regards
Sadaoui "SAFAD" Abderrahim - Lead Developer @ Electron Inc.

Offline Les Paul

  • Semi-Newbie
  • *
  • Posts: 62
  • Gender: Male
  • Así es la cosa che..
    • Sinbo Forum v3.0
Re: Hide Images From Guests
« Reply #16 on: August 24, 2009, 11:13:24 AM »
Screenshot please. :)

Offline philcross

  • Jr. Member
  • **
  • Posts: 165
Re: Hide Images From Guests
« Reply #17 on: August 28, 2009, 02:09:13 PM »

Any chance of a new Mod which will hide links the same as images?


Offline SAFAD

  • Full Member
  • ***
  • Posts: 679
  • Gender: Male
  • away
    • أكاديمية صفد سوفت
Re: Hide Images From Guests
« Reply #18 on: September 04, 2009, 09:10:51 AM »
no need
for the screen nothing special
@philcross
didn't understand but ithink you are looking for registred links mod
Best Regards
Sadaoui "SAFAD" Abderrahim - Lead Developer @ Electron Inc.

Offline LuminaRS

  • Jr. Member
  • **
  • Posts: 158
    • www.atlma.us
Re: Hide Images From Guests
« Reply #19 on: October 14, 2009, 08:20:18 AM »
How is this mod "set"?

Am I able to specify certain threads that the pics cannot be seen or does it disallow guests from viewing pics across the whole forum?

I'd like to be able to disallow on specific posts instead of the whole entire forum