I ask as I get a lot of avatar requests and having to run a CP search just for a number is a pain, so I'd like to put something in ubb_library2.pl that would just display their number on the thread. Trouble is that number isnt stored in the profile itself.... So how could this be done?
Couldnt you read it from the filename where the username is found. Maybe do a system call to grep to locate the username and store the filename into a variable, chopping off the extension and leading 0000's Not sure if thats the best way to do it but it should work.
Yes that would probably work, unfortunatly I havent the faintest idea what the HELL you just told me to do. You couldnt have made me more confused if you'd posted in Japanese.....
Is there any way that DOESNT require me to go away and learn perl first?
It wouldn't take a Perl guru long to get a hack for something like this written. Post a new hack request for it and be as polite as possible. I'd love to use it, too.
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.