April 7th, 2009, 06:15 AM
Is it possible to display the persons username who created the category on browsimages.php. I need to put a line above imagebits somewhere that reads something like... Click here to return to $catusername's fanclub
April 7th, 2009, 07:14 AM
Maybe the variable $imageusername will work?
April 7th, 2009, 07:17 AM
I tried that but it didnt seem to work, I managed to find a way though.
// Get category info
$catinfo = $db->query_first("
SELECT categories.catid, title, description, hasimages, categories.catuserid, password, parent, parentlist, membercat, options, useroptions, lastimageusername
FROM " . TABLE_PREFIX . "ppgal_categories AS categories
WHERE categories.catid = '$catid'
Added the lastimageusername to the query and use that. As I only allow member galleries and they can only upload images to their own galleries this works fine :D
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.