View Full Version : Memberinfo question
Mythotical
02-10-2006, 10:36 AM
Ok I added:
Content visible to registered users only.
To the memberinfo template but its not working at all. Now what I would like is for it to display their last 5 pics submitted to the gallery. How would I do that and maybe you can tell me why the code above isn't working for me.
My memberinfo template is highly customised using the MySpace look alike profile view.
Thanks in advance
Steve
Morgan
02-11-2006, 02:11 PM
Check that the 'can view files' usergroup permission is set to yes, and that there are uploaded files for that particular user, none of which are in file moderation. I'm not familiar with the MySpace look-alike profile view, but if it's only modifying a template, it shouldn't affect the variable. If you want to display latest thumbs instead of random thumbs, you'd need to edit the query in the PhotoPlog Member Info Thumbs plugin.
Mythotical
02-12-2006, 04:52 AM
Morgan, here is the funny thing, all permissions are set to viewable defaults, anyone can view files, etc.
Its odd, I know that is has nothing to do with the template so maybe its the code. I will have it posted below that way you can check to make sure I didn't accidentally change anything.
PhotoPlog Member Info:
Content visible to registered users only.
PhotoPlog Member Info Thumbs:
Content visible to registered users only.
I don't think anything is changed but I could have added something on accident or the site owners partner could have changed something.
Also, could I change this line:
Content visible to registered users only.
To:
Content visible to registered users only.
That way it will get the last 5 and sort them ascending?
Cheers and thanks for the help
Steve
Morgan
02-13-2006, 02:25 PM
Don't see anything that stands out. Did the hook get changed? Try adding in some echo statements and see what shows on screen. To order by time use:
Content visible to registered users only.
Mythotical
02-14-2006, 05:23 AM
Still can't get them to show. Let me post a screenshot.
Content visible to registered users only.
Don't ask me why its doin that as I tried figuring it out but decided it best to ask here.
Morgan
02-14-2006, 01:49 PM
That almost looks like the SRC links to the thumbs are incorrect:
Content visible to registered users only.
View the HTML source and see what links are in the red box area.
Mythotical
02-15-2006, 02:34 AM
LOL, found the problem:
Content visible to registered users only.
Its calling the forum folder twice when it should only do that once. Interesting.
Mythotical
02-15-2006, 02:42 AM
Now its fixed. Looks like its posting the last 5 instead of the random part. Thanks for the help.
vBulletin® v3.8.5, Copyright ©2000-2024, Jelsoft Enterprises Ltd.