Search the Community
Showing results for tags 'icyboards'.
-
Your first task is to download the database! The database contains all of the information you need to transfer your forum across to a new host. This includes accounts and posts. To download the database: Go to your icyboards ACP. Click on IcyBoards Settings. Click on Database Back Ups. Click Back Up Now. Wait about five minutes and you will see this: Click on download to download the .gz file. This is your database! Now it's time to go to your CPanel! Instructions to get to your cpanel was emailed to you when you registered your hosting service. The first thing you need to do is install mybb. If you've already done this, you can skip these steps. Drop down to the button of the window. Under Popular Installs there is a Mybb icon. Click on it. Click Install Now. Leave Choose Protocol, Choose Domain and In Directory the same. For the following: Site Name - Your site's name. Board Name - Your board's name. Board Email - leave as. Admin Username - Your username. Admin Email - Your email. Pick one you typically use because this is the account that will receive any notifications. Click Save. The script will run to install your forum. Once the script has been run, you will be given a link to your forum and administrator profile. Don't leave the CPanel yet! The Import of the database! Click on RPG Initiative at the top of the screen to go back to the CPanel homepage. Click on phpMyAdmin A new tab will open. In the new tab, click on the database that was created as part of the installation process. It will be called something like cpanelusername_mybb375 (the numbers are random). When you click on the database, all of your database details will load. Click on Import. Click Choose File. Navigate to the database you downloaded earlier and click open. Click Go. Wait. A pop up will let you know when it's done. If this process fails for you, please just ask for help here. If you're with another host, you should contact them, not us! Once this is done! We need to make some changes to your configuration files! Go to CPanel Click on File Manager Click on Public_HTML > Inc > Config.php Right click and download the config file as a backup. Now right click and click on edit and ok. Find $config['database']['table_prefix'] = 'name_'; Name varies. Make sure that name matches the name of your tables. You can find your table names by going to PHP Myadmin, clicking on your database and noting the first word in all of the tables. In my case, it is pirates! So I would have: $config['database']['table_prefix'] = 'pirates_'; Now you can go to your forum and see all of your accounts, posts and forums. Things might look janky. Don't worry, we still have some work to do. Icyboards is a heavily modified version of mybb and some of those settings have come across with the database. We need to alter these. Go to your new forum and log into your Admin CP. Click on Configuration Settings Site details Board URL - your new forum's URL. Do NOT include the trailing slash. So pirates.com not pirates.com/ Homepage URL - Your new forum's URL. Cookie Domain - empty it Click on Save Settings Go to Configuration > Settings > Profile Options Scoll down to Avatar Upload Path and make sure that it's set to ./uploads Go to Configuration > Settings > Server & Optimization Options Scroll down to Uploads Path and change the value to ./uploads Scroll down to Use a CDN? Select No and save settings. Reload your site. Do a hard refresh. It should be loading correctly now! Head back to your CPanel. Go to File Manager Right click on Public_HTML > Inc > settings.php download it to back up the file. Right click and edit. Click Edit. Find $settings['cdnurl'] = "https://static18.icyboards.net/pirates"; Where the end word is your icyboard's forum URL. Can't find it or any cdnurl? Good! Skip the next step. Make sure to empty it $settings['cdnurl'] = ""; Find $settings['avataruploadpath'] = "./uploads/avatars"; Make sure the upload path mirrors the above. Find $settings['cookiedomain'] = ".icyboards stuff here"; Make sure it's changed to your own domain, so for my site it's $settings['cookiedomain'] = ".kit.wootflakes.com"; Click on save. That should do the bulk of the work for you! If you find yourself being redirected back to icyboards at all, have a look at your templates and make sure you haven't put the old URL in there. If you have, just correct it. If you have been with icyboards for a while, you might want to update your javascripts. These are in the headerinclude template. Find something like this: <script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.js?ver=1806"></script> <script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.plugins.min.js?ver=1806"></script> <script type="text/javascript" src="{$mybb->asset_url}/jscripts/general.js?ver=1807"></script> Make sure they are: <script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.js?ver=1813"></script> <script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.plugins.min.js?ver=1813"></script> <script type="text/javascript" src="{$mybb->asset_url}/jscripts/general.js?ver=1815"></script> These files should have been installed when you installed mybb. Avatars Avatars will probably be missing from the database. To access them you will need to ask Spork to download your UPLOADS folder. This folder will contain anything you have uploaded, like attachments and avatars. When you contact him, make sure to include the URL for the forum you want the uploads folder for. Once you have the folder, upload the contents of the Avatars folder via File Manager by going File Manager > Public_HTML > Uploads > Avatars . Click upload and upload the files in the folder Spork has send to you. Theme Images Make sure to upload your theme's images to your new hosting! You would typically want to upload them to Public HTML > Images > [Create New Folder - Theme Name] Fin! - Hopefully If you are using hosting with us, please reach out if you run into any problems. If you are using a different hosting service, I recommend that you reach out to them. Best of luck with the switch!
-
Fair warning! This list of steps might look daunting to you, but it is literally a step by step guide on how to upload your theme. This guide is intended for people who have no idea how to upload images to their forum using filezilla or cpanel. I am therefore assuming zero knowledge. Typically, when you find a theme you like, you will be given the option to download the theme. When you download it, you will find a zipped file. The zipped file will include all of the assets that you need to make your theme work. Your first task is to unzip the folder to somewhere easy to get to for you. Typically, I will just unzip to my desktop. When you open up the folder that you unzipped, you will see something like the following. The ReadMe First folder usually has any special instructions you might need for the theme! But we're going to ignore all of that, except the Upload folder. The Upload folder is the holder of all assets. This is what you need to upload, whilst preserving the path. If you are on icyboards: Go to your ACP. Click on icyboard settings. Click on enable FTP access. A password will be generated, it will be a random string of letters. Copy it. Open up filezilla client. You need to fill in your forum details up the top of the screen Host type in: icyboards.net In Username type: ib_youricyboardsdomain In Password, paste in the password you copied earlier. It should look like this Click quickconnect. Note: if you have bought a domain, do NOT use it. You must use the domain name that you registered your icyboards forum with. When you see the following text, you are good to go! Go back to the folder you unzipped and open it up. Now, when you open up the upload folder on your desktop (refer to the earlier screen capture) you will probably see a folder called images. Go into that and copy the name of the folder that is inside the images folder. Go back to filezilla. On the right hand side down the bottom, there are a list of folders like this The area I've drawn a circle around are all of your forum files. Right click in that area and click on Create Directory and Enter It. A dialog box will pop up asking you to name the folder. Paste in the name of the folder you just copied. You will be redirected to the new folder. Now it's time to upload! On the left hand side of filezilla there is a list of your folders on your computer under the words Local Site C:\Users\Logged-In-User\ navigate to the folder that you unzipped earlier. If you unzipped to the desktop, it's as simple as clicking on desktop, and then clicking on Unzipped Folder/Upload/images/next-folder/ You should now see all of the image files. Click on the first file. Hold down shift. Click on the last file. You should have all of the files selected. Right click and click on upload. Filezilla will start transferring the files over. When it has finished, you're ready to upload the xml! Go to your ACP. Go to Templates and Style. Click on Import a Theme. Click Choose File and navigate to the folder your unzipped. There is an XML Document there. Upload that. Tick Ignore Version Compatibility. Make sure Import Stylesheet and Import Templates is ticked. You have successfully imported a new theme! If you are self hosted Before going to your cpanel. Extract the theme you want to upload and go into it's folder. Go into Upload. Now go into the image folder. There is likely another folder in that, with the same name as the theme you downloaded. In my case, it is focus. Yours might be different. Right click on the folder, select rename and hit ctrl/command + c. Now go to your cpanel (link, username and password should have been sent to you by your hosting service.) Click on File Manager (top left). Double click public_html Double click on images Click on + Folder (top left) Paste the name of the folder you copied earlier into the dialog box that just popped up. Then click create new folder. Go into the folder that you just created. It's empty! Time to import the images. Click on Upload. A new tab will open. Select all of the theme images and drag them into the new tab. They will start uploading! When all the bars are green, scroll down and click on Go back. You should now be in the folder you created through your cpanel and you should see all of your images! Now it's time to go to your ACP on mybb. Click on Templates & Styles Click on Import a Theme. Click Choose File and navigate to the folder you extracted. Just inside of it is an XML file. Upload it. Make sure Import Stylesheets and Import Templates are selected. Also select Ignore Version Compatibility. Click import theme. It's now ready to go! Go to your site and select it from the theme selector to check it out. Javascript? If your theme employs any javascript you will need to import that as well. Use exactly the same method you used with the images, taking careful note of the folders that the js file is in, and mirroring that with filezilla/cpanel. Squares? If you have imported all of the images and there are little squares everywhere, it's probably using fontawesome. To add fontawesome to your theme, go to font awesome and copy the code. Go to your ACP and click on Templates & Styles > Templates > your theme. Scroll down to the bottom of the page and click on Ungrouped Templates > headerinclude Paste the code above the stylesheets variable, so you have something like this: <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.12/css/all.css" integrity="sha384-G0fIWCsCzJIMAVNQPfjH08cyYaUtMwjJwqiRKxxE/rx96Uroj1BtIQ6MLJuheaO9" crossorigin="anonymous"> {$stylesheets} Click save and returned to listing. Do a hard refresh on your site (ctrl or command F5) and it should be working fine! If you have run into any other problems, please feel free to use the coding requests and help forum.
-
*** Notice: This topic has a section for self hosted/piggy-back hosted MyBB forums that can access their core files through an FTP account for further capabilities of this function. Unfortunately the further capabilities consist of pulling thread prefixes/styled usernames to show as well and if you use Icyboards you cannot access core files to make these edits BUT you can still use Section One! [1.8] Recent/Latest Post Without A Plugin If you are anything like me you hate a long list of plugins in your ACP and you really hate uploading plugins because anything could go wrong (like accidentally placing files where they don't belong and finding them 3 weeks later thinking "how the ****?". So here is my replacement for this issue. There are two topics for this section. The first is the basic generic "pulling" and the second is a more advanced clean up for self hosted mybb forums (because unfortunately using the built in portals latest posts/threads function does not show thread prefixes (which a lot of people use for dictating whether or not a thread is Mature, Open, Private, etc.) and it also does not style a username with the color/styles attached to the usergroup) which we will fix in that section of this tutorial. Tutorial Created By: Isoldehn Tutorial Permissions: Please do not re-post this tutorial else where, instead link someone to this thread. Tutorial Needs: Overall, the ability to copy and paste. Section 1 - Knowledge Of MyBB Templates Section 2 - FTP Access & Knowledge On Editing Core Files Section One Using the script to pull the threads from the Portal! Please be sure your portal page is enabled and latest posts is enabled/settings configured. I'll let you figure this out on your own because you basically decide how many to show and from what forums/all forums. Step 1: - Open the ACP - Navigate to Templates & Styles --> Templates --> *current template set you are using* --> Portal Templates --> portal - Find: {$latestthreads} - Replace with: <div class="recent_posts">{$latestthreads}</div> Step 2: - Open up the template where ever you would like to add latest threads/posts to. Generally the option is on the index page, or a header, or even a sidebar. I cannot tell you where to place this since this is your choice. - Insert this: <script type="text/javascript"> jQuery(function(){ jQuery(".recent_posts").load("{$mybb->settings['bburl']}/portal.php .recent_posts"); }); </script> <div class="recent_posts"></div> * Credit for this coding is unnecessary as it is a simple script that can be developed by anyone. Step 3: (optional) - Style your latest posts/threads how you like. - Navigate back to Templates & Styles --> Templates --> *current template set you are using* --> Portal Templates --> portal_latestthreads - Create how you would like the div/table to be shown. You can delete everything inside, coding it to your own liking and then add the variable for the threads back in where you would like the thread/post list to show. Variable below for those that accidentally forget to save it. {$threadlist} - Navigate back to Templates & Styles --> Templates --> *current template set you are using* --> Portal Templates --> portal_latestthreads_thread - Again, create this how you would like it to be shown. Variables for things are below in case you forget to save. <a href="{$mybb->settings['bburl']}/{$thread['threadlink']}" title="{$thread['fullsubject']}">{$thread['subject']}</a> (Link to thread and name of thread) <a href="{$thread['forumlink']}">{$thread['forumname']}</a> (Link & name to the forum/board post was created in) <a href="{$thread['lastpostlink']}">Last Post</a> (Link to last post) {$lastposterlink} (Link to the last person that posted) {$lastpostdate} (Date the last post was made) {$thread['replies']} (Number of replies) {$thread['views']} (Number of views) Section Two Fixing the fact that thread prefixes do not show and usergroup styles do not work. Remember, if you continue on with section two we will be editing core files. BEFORE EVER EDITING CORE FILES YOU SHOULD ALWAYS CREATE A BACKUP OF YOUR SITE/FTP AREA (ALL FILES). Just in case anything goes wrong. This tutorial was also created for the MyBB 1.8 Series. If you use this on 1.6 things could very well go horribly wrong and support for 1.6 is no longer offered through MyBB Support. Step 1: - Open your FTP client or your file area where all core files of MyBB can be found. - Navigate to portal.php and open to edit. Step 2: - Find: $latestthreads = ''; // Latest forum discussions - This is the section/area we will be editing. Below those lines (336 & 337) will be all the edits that are being made. Step 3: - Find: $query = $db->query(" SELECT t.tid, t.fid, t.uid, t.lastpost, t.lastposteruid, t.lastposter, t.subject, t.replies, t.views, u.username - Replace with: $query = $db->query(" SELECT t.tid, t.fid, t.uid, t.lastpost, t.lastposteruid, t.lastposter, t.subject, t.replies, t.views, t.prefix, u.username, u.usergroup, u.displaygroup Step 4: - Find: LEFT JOIN ".TABLE_PREFIX."users u ON (u.uid=t.uid) - Replace with: LEFT JOIN ".TABLE_PREFIX."users u ON (u.uid=t.lastposteruid) Step 5: - Find: $lastposterlink = build_profile_link($lastposter, $thread['lastposteruid']); - Replace with: $lastposterlink = build_profile_link(format_name($thread['lastposter'], $thread['usergroup'], $thread['displaygroup']), $thread['lastposteruid']); Step 6: - Find: $thread['subject'] = htmlspecialchars_uni($thread['subject']); $thread['fullsubject'] = htmlspecialchars_uni($thread['fullsubject']); $thread['threadlink'] = get_thread_link($thread['tid']); $thread['lastpostlink'] = get_thread_link($thread['tid'], 0, "lastpost"); $thread['forumlink'] = get_forum_link($thread['fid']); $thread['forumname'] = $forum_cache[$thread['fid']]['name']; - Replace with: $prefix = build_prefixes($thread['prefix']); $prefix = $prefix['displaystyle']; $thread['subject'] = $prefix . " " . htmlspecialchars_uni($parser->parse_badwords($thread['subject'])); $thread['fullsubject'] = htmlspecialchars_uni($thread['fullsubject']); $thread['threadlink'] = get_thread_link($thread['tid']); $thread['lastpostlink'] = get_thread_link($thread['tid'], 0, "lastpost"); $thread['forumlink'] = get_forum_link($thread['fid']); $thread['forumname'] = $forum_cache[$thread['fid']]['name']; We are now finished!
-
Default Avatar Fix (If Not Showing) Icyboards OR Self Hosted For an unknown reason, sometimes when we try to place user avatars in particular areas, the default avatar (if they do not have one) does not show! I'll explain here a little HTML (image scroll tag with javascript) fix that will solve all your problems. Usually this problem will occur while putting the image in the header area or somewhere else. If you are having this problem on posts or profiles, this solution may work as well you'll just need to play around with the variable used for the users avatar. Tutorial Created By: Isoldehn Tutorial Permissions: You may use this tutorial on other sites so long as you credit me for the creation of the tutorial. If you reword this tutorial and make it your own, no need to credit me as it's no longer my wording. Do not claim credit for the creating the code and do not credit me for creating the code, this code is floating about the internet in many resource areas and is as well a very BASIC code. Tutorial Needs: Copy & Paste Abilities Self Hosted MyBB - Use this code, replace INSERTDEFAULTAVATARIMGURLHERE with your forums default avatar link: <img src="{$mybb->user['avatar']}" onerror="this.onerror=null;this.src='INSERTDEFAULTAVATARIMGURLHERE';"></img> Icyboards Hosted MyBB - Use this code, replace INSERTDEFAULTAVATARIMGURLHERE with your forums default avatar link: <img src="{$mybb->user['avatarcdn']}" onerror="this.onerror=null;this.src='INSERTDEFAULTAVATARIMGURLHERE';"></img> ---- This guide WILL work for using images any where else on a forum. So if you do not use MyBB/Icyboards, this might work on whatever forum you are using if you declare variable correctly. My example is just for MyBB in particular.
-
Inline Moderation/Multi-Quote Issues (After 02/10/2017) After an update on Icyboards (I believe around 02/10/2017), it seems that a few of Icyboard hosted forums are having some issues with inline moderation (as well as a few other things such as multiquote). Spork kindly addressed that updated templates can only be updated on the default templates and any templates you have created for your own skin/theme will likely not be auto updated (if I can find the thread I will quote him here, but I can't seem to find it right now). That means that your personally created templates will likely have not updated and could be causing these issues. First things first: - In your headerinclude template find the default javascript (script) that MyBB adds in below the {$stylesheets}. - If you are confused it will look something like this: <script type="text/javascript"> <!-- JAVASCRIPT STUFF WILL BE IN HERE // --> </script> Now: - Replace that code with this code: <script type="text/javascript"> <!-- lang.unknown_error = "{$lang->unknown_error}"; lang.select2_match = "{$lang->select2_match}"; lang.select2_matches = "{$lang->select2_matches}"; lang.select2_nomatches = "{$lang->select2_nomatches}"; lang.select2_inputtooshort_single = "{$lang->select2_inputtooshort_single}"; lang.select2_inputtooshort_plural = "{$lang->select2_inputtooshort_plural}"; lang.select2_inputtoolong_single = "{$lang->select2_inputtoolong_single}"; lang.select2_inputtoolong_plural = "{$lang->select2_inputtoolong_plural}"; lang.select2_selectiontoobig_single = "{$lang->select2_selectiontoobig_single}"; lang.select2_selectiontoobig_plural = "{$lang->select2_selectiontoobig_plural}"; lang.select2_loadmore = "{$lang->select2_loadmore}"; lang.select2_searching = "{$lang->select2_searching}"; var cookieDomain = "{$mybb->settings['cookiedomain']}"; var cookiePath = "{$mybb->settings['cookiepath']}"; var cookiePrefix = "{$mybb->settings['cookieprefix']}"; var cookieSecureFlag = "{$mybb->settings['cookiesecureflag']}"; var deleteevent_confirm = "{$lang->deleteevent_confirm}"; var removeattach_confirm = "{$lang->removeattach_confirm}"; var loading_text = '{$lang->ajax_loading}'; var saving_changes = '{$lang->saving_changes}'; var use_xmlhttprequest = "{$mybb->settings['use_xmlhttprequest']}"; var my_post_key = "{$mybb->post_code}"; var rootpath = "{$mybb->settings['bburl']}"; var imagepath = "{$theme['imgdir']}"; var yes_confirm = "{$lang->yes}"; var no_confirm = "{$lang->no}"; var MyBBEditor = null; var spinner_image = "{$theme['imgdir']}/spinner.gif"; var spinner = "<img src='" + spinner_image +"' alt='' />"; var modal_zindex = 9999; // --> </script> If that fixes your problems, fantastic! You were likely missing: var cookieSecureFlag = "{$mybb->settings['cookiesecureflag']}"; Unfortunately if that does not fix your problem, please make a support thread in the Icyboards forums, something far more complicated may be causing your issues. -- As a kind reminder, if these issues are stemming from your own personal javascript/jquery, it is likely a conflict (your javascript/jquery is conflicting with MyBB's). Sometimes it is fixable (such as loading jquery codes before loading the rest), sometimes it requires completely new code. This guide will not help you fix those issues.