News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Default Avatar Per Membergroup

Started by checkmater, June 25, 2012, 03:04:28 PM

Previous topic - Next topic

checkmater

Link to Mod

Default Avatar Per Membergroup
You can get free support or hire web developers at our website
Coded by: CheckMater
Released under the Attribution-NonCommercial-ShareAlike 3.0 Unported (CC BY-NC-SA 3.0) license
----------
This mod will edit and add some avatar related features in the default SMF theme, will set up a default avatar per membergroup (Membergroups prevails over post-count membergroups), also it can force the member to use the default one for the membergroup or not (use the user one).
The change is visible in every member's posts and profile.
---------

Version 1.0 Jan 26, 2012

- Not publicly released.
- Can set a default avatar per membergroup.
- Can force the user to use the default avatar for their membergroup
- Membergroups prevails over post-count membergroups
- This changes the Avatar everywhere
-->

Version 1.0 May 04, 2012

- Publicly released
- Official Support Link
SMF, other software developing and some other stuff on my website, you can also hire someone at myFreelancing website . xD

akbora

I installed but I cannot activate. I enter url of avatar to membergroup page but when I look at that again I see empty. So this mod is not running perfectly. This mod gives some errors during install I install by manuel. Thanks
SMF 2.0.13
Default Theme
Utf8 Turkish
---------------

checkmater

Hi, that's weird, did you run the install.php file? It seems that you forgot the database changes.

Greetings!
SMF, other software developing and some other stuff on my website, you can also hire someone at myFreelancing website . xD

mgrmgr

Hmm - I have a similar problem (but it may be my own fault) : Installed via packet manager, no errors. Database ok :) Now to my question: which path have I to set in the field for the default avatar? I tried several possibilities already: full server path, path from the forum root dir (./avatars/...), the path from the avatar basedir - no effect neither in postings, in my SimpleDesk portal nor in the user's profile. (BTW: force avatar is checked).

checkmater

You need to set the image URL, I do not tried a path for it, so it may not work.

Greetings!
SMF, other software developing and some other stuff on my website, you can also hire someone at myFreelancing website . xD

mgrmgr

Thanks for your reply. In the meantime I found the correct path from the base avatar folder: <uploaded collection>/img.name without extension :) There seems to be a bug (?) though: The default avatar for my (new) Lurker group 0-4 posts) is Blacy Avatars/ashamed but it does not show up in the profile nor in Simple Portal (force group avatar is checked). I guess there is the code sequence for selecting the default avatar missing  :'(

checkmater

Can you please send me a link to your site?, so I can look at it and develop a fix.

Greetings!
SMF, other software developing and some other stuff on my website, you can also hire someone at myFreelancing website . xD

mgrmgr

My forum is reachable: http://forum.michgeyer.de if a normal user account is enough for you name: test password: test :) If you need a higher account pls send me a pm.

TIA

checkmater

Hi, this is not a problem with the mod, yo need to specify an image, and the URL should be valid, please revie it.

http://forum.michgeyer.de/Blacy%20Emoticons/ashamed is not a valid image.

Greetings!
SMF, other software developing and some other stuff on my website, you can also hire someone at myFreelancing website . xD

mgrmgr

Well - that was my first question. In the settings you must not give a complete path but a filesystem path relative to the general avatar path. The complete URI is http://forum.michgeyer.de/avatars/Blacy%20Emoticons/ashamed.png although in the member group the setting says  Default Membergroup avatar: Blacy Emoticons/ashamed

With this entry the avatar shows in the forum head but not in the user profile nor in Simple Portal 2.3.5 :(

Advertisement: