Home arrow Forum
Insert quote (fast quote) does not work
  Welcome, Guest. Please login or register.
January 07, 2009, 02:56:33 PM
Home New Posts Search Calendar


Login with username, password and session length
Forum  |  MamboHacks.com  |  Mambo-SMF Forum 1.3.0 Support  |  Topic: Insert quote (fast quote) does not work « previous next »
Pages: [1] Go Down Print
Author Topic: Insert quote (fast quote) does not work  (Read 3547 times)
Ygriega
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 3


View Profile
Insert quote (fast quote) does not work
« on: May 06, 2005, 07:18:32 AM »

Hello,

I upgraded to latest version but it seems we have a problem inserting quotes (it happens on mambohacks also).

To see the problem: try to reply any post with already some replies, then scroll down and click 'insert quote' on one reply. This opens a popup with the forum's home.  Huh

I think it's an important feature.

I am trying to find a solution for myself, but it's difficult for me. I think there is something wrong on functions file:

Code:
/*1.3b2-9*/
global $options;
if (!empty($options['display_quick_reply']) && !empty($_REQUEST['topic']) && $mosConfig_sef == 1) {
$regexa = "/window.open\(\"(.*?)quotefast/s";
preg_match_all( $regexa, $buffer, $jsopens );
foreach($jsopens[1] as $jsopen) {
$pos = strpos($jsopen,$mosConfig_live_site);
            if ($pos >= 0 && !($pos === false)) {
                 $jsopen2 = $boardurl."/index.php?action=";
             $buffer = str_replace("window.open(\"".$jsopen,"window.open(\"".$jsopen2,$buffer);
    }
    }
     }
     return $buffer;
}

If I loot at page source code, the function for open windows is not window.open but reqWin... I'm really confused  Undecided
Logged
aravot
Jr. Member
**

Karma: +0/-0
Offline Offline

Posts: 89


test/test


View Profile WWW
Re: Insert quote (fast quote) does not work
« Reply #1 on: May 07, 2005, 06:41:27 PM »

Nice find.
Logged
robbievk
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 32


View Profile
Re: Insert quote (fast quote) does not work
« Reply #2 on: May 17, 2005, 11:31:32 AM »

This does work when i disable sef, with sef enabled i get allot of strange things... including this error
Logged
cowboy
Administrator
Hero Member
*****

Karma: +30/-0
Offline Offline

Posts: 663



View Profile WWW
Re: Insert quote (fast quote) does not work
« Reply #3 on: May 17, 2005, 11:36:45 AM »

I've been busy with other stuffs lately.  Roll Eyes
I will just post a patch sometime this week.
Logged
robbievk
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 32


View Profile
Re: Insert quote (fast quote) does not work
« Reply #4 on: May 18, 2005, 03:17:03 AM »

I've been busy with other stuffs lately.  Roll Eyes
I will just post a patch sometime this week.

Thanks Cowboy!

Your doing a great job!
Logged
Pages: [1] Go Up Print 
Forum  |  MamboHacks.com  |  Mambo-SMF Forum 1.3.0 Support  |  Topic: Insert quote (fast quote) does not work « previous next »
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Forum | Powered by SMF 1.0.5 & Mambo-SMF.
© 2001-2005, Lewis Media. All Rights Reserved.
Valid XHTML 1.0! Valid CSS!
None of the text or images in this public website may be copied without the expressed written consent of the authors.
Copyright 2005 by MamboHacks.com. Powered by Mambo. All rights reserved.
TERMS OF USE