Jump to content

[Guide]SMF Forum.Total Guide!


™Tekto StyleZ
 Share

Recommended Posts

smf_logo.gif

 

 

This guide will show you how to install an SMF forum in the event that you do not have Fantastico or cannot, for some reason, install SMF from it.

 

Step 1:

 

The first step is to make sure you have access to a MySQL database and enough rights for it (I don't know exactly what you need but if you have full access rights you will obviously be okay.) To create a MySQL database on your host through cPanel (comes with all Astahost accounts) login to cPanel by going to yoursite.com/cpanel or yoursite.astahost.com/cpanel and entering your username and password. Under site management, click on the MySQL Databases icon. In the new window (or tab) fill in a name for your database (maybe the name of your forum). Note any information about the name of your database (in Astahost cPanel there is a notice telling you that your username followed by an underscore is added to the front of your database' name). Logout of cPanel.

 

Step 2:

 

Download SMF from simplemachines.org. Then upload the files to your webspace. This can be done through an FTP client or through cPanel's File Manager (I would recommend cPanel because it is easier to extract the file and saves you uploading the extracted version if you do not know how to extract it with an FTP client.) To do it through cPanel, login and open File Manager under Site Management. Navigate to the parent directory of the place you want your forum to appear (often public_html) and create a folder with whatever name you want (this will contain the forum and people viewing the forum will need to navigate to this folder). Navigate into this new folder. Then upload the SMF install zipped file. Next, extract the contents by clicking on the install file's name and clicking on extract contents on the right hand side of the File Manager window.

 

Step 3:

 

Navigate to the following address in your browser: blahblahblah.com/forum where blahblahblah.com is the address of your main website and forum is the name of the folder you created earlier. However: if you did not create the folder in public_html, you will have to work out where to navigate to yourself. An installation page should be on-screen. Fill in all the details, and proceed through the pages, remembering that your MySQL database name may have your username followed by an understroke or some other prefix before the bit of the name that you specified.

 

You have now installed SMF. Congratulations! biggrin.gif You can now access your forum by navigating to the folder where you extracted all of the files. Don't forget to check that the file install.php has been deleted, as it is a major security risk to leave it how and where it was.

 

 

 

How to add Adsense Code in SMF

 

The thread "How to add Adsense Code in SMF" may not be helpful for experienced web-publishers who have already nurtured Simple Machines Forum a lot, but I think, it will be helpful for anyone who has installed Simple Machines Forum recently and who is considering to install Adsense Code in Simple Machines Forum ( SMF).

 

Here are the steps to show Ads just below the header section.

 

First of all, locate the file index.template.php.

 

Now goto the following section:

 

<body>';

 

// The logo, user information, news, and menu.

echo '

......

 

Note the HTML just below that:

 

 

<table cellspacing="0" cellpadding="0" border="0" align="center" width="95%" class="tborder">

 

It is a table to show logo, user information and menu.

Now find following line:

 

<br />', $context['current_time'], '

</td>

</tr>

 

 

Finally, insert a new table row and paste Adsense Code there.

 

<tr>

           <td colspan="2" valign="middle" align="center" class="tborder" style="border-width: 1px 0 0 0; font-size: smaller;">

               <script type="text/javascript"><!--

               google_ad_client = "YOUR PUBLISHER ACCOUNT ID";

               google_ad_width = 728;

               google_ad_height = 90;

               google_ad_format = "728x90_as";

               google_ad_type = "text_image";

               google_ad_channel ="3949701292";

               google_color_border = "336699";

               google_color_bg = "FFFFFF";

               google_color_link = "0066CC";

               google_color_url = "006699";

               google_color_text = "000000";

               //--></script>

               <script type="text/javascript"

                 src="http://pagead2.googlesyndication.com/pagead/show_ads.js">

               </script>

           </td>

      </tr>

 

This will show Adsense Ads just below the header section.

 

To show Adsense Ads at the bottom of the webpages (above the footer section):

Locate the following lines in the same file i.e. index.template.php

 

 

</table>';

// Don't show a login box, just a break.

else

echo '

<br />';

 

 

Below that line Type the following code:

 

 

echo '

  <table cellspacing="0" cellpadding="3" border="0" align="center" width="95%" class="tborder">

   <tr>

           <td align="center">

               <script type="text/javascript"><!--

               google_ad_client = "YOUR PUBLISHER ACCOUNT ID";

               google_ad_width = 728;

               google_ad_height = 90;

               google_ad_format = "728x90_as";

               google_ad_type = "text_image";

               google_ad_channel ="3949701292";

               google_color_border = "336699";

               google_color_bg = "FFFFFF";

               google_color_link = "0066CC";

               google_color_url = "006699";

               google_color_text = "000000";

               //--></script>

               <script type="text/javascript"

                 src="http://pagead2.googlesyndication.com/pagead/show_ads.js">

               </script>

         </td>

     </tr>

     </table>';

 

Now the Ads will be displayed both below the header and above the footer section of the webpages.

 

 

 

Shoutbox Mod Installation

 

This is your basic shoutbox.  Your registers users type in a message and click shout.  Guests on your

site (if you give them access to the block) will type in their name, email address and message before

clicking shout.

 

The format of each 'shout' is Date, Name, Message.  If a registered user posts a shout, their name

becomes a link to their profile.  If a guest posts a shout, their name is a mailto: to the email

address they entered.

 

For administrators, there is also a delete button next to each individual shout.

 

The ultimate shoutbox for YaBB SE was originally written by Greg Haase.

 

Making the shoutbox appear:

This modification will NOT modify any of your themes for you during install - this is to allow you to put the shoutbox where you want it to appear - not where I say! To actually make the shoutbox appear you need to modify the themes to display it. This is a VERY simple process I will take you through below.

 

Firstly, confirm the installation was successful. You can do this by going to "Feature Settings and Options", if you see some shoutbox options at the bottom of this page the install worked - well done!

 

Now, you need to edit a template to display the shoutbox. Most people will want the shoutbox to appear on every page - in this case you want to edit the file called index.template.php found in each theme directory - the default theme is Themes/default/index.template.php

 

Work out where you want the shoutbox to appear, and add the following code to the template:

 

if (function_exists('smfshout'))

 smfshout();

 

You may find that you want to put the code in the middle of some existing HTML, and if you are not familiar to PHP may find adding this is causing your forum to error. If this is the case replace the code above with:

 

';

if (function_exists('smfshout'))

 smfshout();

echo '

 

and this should fix the error!

Editing the shoutbox template itself:

If you want to edit how the shoutbox itself looks (for example making the message box bigger, putting it in two columns), you need to look at the shoutbox template. The shoutbox template is in the file called shout.template.php, and is located in your Themes/default directory. There are three functions in this file, one does the archive, one does the main shoutbox, and one does the form people shout into. Just edit the HTML in this file to change the appearance of the shoutbox on your site.

 

Please note, if you do change this file I recommend you keep a copy of the changes you made - as if you upgrade your forum in the future and reinstall the mod - your changes will of course be overwritten!

 

Here you can find some themes for the forum:

http://www.smfads.com/forums/index.php?PHPSESSID=6ae003baf75c88e2e3c7844bcff67443&board=7.0

 

Credits go to simple machines.

To me for the collecting.

 

PS:I collect some guides for add-ons.I will put all them here to one AIO.

Link to comment
Share on other sites

in my opinion the forum engines since they have an install procedure and its well explained dont need guides only a little english knowledge

Link to comment
Share on other sites

in my opinion the forum engines since they have an install procedure and its well explained dont need guides only a little english knowledge

 

I accept with it.

But,I will add some guides which are at the net with some things that you can add^ ^

Link to comment
Share on other sites

I accept with it.

But,I will add some guides which are at the net with some things that you can add^ ^

 

yes a guide for addons is more usefull

Link to comment
Share on other sites

the guide is amazing ! thanks

DePutaMadre

 

Ty^ ^

 

this is forum like mxc one or i am wrong?

 

Yes.

But you can use it for L2 server's forum.

For me its the best kind of forum.

Link to comment
Share on other sites

Yes.

But you can use it for L2 server's forum.

For me its the best kind of forum.

Totally agree.anyway if you bored to make a smf use this way :D

http://smfforfree.com/

:P

Link to comment
Share on other sites

Totally agree.anyway if you bored to make a smf use this way :D

http://smfforfree.com/

:P

 

I am not sure,but I think that by using this way,you are not able to add things at forum.

I mean that this is one standar forum,which is given to you for free.

I am not sure,if I am wrong someone correct me.

Link to comment
Share on other sites

I am not sure,but I think that by using this way,you are not able to add things at forum.

I mean that this is one standar forum,which is given to you for free.

I am not sure,if I am wrong someone correct me.

ye i agree total with you. but people who dont know these settings if wants a forum use other way as i said

http://smfforfree.com/

anyway i voted for your way ;)

[GR]Euxomai na iparxoun ekatomiria tetia forum kai oxi to http://smfforfree.com/

:P [/GR]

Link to comment
Share on other sites

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.   Paste as plain text instead

  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.

 Share



  • Posts

    • We have added few new features for Second Edition of L2Etina. Check them out:   While streaming L2Etina, you will now receive L2Coins automatically.   Dwarves who have set private workshop, now automatically sell Crystallization to nearby players. For this service, they receive 10% of created crystals.   Before closing game, you will now see amount of earned experience, adena, total play time and acquired items.   You can now check Ranking of current and previous edition. This window can be found in Main Menu.   Party Window now have a special spot, showing if member has Noble Blessing.   Players from South America will be able to connect to the server by proxy.   Players who have supported first edition by donation, will now 2 weeks of free premium.   We have rewritten description of every buff, so they are now clear and handy. Vote rewards will be different for new edition, but exact items are not decided yet.   When spoil is successfull, you will now see special popup window. When you target monster who has been spoiled, you will see Spoil as a debuff.   Buff Store now have possibility to refuse to buff someone. Retail version of party matching was added back. Offline private stores now automatically disappear after 5 days. There are plenty more improvements and fixes, like ability to disable skill bar, multiple fixes to epic bosses, adjustments to aggro.
    • First of all thank you for fast answer. I have changed internal as you said but didn't work sir.
    • The difference isn't paying upfront or at the end of each week. The major difference is that paying clans to join, leads to leaders making random weak sides who play just for money and creates an extremely toxic fake competition in-game (i.e. l2 dex, e-global, valhalla and this kind of servers). Paying clans just to join absolutely kills the rivalry between them as there are no real losers and winners. Everyone gets paid at the end of every week so who cares right ?   Rewarding the winners with cash gives a massive motive to the leaders to create strong sides and try their best to win without giving any advantage to any clan (unlike paying people to join and basically giving them free premiums and whatnot). In this case, there will always be losers and winners and the rivalry will be kept alive.   I hope that clears up the massive difference between the 2 scenarios. Look at all those big russian servers. No1 makes fraps flaming about which side is better. Everyone cares about daily 9v9s or organized ones. There is no clan identity anymore because leaders simply don't care. They have been so detached from the clan's identity that most of the times the leader's CP holds a different name to the side's. This is a very important point to think about. 
    • change the server.ini  InternalHostname = 127.0.0.1     and try
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disbaled AdBlock