News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Signature Image Rotator

Started by SoLoGHoST, June 11, 2009, 05:51:40 AM

Previous topic - Next topic

SoLoGHoST


Languages Supported:
SIGNATURE IMAGE ROTATOR 2.1
Gives your members the ability to add multiple images, within their profile, generating a URL for them to use for their signature, or even their avatar.

Detailed Description:
Gives your users the ability to have a rotating signature image, uploading their own images. You know, like the one's you see when users post in a topic and you reload the page and it's a completely different signature image.  How do they do that you may have asked yourself.  Well, it's a piece of cake that you can now offer to the members of your choice at your simplemachinesforums.  Users upload (via their profile) as many images as the Admin allows (in settings) and then adds the generated url path, to the Signature area.  This will generate a random signature image, on every post by that user, based from the one's they uploaded in their profile.  They can add as many images as you specify (0 = unlimited image uploads) and/or delete images that they created based on the permissions you allow for that group.  They can also add the generated URL as their AVATAR URL as well, and anything else that requires an image url.  Deleting a user account on SMF also deletes all of their Signature Images and the URL automatically.  ALL images Uploaded gets converted to either .PNG, .JPG, or, in the case of animated GIFs that do not exceed the Max Width and Max Height, No conversion is necessary and will remain in .GIF format so as to not take up too much space on your server.

After installing this package, there are 2 places that need to be enabled before it will work...
1. You will be redirected to the first page after installation, located at:  Admin -> Features & Options -> Signatures
2. Then you will need to go to Admin -> Members -> Permissions and make sure Allow Access, and Add are selected for all User Groups that you wish to allow access to this feature.  If you want to allow deletion of own images, you can place a checkmark in here also.  If, at any time you don't want these user groups adding and/or deleting images from their own signature image urls, then you can disable this feature for this group by unchecking it.

IMPORTANT:  Disabling the Signature Image Rotator does not disable the Image URL that has already been  generated.  So if you want to disable the URL's that have already been generated you'll need to go inside that users Profile -> Forum Profile and click on the Delete All Images Button, then "Yes", which will delete all of the images and the directory URL of where the images are stored (this will completely disable the image URL and will not work ever again).

Uninstalling this MOD will completely remove Signature Image Rotator, thus rendering all image urls ineffective and the sigs folder will be completely removed as well as all images within it.

Sevgiformu.com

Your Mod very nice thank you

yours mod 1.1.x ? pls

SoLoGHoST

I know, I know.  Not 100% familiar with 1.1.x versions of SMF, but will give it a try.

Thank You!

Sevgiformu.com

Thank you my teacher I would try this:)

If you do broadcast

are amazing


Robin1989

thans so much sologhost - i made a request for this type of mod ages ago and it has finally come true - thankyou so much

SoLoGHoST

Thanks for your feedback, glad you guys like it!  Was pulling out my hair a few times on this one ;)  But overall was a ton of fun creating it, just seems that this type of MOD should've been created a long time ago as sooo many people are always bugging me on how to create a Signature Image that gets randomly displayed.  Better late than never as I always say.

LHW

I wrote a javascript to do this years ago, and still use it on my site...I'll definitely be looking at this as a User-Controlled replacement.  Thanks!


drhamza

magnificent mod, thanks a lot :D

SoLoGHoST

I'm sorry, I can't understand what you are trying to say.  I know that you want a 1.1.8 version of this MOD, but as far the teacher goes, I'm not sure what you are trying to say by this.

Like I said, will consider the 1.1.x version, but this will take time, so please have some patience.

Thank You.

Sevgiformu.com

   
Thanks I'll wait patiently for a total interest

mary16

Will this work in 1.1.9?

This would be so cool for my group

SoLoGHoST

Sorry, only compatible with SMF 2.0.x versions atm.  Am working on the 1.1.x versions, but not ready for 1.1.x as of yet.

pinoypetfinder


Sudhakar Arjunan

Great work , will try now.

Will it reflect on all users box.

So as i have learnt, i could fix only for some membergroup and delete if not required for each user.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

SoLoGHoST

#15
Hello A.SK, Hopefully this answers your question:

You have, by default, in Permissions, these Usergroups:  Guest, Regular Members, Administrator (has all permissions), Global Moderator, Moderator.

While clicking the modify link to the right of each of these usergroups listed in there, excluding the Guest usergroup (Guests are not permitted to have any access for this option since this is related to a users profile and guests do not have a profile, so you will not see any options in here for guests).

You will see these options to choose from underneath the Signature Image Rotator header:

Allow Access
Can Add own images
Can Delete own images
Bypass image count limits
Administrate Signature Images

Allow Access is the same as enabled, or viewable to this usergroup.  Unchecking this option overrides all other options in there.  Please note, if you uncheck this option, this will not disable any image urls that have already been generated from showing the actual images.  So, if you want to disable images that have already been created for this usergroup, there is no way to do this, other than to go inside of this users profile yourself and Click on the "Delete All Images" button and then "YES" button to confirm this.  This will completely disable the image url from working for that user.

There is no way to make it so that specific users of the same usergroup do not have access to the Signature Image Rotator, however, you can create a new usergroup and allow/disallow only members from this usergroup access to the Signature Image Rotator, and you can set your "Regular Members" to not have access to the Signature Image Rotator by unchecking Allow Access for the permissions of the Regular Members in your Admin -> Permissions area.  Then you just move users you want to have access to the Signature Image Rotator to the usergroup that has "Allow Access", and "Can Add own images" checked.

Hopefully this answers your question on this.

More info on the other permissions, just in case:

Can Add own images ->  This must be checked, otherwise the Signature Image Rotator will not be viewable in the profile of users that have not uploaded any images yet.  That means only users who have uploaded images already within the Signature Image Rotator will be able to see the Signature Image Rotator in their profile, but will not be able to add anymore images to it whether or not they exhausted all images possible according to the image count limit that you set, or even if the permission was set to bypass the image count limit for that usergroup.

Can Delete own images -> This means that usergroups with this permission set will only be able to Delete their own images.  If this option is unchecked and users of that usergroup go within their profile -> Forum Profile area, they will not see an option to Delete any images that they uploaded, whether they uploaded images or haven't uploaded any images.  These user will not see any Delete options for their own images.

Bypass image count limits -> This means that users belonging to this usergroup will not be effected by the image count limit that you have set within Admin -> Configuration -> Features and Options -> Signatures and under Image Signature Settings, Maximum image count.  And such users for this usergroup will be able to upload an unlimited amount of images to their Signature Image Rotator in their profile.  Usually a good idea to allow this option for your Global Moderators, as these users are dedicated members to your forum and should have this ability over others.  Can also setup a specific usergroup for this purpose also if needed.

Administrate Signature Images -> Very important to note in here that users of this usergroup which has the ability to Administrate Signature Images will only be allowed permission to Delete other users Images within their profile.  If such a usergroup does not have permission to view, and/or make changes to other members profiles, they will not be able to do this.  Again, a good idea to give permission to your Global Moderators for this.  Just in case a user uploads a picture that is deemed inappropriate, spam, not permitted, so that the Global Moderator can delete this pic from within that users images within that users profile and perhaps issue a warning, or even Delete all of the pics.  However, this will not disallow that same user from being able to make more images with a different image url.  This is where the Admin comes in and moves that user to a different usergroup that doesn't Allow Access to the Signature Image Rotator (if need be).  Users of a usergroup that has Administrate Signature Images enabled, will NOT be able to Add Images to any other members profile of signature images.  ONLY the Administrator(s) have this ability to add images to other members Signature Image Rotator list of images within their profile.

Well, that's all folks!!  Anymore questions on this, please give a shout.

Solomon


Sakae

Very good MOD!

But I'm experiencing problems showing the image. See: http://www.tigrelog.com.br/index.php?sigrotator=mysig;sig=22961245800413;name=2296 (or access my forum http://www.tigrelog.com.br using l: simple p: machines and check)

What am I doing wrong?

A imagem "http://www.tigrelog.com.br/index.php?sigrotator=mysig;sig=22961245800413;name=2296" contém erros e não pode ser exibida.

Translating: "The image ... contain erros and can't be displayed".
http://www.tigrelog.com.br
l: simple p: machines

SoLoGHoST

#17
I can not access the Signature Image Rotator with that username:  simple and password:  machines.  So in order for me to check this, you will need to Allow Access and "Can Add own images" to the Signature Image Rotator for this usergroup, and also make sure it is enabled in the Admin -> Features and Options -> Signature area.  Please setup the permissions so that I can test this properly with that username and password. 

As a 1st step in attempting to fix your problem, you can try changing the default filename from User Id to something else.

But like I said, best that I test this for you, so please adjust the permissions and reply back here when you are done doing so.

EDIT:  Just tested the image link again, and it is working fine now, so don't understand what the problem was a second ago, perhaps you know, as the problem seems to be gone now.  Just tested in Internet Explorer and doesn't show the image, but Firefox displays it fine.  Can you try changing from User Id for image filenames to something else.  And also, again, fix the permissions so that I can test this with the username:  simple and password: machines as you suggested.

Thanks :)

Sakae

The strangest thing!!!!!!!

It works with ENGLISH language but not with PORTUGUESE_BRAZILIAN-UTF8.

I addded the strings on Modifications.portuguese_brazilian-utf8 and created SigRotator.portuguese_brazilian-utf8.php (based on english), but it doesn't work with my native language.....

See for yourself:

Use simple/machines: http://www.tigrelog.com.br/papo-de-bar/test-topic/ (IN ENGLISH, WORKING)
Use solo/ghost: http://www.tigrelog.com.br/papo-de-bar/test-topic/ (IN PORTUGUESE BRAZILIAN, NOT WORKING).

To change solo/ghost to ENGLISH (and see it working), go in it's profile: http://www.tigrelog.com.br/index.php?action=perfil;area=account;u=2997 and change the "Portuguese Brazilian" option (Idioma preferido).
http://www.tigrelog.com.br
l: simple p: machines

SoLoGHoST

Ok, I'm not sure what's going on here, as I don't fully understand the differences between English and other languages and how they work in SMF.  However, you are free to have a go with it and please let me know if you manage to get it working with other languages as well.  Again, I would start off by changing the Default Image filename option in Admin -> Configuration -> Features and Options -> Signature to something else instead of User Id.  Try using username instead, or untitled.  Than delete all images in your account and start over by adding images again.  You should be presented with a new Image URL that will show the new name instead of just numbers for your name.  Please let me know if this fixes your problem, ok?  If not then it has something to do with something else.

Like I said, I work in English Only, so I create MODs for the English language only, however, I try to make my MODS compatible as much as possible with other languages.  Although, I am not able to test this, so I am going off of just theory and experience.  However, not exactly familiar with how SMF works with other languages.

Let me know how you make out, k?  And sorry for your issue with this.  If there are other users using a different language on SMF and are having issues as well, please let me know of this in here.  Also, if you are not having issues with another language, please let me know in any case as this could help the development of a future version that deals with these issues.

Thank You,
Solomon

Advertisement: