 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
November 7th, 2007, 08:51 AM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Sep 2005
Posts: 238
| Unapproved Image Linked Thumbnail
We've got bb code showing under the images in our gallery so that members can put the pics in their posts, but it looks like they can get the code even when the image has been moderated.
If a member uploads a new pic that needs moderating, they are shown the image after upload with 'image pending approval' but they also get the code to post the thumbnail in the forum.
Is there a way we can stop this from happening, so they only get the code once the image has been approved?
Stuart
|
| |
November 7th, 2007, 09:05 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,941
|
How about surrounding this with a portion of code in your showphoto.tmpl with a conditional. Code: Content visible to verified customers only.
surround that with this Code: Content visible to verified customers only.
|
| |
November 7th, 2007, 09:13 AM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Sep 2005
Posts: 238
|
Thanks Chuck,
I take it that the position and above code from showphoto.tmpl is different if we've got vBulletin integration as we're using vb3enhanced templates, but I think I've managed to add this in and it seems to be working.
Could you make this a feature in future releases with an option in the admin panel?
Stuart
|
| |
November 7th, 2007, 09:30 AM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,941
|
I will pass it along to the photopost pro developer.
|
| |
November 7th, 2007, 03:18 PM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Sep 2005
Posts: 238
|
doesn't seem to be working in the vb3 templates, could tell me where I should put it in the vb3 showtemplate
Thanks
Stuart
|
| |
November 7th, 2007, 03:20 PM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,941
|
The code would be the same except the style classes would be different. If you surround the code I noted with that if clause it should definately work and also no one can see an unapproved photo anyway except admin so this is not really an issue.
|
| |
November 7th, 2007, 03:57 PM
|
#7 (permalink)
| | Member Verified Customer
Join Date: Sep 2005
Posts: 238
|
I keep on giving it a go but it doesn't seem to be working propoerly at the moment. It stops the link being shown whether it's approved or not.
On your second point, I must be doing something wrong in the settings. All members are able to see the page of their uploaded images after they've been uploaded. The medium or large image doesn't show, but all the info is there with the linked thumbnail code, icon to report etc, but 'image pending approval' in place of the photo.
Where should I make the change in the gallery to stop them being able to view the photo's page until it's been approved.
|
| |
November 7th, 2007, 04:05 PM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,941
|
Right a member can see the photo they uploaded no one else can so no one else can use those links.
|
| |
November 7th, 2007, 04:34 PM
|
#9 (permalink)
| | Member Verified Customer
Join Date: Sep 2005
Posts: 238
|
but the member who uploaded the image can see the link, and so they've been copying them and putting them into the forum thinking other members can also see them
If tried the code several times, putting
if ( $approved == 1 )
{
in line 309, and
}
in line 371
of vb3enhanced/showphoto.tmpl, but it stops the link from being viewable when the image is approved as well as unapproved
|
| |
November 7th, 2007, 05:35 PM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,941
|
HMM why would approved not work weird it is the proper variable and defined.
|
| |
November 19th, 2007, 05:50 PM
|
#11 (permalink)
| | Member Verified Customer
Join Date: Sep 2005
Posts: 238
|
Any ideas on how we could get this fixed as it's giving some more problems again with members posting thumbnails in the forum to images in the galllery that haven't been approved
Thanks
Stu
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 11:14 AM. | |