View Full Version : Workspace Help
06-15-2008, 12:50 AM
I am working on an addon which uses an admin workspace. After a successful upload, I need the id of that image.
Is this variable available? I tried using $theid but it is empty.
Any ideas on how I can get this value?
06-15-2008, 01:28 AM
Are you trying to access $theid within a function? try adding global $theid; to your function.
// do stuff
06-15-2008, 01:47 AM
Yeah I tried that but it still returns an empty value. Other variables seem to work ok but not that one.
06-15-2008, 02:04 AM
I got it working now - I was using the wrong function which did not have that value available yet.
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.