PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old December 25th, 2012, 06:24 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Dec 2010
Posts: 58
Show 'already rated' message?

Hi Guys,
I'm trying to figure out a way to show a message to users that let's them know if they have already rated an image instead of telling them after they try to rate it.

Here's what I'm trying to do:
Code:
Content visible to verified customers only.
Any ideas for how I could make this work? my 'already_rated' variable doesn't exist.

Thanks!
ihstiv is offline   Reply With Quote
Old December 25th, 2012, 06:50 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,947
You can not without defining that variable in some manner which means you create some type of mod to make it active which means adding some query in showimage to check to see if there is a rating by someone and define that variable is true.

That variable is only a defined variable after someone tries to rate the image otherwise that variable is false.
__________________
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 December 25th, 2012, 07:29 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Dec 2010
Posts: 58
Thanks for the quick response chuck (especially on xmas day!)

Let me know if you can point me to the bits of code I should look at for adding the query to showimage.

Thanks again.
ihstiv is offline   Reply With Quote
Old December 25th, 2012, 08:40 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,947
what I am saying is you would have to make up whatever bits of code to make things works the way you want it to.

Just like vbulletin we do not assist with or support code alternation.
__________________
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 December 25th, 2012, 10:52 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Dec 2010
Posts: 58
Ok - roger that. thanks again for your replies. cheers
ihstiv is offline   Reply With Quote
Old December 26th, 2012, 09:29 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,947
The show permission is always false in showimage.php Therefore to make it true you would need to do some query to check if that specific user viewing has rated and set it true.
__________________
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
vBgallery 3.02 show error message on Forum Homepage? Zurrie vBGallery Installation & Upgrades 4 August 25th, 2012 10:14 AM
Highest Rated? dj83 Photopost Pro How Do I...? 7 September 30th, 2010 01:03 PM
How to show Highest Rated on Index Page? jamesfsmith Photopost Pro How Do I...? 7 January 27th, 2009 09:05 AM
Show Best Rated? nf71 Before You Buy 1 April 29th, 2005 08:02 AM


All times are GMT -5. The time now is 03:17 AM.

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