chefry, for upgrade do not use old versions like 4.01 and 4.2. use the most recent
stable version from any developer.
most stable version of Alfred: version 4.3
http://www.simple-xoops.de/download/visit.php?cid=4&lid=12most stable version of irmtfan: version 4.31
http://www.jadoogaran.org/test255/modules/newbb43_rev10109_irmtfan_2013_04_20.zip(I upload it today but old download link was the stable too)
you want to upgrade from 3.08 to the most recent version.
Please follow this instruction:
Quote:
To Upgrade from older newbb versions 1.x 2.x 3.0.x
==========================
1- close your website. (highly recommended) be sure you be logged in.
2- get a backup from your old newbb database.(all XOOPSPREFIX_bb_* tables)
3- get a backup from your old newbb/images directory to save your custom old images. Also get a backup from any changes you done in files.
4- IF EXIST get a backup from your old newbb/include/plugin.php
5- delete your old newbb folder located in modules (or rename it to newbb_old)
6- IF EXIST delete old newbb folder (templates) in htdocs/themes/default/modules/newbb AND htdocs/themes/YOUR_THEME/modules/newbb (or rename it to newbb_old)
7- upload the newbb to htdocs/modules/newbb (upload the compressed file and decompressed via Cpanel is the best way to insure all files are correctly uploaded)
8- go to your admin -> system -> modules -> newbb -> upgrade (important: wait until you see the report page)
9- go to system -> maintenance -> clear all caches
10- change the default settings to your desired in the module preferences and newbb/include/plugin.php and IF EXIST based on your old back-upped plugin.php. Set the permissions in newbb -> admin -> permission for all groups one by one. pay attention that webmasters group has all accesses regardless of permissions. using a non webmaster test account is recommended to test the permissions for each group.
11 - dont forget to open your website again.
so when you are insure that you have 3.08 up and running well, you can delete newbb folder of 3.08 and upload/copy newbb folder from most stable version.
then you just go to admin -> system -> modules -> newbb -> update and click on update button.
Quote:
Can someone show me what code to replace and where to get the forum "Preview", "Submit" and "Cancel" buttons to show blue like the rest in the forum?
Yes it is in YOURSITE/xoops.css
change this:
input[type=submit], input[type=reset], input[type=button], .xo-formbuttons, .formButton, button {
background-color: #D3D2D6;
color: #405A80;
padding: 3px;
}
with this:
input[type=submit], input[type=reset], input[type=button], .xo-formbuttons, .formButton, button {
background: #407DC7;
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#407DC7), to(#4279B8));
background-image: -webkit-linear-gradient(top, #407DC7, #4279B8);
background-image: -moz-linear-gradient(top, #407DC7, #4279B8);
background-image: -ms-linear-gradient(top, #407DC7, #4279B8);
background-image: -o-linear-gradient(top, #407DC7, #4279B8);
border-width: 1px;
color: white;
padding: 4px 4px;
text-shadow: 0 1px 0 gray;
border-color: white #A1C1E6 #2B4763 #A1C1E6;
border-style: solid;
border-radius: 5px;
box-shadow: 0 1px 7px #080808;
font-weight: bold;
}
.formButton:hover {
box-shadow: 0 1px 5px #222;
}
.formButton:active {
box-shadow: inset 0 1px 7px #565656;
border-color: white #a1c1e6 black #a1c1e6;
font-weight: normal;
}