PageEar (Page peel)

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

Previous topic - Next topic

TheDisturbedOne

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.

Sabre™

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 :)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


TheDisturbedOne

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.

Sabre™

Yep, well you've posted in 2 of the boards where it will be noticed.

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


Smitten

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.

Sabre™

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.
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Smitten

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

Sabre™

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 ;)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Smitten

i don´t know about database  :-[

Sabre™

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
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Smitten

Thanks for your answer Sabre  ;)
Here are the files.

Sabre™

Your files look fine.

Do you have [pretty urls] mod installed?
I ask this as I couldn't see your pageear folder without entering the whole url to each of its contents.
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Smitten

Quote from: Sabre™ on December 02, 2008, 06:09:46 PM
Your files look fine.

Do you have [pretty urls] 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  :'(

Sabre™

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 :)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Smitten

Ok Sabre, thank you again.

I had pretty url installed long time ago, but i´ll try...

Smitten

Ok, I disabled pretty url´s and didn´t worked...

I´m apologize for the inconvenience

Sabre™

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
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Smitten

#197
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...

Sabre™

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
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Eclipse16V

Hi,

I have include the PageEar Mod in my Site but i doesn´t work.  :(

I work wit babylon Design.
I worked with:
SMF 2 in German

Shop:
SID Giessen

Advertisement: