To add it to your postbit.
Make this into an xml file.
Code:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<plugins>
<plugin active="1">
<title>CMG Post User</title>
<hookname>postbit_display_complete</hookname>
<phpcode>$cmuserid = sprintf("1%04d",$post['userid']);</phpcode>
</plugin>
</plugins>
It is basically the same thing as the other one. You'll need both. Save it and import that.
Then, the HTML part in the postbit that you're adding will look like:
Code:
<a href="http://www.YOURDOMAINNAME.com/YOUR GALLERY/index.php?cat=$cmuserid " title="View My Gallery">View My Gallery</a>
Again, it's the same thing as above, just with a different variable name. The differences in the XML file are just the unique name, and that the hook fires are the postbit.
Example:
http://www.flyersphans.com/forums/