![]() |
vBadvanced CMPS ~ Zoints Random Members
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! :) |
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 |
screen shot
|
Quote:
Code:
$config['site url'] Code:
$vbulletin->options['zointsprofile_zurl'] . '/' |
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. |
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? |
For me this produces a blank page. I tried reinstalling the templates. no use.
|
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.. |
Okay I give up. (After about 45 minutes of looking for XP info) How do you "remove the .php" from the file?
|
Dear KW802,
Although your code does not return a blank page but still i can not view the block... |
Quote:
|
Quote:
|
Well I have it installed now. (thanks)
But no block is showing. I have given the path where it asks for it and it's turned on but nuttin. |
Works great, but how do I get it to only display profiles that have personalized their avatars? It looks really boring when you get a bunch of noavatar gifs in a row. :)
|
Hmm. Very quiet in here. How about a forumhome add on as well? :D
|
Quote:
|
I think a module like this would be a great benefit to those running zoints and vbadvanced.
any way to get further support and development on this? |
Quote:
|
1. Hi guys thank you for your time make this mod
lets make it perfect now : Only viewing user with avatar, not viewing user with no avatar 2. This is the file modules/zoints_randmemb.php code in red i think that influence about this, what is need to edit so only viewing user with avatar Quote:
|
bump
|
Ok I added this but now a member I deleted keep showing up... How do I fix this?
|
hmm.. uploaded module and added that php file (modules folder via FTP).
now its listed in my modules in admincp, but nothing is showing at all on my cmps page. +_+ any ideas? what I'd miss? |
i think zoints support had answered it here http://network.zoints.com/showthread.php?t=3709 , let us know if its works
i still dont get the answer Only viewing user with avatar, not viewing user with no avatar, is there anyone can do this? |
Well, I am using basketmen's latest contribution and nothing is being displayed.
I have the proper path, assigned module to a page, and activated it... Here is what I got so far: Code:
<?php Code:
<tr> |
All times are GMT. The time now is 04:54 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|