Nov 7, 2009

Adding An Aef Forum To Snews Cms - "almost" integrated

free web hosting
Open Discussion > MODERATED AREA > Tutorials

Adding An Aef Forum To Snews Cms - "almost" integrated

jlhaslip
Adding an AEF Forum to sNews CMS

Although not truly integrated, here is an explanation of the steps I took to have an AEF Forum Software present itself as an 'integrated' page on the sNews CMS.

1. Download a standard sNews version 1.6 Content Management System. Instructions are found on the sNews site. (refer to link list below) There are several flavours of sNews. This method has only been tested on the sNews 1.6, but should work on other versions as well.

2. Created a MySQL Database and user, Modded the snews.php, and took the usual steps for installing as a package. Note that the sNews is installed into the {root}/snews directory of the Hosting account.

3. Install an AEF Forum into a subdirectory of the sNews install named "forum", so the forum is installed into {root}/snews/forum of the Hosting account.( http://www/jlhaslip.com/aef_103_demo / )

4. Ported and Modded a Template from http://www.andreasviklund.com/ which had 2 column, 1024 pixel layout. The layout is a sidebar left version with the "content" on the right hand side. This is where the Forum will display.(optional, this method will work on a standard sNews layout, if the width is flexible or wide enough)

5. Added a Menu system as per http://cssplay.co.uk for a Horizontal Centred Unordered List. IE Conditional Comments required for the menu system need to be added to the Template.(optional)

6. Added the Categories into the sNews CMS which I wanted to be shown on the sidebar of the page which contains the Forum.

7. Added a "Welcome" and Forum link at the top of the sidebar in the Template index.php to have the Forum link display on all pages.(from source)
CODE
<h2>
                    Welcome!
                </h2>                        
                    <ul><li>
                    <a href="http://www.jlhaslip.com/snews/forum.html" title="Visit the Forum" >Forum</a>
                    </li></ul>



8. Performed a "View Source", Ctl-A select all, Ctl-C copy and pasted the page into my Text Editor. Then added the following code to have the forum displayed into an iframe. I know they aren't pretty, but it works. Indexing or SEO is not a requirement on this particular site, or I might have re-considered the use of an I-frame. This process is not complete. I will be investigating other methods and will report any success I might have.
CODE
<iframe src="http://yoursite.com/snews/forum/index.php"   style="overflow-x:hidden; overflow-y:scroll; width: 735px; height: 800px; border:0; " ></iframe>

>>> change URL to suit your actual Account/Domain information <<<
??? could also be relatively referenced to the base href (not tested)???

9. Save the page as "forum.html" as per the link added into the top of the sidebar into the same directory as the sNews CMS. (see #7 above) The Forum can be Browsed to directly using this as the endpoint of the url.(see reference below)

10. Note the html code for the iframe is sized for width to fit into the available space of the page. If you use a different Template, both the width and height may need to be adjusted. I set a height to the iframe due to browser differences. Auto or 100% failed in various Browsers, and a fixed height seems to work in all of them (to my satisfaction at least).

11. As a note, I should mention that AEF is a really nice piece of work. I have stats comparing AEf to a phpbb2.0.22 and the AEF Forum uses one third of the bandwidth. Although fairly new, the package is very functional with a News rotator script, a fixed or pop-up shoutbox included, and many more nice features. I encourage you to check it out. Also, Language Packs and IE png support is forthcoming. The version demo'd on this "integration" is utf-8 and IE png ready. The Language system is being developed as I write this Tutorial and will be available very soon. Translations are available for Spanish immediately and several other languages to follow quickly. (Egyptian anyone?)

So, that is how I did it. Not a true "integration", since the Logins aren't tied together, but they do fit into a single database. By default, the AEF database is prefixed with "aef_", so unless your Hosting requires one, no prefix would be required for the sNews Tables.

Please Note: The copyright on the AEF Forum is mandatory, and the Forum will shutdown if you remove or modify it. Just a warning. It does, however, include an optional second copyright line. The method for adding the copyright and "Ad Bars" are on the AEF Demo site, for your reference.

I hope this helps and please post any questions you need answered. I will do my best to reply as quickly as possible.

And thanks to all the "Dudes" for getting the sNews package to this point. smile.gif


References:

Demo of a combined sNews and AEF Forum: http://www.jlhaslip.com/snews/
AEF Forum as a standalone Forum : http://www.jlhaslip.com/snews/forum.html
Tutorial on installing an AEF Forum: http://www.jlhaslip.com/aef_103_demo/
Link to AEF Support Forum: http://www.anelectron.com/board/
Download sNews 1.6 here: http://www.snewscms.com/

 

 

 


Comment/Reply (w/o sign-up)

delivi
I'd suggest jlhaslip not to use sNews, because it is more simple and more vulnerable to attacks. I nearly had about 3 different installations of sNews all updated and with the security patches but they were hacked by a group and on further search I found out that almost all the sNews sites have been hacked by the same group.

I checked out their forums but they had no solution for it.

Comment/Reply (w/o sign-up)

jlhaslip
I believe that vulnerability has been patched with sNews 1.6.

sNews 1.7 will be available {around} April of 2008 with even more Security and Optimizations.

Comment/Reply (w/o sign-up)



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Similar Topics

Keywords : Adding Aef Forum Snews Cms 34almost34 Integrated

  1. Pet/animal Care Forum - Online veterinary advise (19)
    Hi I am A veterinarian and would like to offer through this forum an online tutorial and
    consultation service... For a start lemme tell you something about training, feeding and breeding
    your pets... QUOTE Training Pets Training pets Dog training is an art and science. It is
    very important for your dog to be trained at least to the extent of obeying your basic commands. The
    training must be methodical and must be regularly carried out. An obedient dog is an asset and also
    required for the owner’s safety. An untrained adult Alsatian or Doberman can be quite letha...
  2. Making Winrar Archives - and adding password to winrar archives (15)
    **** This tutorial will show you how to put files into .rar Archive and pass worded (if wanted)
    **** What You Will Need Before continuing you will need a couple of thing, first of all you
    need WINRAR , which is a very powerful archive manager. It can reduce size for you email
    attachments, decompress RAR, ZIP and other types of files downloaded from the internet. You can get
    winrar at http://www.rarlabs.com The other thing is that make sure your using Windows XP because
    this is what I used to make this tutorial. I think it works with any other windows not...
  3. Putting A Signature On The Forum - A tutorial on how to put a signature on here (41)
    Concidering it is a part of the rules that we put signatures in the signature portion instead of
    typing it every time you make a post, i made this to tel people how to put the signature up for
    people to see. It will automaticly be added to the end of every single post you make! First Off you
    need to go to "My Controlls" which can be found in the top right hand side of the screen...
    Once you are in your controlls look on the left hand side for "Edit Signature" once you are
    there you should see a screen like this that shows your current signature for ex: mine ...
  4. Adding Flash Music Player To Home/any Page - How-to (put any song you want!!!) (5)
    Want to put music on all pages (near the top)? Want any song you want? Well heres how! Place the
    following IN PLACE of the tag (paste in while thats highlighted. The text in red you HAVE to
    replace with the song url. The text in green is OPTIONAL (whether you want it to autostart or not.
    Right now it doesnt, if you want it to replace no with yes.) Of course place this in Admin
    Cp>>>Skinning and Styles>>>Board Wrappers>>>Header and Body QUOTE REPLACE THIS
    WITH YOUR SONG URL &autoStart= no " /> src="http://www.podbean.com/podcast-audio-...
  5. Aef Forum Modifications [resolved] - Header bar, Footer Bar and Styling them (3)
    Here are a couple of Tutorials I have posted on my AEF Forum hosted here at the Trap17. Since the
    Tutorials are already published, I will merely link to them. Header Bar Information :
    http://www.jlhaslip.trap17.com/aef103/index.php?tid=11 Footer Bar Information :
    http://www.jlhaslip.trap17.com/aef103/index.php?tid=10 Styling the Header/Footer Bar :
    http://www.jlhaslip.trap17.com/aef103/index.php?tid=16 The first two are about how to add some
    html code to the space reserved in the Forum layout for an optional Advertising spot. I adapted some
    code so that several ...
  6. Sharepoint Calendars Integrated Into Outlook 2007 - Showing multiple Sharepoint Calendars in Outlook 2007 (Company wide De (0)
  7. Add Flashing Inbox To Invisionfree Forum - Html code for invsiionfree!! (2)
    Do you find it annoying when you are on your invisionfree forum, and you get a new message, and it
    ends up taking you 5 minutes to notice? This code makes the inbox link flash bold red saying how
    many messages you have. In version 1 the word inbox stays the same, and doesnt change at all (for
    Example this is flashing: Inbox (2) In version 2 (the second code) the word inbox changes to
    messages (constantly, so that if you have none, it says messages (0) instead of inbox (0). It still
    flashes Red Put the following In the Header and Body Section (Admin Cp>>>Skinning ...
  8. Adding Your Website To Google - How to register with google (25)
    Hi everyone. Hopefully here im going to tell you how to register yourself with the Google search
    engine and get yourself in their results. Ill start the tutorial assuming you already have Meta
    tags or other search engine optimisation techniques in place. This tutorial is solely about
    registering with google. At one time i thought simply using meta tags etcetera would get you listed
    in Google, i then found out that didnt work, so i wondered why, and the fruits of my labour are what
    will go into this tutorial. the first step is to get a google account, this will get y...
  9. Invisionfree Skin How-to Put On Your Forum - A skin I partially made, I show you how to put on your forum. (1)
    Hey All who may want an invisionfree forum skin, because they are tired of their old, boring,
    squarish one. Well I helped with this skin, and I'm going to give an explanation for starting
    users, so that they may too, have a nice forum skin! First of all, when installing a new skin on
    your board, no upload or download is needed. You will most definately have to replace your old forum
    CSS or "Style sheets" (as called in the invisionfree Admin CP). You will almost all the time have
    to place something in the footer (in Board wrappers IN THE ADMIN CP), and usually a head...
  10. Azurian Skin - put on forum (0)
    Azurian forum style for invisionfree forum. For preview of this skin visit:
    z11.invisionfree.com/FreeLoads To install this skin, the writing in red must be changed.
    yourBOARDNAMEhere has to be changed to urs (such as mine is FreeLoads), and the z11 in red has to be
    yours (yours couls be z4). For help removing the miikerocks copyright and replacing with your own,
    seek my other tutorials. There are to header and body's-one for the style only, the other is my
    configuration - (the style with music and message flasher added.) There is also 2 footers-One just
    for the styl...
  11. How To Make A Decent Forum - Some great tips on how to make and maintain a good forum (8)
    -Firstly, come on, use a decent forum system. Visitors to forums hate advertisements. The best way
    to guarantee no ads is to host it yourself. There’s loads of free web hosts out there- there’s loads
    of free forum software, too. So, come on! It doesn’t take much energy to find a good host and upload
    some files. I think the two best forum softwares to use are SMF(www.simplemachines.org) and
    phpBB(www.phpbb.com). -Secondly, if anybody is actually reading the topic with the link to your
    forum in, they must be dedicated to this one, and not many people are dedicated to load...
  12. Install An Aef Forum Onto The Trap17 - From a zip file (11)
    Installing an AEF Forum on the Trap17 Server Preparation for Installing the AEF Forum
    The following items are required for the installation of the packaage onto your site: 1. - a copy
    of the AEF Forum zip package from http://anelectron.com/download.php 2. - a MySql Database 3. - a
    Database User 4. - a password for the Database User 5. - Privileges allowed for the Database User
    The details for ensuring that you have all of these items are as follows: 1. - a copy of the AEF
    Forum zip package from http://anelectron.com/download.php . Simply browse to t...
  13. Phpbb Forum Site Transfer - How to do it, step by step instructions (20)
    I'm sure many of you out there have used phpBB at some point. To those who enjoy running forums
    and online communities, specifically supporting phpBB, I am about to tell everyone how to restore
    the forums database from one website, to another. This is presuming you do not have any mods or
    hacks installed. Some of you may find this information useful. Here is the scenario: Let's say
    you have forums running phpBB version 2.0.17 (currently the latest one). You have decided that you
    want to move your forums to a whole new URL and provider, and as an added bonus, ch...
  14. How To Setup A Website After Your Forum - (3)
    This tutorial is about how to setup a website after you have setup a forum. That means, you have a
    forum, and are wanting to add a website. This tutorial will show you how to create the website in
    your root directory(Example: http://domainname.com) , while your traffic gets redirected to your
    forum while you are creating it, until you're ready for guests to see it. This method is
    opposed to setting it up in another directory, then moving it(particularly more time consuming if
    you're site is PHP based). First of all, you are going to want to setup a redirect ...
  15. How To Create A Phpbb Fm - Create a Fully Modded forum. (52)
    1. Well once you get the file onto your computer, your going to need an FTP client. I suggest Core
    FTP, just do a Google search for it, and theres a free version, which I use, and is just great. 2a.
    I'm guessing you already have an unzipping program to unzip the file you're downloading, so
    we'll skip that step. 2b. Go to http://phpbbfm.net . On the left side, e little below the top,
    click on the Zip link, which will download the file. Unzip the file you just got. 3. Once all the
    files have been unzipped from the main file you just got, find the folder tha...
  16. Adding Data To A Database And Displaying It Later - Using Forms, PHP and MySQL (1)
    Requirements: PHP Support MySQL Database access I am going to use a news program as an example.
    Ok, first you are going to need to connect to the database. Do so by using the code below. I have
    added some comments where you will need to edit to fit your server's specifications. Create a
    new file with notepad and call it config.php QUOTE //Change root to your database
    account's username $dbusername = "root"; //Add your account's password in between the
    quotations $password = " "; //Add the name of the database you are using in between the qu...
  17. How To Create Forum Smilies - Make smilies for your forums! (3)
    Wanna make your own pixel smilies! For cutenews, your forums, websites, etc.. What you need: A
    graphics program that allows you to zoom in very closely to an image (paint is OK... but not the
    best...) OPTIONAL... a program that has a grid when you zoom in (most graphics programs have them)
    I'll use a program called paint.NET START 1. Copy this image and paste into a graphics
    program 2. Then ZOOM so you can see the image close up. For easy use make sure it is in some sort
    of "grid mode" Example: 3. Draw your eyes, face, nose, ears, etc... Your *may* wan...
  18. Install A Simple Machines Forum - (11)
    If you want to have your own Simple Machines running up without any ADs of any kind , sign up at
    Trap17 and posting until you have enough credits then post an application form and then wait to be
    approved. After that , do like this and you will have your own forum setting up : 1.Download
    Simple Machines You can get it at Simple Machines download page , click here to get one
    2.Upload SMF to the Server This step is too long so be patient , log in to Trap17 forum then log in
    to your own cPanel , click on File Manager. A pop up Explorer will appear , then click on ...
  19. Embedding Videoclips Into Pbpbb/nuke Forum Posts - (0)
    This is something i've been playing around with today, & the result is pretty good. If you want
    to give your members something to do, place some music videos/any videos/.swf files into posts on
    your forum. By incorporating a poll they can vote on them aswell. First, in the admin
    menu/configuration, find 'Allowed HTML tags' & make sure it shows the following:
    b,i,u,pre,embed,object,param name,value, An excellent source of practically unlimited free
    material can be found at youtube.com & they are even kind enough to give you the code to embed the
    videos....
  20. How To Install An Openoffice Dictionary Manually - adding the new dictionary by yourself (3)
    How To Install An OpenOffice Dictionary Manually Introduction The Tutorial
    What's OpenOffice? Introduction Before you all rant at me and tell me that there is a
    wizard to install dictionaries for you, it can sometimes not work. I know this because on my copy of
    OpenOffice Writer, it doesn't. This tutorial is very easy to follow and it's for those
    whose wizard is broking, just like mine or people who like to be difficult and do things the hard
    way /tongue.gif" style="vertical-align:middle" emoid=":P" border="0" alt="tongue.gif" />...
  21. Custom Bbcode Tags In Smf - adding extra tags in a Simple Machines Forum (0)
    Adding custom BBCodes to your Simple Machines Forum is really very... simple. First, you will need
    to download three mods from the package manager. Faster Parsecode, ModSettings Textarea, and of
    course Custom BB Code. Once you have those mods set up you will need to go into your admin section
    and click on your "Edit Features and Options" link. In the Basic Forum Features section you will now
    find a "Custom BB Code tags" box. This box is where you will put your custom codes. You can add as
    many as you like, one per line. Let's break down the bits of a simple tag tha...
  22. How To Set Up A Phbb Forum On A Simple Page. - simple page link to phBB (4)
    Ok, I am going to teach you how to set up and include a phBB Forum on your web site hsted on your
    local computer set up as a Server. This tutorial references to snlildude87's tutorial at
    http://www.trap17.com/forums/-t20432.html . You have to set up a MYSQL DATABASE and a Apache server
    sucessfully in order for this to work. Do that first then come here and we can start. Ok, Now that
    you got your Apache server set up and your MYSQL Database setup according to the Tutorial from
    snllildude87, lets BEGIN! Step 1: First off you got to have a working HTML page with a ...
  23. Installing A Phpbb2 Skin - Popular forum software (5)
    I tried installing a new phpbb2 forum skin on my website for weeks and didnt get it to work, but
    it's very easy... 1. Upload the skin / template to the templates folder of your phpbb2
    directory (eg. public_html/forums/templates), make sure you don't upload the zip archieve or a
    directory containing the directory where the template is in, the folder you need to upload usually
    contains a lot of .tpl files an images directory a .css file (or multiple) and if your template
    contains an admin re-skin an "admin" folder. NOTE: If you use PHP-Nuke the directory where...
  24. Adding Ur Own Files On Send To - Windows xp (0)
    This tutorial will enable you to add places on the context menu under the Send To option. This is
    how u do it. Create a shortcut of the folder you want to add.Cut/Copy the shortcut and go to
    C:\Windows\Documents and Settings\Your user\Send To and paste the shorcut there. You can also
    rename the shortcut from shortcut to xxxxx to xxxxx Remember Your user stands for your userid that
    you have used to login. If you have any probs PM me....
  25. Search! Please Look In This Forum And Check That - another one has not been made! (5)
    I thought this was neccasary because we have had multiple times of this occuring. Or else, we will
    have repeating tutorials and it will be completely pointless, not only that, you will also lose
    HOSTING credits, if we end up deleting your tutorial if there is already one on it!...
  26. How To Edit Your "index Page" - Adding new pages? (0)
    This tutorial was requested by sxyloverboy . Introduction: sxyloverboy has asked me how
    to make your navigation bar on him website change to add another page, without having to do it on
    every page. Well, I have the answer for you! Beginning Assuming you have a FTP upload access,
    you'll be open your file "index.php" -=Example=- Once your "index.php" file is open press
    "CRTL+F" (Find) and search for something that looks like this; CODE                        
                                                 width="100%" height="14" valign="top"...
  27. Parking Domains - howto on adding a purchased domain to your account here (3)
    I wrote this tutorial for astahost, but I thought I'd add it here too /smile.gif' border='0'
    style='vertical-align:middle' alt='smile.gif' /> QUOTE Since this is something we may encounter
    while being hosted here I thought I'd touch the subject /smile.gif' border='0'
    style='vertical-align:middle' alt='smile.gif' /> First of all this tutorial/how to is written for
    those who have purchased a domain name through a registrar /smile.gif' border='0'
    style='vertical-align:middle' alt='smile.gif' /> Depending on how your registrar works, you should
    be able ...
  28. Moving And Adding Shortcuts To Your Start Menu - Tutorial for newbies (4)
    Do you have lots of programs in programs menu? and want a quick click solution?... so you don't
    have to chase down the program on the Programs Menu! For the example I'll use Notepad. Click
    on start->programs->Accessories and direct to Notepad and hold the left mouse button. Keep holding
    it, and move it to the area above the "Programs" and you'll see a dark "bar" appear. Slide the
    icon up and down, and the bar moves up and down. Release the mouse button, and the icon is now on
    Start Menu. And if you want desktop item to be add on Start Menu, use tutorial be...
  29. [tutorial] Visual Basic 6 - Adding Commas to Large Numbers (0)
    This isn't a very long tutorial. I get asked this often, so here is the solution. The following
    code will return a string containing a number that has commas appropriately placed: Code:
    myStringOrProperty = FormatNumber(3587532789053, 0) The second parameter (0) represents how many
    decimal places you want the returned number to go out to. Unless your number contains its own
    decimal, you probably don't want .00 at the end of every number you have. The above code would
    return: 3,587,532,789,053 This should make life easier for many......



Looking for adding, aef, forum, snews, cms, integrated
Pet/animal
Care Forum
Online
veterinary
advise
Making
Winrar
Archives and
adding
password to
winrar
archives
Putting A
Signature On
The Forum A
tutorial on
how to put a
signature on
here
Adding Flash
Music Player
To Home/any
Page How-to
(put any
song you
want!
3;!)
Aef Forum
Modification
s [resolved]
Header bar,
Footer Bar
and Styling
them
Sharepoint
Calendars
Integrated
Into Outlook
2007 Showing
multiple
Sharepoint
Calendars in
Outlook 2007
(Company
wide De
Add Flashing
Inbox To
Invisionfree
Forum Html
code for
invsiionfree
!!
Adding Your
Website To
Google How
to register
with google
Invisionfree
Skin How-to
Put On Your
Forum A skin
I partially
made, I show
you how to
put on your
forum.
Azurian Skin
put on forum
How To Make
A Decent
Forum Some
great tips
on how to
make and
maintain a
good forum
Install An
Aef Forum
Onto The
Trap17 From
a zip file
Phpbb Forum
Site
Transfer How
to do it,
step by step
instructions
How To Setup
A Website
After Your
Forum
How To
Create A
Phpbb Fm
Create a
Fully Modded
forum.
Adding Data
To A
Database And
Displaying
It Later
Using Forms,
PHP and
MySQL
How To
Create Forum
Smilies Make
smilies for
your
forums!
Install A
Simple
Machines
Forum
Embedding
Videoclips
Into
Pbpbb/nuke
Forum Posts
How To
Install An
Openoffice
Dictionary
Manually
adding the
new
dictionary
by yourself
Custom
Bbcode Tags
In Smf
adding extra
tags in a
Simple
Machines
Forum
How To Set
Up A Phbb
Forum On A
Simple Page.
simple page
link to phBB
Installing A
Phpbb2 Skin
Popular
forum
software
Adding Ur
Own Files On
Send To
Windows xp
Search!
Please Look
In This
Forum And
Check That
another one
has not been
made!
How To Edit
Your
"index
Page"
Adding new
pages?
Parking
Domains
howto on
adding a
purchased
domain to
your account
here
Moving And
Adding
Shortcuts To
Your Start
Menu
Tutorial for
newbies
[tutorial]
Visual Basic
6 Adding
Commas to
Large
Numbers

Searching Video's for adding, aef, forum, snews, cms, integrated
See Also,
advertisement


Adding An Aef Forum To Snews Cms - "almost" integrated

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com