Jump to content

Recommended Posts

Posted

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.

Posted

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.

Posted

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.

Posted

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.

Posted

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. B)

  • 3 weeks later...
  • Moderators
Posted

Hey Tom, Just Checking in to see how's your next update is going. I'm very eager to see the next version.......... Thanks,

Posted

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 :)

  • 2 weeks later...
Posted

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. :blink:

Posted

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.

Posted

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.

  • 2 weeks later...
Posted

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]

  • Moderators
Posted

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

Posted

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.

Posted

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?

  • Moderators
Posted

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?

Posted

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:

vaforum2.jpg

Could anyone advise how I make the install and update sql files?

Thanks

  • Moderators
Posted

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)

  • Moderators
Posted

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?

Posted

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!

Posted

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

Posted

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.

Posted

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. ;)

Posted

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. ;)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...