The Arcive of vBulletin Modifications Site. |
|
random profiles on non-vb page Details »»
|
|||||||||||||||||||||||||
can you help me with this snippet of code please
PHP Code:
when you click the image that that produces it's meant to send you to a random profile but instead of making the userid it gives me the query as the link e.g. http://www.ebslive.com/forums/member...&userid=SELECT username, userid FROM user ORDER BY rand() LIMIT 1 Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
ok figured it out kinda
PHP Code:
|
|
#3
|
||||
|
||||
|
PHP Code:
|
|
#4
|
||||
|
||||
|
thanks mist, it's greatly appreciated
|
|
#5
|
||||
|
||||
|
Your welcome
It's always nice answering such simple questions from a place in learning where I was only 6months ago
|
|
#6
|
||||
|
||||
|
i have an additional query mist, how would i edit the code so it only shows members with more > 0 posts?
|
|
#7
|
||||
|
||||
|
PHP Code:
|
|
#8
|
||||
|
||||
|
i get this error
Quote:
|
|
#9
|
||||
|
||||
|
And what is on that line?
|
|
#10
|
||||
|
||||
|
Quote:
|
![]() |
|
|