11
irmtfan
Re: Problem with newbb 2 4.03
  • 2013/4/21 2:12

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


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=12

most 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, .formButtonbutton {
    
background-color:   #D3D2D6;
    
color:              #405A80;
    
padding:             3px;
}

with this:
input[type=submit], input[type=reset], input[type=button], .xo-formbuttons, .formButtonbutton {
background#407DC7;
background-image: -webkit-gradient(linear00%, 0100%, 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-width1px;
colorwhite;
padding4px 4px;
text-shadow0 1px 0 gray;
border-colorwhite #A1C1E6 #2B4763 #A1C1E6;
border-stylesolid;
border-radius5px;
box-shadow0 1px 7px #080808;
font-weightbold;
}
.
formButton:hover {
box-shadow0 1px 5px #222;
}
.
formButton:active {
box-shadowinset 0 1px 7px #565656;
border-colorwhite #a1c1e6 black #a1c1e6;
font-weightnormal;
}



12
chefry
Re: Problem with newbb 2 4.03
  • 2013/4/21 7:30

  • chefry

  • Home away from home

  • Posts: 1005

  • Since: 2006/10/14


that changed all the other buttons but not "preview, submit, cancel" in the forum when you start a new topic

13
irmtfan
Re: Problem with newbb 2 4.03
  • 2013/4/21 10:35

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


Chefry,
it should change all buttons unless you have another css file in your theme or module that overwrite it again.

in firefox or chrome right click on the button and check css codes. then you can find what css codes buttons is overwritten.

14
chefry
Re: Problem with newbb 2 4.03
  • 2013/6/6 12:37

  • chefry

  • Home away from home

  • Posts: 1005

  • Since: 2006/10/14


irmtfan, I'm getting a 404 error when I try to download your version.

Can you repost a link?

TIA!

15
irmtfan
Re: Problem with newbb 2 4.03
  • 2013/6/7 1:52

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


I deleted old versions.
You can download this:
http://www.jadoogaran.org/test255/modules/newbb431_rev10109_irmtfan_2013_04_23.zip

but it is old too.
the latest version is in svn:
http://svn.code.sf.net/p/xoops/svn/XoopsModules/newbb/branches/irmtfan/newbb/

PS: you are very active in forums. I can not catch you with my pace

16
chefry
Re: Problem with newbb 2 4.03
  • 2013/6/7 9:40

  • chefry

  • Home away from home

  • Posts: 1005

  • Since: 2006/10/14


you and I are in the same time zone. everyone else was sleeping

17
mpperes
Re: Problem with newbb 2 4.03
  • 2013/7/18 16:12

  • mpperes

  • Just popping in

  • Posts: 8

  • Since: 2012/11/17


Dear Friend,

How are you doing?

I don´t know if I should create a new post, but the problem is regarding the same version of newbb.

I have just upgraded newbb from 3.08 to 4.3 irmtfan SVN version
http://xoops.svn.sourceforge.net/viewvc/xoops/XoopsModules/newbb/branches/irmtfan/

almost everything is ok after upgrade, but I am having some problems with design, I could not find if it is in the CSS, code or translation, but I tried to use default english language with the same result.

I checked the CSS, but as it were Ok before upgrade it should not be in Xoops Theme, and in the newbb template, I could not find the right place for formating Post Table.

The problem is showed in the picture

http://prntscr.com/1g5b1h

There is also some problems with the arrows in the bottom of page, a bit broken, and finally there is too much blank space before the posts and after the posts.

Here is a thread sample
http://www.guiadocftv.com.br/modules/newbb/viewtopic.php?post_id=32968

Do you recommend other version of Newbb?

Any help is welcome

Thank you

Marcelo Peres

18
mpperes
Re: Problem with newbb 2 4.03
  • 2013/7/18 17:54

  • mpperes

  • Just popping in

  • Posts: 8

  • Since: 2012/11/17


As informed in the previus post with the new version of newbb the post title in the table is too high, and there is a lot of space between the sections of header, footer and post.

Other problem is in the pages count links, that are overlaping each other and out of order as showed in the screenshot.

http://prntscr.com/1g5xpi

19
irmtfan
Re: Problem with newbb 2 4.03
  • 2013/7/26 4:51

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


Hi Marcelo:
1- I strongly suggest you to use "templates_fulldiv_opacity" because it used more modern template solutions.

2- I think your main issue comes from this part in the css in your theme:

in
http://www.guiadocftv.com.br/themes/gcftv-n/style.css

.left {
    
top0;
    
left0;
    
width130px !important;
    
height220px;
}
.
right {
    
right0;
    
bottom0;
    
width90px !important;
    
height220px;
}


As you can see you set a fixed height at 220
you have to remove or change this hard-code fixed height.

You can find the css file for newbb template in
http://xoops.svn.sourceforge.net/viewvc/xoops/XoopsModules/newbb/branches/irmtfan/newbb/templates/css/language/english/style.css


20
mpperes
Re: Problem with newbb 2 4.03
  • 2013/7/31 2:31

  • mpperes

  • Just popping in

  • Posts: 8

  • Since: 2012/11/17


Thank you!

Now working fine!!!

irmtfan

Login

Who's Online

370 user(s) are online (269 user(s) are browsing Support Forums)


Members: 0


Guests: 370


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits