I have now finished my hack which allows users to have multiple signatures to choose from when writing posts. It seems to work on my test site but I haven't given it any major tests.
Had I known when I started out how much changes I had to do to make this work I don't think I would have done it. There are changes to 18 files and 5 files are added. This also makes it highly possible that I have missed something in the install instructions, but I have been as careful as possible and I hope everything is there. I have also tried to make the instructions as easy to follow as possible and have given both code and line number for each step to change. But still, only try this hack on test boards at this point, becuase there are probably still bugs in it, and since there are so many changes to be made it can be easy to miss something.
I have also fixed some bugs that I've found, sometimes the signature isn't shown when viewing posts (like when replying and such).
Mod Name / Version MultipleSigs 1.0beta Description A hack for UBB.threads 6.x that allows users to have multiple signatures to choose from. Working under UBB.threads 6.0.1 Any pre-requisites PHP4 Author(s) Gardener Credits None Demo Not at the moment. Files Altered ubbt.inc.php, newpost.php, newreply.php, showflat.php, showthreaded.php, addpost.php, editpost.php, modifypost.php, previewedit.php, changebasic.php, previewedit_preview.tmpl, newreply.tmpl, newpost.tmpl, addpost_preview.tmpl, editbasic.tmpl, editpost_nopoll.tmpl, languages/generic.php, languages/editbasic.php Database Altered New table w3t_Signatures added, new field B_SigNumber added to w3t_Posts. New Files editsigs.php, changesigs.php, multiplesigs_install.php, languages/editsigs.php, editsigs.tmpl Any other info Since there are a lot of files to change, this hack can be a pain to install. Please make sure that you follow the instructions carefully. Since this is a beta version, don't install this on a production board!
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.