MyBB Community Forums

Full Version: [Release 1.4/1.6] Fit on Page (Update: v2.3 Released)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
LAST TIME ITS WORK FINE FOR ME..
BUT NOW TROUBLE...
IN NEW REPLY ITS SHOW ALL POST IMAGES & WORKING FINE
& DO RESIZE

BUT IN THREAD PAGE ITS NO RESIZE. ????
Out of a sudden this plugin stopped working for me, meaning that the images are not resizing anymore. Deinstalled and Reinstalled, no change. Already had a issue with the Inlinde moderation last time after I tried out a few plugins.

- Guest Warn
- JWPlayer MyCode Embed
- Thread Rating Log
- Last Visitors
- OUGC Custom Reputation

Except Guest Warn and Thread Rating Log I already deinstalled the others, didnt work out so well. Then the problem started that the Inline Moderation don't work anymore. When I mark a thread, the number on the bottom still stays 0 for the moderation.

And now the FIT ON PAGE image resizing doesn't work anymore ? Did I screwed up something with Jquery ? I already compared the templates how its supposed to be for this Plugin, and thats the same in my templates.

Could someone please post his Headerinclude template from the default theme, that also uses things with Jquery. I wonder if I have something messed up. I am not good with these things so I could really use the help. Sad

Here is my headerinclude template.
<link rel="alternate" type="application/rss+xml" title="{$lang->latest_threads} (RSS 2.0)" href="{$mybb->settings['bburl']}/syndication.php" />
<link rel="alternate" type="application/atom+xml" title="{$lang->latest_threads} (Atom 1.0)" href="{$mybb->settings['bburl']}/syndication.php?type=atom1.0" />
<meta http-equiv="Content-Type" content="text/html; charset={$charset}" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/dropdownmenu.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/prototype.js?ver=1603"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/general.js?ver=1603"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/popup_menu.js?ver=1600"></script>
<link rel="stylesheet" type="text/css" href="{$mybb->settings['bburl']}/css/post_dec.css"><link rel="stylesheet" type="text/css" href="highslide/highslide.css">
<script type="text/javascript" src="highslide/highslide-with-gallery.js"></script>
<script type="text/javascript" src="highslide/highslide-gt.js"></script><link rel="shortcut icon" href="{$mybb->settings['simple_favicon_img_path']}" />{$stylesheets} <script type="text/javascript">jQuery.noConflict();
jQuery(function($) { $(".close").click(function () {
  $(".avviso").fadeOut("slow");
  }); });</script> <script src="http://code.jquery.com/jquery-latest.js"></script> {$avvisospiti}
<script type="text/javascript">
<!--
	var cookieDomain = "{$mybb->settings['cookiedomain']}";
	var cookiePath = "{$mybb->settings['cookiepath']}";
	var cookiePrefix = "{$mybb->settings['cookieprefix']}";
	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 imagepath = "{$theme['imgdir']}";
// -->
</script>
<script type="text/javascript" src="jscripts/thx.js"></script>{$newpmmsg}
<script type="text/javascript" src="jscripts/fitonpage.js?ver=230"></script>
<script type="text/javascript">
<!--
    var fitonpage_on = "{$mybb->settings['g33k_fitonpage_enabled']}";
    var fitonpage_resize = "{$mybb->settings['g33k_fitonpage_resize']}";
    var fitonpage_fluid = "{$mybb->settings['g33k_fitonpage_fluid']}";
    var fitonpage_topbar_resized = "{$lang->fitonpage_topbar_resized}";
    var fitonpage_topbar_full = "{$lang->fitonpage_topbar_full}";
    var fitonpage_topbar_text_class = "{$mybb->settings['g33k_fitonpage_topbar_text_class']}";
    var fitonpage_topbar_bground = "{$mybb->settings['g33k_fitonpage_topbar_bground']}";
    var fitonpage_topbar_icon = "{$mybb->settings['g33k_fitonpage_topbar_icon']}";
    var fitonpage_location = "home";
-->
</script>

And my index template.
<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
	lang.no_new_posts = "{$lang->no_new_posts}";
	lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-33409182-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
</head>
<body>
{$header}
{$iadh}
<tr>
<td><center><a href="http://www.myotherdomain.com" target="_blank"><img src="http://www.myotherdomain.com/images/some-logo-web.png" border="0"></a></center></td>
</tr><p>
{$myresult_tp}{$forums}<table width="100%" cellspacing="0" cellpadding="0" border="0" align="center">
<tr>
<td width="50%" valign="top">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td colspan="3" class="tfoot"><strong>{$mybb->settings['affdisplay_13']}</strong></td>
</tr>
<tr>
<td class="trow1"><center><a href="{$mybb->settings['affdisplay_1']}" target="_blank"><img src="{$mybb->settings['affdisplay_2']}"></a> <a href="{$mybb->settings['affdisplay_3']}" target="_blank"><img src="{$mybb->settings['affdisplay_4']}"> <a href="{$mybb->settings['affdisplay_5']}" target="_blank"><img src="{$mybb->settings['affdisplay_6']}"></a> <a href="{$mybb->settings['affdisplay_7']}" target="_blank"><img src="{$mybb->settings['affdisplay_8']}"></a> <a href="{$mybb->settings['affdisplay_9']}" target="_blank"><img src="{$mybb->settings['affdisplay_10']}"></a> <a href="{$mybb->settings['affdisplay_11']}"target="_blank" ><img src="{$mybb->settings['affdisplay_12']}"></a> </center></td>
</tr>
</table><br/>{$myresult_btm}
{$iadf}
{$memberstatsshow}<br>{$mystatus_latest_statuses}{$boardstats}

<dl class="forum_legend smalltext">
	<dt><img src="{$theme['imgdir']}/on.gif" alt="{$lang->new_posts}" title="{$lang->new_posts}" style="vertical-align: middle; padding-bottom: 4px;" /></dt>
	<dd>{$lang->new_posts}</dd>

	<dt><img src="{$theme['imgdir']}/off.gif" alt="{$lang->no_new_posts}" title="{$lang->no_new_posts}" style="vertical-align: middle; padding-bottom: 4px;" /></dt>
	<dd>{$lang->no_new_posts}</dd>

	<dt><img src="{$theme['imgdir']}/offlock.gif" alt="{$lang->forum_locked}" title="{$lang->forum_locked}" style="vertical-align: middle;" /></dt>
	<dd>{$lang->forum_locked}</dd>
</dl>
<br style="clear: both" />
{$footer}
</body>
</html>

Maybe some of the other Plugins messed something up, or I did without realizing it. If these templates are not right regarding my problem with FIT ON PAGE and the not-resizing issue, I really appreciate if you could tell me what.

Thank you.

Wolfseye

UPDATE:

Definately something Java related must be totally screwed up. Now I also got these Problems.

http://community.mybb.com/thread-127961....it+problem

Already checked for that particular piece of code in my headerinclude template. It wasn't in there as in the post above, so I edited it. But still, no change.

I also recently updated to the latest Plugin Library, but now thats all I can remember what could have changed. What could so totally screw up the Java ?

ANYONE ?
Some help please ? Sad

ANYONE ?
Noone ? Sad


UPDATE:

Ok, by now I fiddled a bit with the settings on the Jquery and set it to:

INCLUDE JQUERY: No

ENABLE JQUERY CONFLICT MODE: Yes

Still couldn't get the FIT ON PAGE plugin working again. But at least now some of the other things work again. However, same with the Inline Moderation, still the count stays to 0 no matter how many things I mark. Sad

Any help is really appreciated. Some of you sure know something.
Could you please help me ? Sad

Thanks in advance.

Wolf
Ok, I just saw that the Registration seems also not to work because of this Jquery mess I am in. When I tried to test-register (testing something else actually), i got this rotating thing going round and round and not stopping. So I suppose Java Script is necessary there to and is also because of the above problem screwed up.

Does anyone care to help me out here ? I am sure that someone has an idea what could be messed up about my Java/Jquery issues. But noone writes anything ?

Is this Mod not supported anymore, or is there noone that can help me with the Jquery issue I have in general ? Sad

Wolf
If you have a bunch of different javascripts then it is very possible that there is a conflict between them. If you can send me or post your url I could have a look.
Check PM. Wink
hi geek I'm using your plugin fitonpage, i got problem on my portal page the image not resizing but it resizing on showthread, i already tried to deactivated and reactivated is it my theme or maybe something

hereis my portal code:

<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
<script type="text/javascript" src="jscripts/fitonpage.js?ver=230"></script>
<script type="text/javascript">
<!--
	var fitonpage_on = "{$mybb->settings['g33k_fitonpage_enabled']}";
	var fitonpage_resize = "680";
	var fitonpage_fluid = "{$mybb->settings['g33k_fitonpage_fluid']}";
	var fitonpage_topbar_resized = "{$lang->fitonpage_topbar_resized}";
	var fitonpage_topbar_full = "{$lang->fitonpage_topbar_full}";
	var fitonpage_topbar_text_class = "{$mybb->settings['g33k_fitonpage_topbar_text_class']}";
	var fitonpage_topbar_bground = "{$mybb->settings['g33k_fitonpage_topbar_bground']}";
	var fitonpage_topbar_icon = "{$mybb->settings['g33k_fitonpage_topbar_icon']}";
        var fitonpage_location = "portal";
-->
</script>
</head>
<body>
{$header}
<table width="100%" cellspacing="0" cellpadding="{$theme['tablespace']}" border="0" align="center">
<tr><td valign="top" width="200">
{$welcome}
{$pms}
{$search}
{$stats}
{$whosonline}
{$latestthreads}
{$activecontents}
</td>
<td>&nbsp;</td>
<td valign="top">
{$pollbox}
{$announcements}
</td>
</tr>
</table>
{$footer}
</body>
</html>

my board : http://forum.bzone.us/index.php
Hi, I need some help

When you go to the reply page on threads this plugin resizes images in the forums Header and Footer, it only happens on the reply page. Can someone help me stop this from happening?

Thanks
Anyone able to help?
This is also happening on moderation pages
in which template is the plugin loaded to resize photos?
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37