News:

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

Main Menu

PageEar (Page peel)

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

Previous topic - Next topic

jmil

Never mind - dumb question, I will install it and modify it then!

Sabre™

Sorry jmil, I shouldve given you the exact line to the folder.
I'd just walked in from the beach, and the over 30 Degrees Celsius temp knocked me out! lol
Get back to tell us if your reinstall fixed the issues you were having :)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


jmil

Excellent - That fixed the error and now the Admin control is there - BUT - No Page Ear. Not showing at all. I adjusted a few settings but no luck.

Any ideas?

BTW running 1.1.6
Custom Theme
Multiple Mods (including Simple Portal)

www.forums.midatlanticxriders.com


30 Degrees C Where are you from? WOW

Sabre™

Nice.  Almost there mate :)
Nice site also.

Have you added the modifications/manual edits to your custom theme?
I couldnt see it added via your source code.
Remember every mod needs to be manually added to any custom theme.
For this mod, the only addition should be made to your custom themes index template.
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


jmil

#124
NO - In fact I have added and deleted this mod several times because of the previous issue - So I probably thought I did and didn't. I will Parse it and add the Edits - Hopefully the next post (Tomorrow) will be WOW it works again!

:)

Great support!!

BTW - Never told me where your from (Region)! And thanks for the Kudos on the Site!


Sabre™

haha Yeah, hopefully everything runs smooth after your edits.
Check your errorlog before and after a few tests of the mod in action.

Im in Sydney - Aussie at the moment, but due to change at anytime.
Hence the sporadic online/offline times lol ;)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


jmil

Wow - Working like a champ - First try!! Thanks for the Help!!

Sydney - Love your Country. Spent 2 weeks on the Gold Coast 2 years ago. Absolutely Gorgeous and the weather, sand, beaches and women were great!

Your Summer is coming - Our winter is on the way! Enjoy

Sabre™

Glad I could be of assistance :)

Enjoy
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Abavagada

#128
I'm going to post this here, in case anyone has had this problem.

I noticed that when I didn't have PageEar enabled, I was getting a little "Error" message at the bottom left of the Firefox page. It complains about "writeObjects" not being defined.

That is called from a javascript call in index.template.php:

Quote
echo '
<!-- PageEar function call --> 
<script type="text/javascript">   
    writeObjects();
</script>';

If you put this line right before it:
Quoteif ($modSettings['pageear_enable'])

it fixes it.


svetac

I install pageear and i have a problem. When i started my forum there was a two ears and the main problem is that one of ears was on left side and one on right (ear mark for both ears is in the right side but when you go on the left side ear jump out ). I would like to have one ear on the left side so what modification must i do? one more issue. Where can i modify pageear (put my picture ect....)?
THANKS

KiLLuMiNaTi-7-

Quote from: svetac on October 18, 2008, 02:31:20 AM
I install pageear and i have a problem. When i started my forum there was a two ears and the main problem is that one of ears was on left side and one on right (ear mark for both ears is in the right side but when you go on the left side ear jump out ). I would like to have one ear on the left side so what modification must i do? one more issue. Where can i modify pageear (put my picture ect....)?
THANKS

Please post a link to your site, or attach your index.template.php file.

To add a picture goto pageear in your admin panel, Accessed via admin panel. Admin -> Features & layout -> PAGEEAR

and fill out "URL to small image" and "URL to big image" (image that pops out)

santanu

All is fine with me but when i check my error logs i get this error:

8: Undefined index: pageear_closeonload
File: /home/content/...................../discuss/Themes/blackted/Display.template.php (eval?)

KiLLuMiNaTi-7-

Quote from: santanu on October 18, 2008, 10:58:12 AM
All is fine with me but when i check my error logs i get this error:

8: Undefined index: pageear_closeonload
File: /home/content/...................../discuss/Themes/blackted/Display.template.php (eval?)


Check that "var closeOnLoad =" in index.template.php is like this
var closeOnLoad = "', $modSettings['pageear_pageear_closeonload'], '";

santanu

Quote from: KiLLuMiNaTi-7- on October 18, 2008, 11:04:55 AM
Quote from: santanu on October 18, 2008, 10:58:12 AM
All is fine with me but when i check my error logs i get this error:

8: Undefined index: pageear_closeonload
File: /home/content/...................../discuss/Themes/blackted/Display.template.php (eval?)


Check that "var closeOnLoad =" in index.template.php is like this
var closeOnLoad = "', $modSettings['pageear_pageear_closeonload'], '";

No its like this:
var closeOnLoad = "', $modSettings['pageear_closeonload'], '";

KiLLuMiNaTi-7-

Quote from: santanu on October 18, 2008, 11:09:50 AM
Quote from: KiLLuMiNaTi-7- on October 18, 2008, 11:04:55 AM
Quote from: santanu on October 18, 2008, 10:58:12 AM
All is fine with me but when i check my error logs i get this error:

8: Undefined index: pageear_closeonload
File: /home/content/...................../discuss/Themes/blackted/Display.template.php (eval?)


Check that "var closeOnLoad =" in index.template.php is like this
var closeOnLoad = "', $modSettings['pageear_pageear_closeonload'], '";

No its like this:
var closeOnLoad = "', $modSettings['pageear_closeonload'], '";

Your using the old version, unistall it and install the new one. On the download page: http://custom.simplemachines.org/mods/index.php?mod=1305

Pяηѕѕ LF

Quote from: Abavagada on September 30, 2008, 04:53:33 PM
I'm going to post this here, in case anyone has had this problem.

I noticed that when I didn't have PageEar enabled, I was getting a little "Error" message at the bottom left of the Firefox page. It complains about "writeObjects" not being defined.

That is called from a javascript call in index.template.php:

Quote
echo '
<!-- PageEar function call --> 
<script type="text/javascript">   
    writeObjects();
</script>';

If you put this line right before it:
Quoteif ($modSettings['pageear_enable'])

it fixes it.



I Have this problem I try to fix it with the solution to give here but when I cput this code there the small bug was delete :) but pageEar not open it's actif but it's not open ?

My code when I changed it:

// The following will be used to let the user know that some AJAX process is running
echo '
<div id="ajax_in_progress" style="display: none;', $context['browser']['is_ie'] && !$context['browser']['is_ie7'] ? 'position: absolute;' : '', '">', $txt['ajax_in_progress'], '</div>';


if ($modSettings['pageear_enable'])
echo'
<!-- PageEar function call --> 
<script type="text/javascript">   
    writeObjects();
</script>
</body></html>';
}
[/font][/color]
1.1.21 Default

KiLLuMiNaTi-7-

Quote from: ア尺乇刀丂乇丂 on October 31, 2008, 01:02:19 PM
Quote from: Abavagada on September 30, 2008, 04:53:33 PM
I'm going to post this here, in case anyone has had this problem.

I noticed that when I didn't have PageEar enabled, I was getting a little "Error" message at the bottom left of the Firefox page. It complains about "writeObjects" not being defined.

That is called from a javascript call in index.template.php:

Quote
echo '
<!-- PageEar function call --> 
<script type="text/javascript">   
    writeObjects();
</script>';

If you put this line right before it:
Quoteif ($modSettings['pageear_enable'])

it fixes it.



I Have this problem I try to fix it with the solution to give here but when I cput this code there the small bug was delete :) but pageEar not open it's actif but it's not open ?

My code when I changed it:

// The following will be used to let the user know that some AJAX process is running
echo '
<div id="ajax_in_progress" style="display: none;', $context['browser']['is_ie'] && !$context['browser']['is_ie7'] ? 'position: absolute;' : '', '">', $txt['ajax_in_progress'], '</div>';


if ($modSettings['pageear_enable'])
echo'
<!-- PageEar function call --> 
<script type="text/javascript">   
    writeObjects();
</script>
</body></html>';
}
[/font][/color]

Try

// The following will be used to let the user know that some AJAX process is running
echo '
<div id="ajax_in_progress" style="display: none;', $context['browser']['is_ie'] && !$context['browser']['is_ie7'] ? 'position: absolute;' : '', '">', $txt['ajax_in_progress'], '</div>';


if ($modSettings['pageear_enable'])
echo'
<!-- PageEar function call --> 
<script type="text/javascript">   
    writeObjects();
</script>';
echo'
</body></html>';
}

Pяηѕѕ LF

KiLLuMiNaTi-7- 

I try it but I have always the same problem.

when I delete this the pageEar work correctly but I have a small error message.

if ($modSettings['pageear_enable'])

Do you have any other solution for this problem ?  :-[
1.1.21 Default

Mick.

Can this be seen by guests only and not members? I would like to use it as a registration link.

KiLLuMiNaTi-7-

Quote from: Silindi.. on November 01, 2008, 11:40:34 AM
KiLLuMiNaTi-7- 

I try it but I have always the same problem.

when I delete this the pageEar work correctly but I have a small error message.

if ($modSettings['pageear_enable'])

Do you have any other solution for this problem ?  :-[


Find

function template_main_below()
{
global $context, $settings, $options, $scripturl, $txt


Replace

function template_main_below()
{
global $context, $settings, $options, $scripturl, $txt, $modSettings


I've updated the mod package on the download page to fix the error message.




@BlueDevil

Uninstall pageear, download the new one on download page.

Find


//PageEar mod
if ($modSettings['pageear_enable'])


Replace with


//PageEar mod
if ($modSettings['pageear_enable'])
if ($context['user']['is_guest'])


Find


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


Replace

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

Advertisement: