The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vBadvanced CMPS ~ Zoints Random Members Details »» | |||||||||||||||||||||||||
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
|
Comments |
#2
|
|||
|
|||
Any way to add the avatar next to the user name?
edit: I found that you did, but there is a bug. You didn't include /z/ in the url. Not only that, but is there a way we can display it horizontally instead of vertical? edit again: can we have it so that if there is no profile avatar, it shows a "no avatar image" no matter what? edit again: the profile links don't work, they link to http://www.writersbeat.com/?z-profile=Lee instead of http://www.writersbeat.com/z/Lee |
#3
|
|||
|
|||
screen shot
|
#4
|
||||
|
||||
Quote:
Code:
$config['site url'] Code:
$vbulletin->options['zointsprofile_zurl'] . '/' |
#5
|
|||
|
|||
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. don't forget to remove the .php hope someone can make some more changes. |
#6
|
||||
|
||||
Ah... I see what's going on now.
vBRreal: Do you the /z folder off of your root folder or off of your /forums folder? |
#7
|
||||
|
||||
For me this produces a blank page. I tried reinstalling the templates. no use.
|
#8
|
||||
|
||||
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.. |
#9
|
|||
|
|||
Okay I give up. (After about 45 minutes of looking for XP info) How do you "remove the .php" from the file?
|
#10
|
||||
|
||||
Dear KW802,
Although your code does not return a blank page but still i can not view the block... |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|