51

Re: Hard Cover Release: Random profile (2.2.1)

That fix shows all active member's pictures. Are your cancelled members are active? That could be if you manually move them to Cancelled members group without deactivating them.
Try to add:

AND m.group_id != 6

at your .php file's sql query

www.vldMagic.com - first choice customizations help desk
www.vldCrowd.com/radioact - my profile at vldCrowd

52

Re: Hard Cover Release: Random profile (2.2.1)

I'll try with that code radioact and see if it helps.
Actually my cancelled members are not active, the profile is offline and i haven't manually cancelled them (or are they really all offline? i will check that, anyway i have not manually cancelled them).
But those cancelled members are not so many, so this is not really a big problem, better of cource if it works smoothly and i hope your provided code will help.

Thanks

kalluu

53

Re: Hard Cover Release: Random profile (2.2.1)

Oh, there could be two issues:
1. I didn't upload correct file
2. File for download cached with your browser or proxy.
Anyway add this:

AND m.active='1'

after
AND p.active='1'
and forget about above code I suggested (group_id etc.)

www.vldMagic.com - first choice customizations help desk
www.vldCrowd.com/radioact - my profile at vldCrowd

54

Re: Hard Cover Release: Random profile (2.2.1)

Im trying to use this extension with {random_profile:members=4} in my homepage.tpl file, I used it on my testing-installation of vld without problems, but when using it in my real installation I get the following error

MySQL ERROR

Error Number: 1054

Description: Unknown column 'd.field_6' in 'field list'

Query: SELECT p.member_id, p.filename, m.username, m.screenname, d.field_5, d.field_6 FROM vld_pictures as p, vld_members_data as d, vld_members as m WHERE d.data_id=p.member_id AND d.data_id=m.member_id AND p.active='1' AND p.adult='0' ORDER BY RAND() LIMIT 4

any ideas?

Mattias

55

Re: Hard Cover Release: Random profile (2.2.1)

is it Xmas already?

Tanks, Santa
seeme101

Not only am I a Staff member,  I'm also a Client

56

Re: Hard Cover Release: Random profile (2.2.1)

seeme101 wrote:

is it Xmas already?

Tanks, Santa
seeme101

What do you mean?

2 Mattias: I think you don't have field_6 in your table with members data.

www.vldMagic.com - first choice customizations help desk
www.vldCrowd.com/radioact - my profile at vldCrowd

57

Re: Hard Cover Release: Random profile (2.2.1)

radioact: and what exactly does that mean? Im not really that good with mysql sad

Mattias

58

Re: Hard Cover Release: Random profile (2.2.1)

it means that you've probably deleted original field "City" and recreated it again.
You have to modify .php file to set proper field_no whenever field_6 is.

www.vldMagic.com - first choice customizations help desk
www.vldCrowd.com/radioact - my profile at vldCrowd

59

Re: Hard Cover Release: Random profile (2.2.1)

I fixed it by just removing field_6 from the .php file, I only display the image anyways.. just one more question, is there an easy way to have them displayed side by side instead of on top of eachother?

thanks

Mattias

60

Re: Hard Cover Release: Random profile (2.2.1)

Sorry, sometimes I forget, international forum.

Translation: Thank you for the Christmas gift Santa clause

or: Great work. thank you for the gift  smile

seeme101

Not only am I a Staff member,  I'm also a Client

61

Re: Hard Cover Release: Random profile (2.2.1)

2 Mattias: take ext.latest_visitors.tpl as example editing your .tpl file

2 SeeMe: OIC, dude!

www.vldMagic.com - first choice customizations help desk
www.vldCrowd.com/radioact - my profile at vldCrowd

62

Re: Hard Cover Release: Random profile (2.2.1)

Thanks mate!!

63

Re: Hard Cover Release: Random profile (2.2.1)

Hi Radioact,

Will this Random Profile work with new version?

64

Re: Hard Cover Release: Random profile (2.2.1)

Don't know. I think no. I'm not hurrying to move to new version though and may be will wait for major releases to move since 2.2.1 suits my needs for now.

www.vldMagic.com - first choice customizations help desk
www.vldCrowd.com/radioact - my profile at vldCrowd

65

Re: Hard Cover Release: Random profile (2.2.1)

And hello to you too, Kuzey

www.vldMagic.com - first choice customizations help desk
www.vldCrowd.com/radioact - my profile at vldCrowd

66

Re: Hard Cover Release: Random profile (2.2.1)

Hello  smile

On my first website, I was designed template but everytime new version I upgrade it camed so trisome to impelement new design again, so I am using orginal template with on my site... smile  I will Upgrade all version when it has came out till software suits my needs or till software will add my feature requests..  then I will design a my unique template.

So for now I am looking to upgrade features that I really like before...

67

Re: Hard Cover Release: Random profile (2.2.1)

Oh I see. smile Then you'll have to update extensions yourself or ask vldP staff.

Last edited by radioact (2007-12-27 06:11:30)

www.vldMagic.com - first choice customizations help desk
www.vldCrowd.com/radioact - my profile at vldCrowd

68

Re: Hard Cover Release: Random profile (2.2.1)

Simple Question, Simple answer... I am glad...

69

Re: Hard Cover Release: Random profile (2.2.1)

I hope I didn't offense you in any way.

www.vldMagic.com - first choice customizations help desk
www.vldCrowd.com/radioact - my profile at vldCrowd

70

Re: Hard Cover Release: Random profile (2.2.1)

Hello radioact

Is there any way to display random profiles horizontally (from  left to right?..like new members extension works on home page).. your extansion displays profiles vertically.

Thanks you

Last edited by mariuscanvas (2008-03-10 08:50:40)

71

Re: Hard Cover Release: Random profile (2.2.1)

Hello!
Just use new_member's .tpl file as an example how to show data horisontally and then edit random profile's .tpl

www.vldMagic.com - first choice customizations help desk
www.vldCrowd.com/radioact - my profile at vldCrowd

72

Re: Hard Cover Release: Random profile (2.2.1)

Hi radioact

Sorry im a compolete noobie when it comes to things like this.

I have downloaded your 2 files, placed the .php file into /includes/ext and the .tpl file into templates/plainpink

I have edited header.tpl to show 1 random profile on my side bar with the following code

{random_profile:members=1}

When i view my page it is not showing up. Do i need to specify the <div> class as well ? I dont get an error message just nothing appears. My site is www.manxdating.com

Cheers and sorry to be a pain.

73

Re: Hard Cover Release: Random profile (2.2.1)

Thanks. However it didn't work on my site. It gives me error message: 3) In lang.core.php file add line: "home_random_profile" => "Losowe profile", 4) Edit your new ext.random_profile.tpl file with code below:
{lang:"core","home_random_profile"}