Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 2 of 2
Goto page Previous  1, 2
 
Reply with quote Download Post 
Post Re: Modification - Merge Double Or Last Posts By The Same User 
 
Lopalong wrote: [View Post]
Try this.

In the script:

Find:

$separator = ' \n\nAdded after';

BACKSPACE OUT:  \n\n and then hit ENTER twice.

Find:

                        $separator .= ':
\n\n ';
And do the same thing.




You should be able to see what I mean with this.

$separator = '

Added after';

BACKSPACE OUT:

and then hit ENTER twice.

Find:

                        $separator .= ':


 ';



Thanks that seems to have solved it

 double2
 



 
n1cks21Send private messageVisit poster's website  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: Modification - Merge Double Or Last Posts By The Same User 
 
You're welcome,

Why the hell you appear to be having problems with slashes is still a mystery, because no doubt you would be aware that \n is a carriage return in php and should not have created this problem.

Who cares - So long as it patched your problem.

Edit:

Now that we know of a specific problem, would you try this.

Put back the code you changed to the original.

Open:

includes/page_header.php

Find:

?>

Before add:

Code: [Download] [Hide] [Select]
if (get_magic_quotes_gpc()) {
        $in = array(&$_GET, &$_POST, &$_COOKIE);
        while (list($k,$v) = each($in)) {
                foreach ($v as $key => $val) {
                        if (!is_array($val)) {
                                $in[$k][$key] = stripslashes($val);
                                continue;
                        }
                        $in[] =& $in[$k][$key];
                }
        }
        unset($in);
}


And see if it strips the slashes without you having to modify it.
 
 
 
Back to topPage bottom
Reply with quote Download Post 
Post Re: Modification - Merge Double Or Last Posts By The Same User 
 
thanks for looking but it was the same result as the first image I posted with "nn"
 



 
n1cks21Send private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Modification - Merge Double Or Last Posts By The Same User 
 
Lopalong wrote: [View Post]
And:

Is Not:

    'L_CLOSE_WINDOW'        => $lang['Close_window'],[...]
    When you think you're right, and something say that not, please check manual/doc/... !

'{$v}' will output
Quote:
{$v}

"{$v}" will output value of $v

'\n' will output
Quote:
\n

"\n" will output a new line


see here
Quote:
Certain special characters are only recognized inside double quotes. The best examples are probably the new line characters \n and \r. Only inside double quotes are they actually new line characters (useful for formatting HTML outputted from PHP). In single quotes, they are merely a backslash followed by a letter.



(Please, stop taking things as if you were always right, because you are wrong ...)
 



 
InformproSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Modification - Merge Double Or Last Posts By The Same User 
 
I didn't suggest that I was or am always right, and I've said many times here that I'm no expert.

And you seem to never take the time to explain yourself but to prefer posting cryptics that you hope other people will understand.

Much like a lot of the users do.

Anyway - I've had enough of support forums, so I'll leave it all up to you my friend.
 
 
 
Back to topPage bottom
Reply with quote Download Post 
Post Re: Modification - Merge Double Or Last Posts By The Same User 
 
Thanks David.. great addition i will add this to some of my sites...

I like it a lot

   
 




____________
Mods and themes for Icy Phoenix 1.3

IcyPhoenix UK is off-line permanently due to lack of time to update mods.
if anyone is interested in my templates I will upgrade them to Icy 2.0.
 
DWhoSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Modification - Merge Double Or Last Posts By The Same User 
 
Download Link has been changed.  
 
 
 
Back to topPage bottom
Reply with quote Download Post 
Post Re: Modification - Merge Double Or Last Posts By The Same User 
 
Gran Mod.

Descargando.

Pero, tengo una duda.

¿Es posible aplicar este Mod, a cada foro de forma independiente?

Tengo un foro de Reunión, en el cual no me conviene tenerlo activo por el tema de las fotos.

Gracias por sus respuestas.




Great Mod

Downloading.

But I have a question.

Is it possible to apply this mod, each forum independently?

I have a forum meeting in which I should have it active in the subject of the photos.

Thanks for your responses.
 



 
AerosmithSend private message  
Back to topPage bottom
Post new topic  Reply to topic  Page 2 of 2
Goto page Previous  1, 2


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events


  

 

  cron