1.6 breaks stuff
me 0
From: -
From: -
Notice
This topic is archived. New comments cannot be posted and votes cannot be cast.Responses to this topic
1 Re: 1.6 breaks stuff
me
OP
0
From: -
From: -
1.6 breaks stuff
cool! it worked! thanks again.
cool! it worked! thanks again.
1 Re: 1.6 breaks stuff
Philipp
From: Vienna, Austria
Administrator
1340From: Vienna, Austria
1.6 breaks stuff
Seems like an issue with some versions of GD. Add the following line at the bottom (before ?> of the thumb.php script:
one note, after adding that back in (and clearing the cache), the thumbnails didnt load at first. i got red x's. i refreshed the page and they showed up. i noticed this behavior before with 1.5x (whatever the last version was). strange, huh?
Seems like an issue with some versions of GD. Add the following line at the bottom (before ?> of the thumb.php script:
header("Location: images/$section/thumbs/$img");
1 Re: 1.6 breaks stuff
me
OP
0
From: -
From: -
1.6 breaks stuff
ah, there we go. i took that whole java script piece out. i saw sidebar and mozilla in there and knew i wasnt using that so i removed it. didnt realize there was another useful function in there.
one note, after adding that back in (and clearing the cache), the thumbnails didnt load at first. i got red x's. i refreshed the page and they showed up. i noticed this behavior before with 1.5x (whatever the last version was). strange, huh?
anyway, i seem to be all fixed up. thanks for the quick help!!! its much appreciated!
ah, there we go. i took that whole java script piece out. i saw sidebar and mozilla in there and knew i wasnt using that so i removed it. didnt realize there was another useful function in there.
one note, after adding that back in (and clearing the cache), the thumbnails didnt load at first. i got red x's. i refreshed the page and they showed up. i noticed this behavior before with 1.5x (whatever the last version was). strange, huh?
anyway, i seem to be all fixed up. thanks for the quick help!!! its much appreciated!
1 Re: 1.6 breaks stuff
Philipp
From: Vienna, Austria
Administrator
1340From: Vienna, Austria
1.6 breaks stuff
No, it's a JavaScriptin the HTML part of the site_header template:
No, it's a JavaScriptin the HTML part of the site_header template:
<script language="JavaScript">
<!--
function FullWin(tag) {
var newWinObj = window.open(tag,'newWin','toolbar=0,location=0,directories=0,status=0, menubar=0,scrollbars=1,resizable=1,copyhistory=0,width=950,height=680')
}
function addNetscapePanel() {
if ((typeof window.sidebar == "object") && (typeof window.sidebar.addPanel == "function"))
{
window.sidebar.addPanel ("$insert[site_name]", "$insert[site_url]/sidebar.php","");
}
else
{
var rv = window.confirm ("This page is enhanced for use with Mozilla. " + "Would you like to upgrade now?");
if (rv)
document.location.href = " http://www.mozilla.org";
}
}
//-->
</script>
1 Re: 1.6 breaks stuff
me
OP
0
From: -
From: -
1.6 breaks stuff
no. site header template has:
my site layout code then...
thats what it looked like previously according my my template backup.
no. site header template has:
<?php
global $insert;
//include qotd
include("quotes/quotes.php");
$EST_TEMPLATE = <<<TEMPLATE
<!-- Template site_header -->
my site layout code then...
TEMPLATE;
?>
thats what it looked like previously according my my template backup.
1 Re: 1.6 breaks stuff
Philipp
From: Vienna, Austria
Administrator
1340From: Vienna, Austria
1.6 breaks stuff
Is function FullWin in template site_header?
Is function FullWin in template site_header?
1 Re: 1.6 breaks stuff
me
OP
0
From: -
From: -
1.6 breaks stuff
thanks for the tip on the html. that worked.
im currently testing this offline before upgrading my real site. there is no way for you to access it. sorry.
here's the code though:
thanks for the tip on the html. that worked.
im currently testing this offline before upgrading my real site. there is no way for you to access it. sorry.
here's the code though:
<a href="https://www.contentteller.com/javascript:FullWin('thumb.php?img=personalized menus1.jpg&action=full§ion=faq')"><img src="https://www.contentteller.com/thumb.php" border="0"></a>dont know if that helps any.
<br />"Hidden" menu (click for full size)
<br />
<br /><a href="https://www.contentteller.com/javascript:FullWin('thumb.php?img=personalized menus2.jpg&action=full§ion=faq')"><img src="https://www.contentteller.com/thumb.php" border="0"></a>
<br />Expanded menu (click for full size)
1 Re: 1.6 breaks stuff
Philipp
From: Vienna, Austria
Administrator
1340From: Vienna, Austria
1.6 breaks stuff
To disable this, remove the following two lines in core.php (Function DeChomp):
Please send me a private message with the URL
anyway, seems in the previous version i could use html in stories, news, and faqs and it would be parsed even if i had the enable html formatting set to no. in 1.6, i have to turn that on for the html to parse or else it just displays raw html code. this meant i had to go and change everything to blockcode or turn that feature on and fully format using html. kinda of annoying.
To disable this, remove the following two lines in core.php (Function DeChomp):
$var = str_replace("<", "<", $var);
$var = str_replace(">", ">", $var);
also, image thumbnails dont work anymore. for example, in the faq, i have a thumbnail. the thumbnail displays but when you click to enlarge it, nothing happens. IE shows the yellow exclamation point in the lower left with "error on page". i tried this on an XP and a 2000 computer with the same results.
Please send me a private message with the URL
i did an upgrade following the instructions. you might mention that you dont want to copy over your old config.php file as the upgrade script wont work. luckily i had a backup.
anyway, seems in the previous version i could use html in stories, news, and faqs and it would be parsed even if i had the enable html formatting set to no. in 1.6, i have to turn that on for the html to parse or else it just displays raw html code. this meant i had to go and change everything to blockcode or turn that feature on and fully format using html. kinda of annoying.
also, image thumbnails dont work anymore. for example, in the faq, i have a thumbnail. the thumbnail displays but when you click to enlarge it, nothing happens. IE shows the yellow exclamation point in the lower left with "error on page". i tried this on an XP and a 2000 computer with the same results.