Announcement
Collapse
No announcement yet.
Display Edit Avatar Popup By Default if User has no avatar yet (vBcloud)
Collapse
X
-
Thanks for confirming v1.2 works.
- Top
- Translate
- Bottom
-
Glenn that worked .... You're a friggin Genius
- Top
- Translate
- Bottom
- Likes 1
-
Released v1.2. Please see updated first post. You need to uninstall the old version before installing the new one. See updated instructions in the readme file.
- Top
- Translate
- Bottom
- Likes 1
-
The mod checks if the avatar on Profile page is using the default avatar by checking if the <img> src contains the word "default_avatar" but it seems you changed your default avatar to your site logo. The original default avatar <img> src is default_avatar_large.png
I will update the mod to be more flexible by checking something else. I found another way without looking at the src.
- Top
- Translate
- Bottom
- Likes 1
Leave a comment:
-
Ok I put this into the template box. I think originally the wrong code was in there.
Code:<!-- Edit Avatar by vBMods.rocks START --> <li class="h-hide"> <script> window.addEventListener("load",function(){setTimeo ut(function(){var t=$(".profileContainer .profile-photo"),e=$(".js-edit-profile");e.length&&/default_avatar/i.test(t.attr("src"))&&e.trigger("click")},1e3)},! 1); </script> </li> <!-- Edit Avatar by vBMods.rocks END -->
- Top
- Translate
- Bottom
Leave a comment:
-
Released v1.1. Please see updated first post for more details.
- Top
- Translate
- Bottom
Leave a comment:
-
Thanks for the heads up. I'll take a look.
- Top
- Translate
- Bottom
- Likes 2
-
-
This extension/code does not work anymore in actual vB 5.5.4. Even not in HTML-Module, because #editProfilePicture has changed to .edit-profile. Change that in your addon code and everything is fine.
- Top
- Translate
- Bottom
- Likes 3
Leave a comment:
-
Thanks Glenn for doing the cloud version. The mod works great
A donation was sent!
- Top
- Translate
- Bottom
- Likes 1
Leave a comment:
Users Viewing This Page
Collapse
There is 1 user viewing this forum topic.
- Guest
Latest Posts
Collapse
-
by MahmoudE9Hello
How are you
After promotion version 6.0.4
I updated the counters and during the update the search index was rebuilt...Yesterday, 06:50 AM -
by matoseHi guys,
Just migrated to vB Cloud and found your forum searching for some customizations.
Nice to meet you!
m...05-03-2024, 01:25 AM
Leave a comment: