The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Psuedo Wiki
I would like to keep tabs on what edits are made to posts on my site.
I know my way around PHP somewhat, and how it works, I just have trouble writing it. Anyways, I would need to save each change, every time. I just need a little direction, and some tutorials. Where should I store the old copies in the database? I also want to be able to view the old ones and revert to them if need be. How would I go about displaying them and reverting back? I also want to record who made that specific edit. I'm guessing I'll need a new table, and inside of this table three rows. One incrementing each edit, to keep them in order, one of the actual message, then one of the user who did it. I imagine you would send the information to this table upon creation of the post/thread, and when edits are saved, and that should be it. After that I want a space to show who has edited this post/thread, and list their names. I suppose I'd just query that table and ask for a list of names out of that row; but I'm not sure how you keep it from listing names twice if it edits it twice. Is there anyway to do this with the functions already in vBulletin, borrowing from the template comparison tool in the admin cp? If you guessed, yes, I am working on a wiki of sorts. I figured this would be a good learning experience for me, and good for the community if I complete it. I plan on just using forumdisplay.php and rewriting its templates, this way I can use the built in vB permissions for a forum. I've got the cosmetics all line out, so in the rare event someone wants to take over the coding aspect let me know and I can do the HTML side. So in short, I just need some resources to help me code this. My biggest problem is using vBulletin as my platform, I'm fairly sure I could code this as an independent system without vB, just not sure how to build it into vB. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|