PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   How Do I? - vBulletin 3.0.X (http://www.photopost.com/forum/how-do-i-vbulletin-3-0-x/)
-   -   Show a random pic for each member on the memberlist (http://www.photopost.com/forum/how-do-i-vbulletin-3-0-x/118979-show-random-pic-each-member-memberlist.html)

1atlas August 16th, 2005 03:12 PM

Show a random pic for each member on the memberlist
 
I tried combining the two ideas below:

I took http://www.vbadvanced.com/forum/showthread.php?t=5800
but applied to memberlist.php, memberlist and memberlist_resultsbit templates instead of index.php and forumhome template

Then instead of forumhome template I followed this to display in the memberlist: http://www.vbadvanced.com/forum/show...ght=memberlist

It did not work...
Any ideas?

1atlas August 29th, 2005 02:48 PM

Re: Show a random pic for each member on the memberlist
 
Bump... is this possible? Will this be an option in RC3?

Thanks

Brian August 30th, 2005 01:57 PM

Re: Show a random pic for each member on the memberlist
 
You would also have to add all of the code there to your memberlist.php file.

1atlas August 31st, 2005 08:27 PM

Re: Show a random pic for each member on the memberlist
 
Quote:

Originally Posted by Brian
You would also have to add all of the code there to your memberlist.php file.


Here is what I did in more detail:

1.) From: http://www.vbadvanced.com/forum/showthread.php?t=5800

I added the following to memberlist.php instead of index.php

A.) Added:

Code:

Content visible to verified customers only.
B.) Added:
Code:

Content visible to verified customers only.
C.) Right below:

Code:

Content visible to verified customers only.
Added: (this was not changed from the original post)

Code:

Content visible to verified customers only.


2.) From: http://www.vbadvanced.com/forum/showthread.php?t=5917&highlight=memberlist

Added this to memberlist:
Code:

Content visible to verified customers only.
Added this to membelist_resultbit:
Code:

Content visible to verified customers only.
The result was nothing... No pics...

I think perhaps, I am not using the code correctly in memberlist.php or I am not using $randomimagebits correctly because a pic has to be generated for each member on the memberlist.
Any ideas?

1atlas September 2nd, 2005 08:42 AM

Re: Show a random pic for each member on the memberlist
 
Brian, I feel this is asking alot, but any help on this would be greatly appreciated!

As you can see, I added all the necessary code to the memberlist.php file, from what I can see...

Thanks!

1atlas September 6th, 2005 09:51 AM

Re: Show a random pic for each member on the memberlist
 
Bumped... Any thoughts?

Brian September 6th, 2005 11:37 AM

Re: Show a random pic for each member on the memberlist
 
The code you are using is meant to add a single row of images on a page and isn't going to work in a loop like you are trying to use it. The code to try and do something like what you are trying to acomplish is going to be drastically different.


All times are GMT -5. The time now is 07:14 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97