View Full Version : Mini Mods - Last Poster Avatar
phpdesk
12-12-2011, 11:00 PM
InfoThis mod ads last posters' avatars next to their names on Forumdisplay pages. I've just finished a section of one of my bigger mods to come, and thought that some of you may just need this little enhancement on their forums. If so, feel free to download and test it.
FeaturesNot too many features for now, it's a pretty straight forward mod. I'm always open to your suggestions though.
- Display last poster avatars in threadbits on forumdisplay
- Display last poster avatars in forumbits on forumhome and forumdisplay
- Admin settings to enable display of last poster avatars in certain areas or disable globally
- Set an avatar size to best match the layout
- Choose an alternative avatar display on forumbits
- Zero database queries to keep things running smoothly
https://vborg.vbsupport.ru/attachment.php?attachmentid=135122&stc=1
https://vborg.vbsupport.ru/attachment.php?attachmentid=135076&stc=1
InstallationImport [phpdesk.com]-product-lpavatar.xml via AdminCP > Plugin System > Manage Products > [Add/Import Product]
Mod Support- Do not forget to mark as installed to qualify for further assistance
- A small donation would always be welcome to support further development of this hack (Support Developer (https://vborg.vbsupport.ru/showthread.php?p=2101660#gtdonate))
- I'll do my best to listen to your comments and suggestions as long as time permits
Ghangelog1.0.0 | 2011-12-13
- First Release
1.0.1 | 2011-12-13
- Fixed file path issue affecting some forum setups
1.0.2 | 2011-12-14
- Added last poster avatars to forumbits on forumhome and forumdisplay
- Added admin options to control display of avatars
1.0.3 | 2011-12-15
- Added option to display a default avatar for users that have not uploaded a custom avatar of their own
1.0.4 | 2011-12-15
- Re-enabled last posters' avatars display on forumhome after fixing the reported issue
1.0.5 | 2011-12-16
- Added option to set the avatar size individually for the forumbits and threadbits display
1.1.0 | 2012-01-04
- Link the avatar to member profile page
- Offer additional way to position last poster avatars on forumbits
- Remove the unnecessary extra database queries
1.1.1 | 2012-01-04
- Fix display issue when avatars are set to be saved as files
1.X.X | PLANNED
- Add avatar to search results, new posts, today posts, etc
mitch84
12-13-2011, 04:40 AM
hi, a preview please? thx
CoZmicShReddeR
12-13-2011, 06:03 AM
Bad ass! Love it so far!
phpdesk
12-13-2011, 07:19 AM
hi, a preview please? thxSorry for missing the screenshot last night, I've just uploaded it.
Bad ass! Love it so far!Glad to see someone likes it :)
Don't forget to mak it as installed, and make me happy, too.
sticky
12-13-2011, 07:33 AM
Caused error, could not open forum, uninstalled.
On 4.1.7, maybe that is why.
phpdesk
12-13-2011, 07:47 AM
Caused error, could not open forum, uninstalled.
On 4.1.7, maybe that is why.
I haven't got a test version 4.1.7 installed but could you post the error message here, maybe I could help resolve it.
sticky
12-13-2011, 07:56 AM
I haven't got a test version 4.1.7 installed but could you post the error message here, maybe I could help resolve it.
I would but I'm scared to install it again. Error went away when I uninstalled and I don't want to test again.
warrior uw
12-13-2011, 08:18 AM
did not work on 4.1.8 - uninstalled
thecore762
12-13-2011, 08:53 AM
Tagged modification, hopefully it works before I install it.
synseal
12-13-2011, 09:00 AM
Didn't work with 4.1.8 running vbseo.
Warning: require_once([path]./includes/functions_user.php) [function.require-once]: failed to open stream: No such file or directory in [path]/forumdisplay.php(1065) : eval()'d code on line 2
Fatal error: require_once() [function.require]: Failed opening required '/home/******/public_html./includes/functions_user.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/******/public_html/forumdisplay.php(1065) : eval()'d code on line 2
sticky
12-13-2011, 09:04 AM
^ My error was similar
phpdesk
12-13-2011, 09:19 AM
Didn't work with 4.1.8 running vbseo.
Warning: require_once([path]./includes/functions_user.php) [function.require-once]: failed to open stream: No such file or directory in [path]/forumdisplay.php(1065) : eval()'d code on line 2
Fatal error: require_once() [function.require]: Failed opening required '/home/******/public_html./includes/functions_user.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/******/public_html/forumdisplay.php(1065) : eval()'d code on line 2
Thanks for trying to be helpful, I'll check out and get back to you with an update as soon as I have one.
phpdesk
12-13-2011, 09:42 AM
Could you test the attached product installer and see if the error is gone? I will then update the thread with the new version if all goes well.
whitedd
12-13-2011, 10:25 AM
no...dont work ...4.1.8...same error with 1.0.1
phpdesk
12-13-2011, 10:36 AM
no...dont work ...4.1.8...same error with 1.0.1
Do you mind getting in touch via PM and share your install details with me so that I could take a quick look into it? I installed a test vB 4.1.8, and it worked well with the original mod version. I then installed vBSEO and it did not break anything. So I assume you're facing some sort of a mod incompatibility issue there.
sticky
12-13-2011, 10:44 AM
I was not running VBSEO and had the error so likely a mod incompatibility.
Mariner1
12-13-2011, 11:16 AM
Didnt work on 4.18 for me either.Just get white screens
synseal
12-13-2011, 11:20 AM
I disabled vbseo then uploaded the new file and I still get this error.
Warning: require_once([path]./includes/functions_user.php) [function.require-once]: failed to open stream: No such file or directory in [path]/forumdisplay.php(1065) : eval()'d code on line 2
Fatal error: require_once() [function.require]: Failed opening required '/home/deleted/public_html./includes/functions_user.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/deleted/public_html/forumdisplay.php(1065) : eval()'d code on line 2
Regards.
Guys, keep in mind this is product is in beta stage.
phpdesk
12-13-2011, 12:54 PM
I disabled vbseo then uploaded the new file and I still get this error.
Warning: require_once([path]./includes/functions_user.php) [function.require-once]: failed to open stream: No such file or directory in [path]/forumdisplay.php(1065) : eval()'d code on line 2
Fatal error: require_once() [function.require]: Failed opening required '/home/deleted/public_html./includes/functions_user.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/deleted/public_html/forumdisplay.php(1065) : eval()'d code on line 2
Regards.
In that case it's not vBSEO the conflicting part here. I installed it on my end as well, and it did not affect my mod. Could you at least message me the list of plugins that you have installed? Ideally, I'd prefer to take a look personally, that would be the quickest way to a fix.
On a side note, to everyone, this is a beta stage mod, cooperation is more than welcome, rather than ignorance.
CoZmicShReddeR
12-13-2011, 12:55 PM
I have 4.18 worked fine when I installed it... No isssues... And I use vBSEO 360
phpdesk
12-13-2011, 01:08 PM
I have 4.18 worked fine when I installed it... No isssues... And I use vBSEO 360
Thanks for confirming that to me. I wish the others we a bit more responsive in trying to help me determine the cause of the error and provide a fix for them rather than just stop by to say "doesn't work" and then leave.
I disabled vbseo then uploaded the new file and I still get this error.
The error message points to a missing file on the server. Could you manually check for the presence of functions_user.php inside /includes directory? Can you see it there? Perhaps with a different file extension like .php5 etc? Just a guessing.
Mariner1
12-13-2011, 01:15 PM
I explained my prob,get white screens.Nice mod btw :)
synseal
12-13-2011, 01:33 PM
Yes I already checked whether it was there after seeing the error, I will pm you the modifications I use.
phpdesk
12-13-2011, 01:33 PM
I explained my prob,get white screens.Nice mod btw :)
Thanks. Could you as well manually check for the presence of functions_user.php inside /includes directory on your site? Can you see it there? What php extension do the files have, is it .php, is it .php4 or .php5?
phpdesk
12-13-2011, 01:35 PM
Yes I already checked whether it was there after seeing the error, I will pm you the modifications I use.
Sounds good, I'll then try to reproduce a copy of your site's structure on my end and see what I get in return. Also, are you running it on a Linux or Win server?
synseal
12-13-2011, 02:00 PM
Sent you the info needed via pm, just one thing to add, my acp location has been renamed for security, could this be causing the problem?.
Here's my error, running 4.1.7 with no vBSEO:
[13-Dec-2011 09:58:58] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/home/xxxx/public_html/forums./includes/functions_user.php' (include_path='xxxxx') in /home/xxxx/public_html/forums/forumdisplay.php(1063) : eval()'d code on line 2
The problem is the "." after the "forums" in the required path. It's like your script is assuming only a relative path but something in vB is asserting and absolute path first.
phpdesk
12-13-2011, 02:23 PM
The problem is the "." after the "forums" in the required path. It's like your script is assuming only a relative path but something in vB is asserting and absolute path first.
Yes, I've just noticed that a bit earlier, and have updated the xml installer so you can download a new copy from the original post in this thread and try again.
mitch84
12-13-2011, 02:37 PM
installed on vb4.1.8, work very nice, good jod!
synseal
12-13-2011, 02:38 PM
Yes working now with 4.1.8, thanks for the update and help.
Working now - marked as Installed :)
Mariner1
12-13-2011, 03:40 PM
Thanks. Could you as well manually check for the presence of functions_user.php inside /includes directory on your site? Can you see it there? What php extension do the files have, is it .php, is it .php4 or .php5?
Yes its there and i use .php
Jazzinto
12-13-2011, 04:30 PM
Yes working on my forum, thanks.
Mariner1
12-13-2011, 05:01 PM
just installed 1.0.1 ver,works great now thank you
whitedd
12-13-2011, 07:11 PM
Warning: require_once([path]./includes/functions_user.php) [function.require-once]: failed to open stream: No such file or directory in [path]/forumdisplay.php(1065) : eval()'d code on line 49
Fatal error: require_once() [function.require]: Failed opening required '/home/*******/public_html./includes/functions_user.php' (include_path='.:/usr/lib/php') in /home/*******/public_html/forumdisplay.php(1065) : eval()'d code on line 49
phpdesk
12-13-2011, 10:41 PM
Looks like everyone's happy now, good to see that!
whitedd, please download the fresh copy of the installer which has addressed the issue that you're facing. All is going to be just fine.
whitedd
12-14-2011, 09:51 AM
...thnx...work perfect ;) ....
phpdesk
12-14-2011, 09:55 AM
...thnx...work perfect ;) ....
Great. Marking it as installed is a good way to say thank you and show your support.
phpdesk
12-14-2011, 02:54 PM
Today I added some extra functionality to this mod and published a new version along with new screenshots. Hope you like it.
Suggestions are welcome, as usual.
datoneer
12-14-2011, 03:13 PM
For me on version 1.0.2 shows me 4 same avatars...And on 1.0.1 i don't have last poster options
phpdesk
12-14-2011, 04:40 PM
For me on version 1.0.2 shows me 4 same avatars...And on 1.0.1 i don't have last poster options
I'll check on this and get back to you with updates, thanks for reporting it.
SwollenCranium
12-14-2011, 04:47 PM
I'll check on this and get back to you with updates, thanks for reporting it.
Same error here I think.
http://swollencranium.com/forums/attachment.php?attachmentid=2878&d=1323884794
:)
mitch84
12-14-2011, 04:49 PM
hi, with Forumbits my avatars are not resized! it's real size
phpdesk
12-14-2011, 04:58 PM
I have removed the functionality that was reported to be buggy, due to lack of response from the affected users. Until we resolve this issue, you may download a simplified version of the mod.
usuyusu
12-14-2011, 05:48 PM
Installed and running 1.0.1 version.
:)
Thank you for this usefull hack.
phpdesk
12-14-2011, 06:52 PM
hi, with Forumbits my avatars are not resized! it's real size
What version of vB are you using? Are your stylesheets stored as files? I would like to take a look at your form as I can't reproduce this error on my test install, I switched between saving the stylesheets as files and store it in the database, this mod performs just fine in both cases on my end.
zonavipecuador
12-14-2011, 08:03 PM
Work in 4.1.2?
nipponmexico
12-14-2011, 08:40 PM
Great!
CoZmicShReddeR
12-14-2011, 08:40 PM
When I first installed 1.02 the first time I looked at the forums page the avatars where full sized the second load they were resized am thinking that was vbulletin shrinking them down on first pageview... And once the size was auto set all avatars were fine from any computer with no over sized first time loads of the forums...
Only major thing was double avatars with 1.02 on my site... and that was only in the forum view
phpdesk
12-14-2011, 09:26 PM
Work in 4.1.2?
You could test it and let us know, I don't see why it wouldn't work.
phpdesk
12-14-2011, 09:54 PM
Same error here I think.I just wanted to say thank you for the donation, SwollenCranium, I really appreciate your support! Please keep the test username active for me a bit longer, it's late up here, and I have some stuff to do in the morning, so I'll log into your website sometime during the day tomorrow, I need to see what could possibly be wrong with your setup that works fine on my end, and include the fix into the next release. Thanks again.
problem with no avatar.
http://i.imgur.com/siVAc.png
phpdesk
12-15-2011, 12:14 PM
problem with no avatar.
Thanks for letting me know, I'll add an extra conditional to check if user has got an avatar before attempting to display it. Will do that later today when I get back to my work computer.
TasteMyShotz
12-15-2011, 02:40 PM
Can u add a default avatar?
phpdesk
12-15-2011, 03:20 PM
problem with no avatar.Can u add a default avatar?
I have addressed both posts above by adding a conditional to check for user's avatar presence, and if missing, either a default avatar can be entered to display (admin option) or no avatar at all is shown.
Hope this helps.
mitch84
12-15-2011, 05:12 PM
hi, with Forumbits my avatars are not resized! it's real size
work fine now with last version 1.0.4=> nominated!
Daryn
12-16-2011, 02:16 AM
Is there any way we can restyle the way the avatar shows up on forum home? I think they're a bit too small there.
phpdesk
12-16-2011, 08:32 AM
Is there any way we can restyle the way the avatar shows up on forum home? I think they're a bit too small there.
Thanks for the question, I've added an extra option to set the avatar size individually for threadbits and forumbits display. That way you can make it larger on homepage if you wish. Included in version 1.0.5 of this mod.
By the way, I thought tiny mods take less time to dedicate to.
der_chris
12-16-2011, 10:11 AM
problem with no avatar.
http://i.imgur.com/siVAc.png
phpdesk
12-16-2011, 10:13 AM
problem with no avatar.
This issue has been addressed in the newer versions of the mod. Please upgrade to take advantage of the fix.
sadiq6210
12-16-2011, 12:44 PM
Great
Where can I see the code? because I want to add outer border
Is there any new template added after import this mod?
Thanks
heartsglad
12-16-2011, 12:53 PM
just installed on Vb 4.1.8
Working Perfectly!
You do not need to change any settings. Just upload the plugin as described above.
PS: First I've installed a plugin that sets unknown.gif (..images/misc/unknown.gif) as Default Avatar for users. Than this plugin..
datoneer
12-16-2011, 12:59 PM
Now working on 4.1.8. But- when i set Display last poster avatars on threadbits. to No, it still shows me avatars
phpdesk
12-16-2011, 01:19 PM
Great
Where can I see the code? because I want to add outer border
Is there any new template added after import this mod?
Thanks
You may adjust the styling of the last poster's avatar by making changes to the latestpost_avatar.css template.
Now working on 4.1.8. But- when i set Display last poster avatars on threadbits. to No, it still shows me avatars
Please refer to version 1.0.5a for a fix to the issue, thanks for reporting it!
JAFRI
12-16-2011, 01:29 PM
Working fine on Vb 4.1.9
Good work.,
datoneer
12-16-2011, 01:31 PM
Works perfectly now! Thanks! Nominated for MOTM 5 Stars
haidm
12-16-2011, 01:40 PM
Can you make it work with default avatar?
https://vborg.vbsupport.ru/showthread.php?t=227947
phpdesk
12-16-2011, 03:26 PM
Can you make it work with default avatar?
https://vborg.vbsupport.ru/showthread.php?t=227947
According to heartsglad, it should work.PS: First I've installed a plugin that sets unknown.gif (..images/misc/unknown.gif) as Default Avatar for users. Than this plugin..
sadiq6210
12-16-2011, 06:19 PM
You may adjust the styling of the last poster's avatar by making changes to the latestpost_avatar.css template.
Thanks, done :up:
How can I align the avatar in forumhome to be like this:
https://vborg.vbsupport.ru/external/2011/12/19.jpg
sadiq6210
12-16-2011, 06:20 PM
+
I suggest to add last post avatar to search results i.e new posts, today posts, ....
:)
phpdesk
12-16-2011, 06:29 PM
Thanks, done :up:
How can I align the avatar in forumhome to be like this:
https://vborg.vbsupport.ru/external/2011/12/19.jpg
Interestingly, I have anticipated this request and integrated it as an admin option, it will be available in a future release.
kfyonur
12-16-2011, 06:45 PM
it is working on 4.1.9
Fready
12-17-2011, 02:08 AM
Looking forward to the up date with the avs showing on the What's New search and the thing that sadiq6210 asked for.
rinkrat
12-17-2011, 02:41 AM
Love it!
Scyther
12-18-2011, 09:37 AM
nice one..
works well on 4.1.8
installed and marked. suggested for MOTM!
phpdesk
12-18-2011, 07:48 PM
nice one..
works well on 4.1.8
installed and marked. suggested for MOTM!
Great, thanks!
TEMPESTADE
12-18-2011, 08:23 PM
works well in version 4.1.9. And vBadvanced CMPS work? If so that would be really good you can make the update? For vBadvanced CMPS
MishyMashy
12-19-2011, 01:57 PM
Just installed this and I absoloutly love it ! first add on.. I have added that didn't need further help help with. :D really happy.
Works great on 4.1.9
Thanks for this,mark as installed.
phpdesk
12-19-2011, 10:07 PM
THanks for your feedback so far, guys! Hope you're enjoying this mod. I feel happy I decided to share it right on my son's birthday night :)
kylek
12-20-2011, 11:50 PM
Works great, fresh install on 4.1.9. Thanks for this! Marked installed and rated.
One suggestion if possible - to have the avatar linked to the members profile page so when you click on the avatar you would be taken to their profile page.
phpdesk
12-21-2011, 07:39 AM
One suggestion if possible - to have the avatar linked to the members profile page so when you click on the avatar you would be taken to their profile page.
Thanks for the suggestion, I've added it to the feature requests list.
Winter Sonata
12-21-2011, 08:28 AM
I will be more than happy if anyone can confirm that it works on402 version, thanks beforehands!
phpdesk
12-21-2011, 11:48 AM
I will be more than happy if anyone can confirm that it works on402 version, thanks beforehands!
I confirm that you can test it out safely, simply install and check it right away. I don't see why it wouldn't work on vB 4.0.2. If the avatars don't show up, let me know and I'll check it out for a possible compatibility issue to fix, eventually.
Winter Sonata
12-21-2011, 12:00 PM
phpdesk, I can confirm it does work either :))))
Thanks a million!!!!
phpdesk
12-21-2011, 12:45 PM
phpdesk, I can confirm it does work either :))))
Thanks a million!!!!
Marking it as Installed and rating this thread is a good way to show your appreciation, thanks for confirming that it works!
Daryn
12-21-2011, 09:07 PM
Would it be possible to modify this slightly to put the avatar image to the left of the thread title and remove the thread icon? Sort of like how IPB does?
phpdesk
12-21-2011, 11:54 PM
Would it be possible to modify this slightly to put the avatar image to the left of the thread title and remove the thread icon? Sort of like how IPB does?
I think there already exists a mod for that, by digitalpoint if I'm not mistaken.
Winter Sonata
12-22-2011, 05:23 AM
Marked as installed and 5 stars :)
phpdesk
12-22-2011, 03:30 PM
Marked as installed and 5 stars :)
Thanks, I appreciate it.
sadiq6210
12-22-2011, 06:35 PM
Thanks, done :up:
How can I align the avatar in forumhome to be like this:
https://vborg.vbsupport.ru/attachment.php?attachmentid=135129&stc=1&d=1324063159
Interestingly, I have anticipated this request and integrated it as an admin option, it will be available in a future release.
I want to use it but is there any chance to change this ?
Thanks
Nominated - 5 stars - installed
phpdesk
12-22-2011, 06:45 PM
I want to use it but is there any chance to change this ?
The functionality you requested will be available with the next mod version. I've already implemented it, just need to wrap some more stuff before releasing it.
Thanks for your interest and support.
phpdesk
12-25-2011, 07:58 AM
May this Christmas be bright and cheerful,
And may the New Year begin on a prosperous note!
Merry Christmas!
karlm
12-25-2011, 08:04 AM
This looks wonderful, will try it shortly.
Looking forward to 106 release.
Maccrob
01-03-2012, 02:33 PM
Good job... but, I'm sorry, but it's a bad variant of "avatar in threads" realization. Reason: fetch_avatar_url will add additional queries (~ 10-15). So if your forum isn't popular, with 20-30ppl at once - OK, but when you get 400-500 users at once - you will be in trouble with high DB server load.
You can try "Inner join" to get avatars
Davey-UK
01-03-2012, 04:33 PM
Nice mod, and works fine on 4.1.9.
Thankyou
phpdesk
01-03-2012, 07:16 PM
Good job... but, I'm sorry, but it's a bad variant of "avatar in threads" realization. Reason: fetch_avatar_url will add additional queries (~ 10-15). So if your forum isn't popular, with 20-30ppl at once - OK, but when you get 400-500 users at once - you will be in trouble with high DB server load.
You can try "Inner join" to get avatars
Point taken, thanks! I'm currently working on it, will see how soon I can come up with a solution to save on db queries, I've managed to make some progress in this area already.
Great Mod too bad it does not work with 4.1.4 either way great mod non the less.
phpdesk
01-04-2012, 12:00 PM
Good job... but, I'm sorry, but it's a bad variant of "avatar in threads" realization. Reason: fetch_avatar_url will add additional queries (~ 10-15). So if your forum isn't popular, with 20-30ppl at once - OK, but when you get 400-500 users at once - you will be in trouble with high DB server load.
You can try "Inner join" to get avatars
The newest (1.0.0) version of this mod addresses the extra database queries and removes all for better behaviour on large forums. You can test it out and see if all is fine now, marking it as installed would be great, too.
I want to use it but is there any chance to change this ?
You can now choose between two positions of the avatar in forumbits, as per your request.
Luca_ITA
01-04-2012, 12:50 PM
Thanks for the update, but that didn't work :/
Now the path to my images is wrong. Instead of http://www.mysite.net/forum/customavatars/avatar43_2.gif, the path is http://www.mysite.net/forum/customavatars/avatar43_.gif.
Any way, tnx for the mod! +1
TheSupportForum
01-04-2012, 12:57 PM
Thanks for the update, but that didn't work :/
Now the path to my images is wrong. Instead of http://www.mysite.net/forum/customavatars/avatar43_2.gif, the path is http://www.mysite.net/forum/customavatars/avatar43_.gif.
Any way, tnx for the mod! +1
try the following instead and use relative path
./customavatars/avatar43_.gif
Luca_ITA
01-04-2012, 01:06 PM
Sorry, the filename is wrong...
For example, instead of avatar43_2.gif, is avatar43_.gif
TheSupportForum
01-04-2012, 01:12 PM
Sorry, the filename is wrong...
For example, instead of avatar43_2.gif, is avatar43_.gif
Just change the path to match the filename
so it would look like
./customavatars/avatar43_2.gif
rinkrat
01-04-2012, 01:16 PM
Got the email this morning that there was an update, added it and now it broke all the pics. Just red X's now.
Reed_HCT
01-04-2012, 01:36 PM
This mod would be perfect if working also in the "new posts" page.
phpdesk
01-04-2012, 02:02 PM
Those having issues with the mod please be more specific to help me reproduce the problem on my end, I'll do my best to troubleshoot and get back with a fix whenever required. This new release is a rework to exclude the extra queries to the database, so bugs can happen, please keep in mind it's still a beta stage mod.
Thanks for your support!
sadiq6210
01-04-2012, 02:08 PM
Thanks dear .. Great work
Installed but the avatars is not appeared
for example:
the original link for an avatar is:
http://www.domain.com/forum/avatar/customavatars/avatar8707_8.gif
but in this mod the link become wrong like this:
http://www.domain.com/forum/avatar/customavatars/avatar8707_.gif
Just the last (8) is missing
so nothing appeared
Thanks again
Daryn
01-04-2012, 08:54 PM
I'm having the same issues as most here. The filename is being truncated somehow. I can say that I have the forum home integrated with a vbadvanced page, so maybe that may have something to do with. Oddly the older versions worked fine, so I dunno.
Oh, and you might want to edit the original post:
Settings
No settings at this point. I'm sure some of you will ask how to enable this feature on certain forums only, and I'm going to work on that as soon as I get some time to spend on this mod to enhance it further. Please be patient in the meantime, my current schedule is overloaded.
It does indeed have settings now. :)
phpdesk
01-04-2012, 09:14 PM
Hi all,
I have fixed the avatar display issue brought to you with the 1.1.0 release. As a matter of fact, I haven't tested on forums that were set to save avatars as files, and I've fixed the problem now. Do let me know if anything else comes up, I'll be more than happy to troubleshoot and get back to you with further fixes until this becomes a stable mod.
Thanks, Daryn, I have removed the outdated lines from the mod description, you're right :)
ProFifaLeagues
01-04-2012, 10:08 PM
Just to let you guys know this seems to Work fine on 4.1.3 as well
Thank you Alex
thecore762
01-04-2012, 11:04 PM
Any plans to release an option for vBadvanced?
I'd like this to look much cooler www.47r-squad.com
Fready
01-05-2012, 01:49 AM
Found a bug/problem.
On the Forums Home, say you have Sub-Forums, if a poster posts on a Thread in the Sub-Forum it doesn't show their av on the Forums Home, it will show the av of the last poster within the main Forum not the Sub Forum even though the last post showing on the Forums Home is from the Sub Forum.
Hope you understand what I mean.
Check it out and test it with a Forum which has a Sub Forum to it.
Daryn
01-05-2012, 04:02 AM
Installed the new 1.1.1 update and all seems to be working well. Did a little tweaking of the CSS to fit my style better, but other than that it's working great.
sadiq6210
01-05-2012, 05:25 AM
Hi all,
I have fixed the avatar display issue brought to you with the 1.1.0 release. As a matter of fact, I haven't tested on forums that were set to save avatars as files, and I've fixed the problem now. Do let me know if anything else comes up, I'll be more than happy to troubleshoot and get back to you with further fixes until this becomes a stable mod.
Thanks, Daryn, I have removed the outdated lines from the mod description, you're right :)
Now the avatar appears if the link is like this:
http://www.domain.com/forum/avatar/customavatars/avatar8707_8.gif
But if there is two digits after (_), for example:
http://www.domain.com/forum/avatar/customavatars/avatar8701_59.gif
The link will be like this:
http://www.domain.com/forum/avatar/customavatars/avatar8701_5.gif
There is no avatar because the last (9) is missing and will not include in the link!
Thanks dear
Fready
01-05-2012, 06:28 AM
Installed the new 1.1.1 update and all seems to be working well. Did a little tweaking of the CSS to fit my style better, but other than that it's working great.
It is apart from what I wrote about the SubForum problem.
Do you have SubForums?
If so post in one and you will see that on the Forum home page your av isn't showing as the last poster.
paulket
01-06-2012, 12:54 AM
Found a bug/problem.
On the Forums Home, say you have Sub-Forums, if a poster posts on a Thread in the Sub-Forum it doesn't show their av on the Forums Home, it will show the av of the last poster within the main Forum not the Sub Forum even though the last post showing on the Forums Home is from the Sub Forum.
I'm also having this problem. It only started after installing the updated version of the mod.
bada_bing
01-06-2012, 01:53 AM
I have uninstalled this mod because it it not working with vb 4.19 it give a database errro
Database error in vBulletin 4.1.9:
Invalid SQL:
SELECT
IF(votenum >= 1, votenum, 0) AS votenum,
IF(votenum >= 1 AND votenum > 0, votetotal / votenum, 0) AS voteavg,
post.pagetext AS preview,thread.firstpostid, post.pagetext AS thumb,
thread.threadid, thread.title AS threadtitle, thread.forumid, thread.pollid, thread.open, thread.postusername, thread.postuserid, thread.iconid AS threadiconid,
thread.dateline, thread.notes, thread.visible, thread.sticky, thread.votetotal, thread.attach, thread.lastpost, thread.lastposter, thread.lastposterid, thread.lastpostid, thread.replycount, IF(thread.views<=thread.replycount, thread.replycount+1, thread.views) AS views,
thread.prefixid, thread.taglist, thread.hiddencount, thread.deletedcount,
user.usergroupid, user.homepage, user.options AS useroptions, IF(userlist.friend = 'yes', 1, 0) AS isfriend,
user.lastactivity, user.lastvisit, IF(user.options & 512, 1, 0) AS invisible
, NOT ISNULL(subscribethread.subscribethreadid) AS issubscribed
, deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS de
CoZmicShReddeR
01-06-2012, 02:27 AM
That issue just started with last update...
mitch84
01-06-2012, 06:26 AM
I have uninstalled this mod because it it not working with vb 4.19 it give a database errro
Database error in vBulletin 4.1.9:
Invalid SQL:
SELECT
IF(votenum >= 1, votenum, 0) AS votenum,
IF(votenum >= 1 AND votenum > 0, votetotal / votenum, 0) AS voteavg,
post.pagetext AS preview,thread.firstpostid, post.pagetext AS thumb,
thread.threadid, thread.title AS threadtitle, thread.forumid, thread.pollid, thread.open, thread.postusername, thread.postuserid, thread.iconid AS threadiconid,
thread.dateline, thread.notes, thread.visible, thread.sticky, thread.votetotal, thread.attach, thread.lastpost, thread.lastposter, thread.lastposterid, thread.lastpostid, thread.replycount, IF(thread.views<=thread.replycount, thread.replycount+1, thread.views) AS views,
thread.prefixid, thread.taglist, thread.hiddencount, thread.deletedcount,
user.usergroupid, user.homepage, user.options AS useroptions, IF(userlist.friend = 'yes', 1, 0) AS isfriend,
user.lastactivity, user.lastvisit, IF(user.options & 512, 1, 0) AS invisible
, NOT ISNULL(subscribethread.subscribethreadid) AS issubscribed
, deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS de
same error message for me with this version!
phpdesk
01-06-2012, 08:53 PM
The quoted error message seems to be cut and does not include the actual note related to the error. Would it be possible to post the full error message so that I could track it down?
Either way, I have reuploaded the previous version of the mod for those of you having issues with v1.1.1.
Thanks.I have uninstalled this mod because it it not working with vb 4.19 it give a database errro
Database error in vBulletin 4.1.9:
Invalid SQL:
SELECT
IF(votenum >= 1, votenum, 0) AS votenum,
IF(votenum >= 1 AND votenum > 0, votetotal / votenum, 0) AS voteavg,
post.pagetext AS preview,thread.firstpostid, post.pagetext AS thumb,
thread.threadid, thread.title AS threadtitle, thread.forumid, thread.pollid, thread.open, thread.postusername, thread.postuserid, thread.iconid AS threadiconid,
thread.dateline, thread.notes, thread.visible, thread.sticky, thread.votetotal, thread.attach, thread.lastpost, thread.lastposter, thread.lastposterid, thread.lastpostid, thread.replycount, IF(thread.views<=thread.replycount, thread.replycount+1, thread.views) AS views,
thread.prefixid, thread.taglist, thread.hiddencount, thread.deletedcount,
user.usergroupid, user.homepage, user.options AS useroptions, IF(userlist.friend = 'yes', 1, 0) AS isfriend,
user.lastactivity, user.lastvisit, IF(user.options & 512, 1, 0) AS invisible
, NOT ISNULL(subscribethread.subscribethreadid) AS issubscribed
, deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS de
sadiq6210
01-07-2012, 08:40 AM
The quoted error message seems to be cut and does not include the actual note related to the error. Would it be possible to post the full error message so that I could track it down?
Either way, I have reuploaded the previous version of the mod for those of you having issues with v1.1.1.
Thanks.
What about this?
https://vborg.vbsupport.ru/showpost.php?p=2284030&postcount=115
Thanks
I.G.O.T.A.
01-08-2012, 06:52 PM
Found a bug/problem.
On the Forums Home, say you have Sub-Forums, if a poster posts on a Thread in the Sub-Forum it doesn't show their av on the Forums Home, it will show the av of the last poster within the main Forum not the Sub Forum even though the last post showing on the Forums Home is from the Sub Forum.
Hope you understand what I mean.
Check it out and test it with a Forum which has a Sub Forum to it.
I have the same problem. I'm on 4.1.8
I.G.O.T.A.
01-10-2012, 12:06 PM
Is there a way to fix this issue?
garybrun
01-10-2012, 11:26 PM
works ok for me in 4.19a
http://Www.minelabowners.com
bada_bing
01-11-2012, 02:24 AM
The quoted error message seems to be cut and does not include the actual note related to the error. Would it be possible to post the full error message so that I could track it down?
Either way, I have reuploaded the previous version of the mod for those of you having issues with v1.1.1.
Thanks.
That is the exact copy and past of the error message I get this this plugin enabled
goshalim
01-11-2012, 05:39 AM
Hi , this is a very nice mod , good job man !!
I have only a small problem which iam sure that you will help me to solve it.
Please see the link from my web site.
The user name is shown twice and also a part of the code.
http://www.canarybreeder.net/up/forum/forum.php
chiggy
01-11-2012, 04:44 PM
Hey Bro U Done Great Job Installed And Working Perfectly And Realy I Like Your Mod And Ur Work
This Modification Give My Forum Something Good Look Bcoz My All Forum Members Almost Using GIF Animated Avatars And In Home Page Its Looking Coolll Man Than You Very Much...... U R The Man
My Side +1000 For You.
bada_bing
01-11-2012, 06:10 PM
The quoted error message seems to be cut and does not include the actual note related to the error. Would it be possible to post the full error message so that I could track it down?
Either way, I have reuploaded the previous version of the mod for those of you having issues with v1.1.1.
Thanks.
Here is the full error
Database error in vBulletin 4.1.9:
Invalid SQL:
SELECT
IF(votenum >= 1, votenum, 0) AS votenum,
IF(votenum >= 1 AND votenum > 0, votetotal / votenum, 0) AS voteavg,
post.pagetext AS preview,thread.firstpostid, post.pagetext AS thumb,
thread.threadid, thread.title AS threadtitle, thread.forumid, thread.pollid, thread.open, thread.postusername, thread.postuserid, thread.iconid AS threadiconid,
thread.dateline, thread.notes, thread.visible, thread.sticky, thread.votetotal, thread.attach, thread.lastpost, thread.lastposter, thread.lastposterid, thread.lastpostid, thread.replycount, IF(thread.views<=thread.replycount, thread.replycount+1, thread.views) AS views,
thread.prefixid, thread.taglist, thread.hiddencount, thread.deletedcount,
user.usergroupid, user.homepage, user.options AS useroptions, IF(userlist.friend = 'yes', 1, 0) AS isfriend,
user.lastactivity, user.lastvisit, IF(user.options & 512, 1, 0) AS invisible
, NOT ISNULL(subscribethread.subscribethreadid) AS issubscribed
, deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason
, threadredirect.expires
,IF(customavatar.userid, 1, 0) AS useavatar, user.avatarrevision
, user.avatarrevision AS avatarrevision, thread.lastposterid AS userid, avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline,customavatar.width AS avwidth,customavatar.height AS avheight
FROM thread AS thread
LEFT JOIN user AS user ON (user.userid = thread.lastposterid)
LEFT JOIN userlist AS userlist ON (userlist.relationid = user.userid AND userlist.type = 'buddy' AND userlist.userid = 1)
LEFT JOIN deletionlog AS deletionlog ON(thread.threadid = deletionlog.primaryid AND deletionlog.type = 'thread')
LEFT JOIN subscribethread AS subscribethread ON(subscribethread.threadid = thread.threadid AND subscribethread.userid = 1 AND canview = 1)
LEFT JOIN post AS post ON(post.postid = thread.firstpostid)
LEFT JOIN threadredirect AS threadredirect ON(thread.open = 10 AND thread.threadid = threadredirect.threadid)
LEFT JOIN customavatar AS customavatar ON (customavatar.userid = thread.postuserid)
LEFT JOIN avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN customavatar AS customavatar ON(customavatar.userid = user.userid)
WHERE thread.threadid IN (0,7,1)
ORDER BY thread.sticky DESC, lastpost DESC;
MySQL Error : Not unique table/alias: 'customavatar'
Error Number : 1066
Request Date : Wednesday, January 11th 2012 @ 01:07:59 PM
Error Date : Wednesday, January 11th 2012 @ 01:07:59 PM
Script : http://www.mysite.com/forums/forumdisplay.php?2-mysite-com-Announcements
Referrer : http://www.mysite.com/forums/forum.php
IP Address : 67.59.x.x
Username : adminaccount
Classname : vB_Database
MySQL Version : 5.0.90-community-nt
bremereric
01-11-2012, 07:22 PM
Will this hack also grab pre-defined avatars or only the one's that members have uploaded?
bremereric
01-12-2012, 02:57 AM
Okay I installed your 1.1.1 version and it didn't have the default avatar option in the admin options. It also had some of the same avatars overriding others on another new post. I did not take screen shots of this. I rolled back to 1.0.5a version and got the default avatar back and they worked like a charm. Lost the option to move the avatar to the left though. I have attached screen shots of the 1.0.5a version installed.
TheSupportForum
01-12-2012, 10:47 PM
Okay I installed your 1.1.1 version and it didn't have the default avatar option in the admin options. It also had some of the same avatars overriding others on another new post. I did not take screen shots of this. I rolled back to 1.0.5a version and got the default avatar back and they worked like a charm. Lost the option to move the avatar to the left though. I have attached screen shots of the 1.0.5a version installed.
i've had the same problem
i created a new forum/category
i was the first person to post in it, it decided to show a different users avatar and profile, this mod needs to be checked for errors in coding it seriously messed up my board showing the other guys avatar as the last peron who posted even though i was the only poster in that forum
TheSupportForum
01-12-2012, 10:51 PM
current issues
Hook Forumbit Query Fields & Joins
if( $vbulletin->options['lpavatar_enable'] == 1 && $vbulletin->options['lpavatar_forumbit'] == 1 )
{
$counter_select .= iif($vbulletin->options['avatarenabled'], ', user.avatarrevision AS avatarrevision, forum.lastposterid AS userid, avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline,customavatar.width AS avwidth,customavatar.height AS avheight');
$tachyjoin .= iif($vbulletin->options['avatarenabled'], "LEFT JOIN " . TABLE_PREFIX . "avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN " . TABLE_PREFIX . "customavatar AS customavatar ON(customavatar.userid = user.userid)");
}
goshalim
01-13-2012, 09:33 AM
Hi , this is a very nice mod , good job man !!
I have only a small problem which iam sure that you will help me to solve it.
Please see the link from my web site.
The user name is shown twice and also a part of the code.
http://www.canarybreeder.net/up/forum/forum.php
Please i really need some help here ............
https://vborg.vbsupport.ru/external/2012/01/47.jpg
bulldog51981
01-13-2012, 02:30 PM
Here is the full error
Database error in vBulletin 4.1.9:
Invalid SQL:
SELECT
IF(votenum >= 1, votenum, 0) AS votenum,
IF(votenum >= 1 AND votenum > 0, votetotal / votenum, 0) AS voteavg,
post.pagetext AS preview,thread.firstpostid, post.pagetext AS thumb,
thread.threadid, thread.title AS threadtitle, thread.forumid, thread.pollid, thread.open, thread.postusername, thread.postuserid, thread.iconid AS threadiconid,
thread.dateline, thread.notes, thread.visible, thread.sticky, thread.votetotal, thread.attach, thread.lastpost, thread.lastposter, thread.lastposterid, thread.lastpostid, thread.replycount, IF(thread.views<=thread.replycount, thread.replycount+1, thread.views) AS views,
thread.prefixid, thread.taglist, thread.hiddencount, thread.deletedcount,
user.usergroupid, user.homepage, user.options AS useroptions, IF(userlist.friend = 'yes', 1, 0) AS isfriend,
user.lastactivity, user.lastvisit, IF(user.options & 512, 1, 0) AS invisible
, NOT ISNULL(subscribethread.subscribethreadid) AS issubscribed
, deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason
, threadredirect.expires
,IF(customavatar.userid, 1, 0) AS useavatar, user.avatarrevision
, user.avatarrevision AS avatarrevision, thread.lastposterid AS userid, avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline,customavatar.width AS avwidth,customavatar.height AS avheight
FROM thread AS thread
LEFT JOIN user AS user ON (user.userid = thread.lastposterid)
LEFT JOIN userlist AS userlist ON (userlist.relationid = user.userid AND userlist.type = 'buddy' AND userlist.userid = 1)
LEFT JOIN deletionlog AS deletionlog ON(thread.threadid = deletionlog.primaryid AND deletionlog.type = 'thread')
LEFT JOIN subscribethread AS subscribethread ON(subscribethread.threadid = thread.threadid AND subscribethread.userid = 1 AND canview = 1)
LEFT JOIN post AS post ON(post.postid = thread.firstpostid)
LEFT JOIN threadredirect AS threadredirect ON(thread.open = 10 AND thread.threadid = threadredirect.threadid)
LEFT JOIN customavatar AS customavatar ON (customavatar.userid = thread.postuserid)
LEFT JOIN avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN customavatar AS customavatar ON(customavatar.userid = user.userid)
WHERE thread.threadid IN (0,7,1)
ORDER BY thread.sticky DESC, lastpost DESC;
MySQL Error : Not unique table/alias: 'customavatar'
Error Number : 1066
Request Date : Wednesday, January 11th 2012 @ 01:07:59 PM
Error Date : Wednesday, January 11th 2012 @ 01:07:59 PM
Script : http://www.mysite.com/forums/forumdisplay.php?2-mysite-com-Announcements
Referrer : http://www.mysite.com/forums/forum.php
IP Address : 67.59.x.x
Username : adminaccount
Classname : vB_Database
MySQL Version : 5.0.90-community-nt
I upgraded to ver 1.1.1 last night and didn't realize it until this morning but I am getting the same error on Sub Forums only. Reverted back to 1.0.5a and problem solved. Will upgrade again after issue is fixed.
I.G.O.T.A.
01-13-2012, 05:04 PM
I just upgraded forum to 4.1.10 and now my avatars are not lining up like they where on 4.1.8. Any got any ideas?
kfyonur
01-13-2012, 06:41 PM
same database problem.
TheSupportForum
01-13-2012, 07:12 PM
I just upgraded forum to 4.1.10 and now my avatars are not lining up like they where on 4.1.8. Any got any ideas?
same database problem.
its a plugin issue
look at the plugins you will see references to the database fieldnames
they may of changed in 4.1.10
details below on which one to check
Hook Forumbit Query Fields & Joins
if( $vbulletin->options['lpavatar_enable'] == 1 && $vbulletin->options['lpavatar_forumbit'] == 1 )
{
$counter_select .= iif($vbulletin->options['avatarenabled'], ', user.avatarrevision AS avatarrevision, forum.lastposterid AS userid, avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline,customavatar.width AS avwidth,customavatar.height AS avheight');
$tachyjoin .= iif($vbulletin->options['avatarenabled'], "LEFT JOIN " . TABLE_PREFIX . "avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN " . TABLE_PREFIX . "customavatar AS customavatar ON(customavatar.userid = user.userid)");
}
kevius
01-13-2012, 07:41 PM
Found a bug/problem.
On the Forums Home, say you have Sub-Forums, if a poster posts on a Thread in the Sub-Forum it doesn't show their av on the Forums Home, it will show the av of the last poster within the main Forum not the Sub Forum even though the last post showing on the Forums Home is from the Sub Forum.
Hope you understand what I mean.
Hi there, i've got the same problem too !
Can anybody help us to resolve this bug with sub-forum ?
I.G.O.T.A.
01-13-2012, 07:53 PM
its a plugin issue
look at the plugins you will see references to the database fieldnames
they may of changed in 4.1.10
details below on which one to check
Hook Forumbit Query Fields & Joins
if( $vbulletin->options['lpavatar_enable'] == 1 && $vbulletin->options['lpavatar_forumbit'] == 1 )
{
$counter_select .= iif($vbulletin->options['avatarenabled'], ', user.avatarrevision AS avatarrevision, forum.lastposterid AS userid, avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline,customavatar.width AS avwidth,customavatar.height AS avheight');
$tachyjoin .= iif($vbulletin->options['avatarenabled'], "LEFT JOIN " . TABLE_PREFIX . "avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN " . TABLE_PREFIX . "customavatar AS customavatar ON(customavatar.userid = user.userid)");
}
So how do I fix this?
TheSupportForum
01-13-2012, 08:00 PM
So how do I fix this?
Admicp > Plugins & Products > Plugin Manager >
look for Hook Forumbit Query Fields & Joins
ensure that the fieldnames match the query
I.G.O.T.A.
01-13-2012, 08:10 PM
Here is my code.
if( $vbulletin->options['lpavatar_enable'] == 1 && $vbulletin->options['lpavatar_forumbit'] == 1 )
{
$counter_select .= iif($vbulletin->options['avatarenabled'], ', user.avatarrevision AS avatarrevision, forum.lastposterid AS userid, avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline,customavatar.width AS avwidth,customavatar.height AS avheight');
$tachyjoin .= iif($vbulletin->options['avatarenabled'], "LEFT JOIN " . TABLE_PREFIX . "avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN " . TABLE_PREFIX . "customavatar AS customavatar ON(customavatar.userid = user.userid)");
}
TheSupportForum
01-13-2012, 09:01 PM
Here is my code.
if( $vbulletin->options['lpavatar_enable'] == 1 && $vbulletin->options['lpavatar_forumbit'] == 1 )
{
$counter_select .= iif($vbulletin->options['avatarenabled'], ', user.avatarrevision AS avatarrevision, forum.lastposterid AS userid, avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline,customavatar.width AS avwidth,customavatar.height AS avheight');
$tachyjoin .= iif($vbulletin->options['avatarenabled'], "LEFT JOIN " . TABLE_PREFIX . "avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN " . TABLE_PREFIX . "customavatar AS customavatar ON(customavatar.userid = user.userid)");
}
there are also other plugins that go with this
login to your hosting control panel and open up PHPMySQL or similar
you have to ensure that the fieldname e.g. avatarid etc exists
or the other option who be to uninstall it and reinstall the mod
sometimes it resolves the issue
I.G.O.T.A.
01-13-2012, 09:17 PM
I uninstalled it and reloaded it in and it stayed the same. When I log into my PHPMySQL what do I do?
bremereric
01-13-2012, 10:30 PM
Phpdesk posted the following. Did you guys uninstall and reinstall the older version. I did and it's working fine.
https://vborg.vbsupport.ru/showpost.php?p=2284583&postcount=121
phpdesk
01-14-2012, 04:54 PM
Hi guys, you have the two versions of the mod, this is a free contribution, so feel free to suggest a merge between the two, and I'll be more than happy to include it into a new release.
goshalim
01-15-2012, 04:07 AM
Hi Alex ( phpdesk )
Iam just wondering whyn none of you is to replying to my request !!!!
I cant wait any longer otherwise i will delete this addon.
Someone please can tell me what is going wrong and the username is shown twice next to the picture and also a part of the code is visable to the users?
thanks
phpdesk
01-15-2012, 02:44 PM
Hi, goshalim,
I'll work on an update to fix the reported issues as soon as I get a moment, you can use 1.0.5a meanwhile.
kevius
01-15-2012, 03:52 PM
and what about "sub-forum" bug ? any idear ?
goshalim
01-15-2012, 06:31 PM
i did try 1.0.5 but still the same problem
Khalid-B
01-17-2012, 07:21 AM
installed...
working fine with 4.1.10
bperkins88
01-17-2012, 08:16 PM
cool mod, i like this
I.G.O.T.A.
01-18-2012, 06:52 PM
Still having issues with it aligning.
goshalim
01-19-2012, 07:00 AM
UNFORTUNATELY what i see is than the owner does not care about our problems , not even tried to help.
No reasnon then to keep this addon on my website.
as from now its Un installed !
New Joe
01-19-2012, 08:29 AM
UNFORTUNATELY what i see is than the owner does not care about our problems , not even tried to help.
No reasnon then to keep this addon on my website.
as from now its Un installed !
Yep, no matter which version i use, I still have problems with it showing the last av for Sub-forums.
kitawanita
01-19-2012, 11:40 AM
Hey Alex,
Your mod not working on my custom style.If i switch to default style,it working well.
Any idea ?
I.G.O.T.A.
01-23-2012, 12:31 PM
So I guess no update. That sucks. :(
phpdesk
01-23-2012, 01:04 PM
I've been running a pretty crowded schedule since new year, an important (money-wise) high load project that I'm working on. I hope to make some time for these little mods, too...
aussiev8
01-24-2012, 12:53 PM
it didn't float the by line, title and time correctly.
kylek
01-24-2012, 07:39 PM
Disabling it for now until the sub forum problem can be fixed, getting too many members complaining that someone elses avatar is showing as theirs. Otherwise this is a great feature. Any chance for a temporary fix on this in the meantime?
kevius
01-26-2012, 12:39 PM
+1 !!
I.G.O.T.A.
01-26-2012, 12:42 PM
Going to have to shut it off cause it's not working right on 4.1.10. Awesome idea. Hope you get it figured out. It works fine on 4.1.5, 4.1.9, but not 4.1.10. Thanks JJ.
New Joe
01-27-2012, 05:15 AM
Disabling it for now until the sub forum problem can be fixed, getting too many members complaining that someone elses avatar is showing as theirs. Otherwise this is a great feature. Any chance for a temporary fix on this in the meantime?
Same with me, hope it can be fixed
illusioNtEk
01-28-2012, 08:17 PM
works awesome on 4.1.10
melbs5150
01-28-2012, 08:56 PM
installed and I am having no issues with it. Hope everyones issues get resolved though, as I really like it!
ALBCODERS
01-28-2012, 09:05 PM
works perfect on vb 4.0.3 :) thanbkyou very nice idea
I.G.O.T.A.
02-01-2012, 07:10 PM
Any word on a update for 4.1.10?
avaare
02-03-2012, 10:52 AM
on 4.1.10 not working "Last Poster Avatars on Threadbits"
thenashy
02-03-2012, 05:00 PM
4.1.10 Kind of working, kind of not.
Some are showing my avatar, even when I'm not the last poster. Some are right. The avatars are also showing in front of the last post title instead of the name. So it looks a bit messy.
mcyates
02-05-2012, 11:44 AM
It shows the avatar in 4.1.10 but its not displayed properly.
skokarl
02-15-2012, 11:04 AM
Can somebody fix this for 4.1.0 ?
Is it supported ?
Winter Sonata
02-15-2012, 02:18 PM
Yes, it works!
sadiq6210
02-15-2012, 04:03 PM
Thanks dear .. Great work
Installed but the avatars is not appeared
for example:
the original link for an avatar is:
http://www.domain.com/forum/avatar/customavatars/avatar8707_8.gif
but in this mod the link become wrong like this:
http://www.domain.com/forum/avatar/customavatars/avatar8707_.gif
Just the last (8) is missing
so nothing appeared
Thanks again
Hi all,
I have fixed the avatar display issue brought to you with the 1.1.0 release. As a matter of fact, I haven't tested on forums that were set to save avatars as files, and I've fixed the problem now. Do let me know if anything else comes up, I'll be more than happy to troubleshoot and get back to you with further fixes until this becomes a stable mod.
Thanks, Daryn, I have removed the outdated lines from the mod description, you're right :)
Now the avatar appears if the link is like this:
http://www.domain.com/forum/avatar/customavatars/avatar8707_8.gif
But if there is two digits after (_), for example:
http://www.domain.com/forum/avatar/customavatars/avatar8701_59.gif
The link will be like this:
http://www.domain.com/forum/avatar/customavatars/avatar8701_5.gif
There is no avatar because the last (9) is missing and will not include in the link!
Thanks dear
Any fix for this bug?
BlueCheri
02-15-2012, 04:17 PM
I think it's not working properly.
G!
Can somebody fix this for 4.1.0 ?
Is it supported ?
MediaSVI
02-18-2012, 08:10 PM
Does not work in 4.1.10
cdnbacon
02-24-2012, 05:37 PM
I would also appreciate an update for 4.1.10, or a redirect to a working mod that does the same.
phpdesk
02-25-2012, 07:27 PM
Hi guys, I got involved in a few large projects since the beginning of the year, I had to put development of this and my other vbulletin modifications on hold for now, please hold on or if any of you are willing to contribute to any of the fixes required in the meantime, feel free to drop me a message and I'll gladly add your codes to the package.
chimpmaster
03-17-2012, 04:46 PM
Upgrading to V4.1.11 it is working fine except for the default guest avatar. It displays userid # 127 for the avatar instead. Not a big deal, but something to look at when updating this mod. Great mod though and one that our members love.
Conehead555
04-07-2012, 06:36 PM
Perfect in 4.1.7 but no "default avatar" option like in your screen shot. :(
lordtopcat
05-26-2012, 07:20 AM
Installed on 4.2. I'd like to use the non legacy version with the avatar on the left and everything else on the right. When I select this option, the following happens. (see attached)
The legacy version works fine, as it should.
Any suggestions?
Jakobi
06-01-2012, 03:35 PM
Works on 4.2.
Jakobi
06-01-2012, 05:10 PM
This conflicts with DP thread avatars. https://vborg.vbsupport.ru/showthread.php?t=271540&page=18
This overtakes that mod, any way to fix?
nikosb
06-06-2012, 01:57 PM
works fine on 4.2
thank you
Jakobi
06-07-2012, 11:15 PM
Anyone figure out how this can work with subforums?
Disco_Stu
06-08-2012, 12:25 PM
Works perfectly on 4.2
Thanks. Looks great!
Marking installed.
oldz442
08-10-2012, 09:26 AM
This conflicts with DP thread avatars. https://vborg.vbsupport.ru/showthread.php?t=271540&page=18
This overtakes that mod, any way to fix?
I just installed both and don't see any conflicts. Not yet anyway, as have only used it for a few minutes of testing.
EDIT: ok, I noticed that when both are enabled that the default avatar overwrites the DP started thread user avatar.
RMonster
08-10-2012, 10:25 AM
Nice!
Is it possible to add this to the search results also?
Thanks
Merenguista
08-19-2012, 01:41 PM
thanks ..
Leica.Robbiani
08-19-2012, 02:49 PM
Hi there,
Nice!
Is it possible to add this to the search results also?
Thanks
This would be great!
Best regards
L.R.
gt86comau
09-04-2012, 11:01 PM
Hi, is it possible to have round corners and border around it ?
thanks
oldz442
09-04-2012, 11:40 PM
Some radius and border in additional.css should prob work. ie...
.lastpostby .avatar, .lastpostinfo .avatar, .threadlastpost .avatar {
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border: 1px #DDD solid;
padding: 2px;
}
Amaury
09-04-2012, 11:52 PM
Is this compatible with vBulletin 4.2.0?
oldz442
09-05-2012, 12:00 AM
Yes.
bizpro99
09-05-2012, 12:11 AM
will this work on 4.2?
oldz442
09-05-2012, 12:26 AM
o deer
Amaury
09-05-2012, 12:45 AM
So I've installed this, and it works, but there seems to be a small issue.
On the main index page, avatars don't update for a while.
For example, say Person 1 makes a post in the Spammy Fun thread in the Random Area forum and has an avatar of Tommy from Rugrats. Person 2, with an avatar of Angelica from Rugrats, comes along and makes a post in the same thread, but Person 1's avatar is still showing on the index.
Forums themselves seem fine, though.
oldz442
09-05-2012, 12:54 AM
Cache most likely.
I had similar probs (not necessarily this mod but in general) with some avatars not updating on the index and threads (I added a mini avatar to quoted replies - modded class_bbcode.php to show proper avatar). I had to to setup a small plugin for hook location 'profile_updateavatar_complete' with the below to fix the issue. I also run geeky default avatar in addition to this mod.
$vbulletin->db->query_write("TRUNCATE TABLE postparsed");
$vbulletin->db->query_write("TRUNCATE TABLE cache");
Amaury
09-05-2012, 01:11 AM
Also, I think it would be nice if it were added pretty much everywhere there's last post by stuff, such as the User CP, Subscriptions, and search results pages. :)
oldz442
09-05-2012, 01:20 AM
I concur.
gt86comau
09-05-2012, 12:27 PM
Some radius and border in additional.css should prob work. ie...
.lastpostby .avatar, .lastpostinfo .avatar, .threadlastpost .avatar {
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border: 1px #DDD solid;
padding: 2px;
}
Hi
i have copied and pasted above text in additional.css file and nothing happen ?
thanks.
oldz442
09-05-2012, 12:37 PM
Works for me.
gt86comau
09-05-2012, 01:09 PM
Works for me.
so all i need to do is go in admincp ->search in templets and find the additional.css and copy and past and save ?
thanks
oldz442
09-05-2012, 01:21 PM
Yes, that is what I did. Or you can edit lastposter_avatar.css directly.
gt86comau
09-05-2012, 01:28 PM
would it be because i am using custom theme
??
gt86comau
09-05-2012, 02:21 PM
Yes, that is what I did. Or you can edit lastposter_avatar.css directly.
hi oldz
i have figured it out it was 2 do with my custome theme.
last question is it possible to make that avatar just little bigger. ?
thanks heaps;
oldz442
09-05-2012, 03:30 PM
See screenshots at top of this page. You can make those changes (width/height) in... Admin CP -> Options -> Last Poster Avatar Options
TheSupportForum
09-24-2012, 04:51 PM
@phpdesk
please add feature to enable this for RSS feeds
example once RSS feed is run, the users AVATAR is not shown
RedTurtle
09-25-2012, 01:26 PM
This mod seems awesome but it's unfortunate that it doesn't work with sub forums. :(
The mod author hasn't posted in this thread for about 7 months now. I realize he must have a lot of other things to attend to but I'm wondering, is this plugin still supported?
lilow
09-30-2012, 08:44 PM
thanks installed works great
jaffaman
10-15-2012, 03:23 PM
Installed and working on version 4.2.0 PL2 :)
paulket
10-15-2012, 05:42 PM
This mod seems awesome but it's unfortunate that it doesn't work with sub forums. :(
The mod author hasn't posted in this thread for about 7 months now. I realize he must have a lot of other things to attend to but I'm wondering, is this plugin still supported?
+1. Hoping there will be an update that fixes the issue with sub forums... but no post by the creator of this mod for such a long time doesn't look good.
Disco_Stu
10-18-2012, 01:55 AM
Seems like a very minor change to make this work for subforms but it's really up to the developer to release a change
paulket
10-18-2012, 08:50 PM
I have absolutely no idea why but now I can see the last post avatar with my sub forums.
Impromptu
10-28-2012, 03:57 AM
Disabling it for now until the sub forum problem can be fixed, getting too many members complaining that someone elses avatar is showing as theirs. Otherwise this is a great feature. Any chance for a temporary fix on this in the meantime?
Same with me, hope it can be fixed
I have this issues too, ie 'someone elses avatar is showing as theirs'
Bit of a shame since a great mod
flash84
10-29-2012, 07:52 AM
Excellent mod. It's working perfectly on VB4.2
Harpo
11-02-2012, 12:01 AM
Excellent mod. It's working perfectly on VB4.2
As long as you don't have sub forums. sure.
Uninstalled.
L0pht
11-23-2012, 06:13 AM
can not see the bottom of this add-on changes in the forums?
Adam H
01-17-2013, 12:29 PM
Anyone else had any problems with this mod conflicting with :
https://vborg.vbsupport.ru/showthread.php?t=271540
On the forum display something is conflicting which makes avatars on some users not show up. This is on the forum display only and not forum home .
When i disable "Hook Threadbit Query Fields & Joins" in this mods plugins everything goes back to normal .
aryung
01-29-2013, 08:47 PM
was trying to add a random avatar for no avatar users not sure how i can achieve this adding a nicely hook into this one
for this i edited "functions_user.php"
original
// final case: didn't get an avatar, so use the fake one
if (empty($userinfo['avatarurl']) AND $returnfakeavatar AND $vbulletin->options['avatarenabled'])
{
$userinfo['avatarurl'] = vB_Template_Runtime::fetchStyleVar('imgdir_misc') . '/unknown.gif';
}
Here is my eidt
if (empty($userinfo['avatarurl']) AND $returnfakeavatar AND $vbulletin->options['avatarenabled'])
{
$newavatar = rand(1,90);
$userinfo['avatarurl'] = 'images/avatars/' .$newavatar. ".jpg";
(This assigns a random image from 1.jpg to 90.jpg)
can you help me please how can a do this under a hook instead of editing source file
Nirjonadda
01-30-2013, 04:23 PM
Database error in vBulletin 4.1.10:
Invalid SQL:
SELECT
IF(votenum >= 1, votenum, 0) AS votenum,
IF(votenum >= 1 AND votenum > 0, votetotal / votenum, 0) AS voteavg,
post.pagetext AS preview,thread.firstpostid, post.pagetext AS thumb,
thread.threadid, thread.title AS threadtitle, thread.forumid, thread.pollid, thread.open, thread.postusername, thread.postuserid, thread.iconid AS threadiconid,
thread.dateline, thread.notes, thread.visible, thread.sticky, thread.votetotal, thread.attach, thread.lastpost, thread.lastposter, thread.lastposterid, thread.lastpostid, thread.replycount, IF(thread.views<=thread.replycount, thread.replycount+1, thread.views) AS views, thread.strike, thread.color,
thread.prefixid, thread.taglist, thread.hiddencount, thread.deletedcount,
user.usergroupid, user.homepage, user.options AS useroptions, IF(userlist.friend = 'yes', 1, 0) AS isfriend,
user.lastactivity, user.lastvisit, IF(user.options & 512, 1, 0) AS invisible
, deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason
, threadread.readtime AS threadread
, threadredirect.expires
, user.market_username_color AS last_color,
user.market_username_glow AS last_glow, thread.LAM_BanFromThread, post.pagetext AS previewhide, bop_ugroup.opentag as bop5_opentags, bop_ugroup.closetag AS bop5_closetags , thread.bop_global ,IF(customavatar.userid, 1, 0) AS useavatar, uposter.userid AS useravatarid, uposter.avatarrevision
, user.avatarrevision AS avatarrevision, thread.lastposterid AS userid, avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline,customavatar.width AS avwidth,customavatar.height AS avheight
FROM vbthread AS thread
LEFT JOIN vbuser AS user ON (user.userid = thread.lastposterid)
LEFT JOIN vbuserlist AS userlist ON (userlist.relationid = user.userid AND userlist.type = 'buddy' AND userlist.userid = 3)
LEFT JOIN vbdeletionlog AS deletionlog ON(thread.threadid = deletionlog.primaryid AND deletionlog.type = 'thread')
LEFT JOIN vbthreadread AS threadread ON (threadread.threadid = thread.threadid AND threadread.userid = 3)
LEFT JOIN vbpost AS post ON(post.postid = thread.firstpostid)
LEFT JOIN vbthreadredirect AS threadredirect ON(thread.open = 10 AND thread.threadid = threadredirect.threadid)
LEFT JOIN vbuser AS bop_user ON (thread.postuserid = bop_user.userid) LEFT JOIN vbusergroup AS bop_ugroup ON (bop_user.usergroupid = bop_ugroup.usergroupid)
LEFT JOIN vbuser AS uposter ON (uposter.userid = thread.postuserid)
LEFT JOIN vbcustomavatar AS customavatar ON (customavatar.userid = uposter.userid)
LEFT JOIN vbavatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN vbcustomavatar AS customavatar ON(customavatar.userid = user.userid)
WHERE thread.threadid IN (0,123421,164035,163423,163416,162902,163027,16340 9,162431,162433,162909,164006, 163993,163594,163415,159946,161244,162424,162945,1 62419,160385)
ORDER BY thread.sticky DESC, lastpost DESC;
MySQL Error : Not unique table/alias: 'customavatar'
Error Number : 1066
Request Date : Wednesday, January 30th 2013 @ 11:19:04 PM
Error Date : Wednesday, January 30th 2013 @ 11:19:05 PM
works perfect on 4.1.9 - i have avatars in main forum and sub forums =)
AFMichael
02-05-2013, 01:13 AM
When I installed this, the avatar on the forumhome does not push the lastpostby info to the right. Instead, it is places in front of the thread title with the last post auther and date under it. How do I fix this? See the link below.
http://i.imgur.com/t9TeWvw.png
Amaury
02-05-2013, 01:52 AM
When I installed this, the avatar on the forumhome does not push the lastpostby info to the right. Instead, it is places in front of the thread title with the last post auther and date under it. How do I fix this? See the link below.
http://i.imgur.com/t9TeWvw.png
I would try this modification (https://vborg.vbsupport.ru/showthread.php?t=268618).
It does the same thing and has easy to follow instructions.
AFMichael
02-05-2013, 02:31 AM
Thanks! That one works wonderfully.
datoneer
02-28-2013, 08:27 PM
Cool mod. It works fine!
datoneer
03-11-2013, 12:51 PM
I have this issues too, ie 'someone elses avatar is showing as theirs'
Amaury
03-12-2013, 03:10 AM
I have this issues too, ie 'someone elses avatar is showing as theirs'
Use this one (https://vborg.vbsupport.ru/showthread.php?t=268618), then. It's better and doesn't have that problem.
datoneer
03-12-2013, 05:02 PM
Thanks man!
smsma.net
03-16-2013, 03:38 PM
hello
thanks very much for this mod
but i have a problem
look here at my site
http://www.f-law.net/law/forum.php
it`s an Arabic site and there is problem in the position of the avatar
would you help me to make it look better
fxdigi-cash
03-16-2013, 05:30 PM
hello
thanks very much for this mod
but i have a problem
look here at my site
http://www.f-law.net/law/forum.php
it`s an Arabic site and there is problem in the position of the avatar
would you help me to make it look better
it is simple. you need to find .lastpostby .avatar, .lastposttitle .avatar in your css and change this property: float:left To float:right
save it after all and you are done.
Cheers
smsma.net
03-31-2013, 03:57 PM
it is simple. you need to find .lastpostby .avatar, .lastposttitle .avatar in your css and change this property: float:left To float:right
save it after all and you are done.
Cheers
thanks very much
i did it and it`s look better now
God bless you,
rexall
06-29-2013, 11:16 AM
I am chiming in pretty late on this, but very nice MOD. It installed in 10 seconds in vb 4.2 and works fine. Dresses up the forums nicely. Thanks!
phpdesk
06-29-2013, 08:57 PM
Looks like you guys are doing pretty well, hope you're still enjoying this mod.
DemOnstar
07-11-2013, 07:57 AM
Seems to work for me 4.2.1.
But found this one better https://vborg.vbsupport.ru/showthread.php?t=268618
TravisWPaquin
08-09-2013, 09:02 AM
It's a nice mod. However, do I need a profile picture for this to work or does it depend on the avatar? I have an avatar, but it is not being displayed.
megabink
08-09-2013, 10:07 AM
Cool mod and thanks...one problem tho,if you have several subforums then the avatar doesn't update to the last poster/member.
Any fix for that?
yestyle
08-24-2013, 04:01 AM
Show wrong avatar when forum has sub-forum in it.
yestyle
08-26-2013, 01:56 AM
Cool mod and thanks...one problem tho,if you have several subforums then the avatar doesn't update to the last poster/member.
Any fix for that?
I got the same problem
This mod didn't show correct avatar when forum has sub-forums in it. Please update mod.
Avros
08-26-2013, 02:44 AM
Works 100% at my end. Easy to install and set up. Thanks!
fleshy66
09-04-2013, 11:53 AM
Cool mod and thanks...one problem tho,if you have several subforums then the avatar doesn't update to the last poster/member.
Any fix for that?
This still being worked on? Have the same problem :cool:
ozzy47
09-04-2013, 04:51 PM
I doubt it, the mod has not been updated since 06 Jan 2012.
causing problems and don't work fine! NEED new hack with similar functions! UNinstalled :(
koruyucu54
04-10-2014, 07:14 AM
4.2.2 pl 1 işe yaramadı - kaldırıldı
jramos1973
04-12-2014, 05:58 PM
It is a Mod very good.. Congratulations.. :):cool:
jramos1973
04-12-2014, 06:00 PM
This Mod work fine in VBulletin 4.2.2 :up: :D
findingpeace
08-22-2014, 08:53 PM
I prefer this mod to the others because it doesn't use any database queries :) Depending on your forum size, this can seriously save 20-30 queries every homepage load.
You can fix the subforum issue by manually creating a hook in /includes/functions_forumlist.php
Search:
$templater = vB_Template::create('forumhome_lastpostby');
Add above:
($hook = vBulletinHook::fetch_hook('lastpostby')) ? eval($hook) : false;
Make a new file in /includes/xml/ called hooks_lastpostby.xml with the following content:
<?xml version="1.0" encoding="ISO-8859-1"?>
<hooks>
<hooktype type="lastpostby">
<hook>lastpostby</hook>
</hooktype>
</hooks>
And finally, go to your plugins and edit Fetch Last Poster Avatars on Forumbits
Change the hook from forumbit_display to lastpostby (lastpostby)
Save, and your forum home avatars are fixed!
Hope this helps :)
findingpeace
08-23-2014, 02:09 PM
Note: The above fix only resolves the bug where avatars show incorrectly down the entire forum listing when subforums exist. I'm currently working on fixing the other bug where Last Post area shows avatar of parent forum, not subforum, even if last poster is from subforum.
I've also made a few modifications to have this code play nice with Digital Point thread avatars, if anyone else was running into trouble with that. Just let me know and I can share my changes.
Again, I definitely recommend using this mod over the other if you care about query usage.
BGObsession
08-24-2014, 06:36 PM
Easy install, worked perfectly with my 4.2.1 forum. Thanks!
findingpeace
08-28-2014, 04:40 PM
Well, I finally figured out the subforum thing. Requires code edits, as there aren't any hooks nearby. Open up /includes/functions.php
Find:
$threadinfo = array(
Add in your avatar variables like below (be careful with commas!)
$threadinfo = array(
'title' => $lastpostinfo['lastthread'],
'threadid' => $lastpostinfo['lastthreadid'],
'avatardateline' => $lastpostinfo['avatardateline'],
'hascustomavatar' => $lastpostinfo['hascustomavatar']
Then you can simply call these variables in a forumhome plugin like so:
$lp_dateline = $lastpostinfo['avatardateline'];
$lp_userid = $lastpostinfo['userid'];
$hascustomavatar = $lastpostinfo['hascustomavatar'];
You can even do this without the forumhome plugin just by getting the variables from template. (Still need the query plugin, of course).
Best of luck!
madness85
08-28-2014, 07:06 PM
Any way to disable animation?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.