![]() |
I'm just so close to getting this, HELP!
Hi..
I've written a hack for photopost, shows the latest comments, but it's not very secure (i.e all usergroups can view pix etc) anyways, i hope to develop that later, but along the same lines, a hack has been released for photopost that shows the latest pix in the vb-index...it's very good i like it and have used it, but it doesn't check for a members usergroup permissions. I've been modifying it to try and check a users vb usergroup id and then doing an IF/ELSE statement to either show the thumb/link or just show a blank thumb. Am i right in thinkin i should use "$bbuserinfo['something']" Please check my alterations to this script in the attachment, i've commented up what i've done...you'll see i'm quite close to nailing this, just need a little extra help Then i think i can move onto my latest comments hack and check usergroup perms with no worries etc.... Thankyou so much for helping me on this, i've been pulling my hair out I'm not sure if i should use a query or just check a users [sessionid] or something like that, i should say that my vb & photopost databases are combined into one. Thanx for your help people |
couldn`t you just use something like
Code:
<if condition="$show['member']"> |
I've removed your attachment as it looks like its copyrighted photopost source code or source code modifications for paying customers. If it's not my apologies and feel free to attach it again :)
|
well how many usergroups are you checking for?
do you want just unregistered users/not logged in users not to see it? |
1 Attachment(s)
Quote:
-b EDIT : no worries Dean, i am a paying licenced member of photopost and i have told micheal of my intensions |
All times are GMT. The time now is 11:58 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:
|