Version: 1.00, by Tigga
Developer Last Online: Nov 2023
Category: Add-On Releases -
Version: 3.6.2
Rating:
Released: 11-06-2006
Last Update: Never
Installs: 33
No support by the author.
For those running both vBadvanced CMPS and the new Zoints Local profile system, here is a CMPS module to show random Zoints profile's on your CMPS pages. Simply download the attached file, remove the ".php" extension from the end (that had to be added for vb.org to accept it as an attachment) and upload it using the "Download / Upload Module" link under the vBa CMPS section of your Admin CP.
Enjoy!
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
i was able to get mine working. only thing is i would like it to skip members who do not have avatars . if anyone can figure that out it would be great.
I was able to figure out what writers beat meant by the /z/. i also added the change KW mentioned. well u have to add the /z/ to his change. at least that is what i did and it works.
i added .'/z' to the url path and it showed the avatar and took me to the users profile.
For those having issues, try this version instead (see attached). This version will attempt to display the Zoints Local avatar first if the user has uploaded and if they don't they it will attempt to display their vBulletin avatar if the user has selected one and finally it will default to a generic 'No Avatar' image as a last resort.
Just put the php file in your /forums/modules folder and put the attached gif file into your {style path}/misc folder.
Additional background info...
- The reason that $config['site url'] isn't working is apparently because that variable did exist at one time in the Zoints Local package but, at least as of RC2, it was removed. Since Tigga is a Zoints team member he gets to play with versions that we (the general public) wouldn't necessarily see. Because it was removed it's why using $vbulletin->options['zointsprofile_zurl'] worked instead for some people.
- The reason that $vbulletin->options['zointsprofile_zurl'] doesn't work for everybody is because when you install the vBulletin product that accompanies Zoints Local it creates the new options page in your ACP but... this is the part I overlooked before... you only need to specify a value if you put the /z folder somewhere other than in your /forums folder. That why for me it worked but not others. The revised code attached will use $vbulletin->options['zointsprofile_zurl'] if it has a value else it'll use '/z' if the value is blank.
- The gif file is the generic 'No Avatar' image that is normally distributed with CMPS. Because of that it shouldn't be redistributed with other hacks, etc, etc..