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

Rafferty

There is only install.php, package info & modification files in the zip package and thats all uploaded. Everything installed fine and I also checked every line in the php's manually, all is correct but still absolutely nothing different showing. What do you mean by ALL the directories, there were no directories in the package?
Don't Follow me I got No Idea what I'm Doing

KiLLuMiNaTi-7-

Quote from: Rafferty on August 09, 2008, 12:06:05 PM
There is only install.php, package info & modification files in the zip package and thats all uploaded. Everything installed fine and I also checked every line in the php's manually, all is correct but still absolutely nothing different showing. What do you mean by ALL the directories, there were no directories in the package?

Yes your right....Download it again. Here

Don't install it again. Just extract the package and place "pageear" into your board directory

digit

Quote from: KiLLuMiNaTi-7- on August 08, 2008, 07:16:25 AM

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

Is placed AFTER </body>

@ Digit thanks for helping out.

FYI - The mod doesn't do it that way - it places it before the closing body tag.
Happily using a heavily modified 1.1.16 version of SMF!

2748011 Posts in 320998 Topics by 50986 Members


SOLD my website - thanks it was a good run - they converted to vbadvanced. (and screwed it up good!)

jmil

KiLLuMiNaTi-

Looks Like I had a combination of problems - I was missing the Directory also. I modified the template in Notepad++ Installed, Stilll had giberish at the top of the screen - Then I added the missing directory - Then the Page ear started to operate (No Pics) but I still had the giberish on my Forum.

Not sure what I am doing wrong. I have deleted it and added it again (Fresh Install) I see the Dir is now added too. THen I started all over again with the Template.php. Added as you instructed - Line by line, still doesnt work. I know it is very simple and I am REALLLY close, just cant quite get it.


KiLLuMiNaTi-7-

Quote from: digit on August 09, 2008, 01:17:34 PM
Quote from: KiLLuMiNaTi-7- on August 08, 2008, 07:16:25 AM

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

Is placed AFTER </body>

@ Digit thanks for helping out.

FYI - The mod doesn't do it that way - it places it before the closing body tag.

Yes. It does, ive updated the instructions. But it doesn't matter if its placed after the </body> tag anyway. Thanks though.

Quote from: jmil on August 09, 2008, 01:24:34 PM
KiLLuMiNaTi-

Looks Like I had a combination of problems - I was missing the Directory also. I modified the template in Notepad++ Installed, Stilll had giberish at the top of the screen - Then I added the missing directory - Then the Page ear started to operate (No Pics) but I still had the giberish on my Forum.

Not sure what I am doing wrong. I have deleted it and added it again (Fresh Install) I see the Dir is now added too. THen I started all over again with the Template.php. Added as you instructed - Line by line, still doesnt work. I know it is very simple and I am REALLLY close, just cant quite get it.

What did the giberish say?

There's nothing wrong with the edits. Are you sure you have enabled it in the admincp?

jmil

#65
I installed it again Here is the Fail:

essages'] > 0 ? '['. $context['user']['unread_messages'] . ']' : '' , ''; // the [member] list button if ($context['allow_memberlist']) echo '' , $txt[331] , ''; // the [SMF Gallery] button if ($context['allow_smfgallery_view']) echo '' , $txt['smfgallery_menu'] , ''; // If the user is a guest, show [login] and [register] buttons. if ($context['user']['is_guest']) { echo '', $txt[34], '  ', $txt[97], ''; } // Otherwise, they might want to [logout]... else echo '', $txt[108], ''; echo '
'; } // Generate a strip of buttons. function template_button_strip($button_strip, $direction = 'top', $force_reset = false, $custom_td = '') { global $settings, $buttons, $context, $txt, $scripturl; // Create the buttons... foreach ($button_strip as $key => $value) { if (isset($value['test']) && empty($context[$value['test']])) { unset($button_strip[$key]); continue; } elseif (!isset($buttons[$key]) || $force_reset) $buttons[$key] = '' . $txt[$value['text']] . ''; $button_strip[$key] = $buttons[$key]; } if (empty($button_strip)) return ' '; echo ' ', implode(' | ', $button_strip) , ' '; } ?>

It is also viewable at www.forums.midatlanticxriders.com


дTдKдИ


Sabre™

When I updated from the first version, I left all of my edits on my custom theme, as there were only a couple changes to it, and I added/changed/moved them after I reinstalled the new version into my default theme.

I use a [Package Parser] to copy the code over for complete custom adds, as you can select to ONLY view the "custom" theme edits, and it keeps the code in their respective lines. Something in which the one here on site doesnt do, as it copies the code over as one whole line lol

Hope that Ive introduced a new breed to the package parser ;)


Just going to throw this idea out there :D

But IF we ever get around to having it visible per membergroup basis.
A feature I would personally enjoy, as my first membergroup need to reach a certain amount of posts(the next level) to see the feature in which I have this mod pointing to.
Would there be any chance to have ONE member group see one thing, and another group see another thing?

Not a request....  just an idea  ;D
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Rafferty

Quote from: KiLLuMiNaTi-7- on August 09, 2008, 12:12:43 PM
Quote from: Rafferty on August 09, 2008, 12:06:05 PM
There is only install.php, package info & modification files in the zip package and thats all uploaded. Everything installed fine and I also checked every line in the php's manually, all is correct but still absolutely nothing different showing. What do you mean by ALL the directories, there were no directories in the package?

Yes your right....Download it again. Here

Don't install it again. Just extract the package and place "pageear" into your board directory

Did the trick TY buddy, looks good, well done

Have you thought of adding permissions for groups viewing the pagepeel, handy maybe for secret pages viewable by only selected groups?

Don't Follow me I got No Idea what I'm Doing

KiLLuMiNaTi-7-

@jmil I don't know what is causing that. Have you got any other mods that rely on javascript. It could be interfering.

@Sabre™ Great! glad it worked out for you. The features you put forward are in progress for the next version :)

@Rafferty Good to hear. But please guys, thank Christian Harz as it's his work i only converted it to SMF. I feel funny when people are thanking me thats all  ;D 

TheDel

#70
OK- what in the heck did I do wrong?
I installed it- fine it works.........

created a new graphic- uploaded it and BAM the peel reveals the actual page underneath.
Obviously this isnt a coding thing because the YOUR TEXT HERE works. Do I need to modify the b_swf file too?


weird- uploaded file under different name deleted original then renamed new one and now it works like a charm.

jmil

#71
I have quite a few mods. We had it working a few days ago before your update. The only thing I added since then was SiteMap (finally working) and I just installed Portal, but if I had to guess I was trying to reinstall before I did the Sitemap, so that must be the culprit.


1. SMF Gallery Lite 1.8.2   
2. OVERSIZED AC in Black Smilies 1.0
3. Ad Managment 2.3 
4. FavIcon 1.1   
5. Blog (for 1.1.5) 1.11
6. SMF Sitemap 1.2.2
7. AvatarOnBoard 2.0   
8. Enhanced Calendar 1.1   
9. Clickable Avatars 1.0.1   
10. Google Tagged 1.3   
11. Auto Embed Video/Audio Clips 3.0   
12. Member Awards 1.0.2   
13. Add Sitepreviews 1.31 
14. SMF 1.0.13 / 1.1.5 / 2.0 b3.1 Update 1.0 
15. Auto Email Inactive Users 1.7
16. PageEar (Pagepeel) 1.1 
17. SMF Arcade 2.0.14
18. Display Age and Location next to posts 1.0   
19. Location on Member List 1.0 
20. MessagePreviewOnHover 1.7 
21. Affiliates 1.0
22. Default Avatar 1.1.1
23. SimplePortal 2.0.2 

I just did a clean uninstall and reinstall and the package loaded OK but when I applied the mod I did not get the admin and this fail was on the home page:

$txt['pageear_settings_title'] = 'PageEar'; $txt['pageear_enable'] = 'Enable PageEar'; $txt['pageear_small_url'] = 'URL to small image
(http://yourwebsite.com/small_image.jpg)
(Must be 100x100)'; $txt['pageear_big_url'] = 'URL to big image
(http://yourwebsite.com/big_image.jpg)
(Must be 500x500)'; $txt['pageear_mirror'] = 'Mirror effect
(Use "true" or "false" only)'; $txt['pageear_jumpto'] = 'URL to jump to
(http://yourwebsite.com/gohere.html)';; $txt['pageear_opennew'] = 'Open in same or new window
(Use "new" or "self" only)'; $txt['pageear_onload'] = 'Open pageear automatically
("false" = Disable it opening automatically | "0.1" = Open automatically after X seconds)'; $txt['pageear_pageear_closeonload'] = 'Second until pageEar close\'s
(Only change if the above option has been changed)'; $txt['pageear_rtlt'] = 'Set direction of pageEar in left or right top browser corner
(Use lt = left or rt = right)'; $txt['pageear_softfade'] = 'Fade in pageEar if image completely loaded
(0-5: 0=off, 1=slow, 5=fast )';

Sabre™

#72
Is anyone getting errors in their log, after doing a little forum maintenance?
Im now getting this each time I go in there, then another for each action I do.
index.php?action=maintain

8: Undefined index: id
File: /Themes/default/Admin.template.php (main_above sub template - eval?)
Line: 255


This is the row referred to in the "//If we have lots of admins... don't show them all" area.
$row = false;

My forum is a fresh install of 1.1.5, and I only have a few mods installed
1. TinyPortal 0.983
2. Spoiler Tag 0.3.3a
3. Colorized Membergroups 1.0
4. Profile_Visitors 4.0
5. Auto Embed Video/Audio Clips 3.1.2
6. PageEar (Pagepeel) 1.1
7. Ultimate Profile


However, since I am in there everyday, this error only appeared after the update to this mod, so Im wondering if anyone has checked to see if they return the same/similar result.

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


KiLLuMiNaTi-7-

@jmil it could be the portal, im not really sure sorry. Are you sure you have completely uninstall the pageear mod and all your modifications you have done to it, then reinstall it again. Can you post a screenshot when the error comes up? and maybe your Sources/Modsettings.php and index.template.php when the error comes up. Thanks.

@Sabre™ I'm not getting that error. We will see if anyone else does.




Sabre™

Yeah..  I was hoping you werent gonna say that! lol
If noone else reports this same issue in the next few days, then I'll systematically reverse my process, and try to figure it out from there!
BUT thats after I querry the db first! lol
I'll do it 2morrow... its late here and Im off to sleep.
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


TheDel

Quote from: jmil on August 10, 2008, 08:03:34 AM
I have quite a few mods. We had it working a few days ago before your update. The only thing I added since then was SiteMap (finally working) and I just installed Portal, but if I had to guess I was trying to reinstall before I did the Sitemap, so that must be the culprit.


1. SMF Gallery Lite 1.8.2  
2. OVERSIZED AC in Black Smilies 1.0
3. Ad Managment 2.3 
4. FavIcon 1.1  
5. Blog (for 1.1.5) 1.11
6. SMF Sitemap 1.2.2
7. AvatarOnBoard 2.0  
8. Enhanced Calendar 1.1  
9. Clickable Avatars 1.0.1  
10. Google Tagged 1.3  
11. Auto Embed Video/Audio Clips 3.0  
12. Member Awards 1.0.2  
13. Add Sitepreviews 1.31 
14. SMF 1.0.13 / 1.1.5 / 2.0 b3.1 Update 1.0 
15. Auto Email Inactive Users 1.7
16. PageEar (Pagepeel) 1.1 
17. SMF Arcade 2.0.14
18. Display Age and Location next to posts 1.0   
19. Location on Member List 1.0 
20. MessagePreviewOnHover 1.7 
21. Affiliates 1.0
22. Default Avatar 1.1.1
23. SimplePortal 2.0.2 

I just did a clean uninstall and reinstall and the package loaded OK but when I applied the mod I did not get the admin and this fail was on the home page:

$txt['pageear_settings_title'] = 'PageEar'; $txt['pageear_enable'] = 'Enable PageEar'; $txt['pageear_small_url'] = 'URL to small image
(http://yourwebsite.com/small_image.jpg)
(Must be 100x100)'; $txt['pageear_big_url'] = 'URL to big image
(http://yourwebsite.com/big_image.jpg)
(Must be 500x500)'; $txt['pageear_mirror'] = 'Mirror effect
(Use "true" or "false" only)'; $txt['pageear_jumpto'] = 'URL to jump to
(http://yourwebsite.com/gohere.html)';; $txt['pageear_opennew'] = 'Open in same or new window
(Use "new" or "self" only)'; $txt['pageear_onload'] = 'Open pageear automatically
("false" = Disable it opening automatically | "0.1" = Open automatically after X seconds)'; $txt['pageear_pageear_closeonload'] = 'Second until pageEar close\'s
(Only change if the above option has been changed)'; $txt['pageear_rtlt'] = 'Set direction of pageEar in left or right top browser corner
(Use lt = left or rt = right)'; $txt['pageear_softfade'] = 'Fade in pageEar if image completely loaded
(0-5: 0=off, 1=slow, 5=fast )';


I would guess its the Portal. I have close to 100 mods installed  on my board (I know I know!) and the only one I dont have on your list is Simple Portal (but I do have TP) and both versions of PageEar went through OK.

hawaii

what am i doing wrong? (im new to modifying templates)

I have smf 1.5 on the dilber theme

and ive followed all instructions but im getting this error message

The file you tried to save generated the following error:
Parse error: syntax error, unexpected ',' in index.template.php on line 81



could i have some help please?

thanks

Sakae

Installed this mod and worked just fine (and great).

But people start to complaining about "I can't click on the post text area", or "I can't click on the Register link", and other links in the upper right quarter of the screen.

Is that a knowing bug of this javascript or may be caused by any error on mod install?

I use ApolloBB and FanTheme themes. I do also use Mozilla Firefox and Internet Explorer 7, and both were working just fine. I think those with problems use IE 6 or lower, I will ask them. My website is http://www.tigrelog.com.br but now I disable (in templates files) this mod.
http://www.tigrelog.com.br
l: simple p: machines

Sabre™

I dont understand what youre saying.

Any buttons in the right hand side dont work?
But your register button is in the middle of the screen.

You could always shrink the size of the pageear, so it doesnt spread across that far.
if youre interested in trying that, look here:

Index.template.php
change these two sizes
var bigWidth  = "500";
var bigHeight = "500";


I have mine at 250 if I recall correct.
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


keithstieneke

I feel dumb asking this but where do I enter the URL I want to promote using PageEar? Is it an edit to one of the files or is it somewhere under Admin?

Advertisement: