PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old March 23rd, 2006, 05:04 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Mar 2006
Posts: 80
Smile 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
paulfletcher is offline   Reply With Quote
Old March 23rd, 2006, 05:08 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
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
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old 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
paulfletcher is offline   Reply With Quote
Old March 23rd, 2006, 06:24 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
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
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.

Last edited by Chuck S; March 27th, 2006 at 07:56 AM.
Chuck S is offline   Reply With Quote
Old 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
paulfletcher is offline   Reply With Quote
Old March 25th, 2006, 07:53 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
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.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old 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.
paulfletcher is offline   Reply With Quote
Old 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 :-)
paulfletcher is offline   Reply With Quote
Old March 26th, 2006, 09:22 AM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
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
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old 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
paulfletcher is offline   Reply With Quote
Old March 27th, 2006, 07:26 AM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
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.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old March 27th, 2006, 08:41 PM   #12 (permalink)
Member
Verified Customer
 
Join Date: Mar 2006
Posts: 80
Hmm...

It probably works fine, but I can't figure out how to make it work. I've edited the code, I'm not sure if I can send you a copy of my showphoto.php file or not.

One thing I should point out. Well the Verified Member's Section is in category 508, many of the movies are not in that category.

For example...
Member's Section: http://xyztraining.com/tutorials/sho...ry.php/cat/508
iMovie Tutorial: http://xyztraining.com/tutorials/sho...oto/12/cat/507
Shake Tutorial: http://xyztraining.com/tutorials/sho...oto/18/cat/504

As you can see, the main folder is 508, but the other movies are not in the 508 directory, could this be the problem?

Thanks,
Paul
paulfletcher is offline   Reply With Quote
Old March 27th, 2006, 09:23 PM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
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.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old 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
paulfletcher is offline   Reply With Quote
Old March 27th, 2006, 10:01 PM   #15 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
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
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old 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
paulfletcher is offline   Reply With Quote
Old March 28th, 2006, 09:58 AM   #17 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
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.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old 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.
paulfletcher is offline   Reply With Quote
Old 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
paulfletcher is offline   Reply With Quote
Old March 28th, 2006, 05:14 PM   #20 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
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.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing permissions on a per-user basis? ludachris Classifieds How do I...? 7 February 12th, 2006 02:52 PM
category permissions are not working.( NOT A BUG ) rcsmith Photopost Pro Bug Reports 2 December 13th, 2005 09:52 AM
Changing category on moderation wattie Installs and Upgrade - vBulletin 3.5.X 7 August 9th, 2005 03:54 AM
Category Permissions and Description Issue Xil Ze Installs and Upgrade - vBulletin 3.0.X 0 July 9th, 2005 01:12 PM
1.8c: Not changing user permissions djroketboy Classifieds Bug Reports 2 July 3rd, 2004 12:55 PM


All times are GMT -5. The time now is 06:31 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0