View Full Version : Is there a way to enable e-cards for a specific folder?
December 3rd, 2008, 10:44 AM
We have a scrapbooking gallery on our site for members to show their pictures. We would like to add an e-card section and have it enabled ONLY to that section, so members cannot send people's layout as an e-card, just the images in that specific folder?
December 3rd, 2008, 10:46 AM
There would be no way to do that without code modification in some way as ecards is a global thing.
December 3rd, 2008, 10:57 AM
could I do a seperate photopost gallery then? or is there an existing module I could add?
December 3rd, 2008, 11:11 AM
well the change you need to make is pretty minor say you setup one category and its numeric id is 520 for EXAMPLE
In showphoto.php to show only the ecard link to any photo in only that category this line
if ( $Globals['enablecard'] == "yes" && ($Globals['cardreg'] == "no" || $User['userid'] > 0) )
would become this
if ( $Globals['enablecard'] == "yes" && ($Globals['cardreg'] == "no" || $User['userid'] > 0) && $dbcat == 520 )
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.