Re: Installing 7.5.9 Help Needed
[Re: JAISP]
#258110
03/03/2016 6:30 PM
|
Joined: Jun 2006
Posts: 15,852
Gizmo
|
Joined: Jun 2006
Posts: 15,852 |
Wouldn't be that difficult, use the html include for the header, include a php file, in that php file simply do what your script does, but in PHP/HTML: <?php
$hr = date("H");
$min = date("i");
if($hr == 00) {
$color = "#00FF00";
$message = "It's Midnight!";
} elseif($hr == 02) {
$color = "#FF0000";
$message = "It's two AM!";
} else {
$color = "#FFFFFF";
$message = "";
}
echo("<div style=\"background-color: ". $color .";\">". $message ."</div>\n");
?>
|
|
|
Re: Installing 7.5.9 Help Needed
[Re: JAISP]
#258111
03/03/2016 6:50 PM
|
Joined: Feb 2007
Posts: 1,276
JAISP
OP
Veteran
|
OP
Veteran
Joined: Feb 2007
Posts: 1,276 |
I'm sure that can be done and fix the problem however every page in my site I'm working on is not PHP nor do I want it to be. Also I'm using various software packages tied to the UBB user database for the central log in making it easier for me to manage everything.
Doing as you suggest for the UBB to make it work then would require me to make any changes or additions and even deletions multiple times every time making it another task. I created my design to be able to run anywhere in the site as a one edit or change script for the entire site and every page and software package on it. I wanted to get the UBB part all finished before making the rest of the site.
I know the 7.5.9 version was to clean up code and all that but apparently making it more efficient makes it harder for guys that like to think outside of the box and be even more creative in the building and look of the rest of the site with tying it into the UBB having it look like it is all one design and fit together nicely. I would just love to know what part aka code was changed in the UBB that caused the problem without having to scan through dozens of files and thousands of lines of code to make the correction or fix. Having not done to much with the code with UBB in several years I'm not very proficient in the files and where what is located anymore.
|
|
|
Re: Installing 7.5.9 Help Needed
[Re: JAISP]
#258113
03/04/2016 8:54 PM
|
Joined: Feb 2007
Posts: 1,276
JAISP
OP
Veteran
|
OP
Veteran
Joined: Feb 2007
Posts: 1,276 |
Ok here is what it looks like before the upgrade and after the upgrade. Please note the 1px line now is much higher in the UBB.Threads 7.5.9 version. Good Header: Broken Header:
|
|
|
Re: Installing 7.5.9 Help Needed
[Re: JAISP]
#258114
03/04/2016 9:09 PM
|
Joined: Jun 2006
Posts: 15,852
Gizmo
|
Joined: Jun 2006
Posts: 15,852 |
Make note of your characterset in /languages/english/general and then upgrade, then paste it in the upgrade; it's UTF-8 by default now, so just rolling back to ISO should make everything look the same.
|
|
|
Re: Installing 7.5.9 Help Needed
[Re: JAISP]
#258115
03/04/2016 10:07 PM
|
Joined: Feb 2007
Posts: 1,276
JAISP
OP
Veteran
|
OP
Veteran
Joined: Feb 2007
Posts: 1,276 |
Both the new and old version of the UBB have $ubbt_lang['CHARSET'] = "iso-8859-1"; in file generic.php located in /languages/english folder
|
|
|
Re: Installing 7.5.9 Help Needed
[Re: JAISP]
#258116
03/04/2016 10:12 PM
|
Joined: Apr 2004
Posts: 1,549
isaac
|
Joined: Apr 2004
Posts: 1,549 |
The most current released version of UBB.threads is 7.5.9 (January 2015)
/languages/english/generic,php line number two is: $ubbt_lang['CHARSET'] = "UTF-8";
I cannot find "iso-8859-1" in any other file within the most current version (7.5.9) of UBB.threads, other than the included library, phpmailer 2.0.x
|
|
|
Re: Installing 7.5.9 Help Needed
[Re: JAISP]
#258117
03/04/2016 10:13 PM
|
Joined: Feb 2007
Posts: 1,276
JAISP
OP
Veteran
|
OP
Veteran
Joined: Feb 2007
Posts: 1,276 |
Ok I changed the file with the editor and it didn't change the board look in the template.
|
|
|
Re: Installing 7.5.9 Help Needed
[Re: JAISP]
#258118
03/04/2016 10:15 PM
|
Joined: Apr 2004
Posts: 1,549
isaac
|
Joined: Apr 2004
Posts: 1,549 |
I must have read things out of context. sorry. I will go back to watching batman now 
|
|
|
Re: Installing 7.5.9 Help Needed
[Re: JAISP]
#258119
03/04/2016 10:18 PM
|
Joined: Feb 2007
Posts: 1,276
JAISP
OP
Veteran
|
OP
Veteran
Joined: Feb 2007
Posts: 1,276 |
LOL, If I go into the language editor it does say UTF-8 and I did change it to iso-8859-1 in the editor BUT if you edit the file before making the change and look at it then it does say iso-8859-1
|
|
|
Re: Installing 7.5.9 Help Needed
[Re: JAISP]
#258120
03/04/2016 10:23 PM
|
Joined: Apr 2004
Posts: 1,549
isaac
|
Joined: Apr 2004
Posts: 1,549 |
Check the stock version, fresh from the archive. The file date should be "01/27/2015" with the time being "07:05:09 AM" If it is a different date than that, you are working with a modified file. You can re-download the original, unmodified archive from the members section here.
ubbthreads-7-5-9.zip MD5: f3ffc7eed4f4abba9a252630c94cb5cd
|
|
|
Re: Installing 7.5.9 Help Needed
[Re: JAISP]
#258121
03/04/2016 10:28 PM
|
Joined: Feb 2007
Posts: 1,276
JAISP
OP
Veteran
|
OP
Veteran
Joined: Feb 2007
Posts: 1,276 |
I just re-downloaded it again and checked it against the one I have uploaded to my test site and checked on the time and date and it is the same.
|
|
|
Re: Installing 7.5.9 Help Needed
[Re: JAISP]
#258122
03/04/2016 10:37 PM
|
Joined: Apr 2004
Posts: 1,549
isaac
|
Joined: Apr 2004
Posts: 1,549 |
I just re-downloaded it again and checked it against the one I have uploaded to my test site and checked on the time and date and it is the same. Check the unmodifed file from the archive. Not the file you have made changes to. The unmodified file will look just like the screenshot below. ![[Linked Image]](http://id242.com/woof/20160304-utf-8.png)
|
|
|
Re: Installing 7.5.9 Help Needed
[Re: JAISP]
#258123
03/04/2016 10:40 PM
|
Joined: Feb 2007
Posts: 1,276
JAISP
OP
Veteran
|
OP
Veteran
Joined: Feb 2007
Posts: 1,276 |
Yes that is exactly how it is
|
|
|
Re: Installing 7.5.9 Help Needed
[Re: JAISP]
#258126
03/05/2016 12:50 PM
|
Joined: Feb 2007
Posts: 1,276
JAISP
OP
Veteran
|
OP
Veteran
Joined: Feb 2007
Posts: 1,276 |
Apparently we have lost some posts here in this thread.
|
|
|
Re: Installing 7.5.9 Help Needed
[Re: JAISP]
#258129
03/05/2016 7:01 PM
|
Joined: Feb 2007
Posts: 1,276
JAISP
OP
Veteran
|
OP
Veteran
Joined: Feb 2007
Posts: 1,276 |
Ok, I re=wrote the entire part that puts the stuff on the screen in the header design to make it work. What happened some where is that the new version of the UBB totally redefines how tables are used and displayed. Also it changes the character set for some of the characters for instance you have to use © over just displaying to actual © symbol. There are other settle problems as well with the UBB 7.5.9 over past versions that I have noticed in fixing my little issues.
|
|
|
Re: Installing 7.5.9 Help Needed
[Re: JAISP]
#258130
03/05/2016 7:17 PM
|
Joined: Apr 2004
Posts: 1,549
isaac
|
Joined: Apr 2004
Posts: 1,549 |
Just to clarify; Every time you write "new version," you actually mean "version 7.5.9." It that correct? And what version did you come from?
Tables have been used the same way throughout all of UBB.threads 7.5.x releases. What version of UBB.threads did you come from?
There was a lot of inlined design elements within the 7.5.x series; these included obsolete techniques by today's web standards, and coding bits that were never correct, but did work in some browsers because they allowed, converted, and processed those errors as if they were correct. Internet Explorer, I am looking at you :|
UBB.threads 7.6.x has plenty of tables replaced with a heavier use of CSS for page building, page styles, and content positioning.
|
|
|
Re: Installing 7.5.9 Help Needed
[Re: JAISP]
#258131
03/05/2016 7:44 PM
|
Joined: Feb 2007
Posts: 1,276
JAISP
OP
Veteran
|
OP
Veteran
Joined: Feb 2007
Posts: 1,276 |
Yes correct on the version.
I came up from 7.5.6p2 I have not put the 7.5.9 public yet, not until I make the changes I need for my site and have everything ready to go then it only takes me 5 minutes to change over from one version to another.
LOL, I don't use IE except to once and a while test how it would look in it. It is to un-secure and to many faults. I primary use Firefox but always check with chrome and all those too just to make sure it looks goon in all of them.
|
|
|
Re: Installing 7.5.9 Help Needed
[Re: JAISP]
#258134
03/07/2016 2:53 PM
|
Joined: Dec 2003
Posts: 5,998
Ruben
|
Joined: Dec 2003
Posts: 5,998 |
One other item to remember is with upgrading older ubb threads versions. Many css elements were added/changed, so even if using the default style, you need to go thru the style editor and at the very least copy the default setting. Most all of them will have a copy link in the editor to paste the default values. If you don't do that it will be a blank css element for that setting.
You never mentioned what style you were using. But even a style for version 7.2 will work for the new version you just need to address the css settings for the style versions that are older that the ubb version and add the missing css info.
Last edited by Ruben; 03/07/2016 2:59 PM.
Blue Man Group There is no such thing as stupid questions. Just stupid answers
|
|
|
Re: Installing 7.5.9 Help Needed
[Re: JAISP]
#258137
03/07/2016 4:06 PM
|
Joined: Jun 2006
Posts: 15,852
Gizmo
|
Joined: Jun 2006
Posts: 15,852 |
Another thing to keep in mind is that there is a security issue that 7.5.8 addressed which is not fixed in prior versions.
|
|
|
Re: Installing 7.5.9 Help Needed
[Re: JAISP]
#258140
03/07/2016 6:28 PM
|
Joined: Feb 2007
Posts: 1,276
JAISP
OP
Veteran
|
OP
Veteran
Joined: Feb 2007
Posts: 1,276 |
The style I'm running I created on 7.4 years ago from scratch. Yes I'm aware of the security problems before 7.5.8 and I have the patch installed on my board. UBB 7.5.6p2. I'm assuming that the p2 means it is patched for that mail problem.
|
|
|
Re: Installing 7.5.9 Help Needed
[Re: JAISP]
#258141
03/07/2016 9:08 PM
|
Joined: Jun 2006
Posts: 15,852
Gizmo
|
Joined: Jun 2006
Posts: 15,852 |
P2 is not the same as the patch in 7.5.8; 7.5.8 was created specifically to fix a security issue and to add compatibility with PHP5.4+ and MySQL 5.6.
|
|
|
Re: Installing 7.5.9 Help Needed
[Re: JAISP]
#258142
03/08/2016 7:11 AM
|
Joined: Feb 2007
Posts: 1,276
JAISP
OP
Veteran
|
OP
Veteran
Joined: Feb 2007
Posts: 1,276 |
I'm most likely changing over to 7.5.9 this evening or this week some times anyway.
|
|
|
Re: Installing 7.5.9 Help Needed
[Re: JAISP]
#258146
03/09/2016 8:40 PM
|
Joined: Feb 2007
Posts: 1,276
JAISP
OP
Veteran
|
OP
Veteran
Joined: Feb 2007
Posts: 1,276 |
Ok, I upgraded to the 7.5.9 and in my HTML in my post of the board rules it changed the ' to �. How do I get it to display properly. I had a similar issue with the © symbol and just elected to use the © ; in its place.
|
|
|
Re: Installing 7.5.9 Help Needed
[Re: JAISP]
#258147
03/10/2016 12:36 AM
|
Joined: Jun 2006
Posts: 15,852
Gizmo
|
Joined: Jun 2006
Posts: 15,852 |
Charset needs updated back to the ISO specification you used previously; as mentioned previously in the thread.
|
|
|
|
|
|
|
UBB Dev
by JAISP - 11/03/2019 11:01 AM
|
|
0 registered members (),
72
guests, and 400
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|