Tom Posted October 5, 2010 Report Share Posted October 5, 2010 VAForum 2 For updates included see changelog below. Update from VAForum1/VAForum2 Pre-release: - Import "update.sql" file to database - Upload all files provided in core/ folder (necessary changes to all templates) - Add the following somewhere between your <head> and </head> tags in layout.tpl: <? Template::Show('forum_style.tpl'); ?> Fresh install: - Import "install.sql" file to database - Upload all files provided in core/ folder - Add the following somewhere between your <head> and </head> tags in layout.tpl: <? Template::Show('forum_style.tpl'); ?> Credit to simpilot for the VAForum original on which this (and future modifications) are based. Code is provided "as is", all the same rules & licenses apply: *This addon will not work with the 700 version or beta's less than version 785 A simple forum board system that is contained within your phpVMS install. To Install: 1 - download attached package and unzip 2 - place the folders/files in your phpVMS install as they are structured in the package 3 - use the forum.sql file to create the new db tables using phpmyadmin or the like 4 - you are done! The system makes the pilot with id #1 in the db the main forum admin and can not be changed unless you do it through the db. There are four levels of user for the board: 1 - User - has rights to post messages 2 - Moderator - User permissions plus the ability to edit topics and posts 3 - Admin - User & Moderator permissions plus rights to create new boards and set user permissions. 4 - Banned - Can see boards but no posting permissions. To link to the forum index use -> <a href="<?php echo url('/Forum'); ?>">Forum</a> Moderator editing links are located within the topics and posts Admin board creation and user administration links are at the bottom of the forum index EDIT - *Do not delete the sample board before creating another one or just edit the sample board to fit your needs. Will be updating the code to avoid this in the next version. -------------------------------- Changelog: 2.0: - Further improved security - Addition of forum categories & admin-only categories - Addition of category and board ordering - Addition of user signatures (phpVMS Signatures) - Images wider than post container automatically resized - Improved post layout - Added support for the following HTML tags: <p><a><b><i><em><strong><ul><ol><li> - Added support for the following "BBCode style" codes (they're slightly different): [b][/b], [u][/u], [i][/i], [p][/p], [img][/img], [url][/url], [list][/list], [*][/*] Pre-release: - Disallows the use of Admin pages to non-Administrator ranks (Prevents banning of members by non-Admins & guests). - All posting, editing, deleting etc pages are restricted to logged in users (Prevents guests posting). - Disallows all HTML from topic/board titles and descriptions. - Limits HTML in posts to the following tags: <p>, <a>, <b>, <strong>, <i>, <em>, <ul>, <ol>, <li> and <img> -------------------------------- If you have any suggestions/requests for features in the next release feel free to post them. Quote Link to comment Share on other sites More sharing options...
TAV1702 Posted October 6, 2010 Report Share Posted October 6, 2010 That is great Tom. I will have to have a look at this for sure. Quote Link to comment Share on other sites More sharing options...
TAV1702 Posted October 8, 2010 Report Share Posted October 8, 2010 If we install this, will we loose all current posts in the forum? I really would like to keep my posts that I currently have as I am sure you can understand. Not that my board is oh so busy, but retaining info is nice. Just curious and thanks for all the effort that you put into this script to improve upon the great work that Simpilot worked so hard to develop. Quote Link to comment Share on other sites More sharing options...
Tom Posted October 8, 2010 Author Report Share Posted October 8, 2010 Hello, to update your existing install all you need to do is upload the new code. I haven't made any SQL changes yet, but when I do I'll be sure to include an update file as well. Quote Link to comment Share on other sites More sharing options...
TAV1702 Posted October 8, 2010 Report Share Posted October 8, 2010 Hello, to update your existing install all you need to do is upload the new code. I haven't made any SQL changes yet, but when I do I'll be sure to include an update file as well. Ok that's cool. I'll make backups and see what happens. Quote Link to comment Share on other sites More sharing options...
TAV1702 Posted October 8, 2010 Report Share Posted October 8, 2010 A nice feature that would make this real good would be the option to move forums around. Once you create your forums now, they are where they are. It would be sweet if we could move them up the list or down. Quote Link to comment Share on other sites More sharing options...
Tom Posted October 9, 2010 Author Report Share Posted October 9, 2010 Ok, so ordering them on the page? Consider it on the list. Quote Link to comment Share on other sites More sharing options...
Moderators Kyle Posted October 30, 2010 Moderators Report Share Posted October 30, 2010 Hey Tom, Just Checking in to see how's your next update is going. I'm very eager to see the next version.......... Thanks, Quote Link to comment Share on other sites More sharing options...
Tom Posted October 30, 2010 Author Report Share Posted October 30, 2010 It will be on it's way. I actually coded it completely for my own site beforehand but now I need to tweak it slightly. Life is a tad busy at the moment with Uni applications and everything, but it will happen Quote Link to comment Share on other sites More sharing options...
Moderators Kyle Posted October 30, 2010 Moderators Report Share Posted October 30, 2010 Alright, good to know. Thanks for letting me know. Quote Link to comment Share on other sites More sharing options...
MrAmsterdam Posted October 31, 2010 Report Share Posted October 31, 2010 cool! thanks for the heads up :-) Quote Link to comment Share on other sites More sharing options...
TAV1702 Posted November 10, 2010 Report Share Posted November 10, 2010 Another thing to consider and maybe add to the list for future updates would be separating the board for categories like a regular forum does and add forum threads below the category? Might add a bit of a look to it. Hierarchy I guess. that might be a bit much on the coding side though sooo maybe not such a good plan. Quote Link to comment Share on other sites More sharing options...
Tom Posted November 10, 2010 Author Report Share Posted November 10, 2010 Oh yep, I plan to add categories to sort forums I'm at a point where I think the categories are done, the forums can all be put into categories, and admin categories are only available to admins and moderators. I have to add the sorting now, and sort a few issues with access to threads within admin-only forums. Quote Link to comment Share on other sites More sharing options...
TAV1702 Posted November 15, 2010 Report Share Posted November 15, 2010 Oh yep, I plan to add categories to sort forums I'm at a point where I think the categories are done, the forums can all be put into categories, and admin categories are only available to admins and moderators. I have to add the sorting now, and sort a few issues with access to threads within admin-only forums. Sounds like a winner to me. Thanks for all the hard work you and Simpilot have put into this project. Quote Link to comment Share on other sites More sharing options...
Tom Posted November 25, 2010 Author Report Share Posted November 25, 2010 Ever so slightest of progress updates; added support for line breaks, i.e. when you press enter in the input for a new line it actually posts the new line. The following bbcodes will be supported also: [b][/b], [i][/i], [u][/u], [p][/p], [img][/img] Quote Link to comment Share on other sites More sharing options...
RogerB Posted November 26, 2010 Report Share Posted November 26, 2010 This appears to be very limited as to functionality. Quote Link to comment Share on other sites More sharing options...
Moderators Kyle Posted November 26, 2010 Moderators Report Share Posted November 26, 2010 well Roger, that's what Tom can provide for right now. He might make more bbcodes later in the VAForum 2. Right now, I say it's ok and that's good for a VA needs. Maybe this will help Tom, Another request but it does not need to be done fast.... Add... Bulltens forms [list] [*]List 1 [*]List 2 [/list] Linking [url="site url"]Click Here![/url] Just do your best if you can do them, if not, then that's okay, Happy Coding Quote Link to comment Share on other sites More sharing options...
Tom Posted November 26, 2010 Author Report Share Posted November 26, 2010 Roger it lacks functionality at the moment because I've only released a pre-release version, which only adds important security updates to simpilot's version. The rest of the features are in development. Thanks vansers, the list I will add, but URLs will only work if the text inside is preset to "click here" or something. Quote Link to comment Share on other sites More sharing options...
Moderators Kyle Posted November 26, 2010 Moderators Report Share Posted November 26, 2010 Ok, that's no problem. Quote Link to comment Share on other sites More sharing options...
Tom Posted December 4, 2010 Author Report Share Posted December 4, 2010 I'm pretty much finished with categories, and board & category ordering on the page. I wanted to discuss the signature quickly; do people want to be able to type in their own text as you would on a normal forum, or just display the users airline signature image? Also, are there any other features people would like included? Quote Link to comment Share on other sites More sharing options...
Moderators Kyle Posted December 4, 2010 Moderators Report Share Posted December 4, 2010 I'm pretty much finished with categories, and board & category ordering on the page. I wanted to discuss the signature quickly; do people want to be able to type in their own text as you would on a normal forum, or just display the users airline signature image? Also, are there any other features people would like included? It would be good to have users airline signature if it's possabile? Quote Link to comment Share on other sites More sharing options...
Tom Posted December 4, 2010 Author Report Share Posted December 4, 2010 Ok I think I'll stick with the users' phpVMS signature for now. Pretty much finished. Here's an image of the new post layout as well as the BBCodes in use: Could anyone advise how I make the install and update sql files? Thanks Quote Link to comment Share on other sites More sharing options...
Moderators Kyle Posted December 4, 2010 Moderators Report Share Posted December 4, 2010 Package everything that needs to run VAForum, and Package the required SQL files and export them. (Fresh-Install) Package updated files, Package new VAForum SQL tables (Update-Install) Quote Link to comment Share on other sites More sharing options...
Tom Posted December 4, 2010 Author Report Share Posted December 4, 2010 Yeah I got that far, but I need to know the easiest way to create those .sql files. Quote Link to comment Share on other sites More sharing options...
Moderators Kyle Posted December 4, 2010 Moderators Report Share Posted December 4, 2010 Yeah I got that far, but I need to know the easiest way to create those .sql files. Like simpilot does, like his events module, he imports the nessacry new tables for the update, create as a sql file. Does that help? Quote Link to comment Share on other sites More sharing options...
Tom Posted December 5, 2010 Author Report Share Posted December 5, 2010 Ok I figured out the SQL files, and tested them so they should all work fine (managed to completely delete my own forum in the process though, clever -.-) Version 2.0 released, see original post for download and details. Please notify of any bugs/problems! Quote Link to comment Share on other sites More sharing options...
TAV1702 Posted December 5, 2010 Report Share Posted December 5, 2010 I think the airline sig would be great, but being able to enter a little something extra of one wanted to would be great. If you do add a sig to the release, are you going to make it so the image size can only be so big? Some like to use big a** monster images and that just jacks everything up IMO. Thanks for all the hard work that you are doing. Ray Quote Link to comment Share on other sites More sharing options...
Tom Posted December 5, 2010 Author Report Share Posted December 5, 2010 Custom sigs will have to be in the next release as I've uploaded this one now. It will probably be the same principle as before: large images will be displayed at a maximum width to prevent page stretching, but there's no limit on actual sizes so it'll still load a big image. Quote Link to comment Share on other sites More sharing options...
TAV1702 Posted December 6, 2010 Report Share Posted December 6, 2010 Ahh right on man thats cool. I didn't notice until after I posted that that you had already uploaded the new version. I am giving it a shot now. Just uploaded and installed it. Quote Link to comment Share on other sites More sharing options...
TAV1702 Posted December 6, 2010 Report Share Posted December 6, 2010 Found a small issue. When viewing a thread, if you click on the authors name above their avatarto go to their profile, I get this error: Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'Profile::1' was given in /home/xxxxxxxxxxxx/public_html/core/classes/MainController.class.php on line 218 Ignore the xxxxx part that is there for a reason. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.