 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
March 23rd, 2006, 05:04 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Mar 2006
Posts: 80
| Changing category permissions in Photopost
Hello, I have a question. What were doing is were opening a tutorial website, and instead of using Photopost to dispaly photos will be displaying videos.
This is what I would like to do, could you please let me know if this is possible. Remember that each video has one thumbnail, and once you click the thumbnail it loads the video.
Free Tutorials (All usergroups can view the Videos)
-iLife
-Final Cut Studio
-Blender
-Shake
-RapidWeaver
Verified Member's Section (All usergroups will be able to view the thumbnails of the individual videos (screenshot of the tutorial), but they will not be able to view the full scale image (which would be the actual video tutorial).
I hope this wasn't to confusing... Please let me know as soon as possible... I have to open Monday!
Thanks,
Paul Fletcher |
| |
March 23rd, 2006, 05:08 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,667
| Quote: |
Verified Member's Section (All usergroups will be able to view the thumbnails of the individual videos (screenshot of the tutorial), but they will not be able to view the full scale image (which would be the actual video tutorial).
| Not possible without code modification.
You can set category permissions to make it so that only verified members have access to these cats and regular users do not but that means regular users won't even see these categories on the index when viewing your site. I would suggest you use the announcement box to tell users they must subscribe to see members only video's and give them link to your subscription page
|
| |
March 23rd, 2006, 05:21 PM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Mar 2006
Posts: 80
| Noo :-)
Okay then... How hard would it be to edit this, because it would be perfect if other non-verified users could still see the thumbnails, but not access them.
Lots of code editing? Or could you help us with this modification?
Side note... Do I have to have ImageMagic, or GD installed to upload thumbnails of our videos? And what does "Skip upload and process the files already in your upload directory" do?
Thanks,
Paul
|
| |
March 23rd, 2006, 06:24 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,667
|
Well the coding would be up to you but this would be up to your. Unregistered users are already prevented from viewing. This would block like regular users coppa users and unconfirmed users
In showphoto.php add this in bold
REPOSTED DOWN BELOW
Yes you need gd or Imagemagick to do thumbnail images
Last edited by Chuck S; March 27th, 2006 at 07:56 AM.
|
| |
March 25th, 2006, 03:35 PM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Mar 2006
Posts: 80
| Code
Okay, well were all up and running except for this mod... I tried adding the code in two different places, also used a fresh showphoto.php file. I noticed that this code blocks un-registered users from viewing the tutorials. Code: Content visible to verified customers only.
Does this give you any ideas? Can we just modify this code so that if the users are not verified customers they get a slightly different error message, they don't get to watch the verified tutorials in catigory 508, but there allowed to watch any other tutorials.
Thanks,
Paul
|
| |
March 25th, 2006, 07:53 PM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,667
|
The code I noted in showphoto.php should work fine for what your doing but your welcome to post in our mod forums for assistance from anyone wanting to help with code mods.
|
| |
March 26th, 2006, 09:14 AM
|
#7 (permalink)
| | Member Verified Customer
Join Date: Mar 2006
Posts: 80
|
Where exactly is the mod's forum? Also... We tried installing this although it didn't work, I'm pretty sure we didn't install it correctly. Do you want us to only add the stuff in bold, underneath those two little paragraphs of code?
Once the mod is in place (just trying to get this right, so we can figure out how to make it work for us)... Basically it allows all normal users to see all the thumbnails in the 508 category, but it won't let you click on and view the full scale photo (in this case video) without being a verified member... Correct?
Were just confused on how to install this modification, were not that good with coding.
|
| |
March 26th, 2006, 09:16 AM
|
#8 (permalink)
| | Member Verified Customer
Join Date: Mar 2006
Posts: 80
|
Never mind about the mod corner... Found that... lol :-)
|
| |
March 26th, 2006, 09:22 AM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,667
|
Yeah you only add in bold
Basically if the user's usergroups is 2,3 or 4 the the category is 508 or its parent is 508 it will give the message noted.
But thats about the only hint here I gave  Glad you found the mod corner
|
| |
March 26th, 2006, 11:40 PM
|
#10 (permalink)
| | Member Verified Customer
Join Date: Mar 2006
Posts: 80
|
Still no luck, could you or someone create a showphoto.php file that has this mod in place for us? Or install it if we gave you admin access?
Thanks,
Paul
|
| |
March 27th, 2006, 07:26 AM
|
#11 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,667
|
Nobody can post modified files here for you as it is illegal to post our code files on the net.
You want to edit showphoto.php and add the code in bold as noted. Double check the main category id is correct I beleive it is 508 is the main cat down you want to block Code: Content visible to verified customers only.
|
| |
March 27th, 2006, 09:23 PM
|
#13 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,667
|
It works as it is written but you probally need to restrict another level so do this and add only into bold to what is above Code: Content visible to verified customers only.
|
| |
March 27th, 2006, 09:55 PM
|
#14 (permalink)
| | Member Verified Customer
Join Date: Mar 2006
Posts: 80
| Response
Hello, still not working... Here is all the code as I have added it. Code: Content visible to verified customers only.
Let me know if I did something wrong, otherwise... Let me know how I can help to get this working.
Thanks,
Paul
|
| |
March 27th, 2006, 10:01 PM
|
#15 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,667
|
You left off one of the bold edits in my last post  Double check yourself
|
| |
March 28th, 2006, 09:14 AM
|
#16 (permalink)
| | Member Verified Customer
Join Date: Mar 2006
Posts: 80
|
Ah, it didn't copy correctly before. We added the other piece of code and it worked!!!!!!!! Thanks you so much... Just a quick questions, will the freely registered users be able to view the tutorials in this category... http://xyztraining.com/tutorials/sho...ry.php/cat/510
Also, how can we add a link in the PHP code? So it would say something like this.
You must be a Verified Member to view the tutorials in this section! If you would like to upgrade your account to become a Verified Member, please click here.
Thanks again!
Paul
|
| |
March 28th, 2006, 09:58 AM
|
#17 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,667
|
yes of course they will cause the parent cat is not 508 Code: Content visible to verified customers only.
|
| |
March 28th, 2006, 02:32 PM
|
#18 (permalink)
| | Member Verified Customer
Join Date: Mar 2006
Posts: 80
|
We have the code in two places... Do you know if we don't kneed one of them?? Code: Content visible to verified customers only.
Last edited by paulfletcher; March 28th, 2006 at 05:20 PM.
|
| |
March 28th, 2006, 02:33 PM
|
#19 (permalink)
| | Member Verified Customer
Join Date: Mar 2006
Posts: 80
| Two Places?
We have the code in two places, do you know if we can get rid of one of these to stream line things? Code: Content visible to verified customers only.
Code: Content visible to verified customers only.
Thanks,
Paul
|
| |
March 28th, 2006, 05:14 PM
|
#20 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,667
|
You only place it where I said to move it to under the query in my last post. You do not need to have this hack twice in the file.
|
| | |
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 06:31 AM. | |