News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Multi Quote Mod

Started by Nibogo, January 23, 2010, 09:52:26 PM

Previous topic - Next topic

gbsothere

I just installed this on my 1.1.11 test forum, NIBOGO.  It installs beautifully and generates no errors.   :)   I notice that it's much neater with nested quoting turned off, than with it on.

I was wondering if this is the mod that was discussed once before (when there was yet no such existing mod) that might allow for turning nested quotes off and still appease those who want them on? 

I can't remember who it was who was talking about making such a mod, but I remember it was met with some enthusiasm because nested quotes can become a real pain, especially with careless posters who just don't bother to prune, when they post.   The discussion was that it would be great to have a mod that gives some middle ground; doesn't restrict to just one quote, but provides for an allowed number of quotes.  (I realize this one doesn't restrict, but it does make the poster more methodical about what to quote, which will cut down on thread clutter.)
My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.


gbsothere

Quote from: NIBOGO on March 05, 2010, 07:55:10 PM
This mod does nothing about the nested quotes it only provides an easier way to reply to a lot of quotes in one post


That's good enough for me.   :D

Thanks for a very useful mod.

My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.


moofy

Hi,

I'm trying to install this mod on my forum with a non default theme

As per the manual instructions I edited the index.template.php file for my theme and replaced

<body>';

with

<body '.((isset($context['current_action']) && ($context['current_action'] == 'post') && (isset($context['current_topic']))) ? 'onLoad="post_mquotes();"' : '').'>';

I get a template parse error about there being an unexpected < in my file.


Any thoughts?

Nibogo

You must be doing something wrong to avoid errors try to only replace

body

with:

Quotebody '.((isset($context['current_action']) && ($context['current_action'] == 'post') && (isset($context['current_topic']))) ? 'onLoad="post_mquotes();"' : '').'

moofy

Quote from: NIBOGO on March 20, 2010, 06:46:25 PM
You must be doing something wrong to avoid errors try to only replace

body

with:

Quotebody '.((isset($context['current_action']) && ($context['current_action'] == 'post') && (isset($context['current_topic']))) ? 'onLoad="post_mquotes();"' : '').'
All I do is add a // before the instance of <body>'; and then add
<body '.((isset($context['current_action']) && ($context['current_action'] == 'post') && (isset($context['current_topic']))) ? 'onLoad="post_mquotes();"' : '').'>';

To the line directly beneath and save the file. I get the parse error every time. I've checked the syntax several times now.

Nibogo

Quote from: moofy on March 20, 2010, 08:17:53 PM
Quote from: NIBOGO on March 20, 2010, 06:46:25 PM
You must be doing something wrong to avoid errors try to only replace

body

with:

Quotebody '.((isset($context['current_action']) && ($context['current_action'] == 'post') && (isset($context['current_topic']))) ? 'onLoad="post_mquotes();"' : '').'
All I do is add a // before the instance of <body>'; and then add
<body '.((isset($context['current_action']) && ($context['current_action'] == 'post') && (isset($context['current_topic']))) ? 'onLoad="post_mquotes();"' : '').'>';

To the line directly beneath and save the file. I get the parse error every time. I've checked the syntax several times now.

Nobody toll you that you must do that, just follow the instructions, replace!

moofy

Ok.. you got me.. it worked now  ;D

But when I click on the multi quote button it doesn't do anything

adbrad

click multiquote on all your posts you want to quote then click reply

~DS~

NIBOGO, there's a conflit with SA FB Connect with the body tag in index.template.php.
"There is no god, and that's the simple truth. If every trace of any single religion were wiped out and nothing were passed on, it would never be created exactly that way again. There might be some other nonsense in its place, but not that exact nonsense. If all of science were wiped out, it would still be true and someone would find a way to figure it all out again."
~Penn Jillette – God, NO! – 2011

Nibogo

Quote from: Dismal Shadow on March 23, 2010, 01:52:41 PM
NIBOGO, there's a conflit with SA FB Connect with the body tag in index.template.php.

I have both working pretty nice on my forum, without errors on installation I don't remember what was the order for the installation of this mod but it's working like a charm

~DS~

Install Multi Quote first then FB Connect.
"There is no god, and that's the simple truth. If every trace of any single religion were wiped out and nothing were passed on, it would never be created exactly that way again. There might be some other nonsense in its place, but not that exact nonsense. If all of science were wiped out, it would still be true and someone would find a way to figure it all out again."
~Penn Jillette – God, NO! – 2011

Nibogo

Quote from: Dismal Shadow on March 23, 2010, 02:16:22 PM
Install Multi Quote first then FB Connect.

In that case it's a problem with the FB Connect, if Multi Quote can be installed after SA FB Connect I have nothing else to do and wdm2005 said on his forum that he is going to fix it for the next release

~DS~

Quote from: NIBOGO on March 23, 2010, 02:25:38 PM
Quote from: Dismal Shadow on March 23, 2010, 02:16:22 PM
Install Multi Quote first then FB Connect.

In that case it's a problem with the FB Connect, if Multi Quote can be installed after SA FB Connect I have nothing else to do and wdm2005 said on his forum that he is going to fix it for the next release
Yeah, I know I thought I did post on both sides so it can work with each other and compatible. Thanks.  ;D
"There is no god, and that's the simple truth. If every trace of any single religion were wiped out and nothing were passed on, it would never be created exactly that way again. There might be some other nonsense in its place, but not that exact nonsense. If all of science were wiped out, it would still be true and someone would find a way to figure it all out again."
~Penn Jillette – God, NO! – 2011

hcfwesker

I'm on SMF 1.1.11

The MOd downloaded with no errors, and looks great.  The problem is when multi-quoting ... the quotes don't get added into the post box separately.  They look like this.

[quote author=justjohn83 link=topic=5451.msg107509#msg107509 date=1269193850]
Spirit, I also had "Official Host Of Domain Podcast" and "Domain Spammer" (5,000+ Posts and beyond).

Anyways, hope I get EVEN more!  O_O
[/qu[quote author=Spirit link=topic=5451.msg107519#msg107519 date=1269196181]
Awards added

Clause and everyone with tournament awards be patient i still doing.
[/qu[quote author=sergi0720 link=topic=5451.msg107556#msg107556 date=1269201192]
http://www.hcfwesker.proboards.com/index.cgi?action=viewprofile&user=sergi0720

I only had the brawl fest participation trophy
[/quote]ote]ote]


See where it gets cut off at [/qu   in each quote :(

Is there something I missed.

Thank you for your help.  Amazing MOD, too.  Just hope I can get this bug out.


Nibogo

Quote from: hcfwesker on March 24, 2010, 04:48:33 AM
I'm on SMF 1.1.11

The MOd downloaded with no errors, and looks great.  The problem is when multi-quoting ... the quotes don't get added into the post box separately.  They look like this.

[quote author=justjohn83 link=topic=5451.msg107509#msg107509 date=1269193850]
Spirit, I also had "Official Host Of Domain Podcast" and "Domain Spammer" (5,000+ Posts and beyond).

Anyways, hope I get EVEN more!  O_O
[/qu[quote author=Spirit link=topic=5451.msg107519#msg107519 date=1269196181]
Awards added

Clause and everyone with tournament awards be patient i still doing.
[/qu[quote author=sergi0720 link=topic=5451.msg107556#msg107556 date=1269201192]
http://www.hcfwesker.proboards.com/index.cgi?action=viewprofile&user=sergi0720

I only had the brawl fest participation trophy
[/quote]ote]ote]


See where it gets cut off at [/qu   in each quote :(

Is there something I missed.

Thank you for your help.  Amazing MOD, too.  Just hope I can get this bug out.



Isn't a bug, it's how it's working

hcfwesker

The quote tags get broken ... for some reason, even when quoting one post, when I click the "quote" button, the cursor automatically starts inbetween the [/qu^ote]   <---- where the arrow is.  So, as you see, that's causing each quote in multi quote to get broken off like that.

I mean, the very last line in the box I put into code should have explained ...

[/quote]ote]ote]


Nibogo

Quote from: hcfwesker on March 24, 2010, 04:39:50 PM
The quote tags get broken ... for some reason, even when quoting one post, when I click the "quote" button, the cursor automatically starts inbetween the [/qu^ote]   <---- where the arrow is.  So, as you see, that's causing each quote in multi quote to get broken off like that.

I mean, the very last line in the box I put into code should have explained ...

[/quote]ote]ote]



I can duplicate that error plus this mod uses the same Insert Quote function used by SMF so in case that you have an error loading the quotes it's a bug with your SMF

Gryzor

#39
Yes! Worked great first try on 2.0RC3. Thanks for a much, much-needed mod. Very useful.

The only issue (non-functionality related) that I have is that I don't get the icons next to the labels... what do I have to do? mquote_remove.gif is in default/images/buttons, but I don't see either that or the icon of the add multi-quote in the forum...

Thanks once more...

[EDIT] Ehm... it worked. For some reason the first couple of times I tried it they wouldn't show up, but now they do :)

Advertisement: