Registered Images

Started by husmen73 (Gulhin), April 11, 2007, 08:38:58 PM

Previous topic - Next topic

husmen73 (Gulhin)

Link to Mod

Languages: Turkish, English, Spanish and German


ENGLISH;
If you can translated other languages, I can add your translate.

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

Good Luck.
--------------------------------------------

Türkçe;
Bu modifikasyon mesajlarınızda bulunan link halinde ki resimleri ziyaretçilerinizden saklamanızı ve onların kayıt olmalarını söyleyen bir yazı ile yasaklar.

Başarılar.
-Kurumsal Kimlik Web Tasarım Hizmeti.
Gülhin Portal Sistemi hakkında yorumlarınızı bekliyorum.
SMF
Referanslar --> http://www.gulhin.com/referanslar-portfoy/
-Web Tasarımı ve Tema Tasarımı Sitesi www.gulhin.com
-TOPLU MAİL GÖNDERİMİ --> http://www.toplumailsms.com
E-Ticaret Sistemi yaptırmak mı istiyorsunuz?

SacmaliK

thank you so much! Very nice mod ;)

My Mods
Veoh Bbc Tag:here
Topic get Keywords:here
...

yrral

Nice mod! Thanks... I'm using it. Though there's one problem:

The link to Login and Register is pointed to only one action which is ?action=register.

husmen73 (Gulhin)

Quote from: yrral on April 21, 2007, 05:08:24 AM
Nice mod! Thanks... I'm using it. Though there's one problem:

The link to Login and Register is pointed to only one action which is ?action=register.
But its working. This is no problem ;)

Like that; index.php?action=register
-Kurumsal Kimlik Web Tasarım Hizmeti.
Gülhin Portal Sistemi hakkında yorumlarınızı bekliyorum.
SMF
Referanslar --> http://www.gulhin.com/referanslar-portfoy/
-Web Tasarımı ve Tema Tasarımı Sitesi www.gulhin.com
-TOPLU MAİL GÖNDERİMİ --> http://www.toplumailsms.com
E-Ticaret Sistemi yaptırmak mı istiyorsunuz?

yrral

Yeah.. It's working I didn't say its not... but the error I'm mentioning is the two diffrent action that need to be implemented... one is index.php?action=register for the wod "register" and index.php?action=login for the word "login"
which can be easily replaced in the file manually but would be great if you could change it in your mod so none coders doesn't have to deal with it.

but anyway, thanks for the mod.. it is really good.

husmen73 (Gulhin)

yrral, I can't understand to you, My English not good. I'm sorry.

I wrote <a href=?action=register>login</a> because if i write <a href=?action="register">login</a> it isn't working.

index.php?action=XXX
and ?action=XXX These are same function.

I think explaining to you ???
-Kurumsal Kimlik Web Tasarım Hizmeti.
Gülhin Portal Sistemi hakkında yorumlarınızı bekliyorum.
SMF
Referanslar --> http://www.gulhin.com/referanslar-portfoy/
-Web Tasarımı ve Tema Tasarımı Sitesi www.gulhin.com
-TOPLU MAİL GÖNDERİMİ --> http://www.toplumailsms.com
E-Ticaret Sistemi yaptırmak mı istiyorsunuz?

bodyboard_jerez

#6
I have problems...
Thank you to everybody of the SMF forum !!! Great help and free service !!

SlammedDime

Quote from: husmen73 on April 23, 2007, 10:12:19 PM
yrral, I can't understand to you, My English not good. I'm sorry.

I wrote <a href=?action=register>login</a> because if i write <a href=?action="register">login</a> it isn't working.

index.php?action=XXX
and ?action=XXX These are same function.

I think explaining to you ???
The URL for login should be $scripturl . 'index.php?action=login', and the URL for register should be $scripturl . 'index.php?action=register'.

Register and Login are two different actions, not one single action.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

husmen73 (Gulhin)

Quote from: Matt @ ARTcom on May 18, 2007, 12:35:49 PM
Quote from: husmen73 on April 23, 2007, 10:12:19 PM
yrral, I can't understand to you, My English not good. I'm sorry.

I wrote <a href=?action=register>login</a> because if i write <a href=?action="register">login</a> it isn't working.

index.php?action=XXX
and ?action=XXX These are same function.

I think explaining to you ???
The URL for login should be $scripturl . 'index.php?action=login', and the URL for register should be $scripturl . 'index.php?action=register'.

Register and Login are two different actions, not one single action.
You are right. I know this. But if I write ' . $scripturl . 'index.php?action=login, it doesn't work :) I must wrote this way


bodyboard_jerez Could you give a membership and with your site name?
-Kurumsal Kimlik Web Tasarım Hizmeti.
Gülhin Portal Sistemi hakkında yorumlarınızı bekliyorum.
SMF
Referanslar --> http://www.gulhin.com/referanslar-portfoy/
-Web Tasarımı ve Tema Tasarımı Sitesi www.gulhin.com
-TOPLU MAİL GÖNDERİMİ --> http://www.toplumailsms.com
E-Ticaret Sistemi yaptırmak mı istiyorsunuz?

bodyboard_jerez

#9
Hello, I love the registeredimages mod, I have istall it in my 1.1.2 and some bugs I have found in my opinion... I wrote they in the correct way (mod's forum) but not results or replies yet... I try you could help me...

I am working in the forum at localhost only... not online... sorry...

I combine it with the reglinks mod too...

All works fine less when the user post the image how this:

[flash ... image-url [/flash] Solved at this moment !!

[email ... image-url&nbsp; [/email]  Solved at this moment !!

[ftp ... image-url [/ftp]  Solved at this moment !!

[code ... image-url&nbsp; /code]

Nothing runs then, because guest can view the content of the urls !!&nbsp; &nbsp;...

I would like you to fix it please... Or if you preffer it, you can let me know what I have to do about it... thank you very much !!

Sorry, it's very important to me...  Thank's !!
Thank you to everybody of the SMF forum !!! Great help and free service !!

CuTe_MaN

I have translated this mod to arabic how I can add it?

husmen73 (Gulhin)

Quote from: CuTe_MaN on May 28, 2007, 06:26:49 AM
I have translated this mod to arabic how I can add it?
sent it to me
-Kurumsal Kimlik Web Tasarım Hizmeti.
Gülhin Portal Sistemi hakkında yorumlarınızı bekliyorum.
SMF
Referanslar --> http://www.gulhin.com/referanslar-portfoy/
-Web Tasarımı ve Tema Tasarımı Sitesi www.gulhin.com
-TOPLU MAİL GÖNDERİMİ --> http://www.toplumailsms.com
E-Ticaret Sistemi yaptırmak mı istiyorsunuz?

pulkit

1.     Execute Modification     ./Themes/default/languages/Modifications.english.php     Test successful
2.    Execute Modification    ./Sources/Subs.php    Test failed


Website name : http://revlimit.co.in

husmen73 (Gulhin)

Quote from: pulkit on August 08, 2007, 04:56:18 AM
1.     Execute Modification     ./Themes/default/languages/Modifications.english.php     Test successful
2.    Execute Modification    ./Sources/Subs.php    Test failed


Website name : http://revlimit.co.in

Code (Find in Subs.php) Select

array(
'tag' => 'img',
'type' => 'unparsed_content',
'parameters' => array(
'alt' => array('optional' => true),
'width' => array('optional' => true, 'value' => ' width="$1"', 'match' => '(\d+)'),
'height' => array('optional' => true, 'value' => ' height="$1"', 'match' => '(\d+)'),
),
'content' => '<img src="$1" alt="{alt}"{width}{height} border="0" />',
'validate' => create_function('&$tag, &$data, $disabled', '$data = strtr($data, array(\'<br />\' => \'\'));'),
'disabled_content' => '($1)',
),
array(
'tag' => 'img',
'type' => 'unparsed_content',
'content' => '<img src="$1" alt="" border="0" />',
'validate' => create_function('&$tag, &$data, $disabled', '$data = strtr($data, array(\'<br />\' => \'\'));'),
'disabled_content' => '($1)',
),


Code (Replace with this) Select
array(
'tag' => 'img',
'type' => 'unparsed_content',
'parameters' => array(
'alt' => array('optional' => true),
'width' => array('optional' => true, 'value' => ' width="$1"', 'match' => '(\d+)'),
'height' => array('optional' => true, 'value' => ' height="$1"', 'match' => '(\d+)'),
),
'content' => $user_info['is_guest'] ? $txt['ziyaretciler_resimleri_goremez'] . "\n" . $txt['login_or_register'] : '<img src="$1" alt="{alt}"{width}{height} border="0" />',
'validate' => create_function('&$tag, &$data, $disabled', '$data = strtr($data, array(\'<br />\' => \'\'));'),
'disabled_content' => '($1)',
),
array(
'tag' => 'img',
'type' => 'unparsed_content',
'content' => $user_info['is_guest'] ? $txt['ziyaretciler_resimleri_goremez'] . "\n" . $txt['login_or_register'] : '<img src="$1" alt="" border="0" />',
'validate' => create_function('&$tag, &$data, $disabled', '$data = strtr($data, array(\'<br />\' => \'\'));'),
'disabled_content' => $user_info['is_guest'] ?  '' :  '($1)',
),
-Kurumsal Kimlik Web Tasarım Hizmeti.
Gülhin Portal Sistemi hakkında yorumlarınızı bekliyorum.
SMF
Referanslar --> http://www.gulhin.com/referanslar-portfoy/
-Web Tasarımı ve Tema Tasarımı Sitesi www.gulhin.com
-TOPLU MAİL GÖNDERİMİ --> http://www.toplumailsms.com
E-Ticaret Sistemi yaptırmak mı istiyorsunuz?

ApplianceJunk

Seem to install ok,
Is there a option I need to check mark to turn it on?
I can still view images as a guest.

Thanks,

ApplianceJunk

ok, seems to work.

The register and login links both seem to take me to the register page.

Can I change it so someone that has already signed up can click login to just login?

ApplianceJunk

Quote from: yrral on April 22, 2007, 04:33:55 AM
Yeah.. It's working I didn't say its not... but the error I'm mentioning is the two diffrent action that need to be implemented... one is index.php?action=register for the wod "register" and index.php?action=login for the word "login"
which can be easily replaced in the file manually but would be great if you could change it in your mod so none coders doesn't have to deal with it.

but anyway, thanks for the mod.. it is really good.

How would I easily replace it in the file manually?

Thanks,

ApplianceJunk


mkress

great mod!!!!!!!

Thank you! ;)

But i have a problem/feature request, perhaps someone can help me.

i do not want to hide signature-images for guests, only images in posts...

can someone perhaps point me to the right direction where i have to "look" in code?

Markus  :)

oxlo

#19
Hello.

Thank you for this Mod. Only one thing: I think it's compatible with SMF 1.1.4. You can see running in the forum of the web

http://www.losbabillosos.com/

Also I translated the Mod into Spanish. Can You insert it in the Mod? It should be very nice for the spanish community.

I send you the spanish traslation in a PM.

Thanks anyway.

Regards.

Advertisement: