Finding unique item_names (click 2 see details)

I will probably do poorly trying to explain this but here it goes. I am going to integrate a thumbs up/down script into my dolphin installation.  This is my preference instead of the star rating. 

 

Each rated object to be rated would have a unique item_name to record in the database correctly whether it be a photo,video, profile, etc. I am having trouble finding what these item_names are.

 

For example as it is now when you rate a photo it is unique to that photo instead of rating all the photos. That is because some sort of $item_name or identifier is in the string of code to record the rate of an object.

 

I need to know what those names are or even where to find them (I can do the work most times if I am pointed in the right direction). That way when someone thumbs up a photo or thumbs down a photo it makes a database entry only for that photo or object whether it be a video or etc... Each time a new file (photo, video, etc) is added will have a unique rating to the database.

 

Any direction is a good direction for me to get started gathering these identifiers.  I assume they will be different for photos, videos, profiles, articles, etc.

Quote · 5 Jun 2013

After reading a bit more I suppose the proper terminology for what I am looking for is the "PHP Variables".  For example digging through the code I found $aFiles . Not sure if that is the right variable I am after though.

Quote · 6 Jun 2013

I think I found the variable I would use for photos. I will wait for someone that knows better than me to confirm before I go any further. If I place this variable $iPicId in the item to rated does this identify each dynamically generated photo? I also found $iFileId that looks like maybe it might work with the videos and others.

Quote · 6 Jun 2013

Anybody have an idea if I am bring up the right variables in my above post?

Quote · 8 Jun 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.