Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=1305)
PageEar (Pagepeel)
By KiLLuMiNaTi-7- (http://www.simplemachines.org/community/index.php?action=profile;u=151341) | Support (http://www.simplemachines.org/community/index.php?topic=254128.0)
IntroductionThis mod adds a Page peel to your forum.
Converted to work with SMF. Original author Christian Harz - Webpicasso Media (http://www.webpicasso.de/) converted with permission from the author.
Compatibility:1.1.X - 2.0
InstallationInstall the package to install on the default theme.
FeaturesCustomize the look in the admin panel.
Custom ThemesAll CUSTOM themes will require a custom edit.Run the installer then do these edits make sure you do the right edit for your SMF version!
FOR 1.1.X<title>', $context['page_title'], '</title>';
//PageEar mod
if ($modSettings['pageear_enable'])
echo '
<script src="', $settings['default_theme_url'], '/pageear/AC_OETags.js"
language="javascript"></script>
<script src="', $settings['default_theme_url'], '/pageear/pageear.js"
type="text/javascript"></script>
<script language="JavaScript" type="text/javascript">
var pagearSmallImg = "', $modSettings['pageear_small_url'], '";
var pagearSmallSwf = "', $settings['default_theme_url'], '/pageear/pageear_s.swf";
var pagearBigImg = "', $modSettings['pageear_big_url'], '";
var pagearBigSwf = "', $settings['default_theme_url'], '/pageear/pageear_b.swf";
var speedSmall = "3";
var mirror = "', $modSettings['pageear_mirror'], '";
var pageearColor = "ffffff";
var jumpTo = "', $modSettings['pageear_jumpto'], '"
var openLink = "', $modSettings['pageear_opennew'], '";
var openOnLoad = "', $modSettings['pageear_onload'], '";
var closeOnLoad = "', $modSettings['pageear_pageear_closeonload'], '";
var setDirection = "', $modSettings['pageear_rtlt'], '";
var softFadeIn = "', $modSettings['pageear_softfade'], '";
var requiredMajorVersion = "6";
var requiredMinorVersion = "0";
var requiredRevision = "0";
var copyright = "Webpicasso Media, www.webpicasso.de";
var thumbWidth = "100";
var thumbHeight = "100";
var bigWidth = "500";
var bigHeight = "500";
var xPos = "right";
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 += "©right="+escape(copyright);
queryParams += "&speedSmall="+escape(speedSmall);
queryParams += "&openOnLoad="+escape(openOnLoad);
queryParams += "&closeOnLoad="+escape(closeOnLoad);
queryParams += "&setDirection="+escape(setDirection);
queryParams += "&softFadeIn="+escape(softFadeIn);</script>
</body></html>
';
if ($modSettings['pageear_enable'])
echo'
<script type="text/javascript">
writeObjects();
</script>';
echo'
</body></html>
FOR 2.0 // Output any remaining HTML headers. (from mods, maybe?)
if($modSettings['pageear_enable'])
echo '
<script type="text/javascript" src="', $settings['default_theme_url'],'/scripts/pageear/AC_OETags.js"></script>
<script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/pageear/pageear.js"></script>
<script type="text/javascript">
var pagearSmallImg = "', $modSettings['pageear_surl'], '";
var pagearSmallSwf = "', $settings['default_theme_url'], '/scripts/pageear/pageear_s.swf";
var pagearBigImg = "', $modSettings['pageear_burl'], '";
var pagearBigSwf = "', $settings['default_theme_url'], '/scripts/pageear/pageear_b.swf";
var speedSmall = "3";
var mirror = "', (empty($modSettings['pageear_mirror_effect']) ? 'false' : 'true'), '";
var pageearColor = "ffffff";
var jumpTo = "', $modSettings['pageear_jump_to'], '"
var openLink = "', $modSettings['pageear_open_new'], '";
var openOnLoad = "', (empty($modSettings['pageear_on_load']) ? 'false' : $modSettings['pageear_on_load']), '";
var closeOnLoad = "', $modSettings['pageear_close_onload'], '";
var setDirection = "', (empty($modSettings['pageear_lt']) ? 'rt' : 'lt' ), '";
var softFadeIn = "', $modSettings['pageear_soft_fade'], '";
var requiredMajorVersion = "6";
var requiredMinorVersion = "0";
var requiredRevision = "0";
var copyright = "Webpicasso Media, www.webpicasso.de";
var thumbWidth = "100";
var thumbHeight = "100";
var bigWidth = "500";
var bigHeight = "500";
var xPos = "right";
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 += "©right="+escape(copyright);
queryParams += "&speedSmall="+escape(speedSmall);
queryParams += "&openOnLoad="+escape(openOnLoad);
queryParams += "&closeOnLoad="+escape(closeOnLoad);
queryParams += "&setDirection="+escape(setDirection);
queryParams += "&softFadeIn="+escape(softFadeIn);</script>';
</body></html>
', ($modSettings['pageear_enable'] ? '<script type="text/javascript">
writeObjects();
</script>' : '') , '</body></html>
Change Log1.0 - Initial release.
1.1 - Fixed a mistake when not showing in message index (Thanks mashby)
- Added Enable/disable feature.
2.0 - Added 2.0 support.
2.1 - Fixed a bug that caused an 'Undefined index' error in the error log.
- Added UTF-8 support.
Except for advertising, what can it be used for?
Display an announcement maybe :)
Nice, will there be a version for smf 2.0 soon?
I'm still learning the basics of 2.0. So in the near future maybe ;)
Good job! Thanks! Will wait for the 2.0 version!
Where are the edits (what template?)
Also I went on your website, and it doesn't seem to work for me (It is the same website as the one you took a screen shot of in the MOD)
Thanks
Hello my friend :)
Nice that u iplemented :) I will test it right away, and write any comments after.
Except of Advertisments, the pagepeel is ideal for Announcements or Special Articles from your Main Site in your forum !!
Ps
True, in what template do we have to do the edits?
I have SMF 1.1.5 and show me an error:
1. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
2. Execute Modification ./Sources/ModSettings.php Test failed
3. Execute Modification ./Themes/default/index.template.php Test successful
4. Extract Tree ./pageear
5. Execute Code install.php
I wouldn't install it then :)
Quote from: willielwgg on August 07, 2008, 09:34:48 AM
Where are the edits (what template?)
Also I went on your website, and it doesn't seem to work for me (It is the same website as the one you took a screen shot of in the MOD)
Thanks
Sorry I forgot to include it.
Index.template.php
Quote from: djaca on August 07, 2008, 09:50:52 AM
I have SMF 1.1.5 and show me an error:
1. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
2. Execute Modification ./Sources/ModSettings.php Test failed
3. Execute Modification ./Themes/default/index.template.php Test successful
4. Extract Tree ./pageear
5. Execute Code install.php
I've uploaded a new version. Uninstall the old version or delete it if you haven't installed it yet. Then download and try the new one. Here (http://custom.simplemachines.org/mods/index.php?mod=1305)
Hello.
I did all the changes (yes the updated version, didnt have any error) but i cant see anything :(
http://mysamurai.eu/forum/index.php
Quote from: KiLLuMiNaTi-7- on August 07, 2008, 10:48:58 AM
Quote from: willielwgg on August 07, 2008, 09:34:48 AM
Where are the edits (what template?)
Also I went on your website, and it doesn't seem to work for me (It is the same website as the one you took a screen shot of in the MOD)
Thanks
Sorry I forgot to include it.
Index.template.php
Quote from: djaca on August 07, 2008, 09:50:52 AM
I have SMF 1.1.5 and show me an error:
1. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
2. Execute Modification ./Sources/ModSettings.php Test failed
3. Execute Modification ./Themes/default/index.template.php Test successful
4. Extract Tree ./pageear
5. Execute Code install.php
I've uploaded a new version. Uninstall the old version or delete it if you haven't installed it yet. Then download and try the new one. Here (http://custom.simplemachines.org/mods/index.php?mod=1305)
It worked...
Thanks!!
Naughty you ;)
Im getting this message:
SMF Version 1.1.5 here
The package you tried to upload either is not a valid package or has become corrupted.
Maybe its just me but if there is some problem could this be checked out.
Thanks ;)
Quote from: cerberos on August 07, 2008, 12:26:44 PM
Hello.
I did all the changes (yes the updated version, didnt have any error) but i cant see anything :(
http://mysamurai.eu/forum/index.php
<script src="http://mysamurai.eu/forum/pageear/pageear.js" type="text/javascript"></script> <script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[ var pagearSmallImg = "http://mysamurai.eu/forum/pageear/images/pageear_s.jpg"; var pagearSmallSwf = "pageear/pageear_s.swf"; var pagearBigImg = "http://mysamurai.eu/forum/pageear/images/pageear_b.jpg"; var pagearBigSwf = "pageear/pageear_b.swf"; var speedSmall = "3"; var mirror = "true"; var pageearColor = "ffffff"; var jumpTo = "http://mysamurai.eu/forum" var openLink = "new"; var openOnLoad = "0.1"; var closeOnLoad = "10"; var setDirection = "rt"; var softFadeIn = "1"; var requiredMajorVersion = "6"; var requiredMinorVersion = "0"; var requiredRevision = "0"; var copyright = "Webpicasso Media, www.webpicasso.de"; var thumbWidth = "100"; var thumbHeight = "100"; var bigWidth = "500"; var bigHeight = "500"; var xPos = "right"; 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 += "©right="+escape(copyright); queryParams += "&speedSmall="+escape(speedSmall); queryParams += "&openOnLoad="+escape(openOnLoad); queryParams += "&closeOnLoad="+escape(closeOnLoad); queryParams += "&setDirection="+escape(setDirection); queryParams += "&softFadeIn="+escape(softFadeIn); // ]]></script>
<script language="javascript" type="text/javascript" src="', $boardurl, '/pageear/AC_OETags.js"></script>
<script src="', $boardurl, '/pageear/pageear.js" type="text/javascript"></script>
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
var pagearSmallImg = "', $modSettings['pageear_small_url'], '";
var pagearSmallSwf = "pageear/pageear_s.swf";
var pagearBigImg = "', $modSettings['pageear_big_url'], '";
var pagearBigSwf = "pageear/pageear_b.swf";
var speedSmall = "3"; var mirror = "', $modSettings['pageear_mirror'], '";
var pageearColor = "ffffff"; var jumpTo = "', $modSettings['pageear_jumpto'], '"
var openLink = "', $modSettings['pageear_opennew'], '";
var openOnLoad = "', $modSettings['pageear_onload'], '";
var closeOnLoad = "', $modSettings['pageear_pageear_closeonload'], '";
var setDirection = "', $modSettings['pageear_rtlt'], '";
var softFadeIn = "', $modSettings['pageear_softfade'], '";
var requiredMajorVersion = "6"; var requiredMinorVersion = "0";
var requiredRevision = "0";
var copyright = "Webpicasso Media, www.webpicasso.de";
var thumbWidth = "100"; var thumbHeight = "100";
var bigWidth = "500"; var bigHeight = "500";
var xPos = "right";
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 += "©right="+escape(copyright); queryParams += "&speedSmall="+escape(speedSmall); queryParams += "&openOnLoad="+escape(openOnLoad); queryParams += "&closeOnLoad="+escape(closeOnLoad); queryParams += "&setDirection="+escape(setDirection); queryParams += "&softFadeIn="+escape(softFadeIn); // ]]></script>
Quote from: evil-angelist on August 07, 2008, 01:54:57 PM
Naughty you ;)
Im getting this message:
SMF Version 1.1.5 here
The package you tried to upload either is not a valid package or has become corrupted.
Maybe its just me but if there is some problem could this be checked out.
Thanks ;)
Umm. Not sure what that could be...Have you tried downloading it again?
Quote from: KiLLuMiNaTi-7- on August 07, 2008, 02:12:50 PM
Quote from: evil-angelist on August 07, 2008, 01:54:57 PM
Naughty you ;)
Im getting this message:
SMF Version 1.1.5 here
The package you tried to upload either is not a valid package or has become corrupted.
Maybe its just me but if there is some problem could this be checked out.
Thanks ;)
Umm. Not sure what that could be...Have you tried downloading it again?
Yes I have, do you have a test site to try it again, if not or someone says that it is working fine later
I will try the custom installer try the package parser to manually install.
Thanks anyway for the quick response 10/10.
Ok fixed :) Its worked like a charm --> www.mysamurai.eu/forum
Some Additions that i think will be good to have (dont know if they can implemented somehow)
a) I think an on / off action, will be handy :) So we can switch it off when we want
b) In the joomla version of it, it had an option to open the page (i mean the torn page) more. So to have a bigger picture (bigger small and bigger big one) in it. Dont know if this can be done.
c) Will be handy also, to be able to have more than one images. And load in every refresh, one of them. So to have many points of interest there, for your users if its articles or advertisments. I assume this can be done with Swf, but the user must know flash, and its prob:P)
Thats all i can think right now :)
Ty again !!
Absolutely fantastic mod!!! I concur with cerberos...an on/off feature would make this REALLY awesome! Thanks for this one!
Great mod!
I agree with the above two, that an on off switch would be a good addition.
Now...
Could someone pleeeaase tell me how to edit my own stuff in it!?? lol
An example to work from would be great!
Thank You in advance :)
P.s.
How could we make this ONLY visible, when user is logged?
Define "my own stuff"? You can see the mod in action on my site:
http://www.choppix.com
Making it visible to only logged in users would be a matter of surrounding edits 2 and 3 with and if clause of $context['user']['is_logged']
Quote from: mashby on August 07, 2008, 09:24:36 PM
Define "my own stuff"? You can see the mod in action on my site:
http://www.choppix.com
See where youve added your text, how did you do that, and how could I add an image?
Quote from: mashby on August 07, 2008, 09:24:36 PM
Making it visible to only logged in users would be a matter of surrounding edits 2 and 3 with and if clause of $context['user']['is_logged']
Edits 2 and 3?
Is this within the index. temp?
Thanks mate
Very cool!!! How would I make the page peel appear on the message.index pages and the display.template pages too? It only appears on the forum main page, and oddly, the admin pages! (is that normal?)
Thanks for a VERY cool mod!
Ok.. nvm my previous post.
Because I had never seen this before, I made the assumption that there was a template you edit to add your text etc..
I hadnt realised it was an image! lol
Anyways, thats sorted.
Now with the user logged in permission, could someone show me where to add this please :)
Ive had several failed attempts, and do not want visitors to see this, as Ive added it for my users pleasure/experience.
Thank You
Quote from: Sabre™ on August 08, 2008, 04:59:00 AM
Now with the user logged in permission, could someone show me where to add this please :)
Ive had several failed attempts, and do not want visitors to see this, as Ive added it for my users pleasure/experience.
Thank You
You would do something like this in your index.template.php file... where you added the javascript call, near the closing </body> tag...
';
if ($context['user']['is_logged'])
echo '<!-- PageEar function call -->
<script type="text/javascript">
writeObjects();
</script>';
echo '</body></html>';
ThankYou very much Digit :)
I was trying to add it in the <head> with the js lol :D
Works well and flawless :D
Cheers bud :)
Quote from: Sabre™ on August 08, 2008, 05:15:59 AM
ThankYou very much Digit :)
I was trying to add it in the <head> with the js lol :D
Works well and flawless :D
Cheers bud :)
well, you are welcome... btw... doing that in the head tag too, would also save bandwidth. 8)
Hmm.. I have been looking at some of the other implementations...
http://www.choppix.com/
and
http://www.mysamurai.eu/forum
It looks like choppix is having the same problem as me....
http://www.choppix.com/index.php/board,23.0.html
It works on the main page, but not on the message index, or the display pages.
but http://mysamurai.eu/forum/ seems to have it working on all pages.....
http://mysamurai.eu/forum/index.php?board=2.0
I sure would like to figure out why it's not displaying on my message index and display pages.
Thanks in advance.
Quote from: cerberos on August 07, 2008, 04:19:28 PM
Ok fixed :) Its worked like a charm --> www.mysamurai.eu/forum
Some Additions that i think will be good to have (dont know if they can implemented somehow)
a) I think an on / off action, will be handy :) So we can switch it off when we want
b) In the joomla version of it, it had an option to open the page (i mean the torn page) more. So to have a bigger picture (bigger small and bigger big one) in it. Dont know if this can be done.
c) Will be handy also, to be able to have more than one images. And load in every refresh, one of them. So to have many points of interest there, for your users if its articles or advertisments. I assume this can be done with Swf, but the user must know flash, and its prob:P)
Thats all i can think right now :)
Ty again !!
A) Yes that would be a good idea. I'll add it as soon as i can.
B) Well you can try manually doing it. By finding theses lines:
var thumbWidth = "100"; var thumbHeight = "100";
var bigWidth = "500"; var bigHeight = "500";
and changing the sizes ;)
C) Yes that probably would be todo with flash. But i'll will look into it for you.
Quote from: digit on August 08, 2008, 02:23:03 AM
Very cool!!! How would I make the page peel appear on the message.index pages and the display.template pages too? It only appears on the forum main page, and oddly, the admin pages! (is that normal?)
Thanks for a VERY cool mod!
guess <!-- PageEar function call --> <script type="text/javascript"> writeObjects(); </script>
Is placed AFTER </body>
@ Digit thanks for helping out.
Ty for the quick reply :)
Especially the c will be a major hit to have, hope it can be done somehow :)
A must Mod :)
I installed it - then I completed the Manual edits as I have Black45 Theme (1.1.5) and it does not show,
Any help? I attached my template with the mods as a reference.
www.forums.midatlanticxriders.com (http://www.forums.midatlanticxriders.com)
Quote from: jmil on August 08, 2008, 01:10:23 PM
I installed it - then I completed the Manual edits as I have Black45 Theme (1.1.5) and it does not show,
Any help? I attached my template with the mods as a reference.
www.forums.midatlanticxriders.com (http://www.forums.midatlanticxriders.com)
Replace old index.template with this one. Backup first.
Try this one.
Quote from: KiLLuMiNaTi-7- on August 08, 2008, 01:47:31 PM
Quote from: jmil on August 08, 2008, 01:10:23 PM
I installed it - then I completed the Manual edits as I have Black45 Theme (1.1.5) and it does not show,
Any help? I attached my template with the mods as a reference.
www.forums.midatlanticxriders.com (http://www.forums.midatlanticxriders.com)
Replace old index.template with this one. Backup first.
WOW That did it - Can I ask the changes or what I did wrong?
Quote from: jmil on August 08, 2008, 01:56:22 PM
Quote from: KiLLuMiNaTi-7- on August 08, 2008, 01:47:31 PM
Quote from: jmil on August 08, 2008, 01:10:23 PM
I installed it - then I completed the Manual edits as I have Black45 Theme (1.1.5) and it does not show,
Any help? I attached my template with the mods as a reference.
www.forums.midatlanticxriders.com (http://www.forums.midatlanticxriders.com)
Replace old index.template with this one. Backup first.
WOW That did it - Can I ask the changes or what I did wrong?
Yes i can. Its something i did wrong...You must have followed the steps on the download page. Here (http://custom.simplemachines.org/mods/index.php?mod=1305) and i hadn't updated it yet. My fault not yours. Sorry.
@cerberos: If you want it you can use PHP to pull up images from a directory and load them up randomly.
Check this thread: http://www.simplemachines.org/community/index.php?topic=168.0
I installed this too and it went no problem BUT since I was kinda keeping it on the hush hush from my members wasn't sure if I had the same issue regarding it only showing on admin pages.
My 2 suggestions-
like others an on/off switch would put this mod over the top (IMO) -up there with my favorite mods.
and the ability to change the display. have a random image/link appear. Could this be possible with some php code put in instead of the image path? I know I have used this for my random avatar for years here (thanks to one of the great coders here). I havent tried it and unfortunately am not in a position to do it soon. But just wanted to throw the idea out there.
+1 on the ON/OFF
+1 on Roll over Images
+1 on board selection _ I think in my case Main board is good but not the topics!
Either way - This was well done and the support was done in under 30 minutes of my email WOW AND KUDOS TO YOU.
Minor issue (for boards and displays)
This code:
var pagearSmallImg = "', $modSettings['pageear_small_url'], '";
var pagearSmallSwf = "pageear/pageear_s.swf";
var pagearBigImg = "', $modSettings['pageear_big_url'], '";
var pagearBigSwf = "pageear/pageear_b.swf";
might be better as:
var pagearSmallImg = "', $modSettings['pageear_small_url'], '";
var pagearSmallSwf = "/pageear/pageear_s.swf";
var pagearBigImg = "', $modSettings['pageear_big_url'], '";
var pagearBigSwf = "/pageear/pageear_b.swf";
Quote from: KiLLuMiNaTi-7-
@cerberos: If you want it you can use PHP to pull up images from a directory and load them up randomly.
Check this thread: http://www.simplemachines.org/community/index.php?topic=168.0
Ι Have to admit that my knowledge of php is very limited so i can do it myself. If in the near future along with On / Off Switch, u can implement a feature like that (as i see others too would like to have it), will be awesome :)
Quote from: TheDel on August 08, 2008, 02:19:35 PM
I installed this too and it went no problem BUT since I was kinda keeping it on the hush hush from my members wasn't sure if I had the same issue regarding it only showing on admin pages.
My 2 suggestions-
like others an on/off switch would put this mod over the top (IMO) -up there with my favorite mods.
and the ability to change the display. have a random image/link appear. Could this be possible with some php code put in instead of the image path? I know I have used this for my random avatar for years here (thanks to one of the great coders here). I havent tried it and unfortunately am not in a position to do it soon. But just wanted to throw the idea out there.
As long as you followed the steps correctly and you have checked your website's source (Ctrl+U for windows) and you see the pagepeel script being called and the url's are correct it should display on all pages.
Yea just replace the image path with your PHP script. I don't see why it wouldn't work ;)
Quote from: jmil on August 08, 2008, 02:25:30 PM
+1 on the ON/OFF
+1 on Roll over Images
+1 on board selection _ I think in my case Main board is good but not the topics!
Either way - This was well done and the support was done in under 30 minutes of my email WOW AND KUDOS TO YOU.
Yes i'll be adding a on/off feature in a moment.
Roll over images? can you explain more please, Yes i board selection would be good i'll had it on my todo list :)
Quote from: mashby on August 08, 2008, 02:37:04 PM
Minor issue (for boards and displays)
This code:
var pagearSmallImg = "', $modSettings['pageear_small_url'], '";
var pagearSmallSwf = "pageear/pageear_s.swf";
var pagearBigImg = "', $modSettings['pageear_big_url'], '";
var pagearBigSwf = "pageear/pageear_b.swf";
might be better as:
var pagearSmallImg = "', $modSettings['pageear_small_url'], '";
var pagearSmallSwf = "/pageear/pageear_s.swf";
var pagearBigImg = "', $modSettings['pageear_big_url'], '";
var pagearBigSwf = "/pageear/pageear_b.swf";
Thanks mashby. New version will be uploaded with that fix. Thanks for pointing it out!
"Yes i'll be adding a on/off feature in a moment.
Roll over images? can you explain more please, Yes i board selection would be good i'll had it on my todo list "
I should of said Random Images - As for the Board selection - if your todo is like mine Yikes - Still a great clean looking mod. Should we wait to make the minor fix posted in the previous thread until you incorporate the ON/Off as an update??
The Chief
Quote from: jmil on August 08, 2008, 03:05:05 PM
"Yes i'll be adding a on/off feature in a moment.
Roll over images? can you explain more please, Yes i board selection would be good i'll had it on my todo list "
I should of said Random Images - As for the Board selection - if your todo is like mine Yikes - Still a great clean looking mod. Should we wait to make the minor fix posted in the previous thread until you incorporate the ON/Off as an update??
The Chief
Yes it's best to wait. I'll post when's it uploaded.
1.1 is out.
Everyone who has done modifications delete them and follow the new set of instructions on the download page. This is important because your forum may break otherwise.
Should we delete the old install completely first then reinstall the new?
Thanks for this great Mod. :)
Chamäleon
Quote from: jmil on August 08, 2008, 04:50:57 PM
Should we delete the old install completely first then reinstall the new?
Yes.
Quote from: Chamaeleon on August 08, 2008, 04:52:52 PM
Thanks for this great Mod. :)
Chamäleon
Thanks. Nice avatar :)
wOOt!!
Thanks for the enable/disable option (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.postsmile.net%2Fimg%2F19%2F1942.gif&hash=42cd69283eccfe590865ee3fae6fe4254686921d)
However, when I go into my error log, I now see this
index.php?action=featuresettings;sa=pageear;sesc
8: Undefined index: pageear_closeonload
File: htdocs/Themes/default/Errors.template.php (main_above sub template - eval?)
Line: 161
and this
index.php?action=featuresettings
Apply Filter: Only show the errors with the same message
8: Undefined index: pageear_closeonload
File: /htdocs/Themes/default/languages/ModSettings.english.php (main_above sub template - eval?)
Line: 161
Anyone else getting this?
Yes...a bunch of times. I'm looking into it on my site. Not sure what the issue might be.
Pheeww!!
I was hoping I wasnt the only one lol
Cheers mate, will wait to see what youve found :)
Very very sorry. I never look through probably i always rush things...
Replace this line
var closeOnLoad = "', $modSettings['pageear_closeonload'], '";
with this
var closeOnLoad = "', $modSettings['pageear_pageear_closeonload'], '";
I've updated the download aswell.
lol no probs buddy.
Glad you nipped it in the butt soo fast!
Cheers. (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.postsmile.net%2Fimg%2F19%2F1942.gif&hash=42cd69283eccfe590865ee3fae6fe4254686921d)
Where it asks for the line to the images and link, is it possible to add more there??
Say 4 options, and have them cycle every now and then.(on refresh, or every hour, or day etc)
Or that is waaay to much of a request?
Thank You
Quote from: Sabre™ on August 08, 2008, 06:22:49 PM
lol no probs buddy.
Glad you nipped it in the butt soo fast!
Cheers. (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.postsmile.net%2Fimg%2F19%2F1942.gif&hash=42cd69283eccfe590865ee3fae6fe4254686921d)
Where it asks for the line to the images and link, is it possible to add more there??
Say 4 options, and have them cycle every now and then.(on refresh, or every hour, or day etc)
Or that is waaay to much of a request?
Thank You
No problem.
I will look into it tomorrow mate ;D
Awesome!
Cheers mate :)
Quote from: KiLLuMiNaTi-7
Roll over images? can you explain more please, Yes i board selection would be good i'll had it on my todo list :)
He mean what i have purposed, to have more images / (with links) to show, and be changed either rollover (i dont know if something with mootools can work here for fade in - fade out) or change them with every refresh.
Its nice so many ppl found this mod usefull after all :) When i first purposed, very few responded, and it was strange :P
Ty for all the hard work :)
Alright! Sweet update. The ability to disable/enable is very cool. Thanks!
:)
In creating a subdomain just to check this out with nothing else installed, it is coming up as:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg295.imageshack.us%2Fimg295%2F4465%2Fpageearsh3.th.jpg&hash=e78dbd8e4a52d60626349c297c747f189e36f0a9) (http://img295.imageshack.us/my.php?image=pageearsh3.jpg)
^^ click for bigger ;)
There seems to no PAGEEAR tab and I can not decipher what goes where.
Is there anything missing in the most recent download package?
Hmmm I'm not getting anything appearing on any pages. All coding is correct I carefully went through every line and checked but nothing happens. I'm using firefox, is their an issue with FF or is anyone else having the same problem?
I also have TP installed on SMF 1.1.5
Killuminati - Not sure whats going on - I deleted the old version. Uploaded the new - No Problems - Went to do my theme edits and again I am having problems. Not sure what I am doing wrong, though I had it all figured out on the earlier update.
I again attached my index.template.php - with the changes I put in according to the instructions (which didn't work).
I Love this mod and my members think it is neat as heck :D hope to get it to work again.
The Chief
@evil-angelist It's the text strings. Make sure the pageear text strings are in {YOUR THEME}/Themes/languages/Modifications.english.php make sure the text strings are before the ?>
@Rafferty I've tested it in many browser's and it works on nearly all.
Make sure you have extracted all the contents from the pageear directory (In the installer) to your server.
@jmilYou will see that that both of the edits are all in one massive line. It needs to be like it is on the instructions.
Make sure you use a editor like notepad2 or notepad++
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?
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 (http://custom.simplemachines.org/mods/index.php?mod=1305)
Don't install it again. Just extract the package and place "pageear" into your board directory
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.
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.
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?
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
Thanks Nice Mod. ;D
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] (http://sleepycode.com/PackageParser/index.php) 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
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 (http://custom.simplemachines.org/mods/index.php?mod=1305)
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?
@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
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.
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 )';
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 :)
@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.
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.
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.
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
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.
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.
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?
Quote from: keithstieneke on August 18, 2008, 05:40:55 PM
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?
In admin -> Features and options -> PageEar -> URL to jump to
By the way folks. Im sorry the features people have requested havn't been added. Because i've been real busy and i havn't got much time to update my SMF mods. Maybe in a few weeks time i can.
Just an update to this error I was experiencing.Quote from: Sabre™ on August 10, 2008, 06:28:27 PM
index.php?action=maintain
8: Undefined index: id
File: /Themes/default/Admin.template.php (main_above sub template - eval?)
Line: 255
I located the error to my css, which was weird!!??
Well a change I made somehow caused the above error.
Ive now fixed this, and Im error freeeee lol
Quote from: KiLLuMiNaTi-7- on August 18, 2008, 07:17:41 PMIm sorry the features people have requested havn't been added. Because i've been real busy and i havn't got much time to update my SMF mods. Maybe in a few weeks time i can.
No problem mate. I for one cant wait to see your next release!!
Its looking like its gonna be awesome!!'
As long as there's a function to bring my beer, then your mod will be number 1!! lol
lol, hopefully i can fit in some time soon.
Yeah mate hopefully.
I enjoy mods which interact with my users, and gives them that little extra to play with.
Although there arent too many options at the mo, the visual aspect of it is pleasing enough.
But yeah, the before mentioned requests would pull this over the top.
Take your time mate. You need to take care of your life stuff first. So no rush :)
I'll see you back here in 4 hours then?? That enough time??
lol ;)
How do I put this into my website? I already have this on my forum. My website is just basic html...
Quote from: codnerd on August 18, 2008, 11:40:08 PM
How do I put this into my website? I already have this on my forum. My website is just basic html...
Have a look Here (http://www.webpicasso.de/blog/pageear-free-peel-away-ad/).
After I added this mod my features and options page comes up as blank. How do I fix this? I want to disable the page ear until I have it installed on all my themes. Please let me know which of my files you need to look at to help remedy this issue.
Either way...nice mod
PLEASE HELP!!!
Thanks in advance,
Chris
I manually un-installed it. Could the issue be that I am using 1.1.4 instead of 1.1.5?
Ok. I put this right under my title tags:
<script src="/pageear/AC_OETags.js" language="javascript"></script>
<script src="/pageear/pageear.js" type="text/javascript"></script>
I put this above my body tag:
<!-- PageEar function call -->
<script type="text/javascript">
writeObjects();
</script>
Website (http://www.cracked-gaming.com/community/index.php)
Index.php
<?php require("forum/SSI.php"); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Cracked-Gaming Community - Official Website</title>
<script src="/pageear/AC_OETags.js" language="javascript"></script>
<script src="/pageear/pageear.js" type="text/javascript"></script>
<!-- function ctRoster(usrName) { var div = document.getElementById("roster_data"); var textnode = document.createTextNode(usrName); div.appendChild(textnode); } function ctRosterClean() { var label = document.getElementById("roster_data") while( label.hasChildNodes() ) { label.removeChild( label.lastChild ); } } // --> </script> <link rel="stylesheet" type="text/css" href="style.css" /> </head> <body> <!-- Main wrapper -->
<div id="wrap">
<div id="header">
<table width="998px" height="44px" background="images/topbar.jpg" cellpadding="5" cellspacing="0"> <tr> <td valign="bottom"> <p><b><font size="2"><font color="#ffffff"><center><?php ssi_welcome(); ?></center></font></font></b></p> </td> </tr> </table>
<div id="innerheader" style="font-size: 10px;">
<ul>
<li><a href="index.php">Home</a></li>
<li><a href="forum/">Forums</a></li>
<li><a href="about.php">About CGC</a></li>
<li><a href="join.php">Join CGC</a></li>
<li><a href="donate.php">Donate</a></li>
<li><a href="servers.php">Servers</a></li>
<li><a href="cggs.php">Buy Servers</a></li>
<li><a href="http://www.cracked-gaming.com/files">Files</a></li>
</ul>
</div>
</div>
<div id="content">
<div class="side_column">
<h1>Latest<small>News</small></h1>
<ul>
<li><b>
<a href="">CoD4:CW Going Great!</b> - 8/11
</a></li>
<li><b>
<a href="">4 New Servers!</b> - 8/11
</a></li>
<li><b>
<a href="">Lots of News...</b> - 8/11
</a></li>
<li><b>
<a href="">CGC Newsletter Released</b> - 8/4
</a></li>
</ul>
<h1>Recent<small>Topics</small></h1>
<?php ssi_recentTopics(); ?>
</div>
<!-- END LEFT COLUMN -->
<div id="middle" >
<div id="server_select">
<h1><span>Select Server</span></h1>
<a href="xfire:join?game=cod4mp&server=74.86.232.75:28960"><img src="images/tdm_svr_button.jpg" alt="Team Deathmatch Server" /></a>
<a href="xfire:join?game=cod4mp&server=74.86.232.75:28961"><img src="images/fun_svr_button.jpg" alt="Fun Day 24/7 Server" /></a>
<a href="xfire:join?game=cod4mp&server=74.86.232.75:28962"><img src="images/zom_svr_button.jpg" alt="Zombie Mod Server" /></a>
<a href="xfire:join?game=cod4mp&server=74.86.232.75:28963"><img src="images/s&d_svr_button.jpg" alt="Search & Destroy Server" /></a> </div>
<div id="breadcrum">Home</div>
<h1>Cracked-Gaming News</h1>
<!-- ENTER MAIN CONTENT HERE -->
<div class="content">
<h2>CoD4:CW Going Great!</h2>
<p> <font color="#255d20"><b>CGC</b></font> is hosting Call of Duty 4: Cracked Warfare. So far the tournament is going great. NoobDude will be playing GFAM Today, and the nBS Clan will be playing SkY Today. We will be broadcasting live (20 second delay) of the match today. You can watch it <a href="http://www.xfire.com/live_video/bordr4life511/" target="_blank">here</a>. ND vs GFAM starts at 4pm (EST) today. nBS vs SkY starts at 5pm today. Be sure to watch them live.</p>
<p> <font color="#255d20"><b>Tomorrows</b></font> match will be for the Golden Sock. Be sure to be tuned in at 4pm est for the Golden Sock match!</p>
</div>
<div class="content">
<h2>MacerHosting.net brings CGC 4 New Servers!</h2>
<p> <a href="http://www.macerhosting.net" target="_blank"><font color="#255d20"><b>MacerHosting.net</b></font></a> has brought 4 new Call of Duty 4 Servers to CGC. The servers are hosted in Toronto, Canada with 2 Cores and 2GB of Ram on each box. Each Call of Duty 4 Server is hosted seperatly on its own box, which will give high performance, and way less lag. There are 2 servers which both are Broadcast and Killhouse only, which one is a 16 slot Hardcore Free-for-all and the other is and 32 slot Hardcore Team Deathmatch. We have also put up another Zombie Mod server, in which it only will run Stock maps. Lastly, my favorite, a mod with CoD2 Rifles for in which it is a modded server that replaces CoD4 weapons, with CoD2 Rifles. It is a blast that never stops.</p>
<p> We really need everyones help filling these new servers, so please go into the servers as much as you can. I am begging you!</p>
<b>Here are the IP's of the new servers:</b><br>
CGC TDM HC #1: <a href="http://www.gametracker.com/server_info/74.86.232.75:28960/" target="_blank"><img src="http://cache.www.gametracker.com/server_info/74.86.232.75:28960/b_350x20_CADAA00-1E7001-FFFFFF-FFFFFF.png" border="0" width="350" height="20" /></a><br>
CGC Modded #2: <a href="http://www.gametracker.com/server_info/74.86.232.75:28961/" target="_blank"><img src="http://cache.www.gametracker.com/server_info/74.86.232.75:28961/b_350x20_CADAA00-1E7001-FFFFFF-FFFFFF.png" border="0" width="350" height="20" /></a><br>
CGC Zombie Mod #3: <a href="http://www.gametracker.com/server_info/74.86.232.75:28962/" target="_blank"><img src="http://cache.www.gametracker.com/server_info/74.86.232.75:28962/b_350x20_CADAA00-1E7001-FFFFFF-FFFFFF.png" border="0" width="350" height="20" /></a><br>
CGC S&D HC #4: <a href="http://www.gametracker.com/server_info/74.86.232.75:28963/" target="_blank"><img src="http://cache.www.gametracker.com/server_info/74.86.232.75:28963/b_350x20_CADAA00-1E7001-FFFFFF-FFFFFF.png" border="0" width="350" height="20" /></a><br>
CGC-MH FFA HC #5: <a href="http://www.gametracker.com/server_info/216.221.84.10:28960/" target="_blank"><img src="http://cache.www.gametracker.com/server_info/216.221.84.10:28960/b_350x20_CADAA00-1E7001-FFFFFF-FFFFFF.png" border="0" width="350" height="20" /></a><br>
CGC-MH TDM HC #6: <a href="http://www.gametracker.com/server_info/216.221.84.10:28961/" target="_blank"><img src="http://cache.www.gametracker.com/server_info/216.221.84.10:28961/b_350x20_CADAA00-1E7001-FFFFFF-FFFFFF.png" border="0" width="350" height="20" /></a><br>
CGC-MH Zombie #7: <a href="http://www.gametracker.com/server_info/216.221.84.10:28962/" target="_blank"><img src="http://cache.www.gametracker.com/server_info/216.221.84.10:28962/b_350x20_CADAA00-1E7001-FFFFFF-FFFFFF.png" border="0" width="350" height="20" /></a><br>
CGC-MH RSM #8: <a href="http://www.gametracker.com/server_info/216.221.84.10:28963/" target="_blank"><img src="http://cache.www.gametracker.com/server_info/216.221.84.10:28963/b_350x20_CADAA00-1E7001-FFFFFF-FFFFFF.png" border="0" width="350" height="20" /></a><br><br>
<b>Press <a href="http://www.cracked-gaming.com/community/forum/index.php?board=1.0" target="_blank">Here</a> for all the CoD4 Servers in a List.</b>
</div>
<div class="content">
<h2>Call of Duty: Cracked Warfare</h2>
<p> <font color="#255d20"><b>CGC</b></font> will be hosting a Call of Duty tournament for Cracked Clans to compete against each other. Clans will be competing for the bragging rights, in which if they win, they will get their Clan name on the Golden Sock.</p>
<p> <font color="#255d20"><b>This tournament</b></font> will start on Thursday or Friday, depending on what day your Clan wants to start. Semi-finals will be on Saturday. Sunday will be the Final Match for the Golden Sock.</p>
<p> <font color="#255d20"><b>Clans from all over</b></font> will be competing in this Tournament, such as the NoBS Clan, and the UTDM Clan. The Competition will be ran on CGGS Servers, in which we will have a practice Server running now up to the Tournament. Look at the Discussion Section for more details.</p>
<center><a href="http://www.cracked-gaming.com/community/forum/index.php?c=12" target="_blank"><b>CoD:CW Forum Discussion</b></a></center><br>
<h2>CGC Server Stats</h2>
<p> <font color="#255d20"><b>CGC</b></font> has brought Stats back to the Community. You can now see the sats of every thing in game from who is the biggest whiner, to how many times syou shot someone in the balls.</p>
<center><a href="http://Stats.Cracked-Gaming.com" target="_blank"><b>Stats.Cracked-Gaming.com</b></a></center><br>
<h2>New CGC S&D Server Up!</h2>
<p> <font color="#255d20"><b>CGC</b></font> has added a 24 Slot S&D Hardcore Server to our Server list. We are hoping that everyone will try their hardest to get it started and filled. Please just go to the server sometime with a friend and stay there until is starts to fill up.</p>
<center><a href="xfire:join?game=cod4mp&server=74.86.232.75:28963" target="_blank"><b>IP: 74.86.232.75:28963</b></a></center><br>
</div>
<div class="content">
<h2>SuperCharged Sunday</h2>
<p> <font color="#255d20"><b>At last nights meeting</b></font>, we chose that this Sunday will be Supercharged Sunday. Instead of Funmaps, we will have more serious and detailed maps. The maps will be mp_burg, mp_ic_cod, mp_sconsegrad, mp_yard, and mp_freeb for the map rotation. We may also turn the speed up just a little, and maybe turn the gravity just a hair. The maps are not too big in size, but if you are worried about how long it will take to download, then you can download them before sunday by downloading the installer below.</p><br>
<a href="http://www.cracked-gaming.com/files/ss_fastdl.exe" target="_blank"><b>SuperCharged Sunday Fast DL Installer</b></a>
</div>
<div class="content">
<h2>CGC Newsletter Released</h2>
<br>
Hello yall, this is our First Newsletter.<br><br>
CGC has been having a great month so far. We redesigned our
website, and added a homepage with many other sub-pages. Our Zombie
server is repopulating, and our TDM server is still the same in rank,
like always. We also have a FUNDAY server now, in which after each
FUNDAY we put what we did on FUNDAY on that server. We have also
opened up a 24 slot S&D Server. Check the site for server details and
IP's.<br><br>
CGC has opened up a GSP called Cracked-Gaming Game Servers (CGGS),
in which we will sell game servers. We would really love for everyone
to help us out with advertising for CGGS by putting sigs or telling
your friends how great of a community it is run by. The URL to CGGS is <a href="http://www.cracked-gaming.com/community/buy_servers.php">Here</a>.
Please help us out on this one, so we don't have to depend on
donations...<br><br>
Also, our forums are definitely not as active as they used to be.
Get on them, be social, and gain some respect from other members.
Also, tell me if you like Fake or Real boobs. Look on the forum for
that post. lol.<br><br>
We have also opened a <a href="http://www.wegame.com/group/cgc/">WeGame Community</a>. <a href="http://www.wegame.com">WeGame</a>
is a video recorder that so damn simple to use. You go in game,
record, click the upload button, and watch. This FREE program also
does not lower your FPS like Fraps.<br><br>
CGC is planning to expand rapidly, even more than it is now.<br><br>
- We will be looking for clans to come into us.<br>
- Admins will be given positions such as Recuriter, Server
Manager, etc.<br>
- We will be deleting the ban list on all servers.<br>
- We are opening a Game Server Provider, in which we will sell
servers.<br>
- We will be assigning more server admins.<br>
- We will be focusing on getting a Sponsor to support our servers
money wise.<br><br>
<b>Next CGC Meeting is Thursday, August 7th on <a href="http://cracked-gaming.com/files/ventmix122setup.exe">Ventrilo</a>.</b><br>
IP: Vent.Cracked-Gaming.com<br>
Port: 3784<br><br>
Regards,<br>
CGC | Larry<br>
Cracked-Gaming Community<br>
<a href="http://www.cracked-gaming.com/">www.Cracked-Gaming.com</a><br><br>
<font size="5"><b>Git-Er-Done</b></font>
</div>
<!-- END MAIN CONTENT -->
</div>
<div class="side_column" id="right">
<h1>Forum<small>Login</small></h1>
<center>
<?php ssi_whosOnline(); ?>
</center>
<?php ssi_login(); ?>
</p>
</form>
<h1>Official<small>Affiliates</small></h1>
<a href="http://www.macerhosting.net" target="_blank">
<img src="images/macer_hosting_cgc_ad_right.jpg" alt="Advertise Here" />
<a href="http://www.cracked-gaming.com/community/advertising.php" target="_blank">
<img src="images/ad_here_cgc_ad_right.jpg" alt="Advertise Here" />
<img src="images/ad_here_cgc_ad_right.jpg" alt="Advertise Here" />
</a> </div>
</div>
<div id="footer">
<p>Copyright 2008 © Cracked-Gaming Community - CGC does not take any responsiblity for any posts made by members or guests.</p> </div>
</div>
<!-- / main wrapper -->
<!-- PageEar function call -->
<script type="text/javascript">
writeObjects();
</script>
</body>
</html>
Hi KiLLuMiNaTi-7-!!
Great Mod!
In my forum work with default theme very well but with dark vista theme don't start. I've made all replace... :(
Can you check my index.template.php?
Tnx Very much!! ;)
Quote from: NeoXII on August 24, 2008, 08:43:37 PM
Hi KiLLuMiNaTi-7-!!
Great Mod!
In my forum work with default theme very well but with dark vista theme don't start. I've made all replace... :(
Can you check my index.template.php?
Tnx Very much!! ;)
Find: function template_main_above()
{
global $context, $settings, $options, $scripturl, $txt, $modSettings; $boardurl;
Replace with:function template_main_above()
{
global $context, $settings, $options, $scripturl, $txt, $modSettings, $boardurl;
This mod was built from this source.... ---------> http://www.webpicasso.de/blog/pageear-free-peel-away-ad/ I used this on many sites of mine. I think this can be installed with out the mod.. Ive also manually installed this on VB forum many php and html pages. I install your mod I like how your worte it.... Just thought I would let you know also I , have installed this on many plateforms such as asp html and php
here is few sites I have it on now.
www.lawntimes.com (http://www.lawntimes.com) www.lawncompanyproducts.com (http://www.lawncompanyproducts.com) www.orlandolawnandlandscape.com (http://www.orlandolawnandlandscape.com)
You know what! I notice some reason its not putting the code on your index.php page. If you go to http://www.cracked-gaming.com/community/index.php look at the source code, Its not there... What I am referring to is this
<script src="/pageear/AC_OETags.js" language="javascript"></script>
<script src="/pageear/pageear.js" type="text/javascript"></script>
It is not on the index.php page where it suppose to be there in order for this mod to work.
Here is look at the source on your page.
!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Cracked-Gaming Community - Official Website</title>
<!-- function ctRoster(usrName) { var div = document.getElementById("roster_data"); var textnode = document.createTextNode(usrName); div.appendChild(textnode); } function ctRosterClean() { var label = document.getElementById("roster_data") while( label.hasChildNodes() ) { label.removeChild( label.lastChild ); } } // --> </script> <link rel="stylesheet" type="text/css" href="style.css" /> </head> <body> <!-- Main wrapper -->
<div id="wrap">
<div id="header">
<table width="998px" height="44px" background="images/topbar.jpg" cellpadding="5" cellspacing="0"> <tr> <td valign="bottom"> <p><b><font size="2"><font color="#ffffff"><center>Welcome, <b>Guest</b>. Please <a href="http://www.cracked-gaming.com/community/forum/index.php?PHPSESSID=d7673c9ae4259894b6388079ab0588b5&action=login">login</a> or <a href="http://www.cracked-gaming.com/community/forum/index.php?PHPSESSID=d7673c9ae4259894b6388079ab0588b5&action=register">register</a>.</center></font></font></b></p> </td> </tr> </table>
<div id="innerheader" style="font-size: 10px;">
<ul>
<li><a href="index.php">Home</a></li>
<li><a href="forum/">Forums</a></li>
<li><a href="about.php">About CGC</a></li>
<li><a href="join.php">Join CGC</a></li>
<li><a href="donate.php">Donate</a></li>
<li><a href="servers.php">Servers</a></li>
<li><a href="cggs.php">Buy Servers</a></li>
Dont feel bad mine is doing the same thing. Once I figure it out ill let you know how to solve your problem.
Rodman
Quote from: codnerd on August 19, 2008, 01:12:38 PM
Ok. I put this right under my title tags:
<script src="/pageear/AC_OETags.js" language="javascript"></script>
<script src="/pageear/pageear.js" type="text/javascript"></script>
I put this above my body tag:
<!-- PageEar function call -->
<script type="text/javascript">
writeObjects();
</script>
Website (http://www.cracked-gaming.com/community/index.php)
Index.php
<?php require("forum/SSI.php"); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Cracked-Gaming Community - Official Website</title>
<script src="/pageear/AC_OETags.js" language="javascript"></script>
<script src="/pageear/pageear.js" type="text/javascript"></script>
<!-- function ctRoster(usrName) { var div = document.getElementById("roster_data"); var textnode = document.createTextNode(usrName); div.appendChild(textnode); } function ctRosterClean() { var label = document.getElementById("roster_data") while( label.hasChildNodes() ) { label.removeChild( label.lastChild ); } } // --> </script> <link rel="stylesheet" type="text/css" href="style.css" /> </head> <body> <!-- Main wrapper -->
<div id="wrap">
<div id="header">
<table width="998px" height="44px" background="images/topbar.jpg" cellpadding="5" cellspacing="0"> <tr> <td valign="bottom"> <p><b><font size="2"><font color="#ffffff"><center><?php ssi_welcome(); ?></center></font></font></b></p> </td> </tr> </table>
<div id="innerheader" style="font-size: 10px;">
<ul>
<li><a href="index.php">Home</a></li>
<li><a href="forum/">Forums</a></li>
<li><a href="about.php">About CGC</a></li>
<li><a href="join.php">Join CGC</a></li>
<li><a href="donate.php">Donate</a></li>
<li><a href="servers.php">Servers</a></li>
<li><a href="cggs.php">Buy Servers</a></li>
<li><a href="http://www.cracked-gaming.com/files">Files</a></li>
</ul>
</div>
</div>
<div id="content">
<div class="side_column">
<h1>Latest<small>News</small></h1>
<ul>
<li><b>
<a href="">CoD4:CW Going Great!</b> - 8/11
</a></li>
<li><b>
<a href="">4 New Servers!</b> - 8/11
</a></li>
<li><b>
<a href="">Lots of News...</b> - 8/11
</a></li>
<li><b>
<a href="">CGC Newsletter Released</b> - 8/4
</a></li>
</ul>
<h1>Recent<small>Topics</small></h1>
<?php ssi_recentTopics(); ?>
</div>
<!-- END LEFT COLUMN -->
<div id="middle" >
<div id="server_select">
<h1><span>Select Server</span></h1>
<a href="xfire:join?game=cod4mp&server=74.86.232.75:28960"><img src="images/tdm_svr_button.jpg" alt="Team Deathmatch Server" /></a>
<a href="xfire:join?game=cod4mp&server=74.86.232.75:28961"><img src="images/fun_svr_button.jpg" alt="Fun Day 24/7 Server" /></a>
<a href="xfire:join?game=cod4mp&server=74.86.232.75:28962"><img src="images/zom_svr_button.jpg" alt="Zombie Mod Server" /></a>
<a href="xfire:join?game=cod4mp&server=74.86.232.75:28963"><img src="images/s&d_svr_button.jpg" alt="Search & Destroy Server" /></a> </div>
<div id="breadcrum">Home</div>
<h1>Cracked-Gaming News</h1>
<!-- ENTER MAIN CONTENT HERE -->
<div class="content">
<h2>CoD4:CW Going Great!</h2>
<p> <font color="#255d20"><b>CGC</b></font> is hosting Call of Duty 4: Cracked Warfare. So far the tournament is going great. NoobDude will be playing GFAM Today, and the nBS Clan will be playing SkY Today. We will be broadcasting live (20 second delay) of the match today. You can watch it <a href="http://www.xfire.com/live_video/bordr4life511/" target="_blank">here</a>. ND vs GFAM starts at 4pm (EST) today. nBS vs SkY starts at 5pm today. Be sure to watch them live.</p>
<p> <font color="#255d20"><b>Tomorrows</b></font> match will be for the Golden Sock. Be sure to be tuned in at 4pm est for the Golden Sock match!</p>
</div>
<div class="content">
<h2>MacerHosting.net brings CGC 4 New Servers!</h2>
<p> <a href="http://www.macerhosting.net" target="_blank"><font color="#255d20"><b>MacerHosting.net</b></font></a> has brought 4 new Call of Duty 4 Servers to CGC. The servers are hosted in Toronto, Canada with 2 Cores and 2GB of Ram on each box. Each Call of Duty 4 Server is hosted seperatly on its own box, which will give high performance, and way less lag. There are 2 servers which both are Broadcast and Killhouse only, which one is a 16 slot Hardcore Free-for-all and the other is and 32 slot Hardcore Team Deathmatch. We have also put up another Zombie Mod server, in which it only will run Stock maps. Lastly, my favorite, a mod with CoD2 Rifles for in which it is a modded server that replaces CoD4 weapons, with CoD2 Rifles. It is a blast that never stops.</p>
<p> We really need everyones help filling these new servers, so please go into the servers as much as you can. I am begging you!</p>
<b>Here are the IP's of the new servers:</b><br>
CGC TDM HC #1: <a href="http://www.gametracker.com/server_info/74.86.232.75:28960/" target="_blank"><img src="http://cache.www.gametracker.com/server_info/74.86.232.75:28960/b_350x20_CADAA00-1E7001-FFFFFF-FFFFFF.png" border="0" width="350" height="20" /></a><br>
CGC Modded #2: <a href="http://www.gametracker.com/server_info/74.86.232.75:28961/" target="_blank"><img src="http://cache.www.gametracker.com/server_info/74.86.232.75:28961/b_350x20_CADAA00-1E7001-FFFFFF-FFFFFF.png" border="0" width="350" height="20" /></a><br>
CGC Zombie Mod #3: <a href="http://www.gametracker.com/server_info/74.86.232.75:28962/" target="_blank"><img src="http://cache.www.gametracker.com/server_info/74.86.232.75:28962/b_350x20_CADAA00-1E7001-FFFFFF-FFFFFF.png" border="0" width="350" height="20" /></a><br>
CGC S&D HC #4: <a href="http://www.gametracker.com/server_info/74.86.232.75:28963/" target="_blank"><img src="http://cache.www.gametracker.com/server_info/74.86.232.75:28963/b_350x20_CADAA00-1E7001-FFFFFF-FFFFFF.png" border="0" width="350" height="20" /></a><br>
CGC-MH FFA HC #5: <a href="http://www.gametracker.com/server_info/216.221.84.10:28960/" target="_blank"><img src="http://cache.www.gametracker.com/server_info/216.221.84.10:28960/b_350x20_CADAA00-1E7001-FFFFFF-FFFFFF.png" border="0" width="350" height="20" /></a><br>
CGC-MH TDM HC #6: <a href="http://www.gametracker.com/server_info/216.221.84.10:28961/" target="_blank"><img src="http://cache.www.gametracker.com/server_info/216.221.84.10:28961/b_350x20_CADAA00-1E7001-FFFFFF-FFFFFF.png" border="0" width="350" height="20" /></a><br>
CGC-MH Zombie #7: <a href="http://www.gametracker.com/server_info/216.221.84.10:28962/" target="_blank"><img src="http://cache.www.gametracker.com/server_info/216.221.84.10:28962/b_350x20_CADAA00-1E7001-FFFFFF-FFFFFF.png" border="0" width="350" height="20" /></a><br>
CGC-MH RSM #8: <a href="http://www.gametracker.com/server_info/216.221.84.10:28963/" target="_blank"><img src="http://cache.www.gametracker.com/server_info/216.221.84.10:28963/b_350x20_CADAA00-1E7001-FFFFFF-FFFFFF.png" border="0" width="350" height="20" /></a><br><br>
<b>Press <a href="http://www.cracked-gaming.com/community/forum/index.php?board=1.0" target="_blank">Here</a> for all the CoD4 Servers in a List.</b>
</div>
<div class="content">
<h2>Call of Duty: Cracked Warfare</h2>
<p> <font color="#255d20"><b>CGC</b></font> will be hosting a Call of Duty tournament for Cracked Clans to compete against each other. Clans will be competing for the bragging rights, in which if they win, they will get their Clan name on the Golden Sock.</p>
<p> <font color="#255d20"><b>This tournament</b></font> will start on Thursday or Friday, depending on what day your Clan wants to start. Semi-finals will be on Saturday. Sunday will be the Final Match for the Golden Sock.</p>
<p> <font color="#255d20"><b>Clans from all over</b></font> will be competing in this Tournament, such as the NoBS Clan, and the UTDM Clan. The Competition will be ran on CGGS Servers, in which we will have a practice Server running now up to the Tournament. Look at the Discussion Section for more details.</p>
<center><a href="http://www.cracked-gaming.com/community/forum/index.php?c=12" target="_blank"><b>CoD:CW Forum Discussion</b></a></center><br>
<h2>CGC Server Stats</h2>
<p> <font color="#255d20"><b>CGC</b></font> has brought Stats back to the Community. You can now see the sats of every thing in game from who is the biggest whiner, to how many times syou shot someone in the balls.</p>
<center><a href="http://Stats.Cracked-Gaming.com" target="_blank"><b>Stats.Cracked-Gaming.com</b></a></center><br>
<h2>New CGC S&D Server Up!</h2>
<p> <font color="#255d20"><b>CGC</b></font> has added a 24 Slot S&D Hardcore Server to our Server list. We are hoping that everyone will try their hardest to get it started and filled. Please just go to the server sometime with a friend and stay there until is starts to fill up.</p>
<center><a href="xfire:join?game=cod4mp&server=74.86.232.75:28963" target="_blank"><b>IP: 74.86.232.75:28963</b></a></center><br>
</div>
<div class="content">
<h2>SuperCharged Sunday</h2>
<p> <font color="#255d20"><b>At last nights meeting</b></font>, we chose that this Sunday will be Supercharged Sunday. Instead of Funmaps, we will have more serious and detailed maps. The maps will be mp_burg, mp_ic_cod, mp_sconsegrad, mp_yard, and mp_freeb for the map rotation. We may also turn the speed up just a little, and maybe turn the gravity just a hair. The maps are not too big in size, but if you are worried about how long it will take to download, then you can download them before sunday by downloading the installer below.</p><br>
<a href="http://www.cracked-gaming.com/files/ss_fastdl.exe" target="_blank"><b>SuperCharged Sunday Fast DL Installer</b></a>
</div>
<div class="content">
<h2>CGC Newsletter Released</h2>
<br>
Hello yall, this is our First Newsletter.<br><br>
CGC has been having a great month so far. We redesigned our
website, and added a homepage with many other sub-pages. Our Zombie
server is repopulating, and our TDM server is still the same in rank,
like always. We also have a FUNDAY server now, in which after each
FUNDAY we put what we did on FUNDAY on that server. We have also
opened up a 24 slot S&D Server. Check the site for server details and
IP's.<br><br>
CGC has opened up a GSP called Cracked-Gaming Game Servers (CGGS),
in which we will sell game servers. We would really love for everyone
to help us out with advertising for CGGS by putting sigs or telling
your friends how great of a community it is run by. The URL to CGGS is <a href="http://www.cracked-gaming.com/community/buy_servers.php">Here</a>.
Please help us out on this one, so we don't have to depend on
donations...<br><br>
Also, our forums are definitely not as active as they used to be.
Get on them, be social, and gain some respect from other members.
Also, tell me if you like Fake or Real boobs. Look on the forum for
that post. lol.<br><br>
We have also opened a <a href="http://www.wegame.com/group/cgc/">WeGame Community</a>. <a href="http://www.wegame.com">WeGame</a>
is a video recorder that so damn simple to use. You go in game,
record, click the upload button, and watch. This FREE program also
does not lower your FPS like Fraps.<br><br>
CGC is planning to expand rapidly, even more than it is now.<br><br>
- We will be looking for clans to come into us.<br>
- Admins will be given positions such as Recuriter, Server
Manager, etc.<br>
- We will be deleting the ban list on all servers.<br>
- We are opening a Game Server Provider, in which we will sell
servers.<br>
- We will be assigning more server admins.<br>
- We will be focusing on getting a Sponsor to support our servers
money wise.<br><br>
<b>Next CGC Meeting is Thursday, August 7th on <a href="http://cracked-gaming.com/files/ventmix122setup.exe">Ventrilo</a>.</b><br>
IP: Vent.Cracked-Gaming.com<br>
Port: 3784<br><br>
Regards,<br>
CGC | Larry<br>
Cracked-Gaming Community<br>
<a href="http://www.cracked-gaming.com/">www.Cracked-Gaming.com</a><br><br>
<font size="5"><b>Git-Er-Done</b></font>
</div>
<!-- END MAIN CONTENT -->
</div>
<div class="side_column" id="right">
<h1>Forum<small>Login</small></h1>
<center>
<?php ssi_whosOnline(); ?>
</center>
<?php ssi_login(); ?>
</p>
</form>
<h1>Official<small>Affiliates</small></h1>
<a href="http://www.macerhosting.net" target="_blank">
<img src="images/macer_hosting_cgc_ad_right.jpg" alt="Advertise Here" />
<a href="http://www.cracked-gaming.com/community/advertising.php" target="_blank">
<img src="images/ad_here_cgc_ad_right.jpg" alt="Advertise Here" />
<img src="images/ad_here_cgc_ad_right.jpg" alt="Advertise Here" />
</a> </div>
</div>
<div id="footer">
<p>Copyright 2008 © Cracked-Gaming Community - CGC does not take any responsiblity for any posts made by members or guests.</p> </div>
</div>
<!-- / main wrapper -->
<!-- PageEar function call -->
<script type="text/javascript">
writeObjects();
</script>
</body>
</html>
Download the file attached and rename it to "pageear2.js"
Upload it to the same pageear directory were my mod installed it.
Replace (in your home page): <script src="/pageear/pageear.js" type="text/javascript"></script>
with <script src="/pageear/pageear2.js" type="text/javascript"></script>
Quote from: KiLLuMiNaTi-7- on August 26, 2008, 03:31:34 PM
Download the file attached and rename it to "pageear2.js"
Upload it to the same pageear directory were my mod installed it.
Replace (in your home page): <script src="/pageear/pageear.js" type="text/javascript"></script>
with <script src="/pageear/pageear2.js" type="text/javascript"></script>
I understand the problem is now with themes. Sense I add a new them when I upload mod its putting it all in the SMF Default them. Any ideal why?
great.. work fine at my forum.. :)
Great mod ;)
this mod is a nightmare, it messed me test site up, then the package wouldnt delete, i tried removing it from my database with 2 FTP programs and it denies me permission to remove from my OWN database using my OWN software, i delete the database yet it still wont delete from my public_html saying i DONT have permission to delete from my OWN public_html
Command: DELE pageear_s.swf
Response: 550 Could not delete pageear_s.swf: Permission denied
Damn that doesnt sound good!
Lucky it was a test site.
What mods/edits did you have there, could be a conflict with something, and could help someone else.
Being locked outta your db? The permission thin I mean.
Someone should be able to help you out there champ.
Good luck :)
theres no mods or edits there as ive deleted the whole forum and database but the pageear file
i had edits and mods on the test forum but ive deleted the whole forum and database from the public_html but the pageear denies me permission, the same as it did when i tried to add my own images to it to add my merchandising
Sheeks.
Sorry I cant help you out mate, Im learnin along they way and havent had a db issue such as that to give you any usable advice.
Maybe contact your host to clean it up for you. <~~semi usable ;)
Hopefully you can sort it out soon mate.
Good luck :)
its ok im going to beat it with a big rock untill it goes away........... :D :D :D
LMFAO
Quote from: bullbreedluverz on August 28, 2008, 06:43:47 PM
this mod is a nightmare, it messed me test site up, then the package wouldnt delete, i tried removing it from my database with 2 FTP programs and it denies me permission to remove from my OWN database using my OWN software, i delete the database yet it still wont delete from my public_html saying i DONT have permission to delete from my OWN public_html
Command: DELE pageear_s.swf
Response: 550 Could not delete pageear_s.swf: Permission denied
Sorry to hear that mate, try logging into your webhost control panel and look for "reset FTP permissions" that will reset all file permissions so you are the owner.
Thanks for integrating this nice feature into smf, I have a heavaly modified forum and the install runs without a problem and it's working great.
1 wish I have:
Is it possible to put it on or off by membergroup? And write it already here, show on specific boards etc.
Quote from: qtime on August 30, 2008, 06:38:33 PM
Thanks for integrating this nice feature into smf, I have a heavaly modified forum and the install runs without a problem and it's working great.
1 wish I have:
Is it possible to put it on or off by membergroup? And write it already here, show on specific boards etc.
I did try so you can put in on and off by membergroup but i ran into a problem and i unfortunately dont have the time or the expricnce in adding that. Im still learning.
Sorry to disappoint.
Thats alright champ, just get the multiple ear option done, and you may retire!
lol
;)
Any clue why I'm getting this:
1. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
2. Execute Modification ./Sources/ModSettings.php Test failed
3. Execute Modification ./Themes/default/index.template.php Test successful
4. Extract Tree ./pageear
5. Execute Code install.php
Fresh install of 1.1.6, default theme, with only a few mods installed.
Oz
Yes.
It is because the area where the code is added to the ModSettings.php, is already taken by an addition another mod has made.
You will have to manually add that code yourself.
If you choose to do so, then install the mod regardless of the error, then follow the instructions below.
It is rather easy, so dont feel uneasy if this is your first manual edit :)
Just remember to make a copy of any file you edit. In this case, it is the ModSettings.php
Use a [Package Parser] (http://sleepycode.com/PackageParser/index.php) to get the code you need to add.
Click on browse, select the pageear folder on your computer, select your smf version, or version 1.1.5 if that parser hasnt been updated, and click on send file.
Scroll down till you get to your ModSettings.php code, and follow the directions :)
Make sure you make a copy of your ModSettings.php file first!
Good luck mate :)
Any problems, just post back :)
@ Ozman69 What Sabre™ said. If you still can't get it to work, post your modsettings.php file here.
Thanks Sabre™
My pleasure mate.
I like this mod, so will offer the little assistance I can provide :)
*cough* updates *cough*
lol ;)
Quote from: Sabre™ on September 14, 2008, 05:55:53 PM
My pleasure mate.
I like this mod, so will offer the little assistance I can provide :)
*cough* updates *cough*
lol ;)
lol. I want update this mod but time is never on my side any more :(
Maybe you can take over it ;)
Quote from: KiLLuMiNaTi-7- on September 14, 2008, 05:59:20 PM
lol. I want update this mod but time is never on my side any more :(
Yeah, that happens often. There are usually other things that take priority to updating a mod! lol
Quote from: KiLLuMiNaTi-7- on September 14, 2008, 05:59:20 PM
Maybe you can take over it ;)
LOL.
If I knew how to code, mate Id be helping you do it!
But I dont, so I cant :(
Yet.....
Im slowly learning, and have gotten a grip of xhtml.
When Im comfortable there, then I'll read on to php.
Will be awhile till I can even write my own stuff lol
But all in time ;)
Quote from: Sabre™ on September 14, 2008, 06:07:52 PM
Quote from: KiLLuMiNaTi-7- on September 14, 2008, 05:59:20 PM
lol. I want update this mod but time is never on my side any more :(
Yeah, that happens often. There are usually other things that take priority to updating a mod! lol
Quote from: KiLLuMiNaTi-7- on September 14, 2008, 05:59:20 PM
Maybe you can take over it ;)
LOL.
If I knew how to code, mate Id be helping you do it!
But I dont, so I cant :(
Yet.....
Im slowly learning, and have gotten a grip of xhtml.
When Im comfortable there, then I'll read on to php.
Will be awhile till I can even write my own stuff lol
But all in time ;)
Yea ok. I started by straight away jumping into PHP (Not a good choice) Im 16 and learning at a steady pace.
I've been doing some private work and havn't found the time or the interest in SMF at the moment :( But if i do get some time, this will be the first mod i update :D
Mate youre 16!?? pmsl
Sheeks, when I was 16 I was down on the halfpipe trying to perfect my backside airs! lol
I wish I had interest in computers back then, but have only been online for the last 3 years I think.
Good stuff mate :)
Quote from: KiLLuMiNaTi-7- on September 14, 2008, 06:12:47 PM
.... But if i do get some time, this will be the first mod i update :D
wOOt!!
Glad to hear it :D
OK - I am back to trying to get Page Ear to work. I reinstalled fresh!
I did not get the Admin Selection for Page Ear and at the top of my Forum i had the following code:
$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 unistalled the package to get my Forum back to normal.
Any ideas?
Version - 1.1.6 (Too many mods to list)
Go to your Modifications.english.php in your languages folder, and right at the bottom, youll see all that code.
It will be before this ?>.
Move that to the bottom of the page, so it is the last thing.
eg..
[all
code
here]
?> <~~ then that at the bottom
Quote from: Sabre™ on September 20, 2008, 05:05:17 AM
Go to your Modifications.english.php in your languages folder, and right at the bottom, youll see all that code.
It will be before this ?>.
Move that to the bottom of the page, so it is the last thing.
eg..
[all
code
here]
?> <~~ then that at the bottom
My theme does not have that folder! Nor is it on my site at all?
jmil, look in your default core folder. /Themes/default/languages/
LOL - I thought I looked at every folder. Thanks!!! Will give it a try. Should I Modify first then install it again or Install then modify?
I uninstalled it, only way to get my site back to normal.
Never mind - dumb question, I will install it and modify it then!
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 :)
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
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.
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!
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 ;)
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
Glad I could be of assistance :)
Enjoy
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 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
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)
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?)
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'], '";
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'], '";
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
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]
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>';
}
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 ? :-[
Can this be seen by guests only and not members? I would like to use it as a registration link.
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>';
Hi KiLLuMiNaTi-7-,
Any idea, when the mod will be compactable with 2.0.4 beta.
Quote from: A.SK on November 03, 2008, 12:11:39 PM
Hi KiLLuMiNaTi-7-,
Any idea, when the mod will be compactable with 2.0.4 beta.
I'll give it a go mate, but i've never worked with 2.0 yet. So i don't know how long it will take.
KiLLuMiNaTi-7-,
I make the modification that you give me but it isn't fix fix the error message.
I have alwayse the error message :-[
it's ok :D it's fixed.
the first modification I deleted if ($modSettings['pageear_enable']) and I make the mod. to give me and after that I try if ($modSettings['pageear_enable']) with the mod. and afther that it's ok.
thanks for your help. :)
I have a problem. The Mod only see in the default theme, but not in the custom.
I do all the changes for customs themes.
www.transmitten.com.ar
Thank you!
Quote from: Smitten on November 03, 2008, 04:36:28 PM
I have a problem. The Mod only see in the default theme, but not in the custom.
I do all the changes for customs themes.
www.transmitten.com.ar
Thank you!
You need to add
if ($modSettings['pageear_enable'])
echo'
<script type="text/javascript">
writeObjects();
</script>';
Before
</body></html>
does it work with the last version 1.1.6 ?
Yes it does buddy :)
I installed it succesfully it said but doesn't work for me! where is the problem please???
Have you enabled it in your admin panel?
Features and Options>>>Pageear>>>Enable PageEar
Are you using the smf default theme, or another one?
The more info you provide, the easier it is for people to help :)
i installed succesfully but doesn't work for me neather.. .. it is enabled on administration but it doesn't show.. im not using a default theme .. i made alll changes but doesn't work.. in default theme work.. any help?
tanny
Did you add the code which goes into your index.template, to the index.template of your custom theme?
If you havent, you will need to do that in order to see it in action on your custom theme
of course.. but it doesn't work for me..
Well, to be honest, you havent shown us what code you have added, what theme you are using or a link to your site, so noone can help you unless we know/see what the problem is.
Could be as simple as a missing character
Refer to [THIS] (http://docs.simplemachines.org/index.php?topic=494) link
Hello Sabre, I'm using the last version, 1.1.6 SMF in default theme.
The install is successful but doesn't show me the pageear! I tryed in every maner.
Ah ok I'm using a Mkportal.
Thanks if you give me any help!
Ok, Ive never touched on MKportal before mate, so Im not sure if that would make any difference.
I could say no, as I dont see why it would, but then as I said, Ive never used MKportal.
But we can try these steps :)
Can you check that the Pageear folder was added to the root of your forum.
That is where your settings.php template and packages folder is.
Then check that the code was added to your Modifications.english.php template in your languages folder.
Could we also have a link to your site also mate?
It will be a faster process if we can see what's happening :)
ok lol.. maybe im wrong.. sooo here is attached my Index.template so can u do all the changes for me?
im using Custom Theme.. in default theme works great..
thnx
tanny
A search of this topic doesn't tell me, so I'll ask here...
Does this work on 1.1.7?
Thanks!
Yes, it should install perfectly fine in SMF 1.1.7
@ tanny
Try the attached index.template.
I dont know if you missed anything, as I overwrote your edits.
Report back on how you go
Cheers :)
wow.. thnx its working .. great job..
i appreciate this...
tanny
My pleasure buddy
Enjoy :)
Could you take a look at mines?
I am using a custom theme and made the needed edits required.
I installed it with no errors, enabled it in the admin panel with the correct settings and yet I see nothing.
Thanks.
-edit-
I even tried it in the default theme and it dont work.
btw im using 1.1.7
Not a problem -SyN-
Could you try the attached file plz.
Also check that the "pageear" folder was uploaded with all its contents to the root of your forum.
In case you're unsure what the root is, it is where your avatar, packages, theme and other folders are stored.
Report back if it worked or not.
Quote from: -SyN- on November 25, 2008, 09:51:19 AMI even tried it in the default theme and it dont work.
May I also see your default themes index.template.php
Cheers :)
Re installed the mod, made the edits again, used your modified index.template.php file, still nothing and the page ear folder was in the root folder.
See for yourself.
http://clubsyn-x-treme.net/-X-/index.php?action=forum
also,
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg140.imageshack.us%2Fimg140%2F7337%2F61621207as5.th.jpg&hash=d43f69cb88566e1799d74677e552dfdd6e27200d) (http://img140.imageshack.us/my.php?image=61621207as5.jpg)
Here is the default forum index.template.php attached.
Ok I checked that template, and couldn't find any fault in your edits.
I checked the root of your forum and saw the pageear folder where it should be, with all its content.
You have the mod enabled in the Admin panel correct?
Then may I double check your ModSettings.php just to eliminate that from the equation.
After that, I'd make the assumption that you have another js that is interfering with this mod.
But thats only an uneducated guess.
You would need to wait for KiLLuMiNaTi to look further into this problem, if there is also no fault in the Modsettings template.
But if you may, upload your modsettings template please :)
Cheers
My problem is exactly that of Syns.
I've manually installed into my Index.template.php (In DILBER folder) but see nothing.
I'm using the DILBER theme, version 1.1.7 SMF.
Ummm PageEar folder is located at root position.
I've attached my template.
Any guidance or pointers would be welcome. :)
Howdy Fat_Man
Try the attached file, and let me know how ya go :)
Quote from: Sabre™ on November 26, 2008, 05:09:50 AM
Howdy Fat_Man
Try the attached file, and let me know how ya go :)
KAPOW !!!Thanks Sabre. That got it going.
My problem is solved.I'm going to compare to see what i was doing wrong. :D
Quote from: Sabre™ on November 25, 2008, 09:48:53 PM
Ok I checked that template, and couldn't find any fault in your edits.
I checked the root of your forum and saw the pageear folder where it should be, with all its content.
You have the mod enabled in the Admin panel correct?
Then may I double check your ModSettings.php just to eliminate that from the equation.
After that, I'd make the assumption that you have another js that is interfering with this mod.
But thats only an uneducated guess.
You would need to wait for KiLLuMiNaTi to look further into this problem, if there is also no fault in the Modsettings template.
But if you may, upload your modsettings template please :)
Cheers
Quote from: KiLLuMiNaTi-7- on November 03, 2008, 05:34:33 PM
You need to add
if ($modSettings['pageear_enable'])
echo'
<script type="text/javascript">
writeObjects();
</script>';
Before
</body></html>
Thanks for the solution but don´t worked. Another suggestion? Thank again.
@ -SyN-
All your templates are fine mate.
I see no reason why this mod shouldn't be functioning, unless something else is interfering with it(another mod or Js), or I have been hoodwinked lol ;)
I don't have enough experience with code, or time to carry on from here.
Sorry I couldn't be of more assistance to you mate.
The mod author, or someone who has had a similar problem and has solved it, may see something I do not, and can further assist you.
Maybe storm or gatlin may take a look for you.
It may possibly be the login script to the top right that's affecting it, as when activated, this mod will render that area unusable.
But thats only an uneducated guess.
Good luck buddy :)
@ Smitten
If you like, I could take a quick look at your index.template
Thanks Sabre!!
Here is the index.template
My theme is Extreme6. Bye.
Quote from: Sabre™ on November 26, 2008, 04:24:38 PM
@ -SyN-
All your templates are fine mate.
I see no reason why this mod shouldn't be functioning, unless something else is interfering with it(another mod or Js), or I have been hoodwinked lol ;)
I don't have enough experience with code, or time to carry on from here.
Sorry I couldn't be of more assistance to you mate.
The mod author, or someone who has had a similar problem and has solved it, may see something I do not, and can further assist you.
Maybe storm or gatlin may take a look for you.
It may possibly be the login script to the top right that's affecting it, as when activated, this mod will render that area unusable.
But thats only an uneducated guess.
Good luck buddy :)
I have the Avatar Reflection mod that uses Js installed, Ill see what happens with if I remove it.
-Edit-
I give up, This mod isnt for me.
Ok buddy, sorry I couldnt figure out what went wrong, the mod author must be too busy to help. :-\
If you like, you may PM me a temp account, and we can try n work it out there hands on.
Up to you buddy :)
Im going camping this weekend, but will be back online on Monday.
So it gives you some time to think on it.
@ Smitten
Try the attached file buddy
Quote from: Sabre™ on November 27, 2008, 05:43:22 PM
@ Smitten
Try the attached file buddy
Thank you very much bro! It´s work!
1. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
2. Execute Modification ./Sources/ModSettings.php Test failed
3. Execute Modification ./Themes/default/index.template.php Test successful
Conflict with another MOD. This may have to be updated.
@ -SyN-
My guess is that it is another modification conflicting with this one, but by looks of things Sabre has helped you enough with this and i don't think there is anything I can do. But if you have give up thats fine.
Quote from: TheDisturbedOne on November 28, 2008, 09:25:04 AM
1. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
2. Execute Modification ./Sources/ModSettings.php Test failed
3. Execute Modification ./Themes/default/index.template.php Test successful
Conflict with another MOD. This may have to be updated.
Im afraid you will have to do a manual install, try to follow my steps carefully ;)
I would like to thank Sabre for taking time to help me a lot with the support. So thanks mate ;D
Ok I will do that then.
Not sure if this will help SYN at all, but initially I think I had LEECH protect set up on my CPANEL which I think caused interference problems.
Actually it is a problem with the code:
Rather than:
<operation>
<search position="after"><![CDATA[ );
// By default do the basic settings.
$_REQUEST['sa'] = isset($_REQUEST['sa']) && isset($subActions[$_REQUEST['sa']]) ? $_REQUEST['sa'] : 'basic';
$context['sub_action'] = $_REQUEST['sa'];]]></search>
<add><![CDATA[
'pageear' => 'ModifyPageearSettings',]]></add>
</operation>
<operation>
<search position="after"><![CDATA[ 'karma' => 'ModifyKarmaSettings',]]></search>
<add><![CDATA[
'pageear' => 'ModifyPageearSettings',]]></add>
</operation>
It worked for me after that.
I think the place that it was set to put it was an illogical place.
I got an error before I moved it.
If you have other mods editing that area, it will need to be manually edited.
eg.
Your added edit above would not work for me, as I have mods taking the area before, and after
karma' => 'ModifyKarmaSettings', ....
Illogical??
I dunno..
All mods are set to install on a fresh board, with no edits.
You cannot predict what mod will edit a certain area, so work from the fresh template.
When failed, the mod parser will show you the section to add the code, and you can make the changes accordingly, as you have done.
Congrats on getting it to work for you.
Enjoy :)
Quote from: Fat_Man on November 28, 2008, 06:35:26 PMNot sure if this will help SYN at all, but initially I think I had LEECH protect set up on my CPANEL which I think caused interference problems.
Thanks for that info Fat_Man.
Anything is worth a try at this point.
We'll see if he still needs assistance or not.
Cheers :)
Quote from: Sabre™ on November 29, 2008, 05:12:43 PM
If you have other mods editing that area, it will need to be manually edited.
eg.
Your added edit above would not work for me, as I have mods taking the area before, and after
karma' => 'ModifyKarmaSettings', ....
Illogical??
I dunno..
All mods are set to install on a fresh board, with no edits.
You cannot predict what mod will edit a certain area, so work from the fresh template.
When failed, the mod parser will show you the section to add the code, and you can make the changes accordingly, as you have done.
Congrats on getting it to work for you.
Enjoy :)
Quote from: Fat_Man on November 28, 2008, 06:35:26 PMNot sure if this will help SYN at all, but initially I think I had LEECH protect set up on my CPANEL which I think caused interference problems.
Thanks for that info Fat_Man.
Anything is worth a try at this point.
We'll see if he still needs assistance or not.
Cheers :)
It didn't work all the way for me:
http://www.simplemachines.org/community/index.php?topic=277350.msg1819492#msg1819492
Works on default theme though.
Yep, well you've posted in 2 of the boards where it will be noticed.
Good luck
A problem again...
Sabre, the index.template that you gave me worked one week. But now, it was dissapeared.
I don´t know what to do...
I have the Simple Machine Gallery Mod installed.
Hi mate.
Do you recall what mods you installed after you had this working?
It may most definitely be a conflict between 2 or more mods.
I have never used the gallery mod, so do not know anything about it.
If you can, leave us a link to your site also buddy.
I checked the errors log and i found a problem with Gallery Mod.
8: Undefined index: pageear_closeonload
Archivo: /home/tsmitten/public_html/Themes/default/languages/MGallery.spanish.php (main_above sub template - eval?)
Línea: 115
http://transmitten.com.ar
Hmmm...
Im guessing that is not the initial source of the error.
Can you run this query through your db, then do what you do to get that error, and post back what the new error is in your log.
REPLACE INTO smf_settings VALUES ('disableTemplateEval', 1);
When you've recorded the new error, run this query to return to normal.
DELETE FROM smf_settings WHERE variable = 'disableTemplateEval';
I have an idea what is happening, but that is all it is.... an idea we can eliminate.
We shall see ;)
i don´t know about database :-[
That is ok buddy, we slowly learn what we need to ;)
We may have to wait for KiLLuMiNaTi and see if he has experienced or duplicated your error before.
Or if anyone else knows how to fix this.
But until then, can you attach these 3 files
- Modifications.spanish.php >> located in your language folder
- ModSettings.php >> located in your sources folder
- index.template.php
Thanks for your answer Sabre ;)
Here are the files.
Your files look fine.
Do you have [pretty urls] (http://custom.simplemachines.org/mods/index.php?mod=636) mod installed?
I ask this as I couldn't see your pageear folder without entering the whole url to each of its contents.
Quote from: Sabre™ on December 02, 2008, 06:09:46 PM
Your files look fine.
Do you have [pretty urls] (http://custom.simplemachines.org/mods/index.php?mod=636) mod installed?
I ask this as I couldn't see your pageear folder without entering the whole url to each of its contents.
Yes, i have pretty url´s.
I want my pageear please :'(
Can you disable pretty urls for a second, then see if the pageear mod works.
I think we may have found your conflict if it does work.
From there we can move forward :)
Ok Sabre, thank you again.
I had pretty url installed long time ago, but i´ll try...
Ok, I disabled pretty url´s and didn´t worked...
I´m apologize for the inconvenience
Nah mate, no problem what so ever.
Can you list the mods you added after this mod.
If you have forgotten, you can look in your packages folder, and then the backup folder within.
List the mods after the backup file named...
"before pageear" It will be something like that
The last mod was pageear, but later, dragooon did a modification in the gallery mod. Then, pageear dissapeared...
I think that the problem is a .js file...
Yeah most probably buddy.
They can conflict.
Im not educated enough to help you with that, dragooon may possibly be able to assist you.
Sorry I couldnt be of more assistance Smitten.
Hope it gets sorted for you.
Good luck
Hi,
I have include the PageEar Mod in my Site but i doesn´t work. :(
I work wit babylon Design.
I assume its this site: www.h0-welt.de?
If so try removing some of your javascript scripts that you have on your site
Try removing:
The Willkommen Gast popup at the top, or
Disable right mouse click Script, or
Sitepreview v1.3
I don't think pageear works good with other javascript scripts :( As many others are having similar problems.
Thanks for this awesome Mode- I ve been looking for a mode like this for a long time!!!
Please, somebody can help me?
I need too much this mod but it doesn´t work in my forum.
Not even in the Default theme.
The installation is fine in all steps.
What can i do?
can i put my adsense their?
no answer for me?
Please... :(
Quote from: gilanisoft on February 04, 2009, 08:50:40 PM
can i put my adsense their?
I'm pretty sure that's against adsense rules.
@ Smitten - what's the location of your forum?
Quote from: ameo on February 06, 2009, 03:24:24 PM
@ Smitten - what's the location of your forum?
http://www.transmitten.com.ar/forum/
This is the location and i give you my index.template
Thanks!!
Please, i just wish a help. I need this mod and i don´t know what happen...
i using smf_clear theme (http://custom.simplemachines.org/themes/index.php?lemma=1154)
and i install this mod and i cannot see the affect.
in defulte theme its work.
i attach the index.template.php
u can see what no good in the file?
Quote from: KiLLuMiNaTi-7- on August 08, 2008, 07:16:25 AM
B) Well you can try manually doing it. By finding theses lines:
var thumbWidth = "100"; var thumbHeight = "100";
var bigWidth = "500"; var bigHeight = "500";
and changing the sizes ;)
Hello,
First of all, thank you very much for this great job!. When I resize the small image to 150pixel, destroyed the its resolution. I think I need the resize "pageear_s.swf" to 150pixel, but how?
Regards,
Sedat
Quote from: ameo on February 06, 2009, 03:24:24 PM
Quote from: gilanisoft on February 04, 2009, 08:50:40 PM
can i put my adsense their?
I'm pretty sure that's against adsense rules.
@ Smitten - what's the location of your forum?
yeah...but if i have some other addnetwork.then.who dont have this rule.in that case how can i put that code their.i am using obeus as my addnetwork.
one morething and i decrease the size of ear after mouse over it.(sorry for my dumbness as iam very newbie)
@Smitten
I've had a look at your index.template.php and everything seems fine. Maybe its conflicting javascript code :( I notice you have several other javascript applications, pageear doesn't work very well with other mods im afraid.
@ttuu
I cant see no problem with your file. Check that the pageear file paths are correct.
@yol
I don't think you can resize the swf file without the original 'fla' file im afraid. The pageear only looks good with a width of 100px width sorry.
Thank you friend :)
Quote from: KiLLuMiNaTi-7- on February 17, 2009, 07:33:49 AM
@Smitten
I've had a look at your index.template.php and everything seems fine. Maybe its conflicting javascript code :( I notice you have several other javascript applications, pageear doesn't work very well with other mods im afraid.
Thanks! i waited an answer.
I have a ton of mods on my site and when I first installed this mod I ended up with ALL of this mods code from modsettings.php in text form at the top of all my pages.
$txt['pageear_settings_title'] = 'PageEar';
$txt['pageear_enable'] = 'Enable PageEar';
$txt['pageear_small_url'] = 'URL to small image<br /><span class="smalltext">(http://yourwebsite.com/small_image.jpg)<br />(Must be 100x100)</span>';
$txt['pageear_big_url'] = 'URL to big image<br /><span class="smalltext">(http://yourwebsite.com/big_image.jpg)<br />(Must be 500x500)</span>';
$txt['pageear_mirror'] = 'Mirror effect<br /><span class="smalltext">(Use "true" or "false" only)</span>';
$txt['pageear_jumpto'] = 'URL to jump to<br /><span class="smalltext">(http://yourwebsite.com/gohere.html)</span>';
$txt['pageear_opennew'] = 'Open in same or new window<br /><span class="smalltext">(Use "new" or "self" only)</span>';
$txt['pageear_onload'] = 'Open pageear automatically<br /><span class="smalltext">("false" = Disable it opening automatically | "0.1" = Open automatically after X seconds)</span>';
$txt['pageear_pageear_closeonload'] = 'Second until pageEar close\'s<br /><span class="smalltext">(Only change if the above option has been changed)</span>';
$txt['pageear_rtlt'] = 'Set direction of pageEar in left or right top browser corner<br /><span class="smalltext">(Use lt = left or rt = right)</span>';
$txt['pageear_softfade'] = 'Fade in pageEar if image completely loaded<br /><span class="smalltext">(0-5: 0=off, 1=slow, 5=fast )</span>';
and the "pageear" tab was not present in my admin panel.
I opened my modestting.php file and moved it up the list from the last and everything works. Probably means there is an error in my mod settings page but since I am not good enough in coding I guess I patched it ;D
For future enhancements how about using all four corner's selectable on and off with seperate links :D
Hiya
One quick question, where do you change the text on the Page Ear thing when it opens up. Mine just says - Your Text Here
Where do you change it?
Joe
Quote from: WBA Dude on March 14, 2009, 08:13:55 AM
Hiya
One quick question, where do you change the text on the Page Ear thing when it opens up. Mine just says - Your Text Here
Where do you change it?
Joe
Read the instructions, its a image not text.
Quote from: slvreagl on March 14, 2009, 09:32:02 AM
Quote from: WBA Dude on March 14, 2009, 08:13:55 AM
Hiya
One quick question, where do you change the text on the Page Ear thing when it opens up. Mine just says - Your Text Here
Where do you change it?
Joe
Read the instructions, its a image not text.
But it says
Your Text Here
See attachment
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_b.jpg - When its open.
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?
Yes, upload your own image.
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.
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?
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
trying this one now
Thanks!
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
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
</body></html>
';
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 ;)
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
</body></html>
';
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?
Attach your current theme index.template.php here and i'll take a look for you.
thanks.
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
Find:
var closeOnLoad = "', $modSettings['pageear_closeonload'], '";
Replace with:
var closeOnLoad = "', $modSettings['pageear_pageear_closeonload'], '";
(my stupid mistake sorry)
Eh, still not working for me. Thanks anyway.
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;
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!
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/
I want when i click on peel to redirect me to http://www.air-serbia.com/index1.php!
How can i do that?
Thanks in advance.
Hello,
Go into admin -> PageEar -> URL to jump to. <- edit this to the link you want the pagepeel to go to ;)
But, i haven't PageEar in my Admin panel!
Hi,
I am using smf 1.1.9, n i have got it to work on the default theme. i am not able to get it to work on one of the dziner studio themes that i am currently using. i have made all the edits in the index.template file for this theme but it just refuses to work. Could you please have a look and suggest something? It does appear in the features n options area of my admin section though.
www.labradorchat.com
Thank you in advance.
AI
@ Winglet
Could you attach your ModSettings.php located in your Sources folder.
@ AI
May I look at your custom themes index.template.php?
If so, attach it to your next post :)
Here are.
Hi mate, all the code is there, and it is showing when I test your template on my own site.
Are you looking in your Features and Options section in your admin panel?
You should see Basic Features Layout and Options PageEar Karma
Thank you Sabre. Find attached my index.template.php file
-AI
My pleasure buddy :)
You had a line of code all on one line with // canceling it out.
It should work now.
Enjoy :)
@Sabre
Thanks man. Everything is OK now.
I put code to Modifications.english-utf8.php, and now is OK.
Thanks again!
Anytime buddy :)
Just remember if all the functions are there, but the words are not, to check your language UTF8 files ;)
regards
Works like a breeze. Thanks a ton man. Appreciate it. :)
-AI
seems I am having trouble whenever I replacing my Modsettings. The pagepeel appears but whenever I want to configure it on ACP, I get blank page.
Attached is the Modsettings.
Can someone please give me a help.
TIA
Hi There,
I manually installed this mod. But the option is not shown in my features & Options section.
* Basisinstellingen | Lay-out | | | Aeva | Aeva Sites | Karma | (I'm using the dutch language, but even when i Change this to Englis it's not there.)
Could anyone please take a look what's wrong? TX!
Index-template attached
@ akosiparusa
Your Ultimate Profile edits were causing the error.
Try the attached Modsettings file.
@ usa4all
See if the attached index.template helps
If not, see if you have a file named Modifications.english-utf8.php or Modifications.dutch-utf8.php and add the language strings to them
Quote from: Sabre™ on July 06, 2009, 05:31:18 AM
@ usa4all
See if the attached index.template helps
If not, see if you have a file named Modifications.english-utf8.php or Modifications.dutch-utf8.php and add the language strings to them
Tx, i see the ear, but can't find the settings, even if i change to English .. any suggestions?
Quote from: usa4all on July 06, 2009, 06:47:38 AM
Quote from: Sabre™ on July 06, 2009, 05:31:18 AM
@ usa4all
See if the attached index.template helps
If not, see if you have a file named Modifications.english-utf8.php or Modifications.dutch-utf8.php and add the language strings to them
Tx, i see the ear, but can't find the settings, even if i change to English .. any suggestions?
GOT IT !
Had to change ./Themes/default/languages/Modifications.english.php manually..
Hi,
I did translated in to DUTCH, (Modifications.dutch.php)
Quote$txt['pageear_settings_title'] = 'PageEar';
$txt['pageear_enable'] = 'PageEar aanzetten';
$txt['pageear_small_url'] = 'URL voor het kleine plaatje<br /><span class="smalltext">(http://www.jouwwebsite.nl/pageear_s.jpg)<br />(Moet zijn 100x100)</span>';
$txt['pageear_big_url'] = 'URL voor het grote plaatje<br /><span class="smalltext">(http://www.jouwwebsite.nl/pageear_b.jpg)<br />(Moet zijn 500x500)</span>';
$txt['pageear_mirror'] = 'Spiegel effect<br /><span class="smalltext">(Gebruik "true" voor aan of "false" voor uit)</span>';
$txt['pageear_jumpto'] = 'URL verwijzen naar<br /><span class="smalltext">(http://www.jouwwebsite.nl/hiernaartoe.html)</span>';
$txt['pageear_opennew'] = 'Openen in zelfde of nieuw venster<br /><span class="smalltext">(Gebruik "new" voor nieuw venster of "self" voor openen in het zelfde venster)</span>';
$txt['pageear_onload'] = 'Open pageear automatisch<br /><span class="smalltext">("false" = Niet automatisch openen | "0.1" = Open automatisch na X seconden)</span>';
$txt['pageear_pageear_closeonload'] = 'Aantal seconden voor het sluiten van page ear<br /><span class="smalltext">(alleen gebruiken als u bovenstaand optie heeft gewijzigd)</span>';
$txt['pageear_rtlt'] = 'Links of rechts in browser<br /><span class="smalltext">(gebruik lt = links of rt = rechts)</span>';
$txt['pageear_softfade'] = 'Fade in pageEar als pagina volledig is geladen<br /><span class="smalltext">(0-5: 0=uit, 1=langzaam, 5=snel )</span>';
I tested on my own site and it's working fine. Maybe anyone want to use it!
i am installed page ear in ma forum
now can u say how it shows ?
there is no change in ma forum
visit www.mobile4m.com and help me to show page ear
thank s
This is a good modern mode, Thank you! Where do I put the images. I seem to be unable to find them
Quote from: dkharp on December 13, 2009, 07:45:29 AM
This is a good modern mode, Thank you! Where do I put the images. I seem to be unable to find them
You upload them somewhere to your server then define them in your admin panel as you can see here (URL to small image & URL to big image):
http://custom.simplemachines.org/mods/index.php?action=download;mod=1305;id=124210;image
If your on SMF 1.1.X goto admin -> features and options -> PageEar.
Thanks! after taking a bit more time I noticed it says right next to it.
Here is what I did with mine.
www.36thid.com (http://www.36thid.com)
Hello,
I am getting a new error. When I go into admin settings to adjust. I get this now.
QuoteFatal error: Call to undefined function ModifyPageEarModSettings() in /home/content/j/o/h/johnnyskid/html/Sources/ManageSettings.php on line 227
Can anyone help?
Quote from: dkharp on December 18, 2009, 02:52:45 PM
Hello,
I am getting a new error. When I go into admin settings to adjust. I get this now.
QuoteFatal error: Call to undefined function ModifyPageEarModSettings() in /home/content/j/o/h/johnnyskid/html/Sources/ManageSettings.php on line 227
Can anyone help?
Somehow the ModifyPageEarModSettings() function disappeared :s
Try replacing the file with this one.
I just got done looking at it. The part u add to the bottom before the > was gone. Thanks you for your response.
Very nice mod, but I'm having some issues.
I installed on SMF 2.0 RC2. I get this error in my error log (also confirmed on a fresh install of SMF 2.0 RC2):
Quote8: Undefined index: pageear_settings_descFile: /home/xxx/xxx.com/Sources/ManageSettings.php
Line: 211
Here is the code around that area:
// Load up all the tabs...
$context[$context['admin_menu_name']]['tab_data'] = array(
'title' => $txt['admin_modifications'],
'help' => 'modsettings',
'description' => $txt['modification_settings_desc'],
'tabs' => array(
'general' => array(
),
'pageear' => array(
'label' => $txt['pageear_settings_title'],
'description' => $txt['pageear_settings_desc'],
),
'chat' => array(
'label' => $txt['chat'],
'description' => $txt['chat_settings_desc'],
),
'rssfeeds' => array(
'description' => $txt['rss_feeder_desc'],
),
),
);
The other this is it works on the default theme, but not the custom theme I made. No errors, no parse errors, nothing. I followed the instructions for SMF 2.0. Here is my index.template.php code:
<?php
// Version: 2.0 RC2; index
/* This template is, perhaps, the most important template in the theme. It
contains the main template layer that displays the header and footer of
the forum, namely with main_above and main_below. It also contains the
menu sub template, which appropriately displays the menu; the init sub
template, which is there to set the theme up; (init can be missing.) and
the linktree sub template, which sorts out the link tree.
The init sub template should load any data and set any hardcoded options.
The main_above sub template is what is shown above the main content, and
should contain anything that should be shown up there.
The main_below sub template, conversely, is shown after the main content.
It should probably contain the copyright statement and some other things.
The linktree sub template should display the link tree, using the data
in the $context['linktree'] variable.
The menu sub template should display all the relevant buttons the user
wants and or needs.
For more information on the templating system, please see the site at:
http://www.simplemachines.org/
*/
// Initialize the template... mainly little settings.
function template_init()
{
global $context, $settings, $options, $txt;
/* Use images from default theme when using templates from the default theme?
if this is 'always', images from the default theme will be used.
if this is 'defaults', images from the default theme will only be used with default templates.
if this is 'never' or isn't set at all, images from the default theme will not be used. */
$settings['use_default_images'] = 'never';
/* What document type definition is being used? (for font size and other issues.)
'xhtml' for an XHTML 1.0 document type definition.
'html' for an HTML 4.01 document type definition. */
$settings['doctype'] = 'xhtml';
/* The version this template/theme is for.
This should probably be the version of SMF it was created for. */
$settings['theme_version'] = '2.0 RC2';
/* Set a setting that tells the theme that it can render the tabs. */
$settings['use_tabs'] = true;
/* Use plain buttons - as opposed to text buttons? */
$settings['use_buttons'] = true;
/* Show sticky and lock status separate from topic icons? */
$settings['separate_sticky_lock'] = true;
/* Does this theme use the strict doctype? */
$settings['strict_doctype'] = false;
/* Does this theme use post previews on the message index? */
$settings['message_index_preview'] = false;
/* Set the following variable to true if this theme requires the optional theme strings file to be loaded. */
$settings['require_theme_strings'] = false;
}
// The main sub template above the content.
function template_html_above()
{
global $context, $settings, $options, $scripturl, $txt, $modSettings;
// Show right to left and the character set for ease of translating.
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"', $context['right_to_left'] ? ' dir="rtl"' : '', '>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=', $context['character_set'], '" />
<meta name="description" content="', $context['page_title_html_safe'], '" />
<meta name="keywords" content="', $context['meta_keywords'], '" />
<title>', $context['page_title_html_safe'], '</title>';
// Please don't index these Mr Robot.
if (!empty($context['robot_no_index']))
echo '
<meta name="robots" content="noindex" />';
// Present a canonical url for search engines to prevent duplicate content in their indices.
if (!empty($context['canonical_url']))
echo '
<link rel="canonical" href="', $context['canonical_url'], '" />';
// The ?rc2 part of this link is just here to make sure browsers don't cache it wrongly.
echo '
<link rel="stylesheet" type="text/css" href="', $settings['theme_url'], '/css/index', $context['theme_variant'], '.css?rc2" />
<link rel="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/print.css?rc2" media="print" />';
// Show all the relative links, such as help, search, contents, and the like.
echo '
<link rel="help" href="', $scripturl, '?action=help" />
<link rel="search" href="', $scripturl, '?action=search" />
<link rel="contents" href="', $scripturl, '" />';
// If RSS feeds are enabled, advertise the presence of one.
if (!empty($modSettings['xmlnews_enable']) && (!empty($modSettings['allow_guestAccess']) || $context['user']['is_logged']))
echo '
<link rel="alternate" type="application/rss+xml" title="', $context['forum_name_html_safe'], ' - ', $txt['rss'], '" href="', $scripturl, '?type=rss;action=.xml" />';
// If we're viewing a topic, these should be the previous and next topics, respectively.
if (!empty($context['current_topic']))
echo '
<link rel="prev" href="', $scripturl, '?topic=', $context['current_topic'], '.0;prev_next=prev" />
<link rel="next" href="', $scripturl, '?topic=', $context['current_topic'], '.0;prev_next=next" />';
// If we're in a board, or a topic for that matter, the index will be the board's index.
if (!empty($context['current_board']))
echo '
<link rel="index" href="', $scripturl, '?board=', $context['current_board'], '.0" />';
// Some browsers need an extra stylesheet due to bugs/compatibility issues.
foreach (array('ie7', 'ie6', 'firefox', 'webkit') as $cssfix)
if ($context['browser']['is_' . $cssfix])
echo '
<link rel="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/', $cssfix, '.css" />';
// The ?rc1 part of this link is just here to make sure browsers don't cache it wrongly.
echo '
<link rel="stylesheet" type="text/css" href="', $settings['theme_url'], '/style', $context['theme_variant'], '.css?rc1" />';
// RTL languages require an additional stylesheet.
if ($context['right_to_left'])
echo '
<link rel="stylesheet" type="text/css" href="', $settings['theme_url'], '/css/rtl.css" />';
echo '
<script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/script.js?rc2"></script>
<script type="text/javascript" src="', $settings['theme_url'], '/scripts/theme.js?rc2"></script>
<script language="JavaScript" type="text/javascript" src="', $settings['theme_url'], '/scripts/mootools.js"></script>
<script language="JavaScript" type="text/javascript" src="', $settings['theme_url'], '/scripts/menu.js"></script>
<script language="JavaScript" type="text/javascript" src="', $settings['theme_url'], '/scripts/main.js"></script>
<script type="text/javascript"><!-- // --><![CDATA[
var smf_theme_url = "', $settings['theme_url'], '";
var smf_default_theme_url = "', $settings['default_theme_url'], '";
var smf_images_url = "', $settings['images_url'], '";
var smf_scripturl = "', $scripturl, '";
var smf_iso_case_folding = ', $context['server']['iso_case_folding'] ? 'true' : 'false', ';
var smf_charset = "', $context['character_set'], '";', $context['show_pm_popup'] ? '
var fPmPopup = function ()
{
if (confirm("' . $txt['show_personal_messages'] . '"))
window.open(smf_prepareScriptUrl(smf_scripturl) + "action=pm");
}
addLoadEvent(fPmPopup);' : '', '
var ajax_notification_text = "', $txt['ajax_in_progress'], '";
var ajax_notification_cancel_text = "', $txt['modify_cancel'], '";
// ]]></script>';
// Output any remaining HTML headers. (from mods, maybe?)
if($modSettings['pageear_enable'])
echo '
<script type="text/javascript" src="', $settings['default_theme_url'],' /scripts/pageear/AC_OETags.js"></script>
<script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/pageear/pageear.js"></script>
<script type="text/javascript">
var pagearSmallImg = "', $modSettings['pageear_surl'], '";
var pagearSmallSwf = "', $settings['default_theme_url'], '/scripts/pageear/pageear_s.swf";
var pagearBigImg = "', $modSettings['pageear_burl'], '";
var pagearBigSwf = "', $settings['default_theme_url'], '/scripts/pageear/pageear_b.swf";
var speedSmall = "3";
var mirror = "', (empty($modSettings['pageear_mirror_effect']) ? 'false' : 'true'), '";
var pageearColor = "ffffff";
var jumpTo = "', $modSettings['pageear_jump_to'], '"
var openLink = "', $modSettings['pageear_open_new'], '";
var openOnLoad = "', (empty($modSettings['pageear_on_load']) ? 'false' : $modSettings['pageear_on_load']), '";
var closeOnLoad = "', $modSettings['pageear_close_onload'], '";
var setDirection = "', (empty($modSettings['pageear_lt']) ? 'rt' : 'lt' ), '";
var softFadeIn = "', $modSettings['pageear_soft_fade'], '";
var requiredMajorVersion = "6";
var requiredMinorVersion = "0";
var requiredRevision = "0";
var copyright = "Webpicasso Media, www.webpicasso.de";
var thumbWidth = "100";
var thumbHeight = "100";
var bigWidth = "500";
var bigHeight = "500";
var xPos = "right";
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 += "©right="+escape(copyright);
queryParams += "&speedSmall="+escape(speedSmall);
queryParams += "&openOnLoad="+escape(openOnLoad);
queryParams += "&closeOnLoad="+escape(closeOnLoad);
queryParams += "&setDirection="+escape(setDirection);
queryParams += "&softFadeIn="+escape(softFadeIn);</script>';
echo $context['html_headers'];
echo '
</head>
<body>';
}
function template_body_above()
{
global $context, $settings, $options, $scripturl, $txt, $modSettings;
echo '
<img class="btitle" src="', $settings['images_url'], '/theme/header-left.png" alt="" />
<div class="bheaderbg"><img class="bheader-right" src="', $settings['images_url'], '/theme/header-right.jpg" alt="" /></div>
<div class="bmargin">';
echo !empty($settings['forum_width']) ? '
<div id="wrapper" style="width: ' . $settings['forum_width'] . '">' : '', '
<div id="indexmenubg"><div class="frame">';
// Show the menu here, according to the menu sub template.
template_menu();
echo '
<br class="clear" /><br class="clear" />';
// Show the navigation tree.
theme_linktree();
echo '
</div>
</div>';
// The main content should go here.
echo '
<div id="content_section"><div class="frame">
<div id="main_content_section">';
}
function template_body_below()
{
global $context, $settings, $options, $scripturl, $txt, $modSettings;
echo '
<br /></div>
</div>
</div>';
// Show the "Powered by" and "Valid" logos, as well as the copyright. Remember, the copyright must be somewhere!
echo '
<div id="footer_section">
<div class="frame">', theme_copyright(), '| Design By: <a href="http://xarthemes.com" target="_blank">Xarcell</a>';
// Show the load time?
if ($context['show_load_time'])
echo '
<p>', $txt['page_created'], $context['load_time'], $txt['seconds_with'], $context['load_queries'], $txt['queries'], '</p>';
echo '
</div>
</div>
</div>';
}
function template_html_below()
{
global $context, $settings, $options, $scripturl, $txt, $modSettings;
echo '
', ($modSettings['pageear_enable'] ? '<script type="text/javascript">
writeObjects();
</script>' : '') , '</body></html>';
}
// Show a linktree. This is that thing that shows "My Community | General Category | General Discussion"..
function theme_linktree($force_show = false)
{
global $context, $settings, $options, $shown_linktree;
// If linktree is empty, just return - also allow an override.
if (empty($context['linktree']) || (!empty($context['dont_default_linktree']) && !$force_show))
return;
// Reverse the linktree in right to left mode.
if ($context['right_to_left'])
$context['linktree'] = array_reverse($context['linktree'], true);
echo '
<div class="navigate_section">
<ul>';
// Each tree item has a URL and name. Some may have extra_before and extra_after.
foreach ($context['linktree'] as $link_num => $tree)
{
echo '
<li', ($link_num == count($context['linktree']) - 1) ? ' class="last"' : '', '>';
// Don't show a separator for the last one (RTL mode)
if ($link_num != count($context['linktree']) - 1 && $context['right_to_left'])
echo '« ';
// Show something before the link?
if (isset($tree['extra_before']))
echo $tree['extra_before'];
// Show the link, including a URL if it should have one.
echo $settings['linktree_link'] && isset($tree['url']) ? '
<a href="' . $tree['url'] . '"><span>' . $tree['name'] . '</span></a>' : '<span>' . $tree['name'] .'</span>';
// Show something after the link...?
if (isset($tree['extra_after']))
echo $tree['extra_after'];
// Don't show a separator for the last one.
if ($link_num != count($context['linktree']) - 1 && !$context['right_to_left'])
echo ' »';
echo '
</li>';
}
echo '
</ul>
</div>';
$shown_linktree = true;
}
// Show the menu up top. Something like [home] [help] [profile] [logout]...
function template_menu()
{
global $context, $settings, $options, $scripturl, $txt;
echo '
<div id="fancymenu">
<ul>';
foreach ($context['menu_buttons'] as $act => $button)
{
echo '
<li class="', $button['active_button'] == $act ? 'current' : '' , '"><a title="', $act, '" href="', $button['href'], '"><span>', $button['title'], '</span></a></li>';
}
echo '
</ul>
</div>';
}
// Generate a strip of buttons.
function template_button_strip($button_strip, $direction = 'top', $strip_options = array())
{
global $settings, $context, $txt, $scripturl;
if (!is_array($strip_options))
$strip_options = array();
// Create the buttons...
$buttons = array();
foreach ($button_strip as $key => $value)
{
if (!isset($value['test']) || !empty($context[$value['test']]))
$buttons[] = '<a ' . (isset($value['active']) ? 'class="active" ' : '') . 'href="' . $value['url'] . '" ' . (isset($value['custom']) ? $value['custom'] : '') . '><span>' . $txt[$value['text']] . '</span></a>';
}
// No buttons? No button strip either.
if (empty($buttons))
return;
// Make the last one, as easy as possible.
$buttons[count($buttons) - 1] = str_replace('<span>', '<span class="last">', $buttons[count($buttons) - 1]);
echo '
<div class="buttonlist', !empty($direction) ? ' align_' . $direction : '', '"', (empty($buttons) ? ' style="display: none;"' : ''), (!empty($strip_options['id']) ? ' id="' . $strip_options['id'] . '"': ''), '>
<ul>
<li>', implode('</li><li>', $buttons), '</li>
</ul>
</div>';
}
?>
I'm using mootools for the main menu, could that be interfering with it?
Thanks for reporting that Xarcell. I've updated the package on the mod site.
Heres the fix if you dont want to install it again:
In Sources/ManageSettings.php
Find:
'pageear' => array(
'label' => $txt['pageear_settings_title'],
'description' => $txt['pageear_settings_desc'],
),
Replace:
'pageear' => array(
'label' => $txt['pageear_settings_title'],
),
Quote from: KiLLuMiNaTi-7- on December 28, 2009, 08:25:57 AM
Thanks for reporting that Xarcell. I've updated the package on the mod site.
Heres the fix if you dont want to install it again:
In Sources/ManageSettings.php
Find:
'pageear' => array(
'label' => $txt['pageear_settings_title'],
'description' => $txt['pageear_settings_desc'],
),
Replace:
'pageear' => array(
'label' => $txt['pageear_settings_title'],
),
I made the changes posted, but still same problem.
Strange as it works without no errors for me on a fresh install.
Try cleaning your cache on your forum. If errors are still being added in your error log attach your ManageSettings.php file here and i'll take a look.
Quote from: KiLLuMiNaTi-7- on December 28, 2009, 06:07:57 PM
Strange as it works without no errors for me on a fresh install.
Try cleaning your cache on your forum. If errors are still being added in your error log attach your ManageSettings.php file here and i'll take a look.
I cleaned the cache and still nothing. No errors, or page peel. Works fine on default theme, but not custom. I have added the code to the theme for the proper version, but it still doesn't work.
http://inspireromance.com/index.php?theme=1 default
http://inspireromance.com/index.php?theme=3 custom theme
I tried removing the mootools menu, but it still didn't work. I'm triple checking everything, but I still cannot figure out why it isn't working on the custom theme.
I thought your issue was just the error in the error log. Sorry :-[.
Just looked at my edits i've posted up and there seems to be an extra space on one of the lines.
This line:
<script type="text/javascript" src="', $settings['default_theme_url'],'/scripts/pageear/AC_OETags.js"></script>
Find the line that looks like the one above and replace it with it ;)
Hello, installed your mod. It installs successfully for all themes, but I have a image hosted on picasaweb.google.com, and it won't show, just a white square small and large! I have a small image, and a large one, and nothing works! (will check within a hour...)
EDIT:
I also have a copy of each image on my website, and I type in full URL (http://other.kcmartz.com/images/twt_sm.png and /images/twt_lg.png) and it won't show!
Quote from: Kcmartz on January 04, 2010, 01:56:00 PM
Hello, installed your mod. It installs successfully for all themes, but I have a image hosted on picasaweb.google.com, and it won't show, just a white square small and large! I have a small image, and a large one, and nothing works! (will check within a hour...)
EDIT:
I also have a copy of each image on my website, and I type in full URL (http://other.kcmartz.com/images/twt_sm.png and /images/twt_lg.png) and it won't show!
JPG's only atm im afraid :(
Just installed on my SMF 2.0 RC2 site, works flawlessly so far... great work.
I thought I'd come back and give this mod another try since I couldn't get it to work on custom themes.
I got it to work this time. Very nice mod, thanks.
Great looking mod!
Any chance for an upgrade to 2.0RC3?
Thanks!
Quote from: rngrdanny22 on April 11, 2010, 11:40:56 AM
Great looking mod!
Any chance for an upgrade to 2.0RC3?
Thanks!
Works just fine on my SMF 2.0 RC3 system however I don't remember if I had to do anything extra to get it working on this version.
Hello, I run a residents community forum at http://ecovoice.net/forum with SMF 1.1.7.
I've installed and activated PageEar through the "packages" section in admin and done all the settings there but it just does not show up.
Any help on this please?
Thanks...Mokhsein
love the mod, works great....is there a way to preload the images so there's no lag time when loading the larger image?
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 looks like an interesting mod :P *tries out*
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?
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
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)
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
Bump
Any help please?
Where's the admin?? running 2.0
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>
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
it only works if jump-to-url is muy forum index.
http://www.universolinux.com/index.php?action=forum
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?
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 += "©right="+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 += "&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>';
Demo: http://www.spinabifidaturkey.com/