Just an update to this hack.
Seems that it was not so much a global call issue as the inability to switch between MYSQL databases. I stating thinking why Michael did not have any problems and I did. From helping others I noticed that alot of people use ONE database when they have both Threads and Photopost. Well I always maintained separate databases. I decided to try different things so I put the Photopost tables into my Threads database. Well guess what that solved the issue. So it seems that one can only have one database as otherwise there is a problem switching back and forth between connections.