News:

Wondering if this will always be free?  See why free is better.

Main Menu

PageEar (Page peel)

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

Previous topic - Next topic

Joe N

Quote from: KiLLuMiNaTi-7- on March 15, 2009, 09:49:27 AM
Yeah thats a bad choice of words, my fault....

The default page peel image you see is in:

http://www.yoursite.com/pageear/pageear_s.jpg - When it not open.
http://www.yoursite.com/pageear/pageear_s.swf - When its open.

Is there a way to change the text?
Microsoft: "We Need to Imagine Life Without Walls."
I Say: "If There are No Walls Who needs Windows."



My Mods (6) All My Mods Updated To SMF 2.0 RC2 and SMF 1.1.10!


KiLLuMiNaTi-7-

Yes, upload your own image.

Joe N

Microsoft: "We Need to Imagine Life Without Walls."
I Say: "If There are No Walls Who needs Windows."



My Mods (6) All My Mods Updated To SMF 2.0 RC2 and SMF 1.1.10!


KiLLuMiNaTi-7-

Sorry i gave the wrong image locations in my previous post....heres the corrected ones:

http://www.yoursite.com/pageear/pageear_s.jpg - When it not open.
http://www.yoursite.com/pageear/pageear_b.jpg - When its open.

Smitten

Killuminati, please, can you help me?
I cant use the page ear and everything is allright.

I give you my index template.

PS: can be a problem of java script? What JS is doing conflict?

sanfordw

#225
not sure if any one has mentioned this.

Under the section "Run the installer then do this edit."
var closeOnLoad = "', $modSettings['pageear_closeonload'], '";

should be changed to
var closeOnLoad = "', $modSettings['pageear_pageear_closeonload'], '";

otherwise, there would be the following errors in the error log
8: Undefined index: pageear_closeonload
File: /../Themes/classic/Display.template.php (eval?)<<<<<<<<

the mod itself has made the modification,
just for anyone that is following the manual installation instruction

GMCbris

trying this one now

Thanks!

Drover

I'm having the same issue as several others.  I installed successfully in 1.1.9 and then made the other edits but am getting nothing.  Anyone mind helping me out...?

Also, it's not a big deal, but the button to get to the mod's edits in the admin panel is barely visible, squeezed between two other buttons.

Thanks in advance.

http://twittertycoons.com/forum/index.php

KiLLuMiNaTi-7-

Quote from: Drover on May 28, 2009, 06:09:08 PM
I'm having the same issue as several others.  I installed successfully in 1.1.9 and then made the other edits but am getting nothing.  Anyone mind helping me out...?

Also, it's not a big deal, but the button to get to the mod's edits in the admin panel is barely visible, squeezed between two other buttons.

Thanks in advance.

http://twittertycoons.com/forum/index.php

Hi, looked at your site and i couldn't see this before the </body> tag in the produced HTML of your forum.


    <script type="text/javascript">
    writeObjects();
    </script>


So make sure you did this step in index.template.php

Code (Find) Select
</body></html>

Code (REPLACE with) Select

';

if ($modSettings['pageear_enable'])
echo'
    <script type="text/javascript">
    writeObjects();
    </script>';
echo'
</body></html>


As for the tab in the admin panel, it could be that you have too many mods and thers too many tabs or that another mod is conflicting with PageEar's edits. Because on a clean install i didn't see that problem ;)

Drover

Quote from: KiLLuMiNaTi-7- on May 28, 2009, 09:44:30 PM
Hi, looked at your site and i couldn't see this before the </body> tag in the produced HTML of your forum.


    <script type="text/javascript">
    writeObjects();
    </script>


So make sure you did this step in index.template.php

Code (Find) Select
</body></html>

Code (REPLACE with) Select

';

if ($modSettings['pageear_enable'])
echo'
    <script type="text/javascript">
    writeObjects();
    </script>';
echo'
</body></html>


Thanks for the help.  I'm not sure why you're not seeing it, but that change was made.  I just rechecked the template and it IS there.  Any other suggestions?

KiLLuMiNaTi-7-

Attach your current theme index.template.php here and i'll take a look for you.


Drover

It keeps generating these errors over and over:

Quote
8: Undefined index: pageear_closeonload
File: /home/XXXXXXXXXXXXXXXXXXXXXXXXXXX/forum/Themes/default/Display.template.php (main_above sub template - eval?)
Line: 97

and

Quote

Apply Filter: Only show the errors with the same message
8: Undefined variable: modSettings
File: /XXXXXXXXXXXXXXXXXXXXXXXX/forum/Themes/default/Packages.template.php (main_below sub template - eval?)
Line: 293

KiLLuMiNaTi-7-

Find:

var closeOnLoad = "', $modSettings['pageear_closeonload'], '";

Replace with:

var closeOnLoad = "', $modSettings['pageear_pageear_closeonload'], '";

(my stupid mistake sorry)

Drover

Eh, still not working for me.  Thanks anyway.

KiLLuMiNaTi-7-

It should of fixed the error messages in your log. Anyway this should fix your problem with it not showing (sorry i didn't post this before, i didn't notice your post you attached your index.template.php)

Find:

function template_main_below()

{

global $context, $settings, $options, $scripturl, $txt;


Replace:

function template_main_below()

{

global $context, $settings, $options, $scripturl, $txt, $modSettings;

Drover

Ah, ok.  I misunderstood.  Thought you were telling me how to fix both.  I'll give it a shot tomorrow.  Thanks for the help!

BTW, is the WP PageEar your creation as well?  I use it on a lot of sites!

Winglet

Hallo.
I just install pageear on my SMF 1.1.9.
I don't know how to put link to other site!
You can see:
http://www.serbianwings.com/forum/ [nofollow]

I want when i click on peel to redirect me to http://www.air-serbia.com/index1.php! [nofollow]
How can i do that?
Thanks in advance.

KiLLuMiNaTi-7-

Hello,

Go into admin -> PageEar -> URL to jump to. <- edit this to the link you want the pagepeel to go to ;)

Winglet

But, i haven't PageEar in my Admin panel!

Advertisement: