Support Forum
so you modified an existing function in core? you should hook into the api we make available... assume you are referring to sp_UserAvatar();??
you can filter the image size if you want, but that will just change the size and not actually resize the image which I think you are doing...
and you can always filter the $avatarData array which contains the image...
but not sure I can add more currently without knowing what you actually did...
Visit Cruise Talk Central and Mr Papa's World
Yes you are right I did edit the core, mainly to see how it would work... I know this isn't the correct way of doing this since there is upgrade issues etc etc. I'm just working on a function now in the custom function area of my template to see if I can get it working that way. Essentially all I want to do is call avatars that are displayed through this function so I can adjust them on my template size wise, since they are all the same size at the moment. I'll look at the avatardata array
Thanks
feel free to ask questions as you proceed... glad to help since we dont have our full api docs ready for 5.0 yet...
Visit Cruise Talk Central and Mr Papa's World
as long as you call that, should be fine...
Visit Cruise Talk Central and Mr Papa's World
widget is already there... its in the template tags plugin... heavily reconfigured with more options...
Visit Cruise Talk Central and Mr Papa's World
I missed that plugin, that's handy. I actually already created a sidebar within the forum where I have placed the users logged in avatar, login buttons and all the buttons normally found on top of the forum. What template function would I use to call the latest discussion with avatars displayed? I have added sp_RecentPostsTag() but I don't think that is the right one... it displays the latest topics just not the avatars.
yes, sp_RecentPostsTag() is the right one... you have to pass the argument to include avatars... until we have our online docs in place, just look at the file in the template tags library folder... the available args are listed there... see the itemOrder...
Visit Cruise Talk Central and Mr Papa's World
1 Guest(s)