• Welcome to Simple Machines Community Forum. Please login or sign up.
September 19, 2021, 10:28:31 PM

News:

Want to get involved in developing SMF, then why not lend a hand on our github!


PageEar (Page peel)

Started by KiLLuMiNaTi-7-, August 07, 2008, 07:51:33 AM

Previous topic - Next topic

Erron

June 29, 2011, 08:14:13 AM #280 Last Edit: June 29, 2011, 08:37:27 AM by Erron
Quote from: KiLLuMiNaTi-7- on June 28, 2011, 03:34:57 PM
Quote from: Erron on June 28, 2011, 08:33:37 AM
Great mod, love it, strange thing just started happening for me though, only people who are NOT logged in can see it, logged in forum members cant see it anymore (unless they log out).

any ideas?

This mod has some compatibly problems with other javascript scripts. Do you have any other javascript mods or any other mods that only show when your logged in?

my fault, didnt apply to my new theme, reinstalled with new theme changes and all good now. /facepalm

teos55

July 14, 2011, 02:45:57 PM #281 Last Edit: July 14, 2011, 03:02:51 PM by teos55
SMF 2.0 default theme simple portal 2.3.3

  Installed Pageear 2.1 . Upladed images to proper dirs and no errors system wise.  But when I use the w3c markup validaiton service
I got so many erros related to pageear ...

Some of them:

"Line 51, Column 18: cannot generate system identifier for general entity "pagearBigImg"
queryParams += "&pagearBigImg="+escape(pagearBigImg);

An entity reference was found in the document, but there is no reference by that name defined. Often this is caused by misspelling the reference name, unencoded ampersands, or by leaving off the trailing semicolon (;). The most common cause of this error is unencoded ampersands in URLs as described by the WDG in "Ampersands in URLs".

Entity references start with an ampersand (&) and end with a semicolon (;). If you want to use a literal ampersand in your document you must encode it as "&" (even inside URLs!). Be careful to end entity references with a semicolon or your entity reference may get interpreted in connection with the following text. Also keep in mind that named entity references are case-sensitive; &Aelig; and æ are different characters.

If this error appears in some markup generated by PHP's session handling code, this article has explanations and solutions to your problem.

Note that in most documents, errors related to entity references will trigger up to 5 separate messages from the Validator. Usually these will all disappear when the original problem is fixed."




"Line 51, Column 30: reference not terminated by REFC delimiter
queryParams += "&pagearBigImg="+escape(pagearBigImg);

If you meant to include an entity that starts with "&", then you should terminate it with ";". Another reason for this error message is that you inadvertently created an entity by failing to escape an "&" character just before this text."


" Line 51, Column 30: reference to entity "pagearBigImg" for which no system identifier could be generated
queryParams += "&pagearBigImg="+escape(pagearBigImg);

This is usually a cascading error caused by a an undefined entity reference or use of an unencoded ampersand (&) in an URL or body text. See the previous message for further details."



and goes on...

any help.   ( the mod functions properly and no erros in the error log)   

desibees

Hi. Great Mod. can you please help me so this strange thing could start happening to me please?

Quote from: Erron on June 28, 2011, 08:33:37 AM
Great mod, love it, strange thing just started happening for me though, only people who are NOT logged in can see it, logged in forum members cant see it anymore (unless they log out).

I want only guests be able to see the peel. Please help


I'm the.. Help abuser


desibees



I'm the.. Help abuser


Casa Grande

Where's the admin??  running 2.0

WasdMan

Hungarian Language:

ISO:
Quote<file name="$languagedir/Modifications.hungarian.php" error="skip">
      <operation>
         <search position="end" />
         <add><![CDATA[
$txt['pageear_settings_title'] = 'Oldal Fül';
$txt['pageear_enable'] = 'Engedélyezed az Oldal Fül módot';
$txt['pageear_surl'] = 'Kis kép URL címe<br /><span class="smalltext">(http://smf-portal.hu/small_image.jpg)<br />(100x100px kell legyen)</span>';
$txt['pageear_burl'] = 'Nagy kép URL címe<br /><span class="smalltext">(http://smf-portal.hu/big_image.jpg)<br />(500x500px kell legyen)</span>';
$txt['pageear_mirror_effect'] = 'Tükör effekt';
$txt['pageear_jump_to'] = 'Ugorjon az URL címre<br /><span class="smalltext">(http://smf-portal.hu)</span>';
$txt['pageear_open_new'] = 'Megnyitás ugyanabban vagy új ablakban<br /><span class="smalltext">(Haználd a "new" vagy "self" kifejezéseket)</span>';
$txt['pageear_on_load'] = 'Automatikus Oldal Fül megynitása';
$txt['pageear_close_onload'] = 'Oldal Fül bezárása másodpercben megadva<br /><span class="smalltext">(Csak akkor módosítsd, ha a fenti opció kipipálva)</span>';
$txt['pageear_lt'] = 'Oldal Fül megjelenítése a bal felső sarokban';
$txt['pageear_rt'] = 'Oldal Fül megjelenítése a jobb felső sarokban';
$txt['pageear_soft_fade'] = 'Oldal Fül képének elhalványítása ha teljesen betöltött a kép<br /><span class="smalltext">(0-5: 0=ki, 1=lassú, 5=gyors )</span>';]]></add>
      </operation>
   </file>

UTF8:
Quote<file name="$languagedir/Modifications.hungarian-utf8.php" error="skip">
      <operation>
         <search position="end" />
         <add><![CDATA[
$txt['pageear_settings_title'] = 'Oldal Fül';
$txt['pageear_enable'] = 'Engedélyezed az Oldal Fül módot';
$txt['pageear_surl'] = 'Kis kép URL címe<br /><span class="smalltext">(http://smf-portal.hu/small_image.jpg)<br />(100x100px kell legyen)</span>';
$txt['pageear_burl'] = 'Nagy kép URL címe<br /><span class="smalltext">(http://smf-portal.hu/big_image.jpg)<br />(500x500px kell legyen)</span>';
$txt['pageear_mirror_effect'] = 'Tükör effekt';
$txt['pageear_jump_to'] = 'Ugorjon az URL címre<br /><span class="smalltext">(http://smf-portal.hu)</span>';
$txt['pageear_open_new'] = 'Megnyitás ugyanabban vagy új ablakban<br /><span class="smalltext">(Haználd a "new" vagy "self" kifejezéseket)</span>';
$txt['pageear_on_load'] = 'Automatikus Oldal Fül megynitása';
$txt['pageear_close_onload'] = 'Oldal Fül bezárása másodpercben megadva<br /><span class="smalltext">(Csak akkor módosítsd, ha a fenti opció kipipálva)</span>';
$txt['pageear_lt'] = 'Oldal Fül megjelenítése a bal felső sarokban';
$txt['pageear_rt'] = 'Oldal Fül megjelenítése a jobb felső sarokban';
$txt['pageear_soft_fade'] = 'Oldal Fül képének elhalványítása ha teljesen betöltött a kép<br /><span class="smalltext">(0-5: 0=ki, 1=lassú, 5=gyors )</span>';]]></add>
      </operation>
   </file>

samuelongui

I have installed it correctly and is working, but if I change URL to jump to, pageear doesn't shows the effect. how to solve it?

Thanks

samuelongui


SlyBaldGuy

Hey everyone.  I'm trying to add the PageEar mod and I get the attached parse error when I apply the mod according to the instructions.

I have also attached my index.template.php file with the mod applied.

Any suggestions?

bolubeyi61

PageEar (Page peel) xhtml error fix
index.template.php
Find:
var queryParams = "pagearSmallImg="+escape(pagearSmallImg);
queryParams += "&pagearBigImg="+escape(pagearBigImg);
queryParams += "&pageearColor="+pageearColor;
queryParams += "&jumpTo="+escape(jumpTo);
queryParams += "&openLink="+escape(openLink);
queryParams += "&mirror="+escape(mirror);
queryParams += "&copyright="+escape(copyright);
queryParams += "&speedSmall="+escape(speedSmall);
queryParams += "&openOnLoad="+escape(openOnLoad);
queryParams += "&closeOnLoad="+escape(closeOnLoad);
queryParams += "&setDirection="+escape(setDirection);
queryParams += "&softFadeIn="+escape(softFadeIn);</script>';


Replace With:
var queryParams = "pagearSmallImg="+escape(pagearSmallImg);
queryParams += "&amp;pagearBigImg="+escape(pagearBigImg);
queryParams += "&amp;pageearColor="+pageearColor;
queryParams += "&amp;jumpTo="+escape(jumpTo);
queryParams += "&amp;openLink="+escape(openLink);
queryParams += "&amp;mirror="+escape(mirror);
queryParams += "&amp;copyright="+escape(copyright);
queryParams += "&amp;speedSmall="+escape(speedSmall);
queryParams += "&amp;openOnLoad="+escape(openOnLoad);
queryParams += "&amp;closeOnLoad="+escape(closeOnLoad);
queryParams += "&amp;setDirection="+escape(setDirection);
queryParams += "&amp;softFadeIn="+escape(softFadeIn);</script>';


Demo: http://www.spinabifidaturkey.com/

Advertisement: