[ABD] Multi Quote 1.0.0

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
User avatar
darkera13
Registered User
Posts: 91
Joined: Sun Jun 03, 2007 7:12 pm
Location: Ha Noi, Viet Nam
Contact:

[ABD] Multi Quote 1.0.0

Post by darkera13 » Sun Jul 08, 2007 12:22 am

phpBB Part: Forum
MOD Name: Multi Quote
MOD Version: 1.0.0 Beta
Author: darkera13
MOD Description: This mod allow you can quote more than one post on another page(or in page) of topic.
Works with: RC3
Installation Level: Intermediate
Installation Time: ~10 Minutes

Important :
This MOD is development quality. It is not recommended that you install it on a live forum.
Last edited by darkera13 on Fri Apr 18, 2008 4:22 am, edited 4 times in total.

User avatar
Gleasonator
Registered User
Posts: 652
Joined: Tue Jun 05, 2007 2:19 pm
Location: Texas
Contact:

Re: [BETA] Multi Quote 1.0.0

Post by Gleasonator » Sun Jul 08, 2007 12:51 am

Woohoo! I will try it now. :D Thanks!
Sorry for my bad Engrish !
gleason|design

Image

User avatar
Gleasonator
Registered User
Posts: 652
Joined: Tue Jun 05, 2007 2:19 pm
Location: Texas
Contact:

Re: [BETA] Multi Quote 1.0.0

Post by Gleasonator » Sun Jul 08, 2007 1:16 am

:shock: When I try to multi-quote I get "The requested topic does not exist."
Sorry for my bad Engrish !
gleason|design

Image

User avatar
darkera13
Registered User
Posts: 91
Joined: Sun Jun 03, 2007 7:12 pm
Location: Ha Noi, Viet Nam
Contact:

Re: [BETA] Multi Quote 1.0.0

Post by darkera13 » Sun Jul 08, 2007 5:14 am

Gleasonator wrote::shock: When I try to multi-quote I get "The requested topic does not exist."
Please check your install, i install it 2 time( the first on localhost, and the second after make this install instruction on bitvn.net) and it work perfect.

User avatar
Gleasonator
Registered User
Posts: 652
Joined: Tue Jun 05, 2007 2:19 pm
Location: Texas
Contact:

Re: [BETA] Multi Quote 1.0.0

Post by Gleasonator » Sun Jul 08, 2007 6:17 am

darkera13 wrote:
Gleasonator wrote::shock: When I try to multi-quote I get "The requested topic does not exist."
Please check your install, i install it 2 time( the first on localhost, and the second after make this install instruction on bitvn.net) and it work perfect.
I checked the install and it looked fine to me. :( I ran debug and tried to multi-quote. This is what I got:

Code: Select all

[phpBB Debug] PHP Notice: in file /posting.php on line 139: Undefined variable: post_data_count
[phpBB Debug] PHP Notice: in file /posting.php on line 162: Undefined variable: post_data_username

Warning: Cannot modify header information - headers already sent by (output started at /home/gleasona/public_html/includes/functions.php:3686) in /home/gleasona/public_html/includes/functions.php on line 4308

Warning: Cannot modify header information - headers already sent by (output started at /home/gleasona/public_html/includes/functions.php:3686) in /home/gleasona/public_html/includes/functions.php on line 4310

Warning: Cannot modify header information - headers already sent by (output started at /home/gleasona/public_html/includes/functions.php:3686) in /home/gleasona/public_html/includes/functions.php on line 4311

Warning: Cannot modify header information - headers already sent by (output started at /home/gleasona/public_html/includes/functions.php:3686) in /home/gleasona/public_html/includes/functions.php on line 4312
Any ideas?

Thanks. :)

By the way, these are modded forums so it might be because of that that it isn't working... but I would still appreciate any help. ;)
Sorry for my bad Engrish !
gleason|design

Image

User avatar
darkera13
Registered User
Posts: 91
Joined: Sun Jun 03, 2007 7:12 pm
Location: Ha Noi, Viet Nam
Contact:

Re: [BETA] Multi Quote 1.0.0

Post by darkera13 » Sun Jul 08, 2007 7:44 am

Gleasonator wrote:
darkera13 wrote:
Gleasonator wrote::shock: When I try to multi-quote I get "The requested topic does not exist."
Please check your install, i install it 2 time( the first on localhost, and the second after make this install instruction on bitvn.net) and it work perfect.
I checked the install and it looked fine to me. :( I ran debug and tried to multi-quote. This is what I got:

Code: Select all

[phpBB Debug] PHP Notice: in file /posting.php on line 139: Undefined variable: post_data_count
[phpBB Debug] PHP Notice: in file /posting.php on line 162: Undefined variable: post_data_username

Warning: Cannot modify header information - headers already sent by (output started at /home/gleasona/public_html/includes/functions.php:3686) in /home/gleasona/public_html/includes/functions.php on line 4308

Warning: Cannot modify header information - headers already sent by (output started at /home/gleasona/public_html/includes/functions.php:3686) in /home/gleasona/public_html/includes/functions.php on line 4310

Warning: Cannot modify header information - headers already sent by (output started at /home/gleasona/public_html/includes/functions.php:3686) in /home/gleasona/public_html/includes/functions.php on line 4311

Warning: Cannot modify header information - headers already sent by (output started at /home/gleasona/public_html/includes/functions.php:3686) in /home/gleasona/public_html/includes/functions.php on line 4312
Any ideas?

Thanks. :)

By the way, these are modded forums so it might be because of that that it isn't working... but I would still appreciate any help. ;)
Sorry, fixed.

FIND

Code: Select all

//Multi Quote
if ($mode == 'reply' && $mquote && !$submit && !$preview && !$refresh)
{
	$mquote = explode('||', substr(substr($mquote, 0, -1), 1));
	$mquote_count = count($mquote);
	for ($i = 0; $i < $post_data_count; $i++)
	{
	
		$sql = 'SELECT f.*, t.*, p.*, u.username, u.username_clean, u.user_sig, u.user_sig_bbcode_uid, u.user_sig_bbcode_bitfield
			FROM ' . POSTS_TABLE . ' p, ' . TOPICS_TABLE . ' t, ' . FORUMS_TABLE . ' f, ' . USERS_TABLE . " u
			WHERE p.post_id = " . $mquote[$i]. "
				AND t.topic_id = p.topic_id
				AND u.user_id = p.poster_id
				AND (f.forum_id = t.forum_id
					OR f.forum_id = $forum_id)";
		$result = $db->sql_query($sql);
		$post_data = $db->sql_fetchrow($result);
		$db->sql_freeresult($result);
		
		$post_data_text[$i] =  $post_data['post_text'];
		$post_data_username[$i] = $post_data['username'];
		$post_data_bbcode[$i] = $post_data['bbcode_uid'];
		
		unset($post_data['post_text']);
		unset($post_data['username']);
		unset($post_data['bbcode_uid']);
	}
	
	$post_data_count = count($post_data_username);
	
	for ($i = 0; $i < $post_data_count; $i++)
	{
		$post_data['post_text'] .= '[quote="' . $post_data_username[$i] . '"]' . censor_text(trim($post_data_text[$i])) . "[/quote]\n\n";
	}
}
else
{
	$result = $db->sql_query($sql);
	$post_data = $db->sql_fetchrow($result);
	$db->sql_freeresult($result);
}

if($submit)
{	
	$cookie_expire = time() - 31536000;
	$user->set_cookie('mquote_' . $topic_id, '', $cookie_expire);
}
//Multi Quote End
REPLACE

Code: Select all

//Multi Quote
if ($mode == 'reply' && $mquote && !$submit && !$preview && !$refresh)
{
	$mquote = explode('||', substr(substr($mquote, 0, -1), 1));
	$mquote_count = count($mquote);
	for($i=0; $i < $mquote_count; $i++)
	{
	
		$sql = 'SELECT f.*, t.*, p.*, u.username, u.username_clean, u.user_sig, u.user_sig_bbcode_uid, u.user_sig_bbcode_bitfield
			FROM ' . POSTS_TABLE . ' p, ' . TOPICS_TABLE . ' t, ' . FORUMS_TABLE . ' f, ' . USERS_TABLE . " u
			WHERE p.post_id = " . $mquote[$i]. "
				AND t.topic_id = p.topic_id
				AND u.user_id = p.poster_id
				AND (f.forum_id = t.forum_id
					OR f.forum_id = $forum_id)";
		$result = $db->sql_query($sql);
		$post_data = $db->sql_fetchrow($result);
		$db->sql_freeresult($result);
		
		$post_data_bbcode[$i] = $post_data['bbcode_uid'];
		$post_text_tmp .= '[quote="' . $post_data['username'] . '"]' . censor_text(trim($post_data['post_text'])) . "[/quote]\n";
		
		unset($post_data['post_text']);
		unset($post_data['username']);
		unset($post_data['bbcode_uid']);
	}
	
	$post_data['post_text'] = $post_text_tmp;
}
else
{
	$result = $db->sql_query($sql);
	$post_data = $db->sql_fetchrow($result);
	$db->sql_freeresult($result);
}

if($submit)
{	
	$cookie_expire = time() - 31536000;
	$user->set_cookie('mquote_' . $topic_id, '', $cookie_expire);
}
//Multi Quote End
FIND

Code: Select all

//Multi Quote
if ($mode == 'reply' && $mquote && !$submit && !$preview && !$refresh)
{
	for ($i = 0; $i < $post_data_count; $i++)
	{
		$message_parser->decode_message($post_data_bbcode[$i]);
	}
}
//Multi Quote End
else
{
	$post_data['bbcode_uid'] = ($mode == 'quote' && !$preview && !$refresh && !sizeof($error)) ? $post_data['bbcode_uid'] : $message_parser->bbcode_uid;
	$message_parser->decode_message($post_data['bbcode_uid']);
}
REPLACE

Code: Select all

//Multi Quote
if ($mode == 'reply' && $mquote && !$submit && !$preview && !$refresh)
{
	$post_data_count = count($post_data_bbcode);
	for ($i = 0; $i < $post_data_count; $i++)
	{
		$message_parser->decode_message($post_data_bbcode[$i]);
	}
}
//Multi Quote End
else
{
	$post_data['bbcode_uid'] = ($mode == 'quote' && !$preview && !$refresh && !sizeof($error)) ? $post_data['bbcode_uid'] : $message_parser->bbcode_uid;
	$message_parser->decode_message($post_data['bbcode_uid']);
}

carmelomvp
Registered User
Posts: 85
Joined: Sun Sep 10, 2006 1:37 pm

Re: [BETA] Multi Quote 1.0.0

Post by carmelomvp » Sun Jul 08, 2007 1:42 pm

this mod works with the serenity skin???

thanks!

User avatar
darkera13
Registered User
Posts: 91
Joined: Sun Jun 03, 2007 7:12 pm
Location: Ha Noi, Viet Nam
Contact:

Re: [BETA] Multi Quote 1.0.0

Post by darkera13 » Sun Jul 08, 2007 3:15 pm

carmelomvp wrote:this mod works with the serenity skin???
thanks!
Maybe, please try install. Dont ask me, i cant test on all styles of phpBB.

Omarvelous
Registered User
Posts: 232
Joined: Mon Jun 25, 2007 2:24 am

Re: [BETA] Multi Quote 1.0.0

Post by Omarvelous » Sun Jul 08, 2007 7:15 pm

Darkera..... ur on a roll man! This is GREAT mod.

User avatar
nepukjon
Registered User
Posts: 116
Joined: Sat Jul 23, 2005 8:07 pm
Location: Cardiff. S. Wales
Contact:

Re: [BETA] Multi Quote 1.0.0

Post by nepukjon » Sun Jul 08, 2007 10:57 pm

Installed and works fine, just dont know how to get the images to show up on a style other than pro silver
knowledge is knowing a tomato is a fruit, wisdom is not putting it in a fruit salad

User avatar
Gleasonator
Registered User
Posts: 652
Joined: Tue Jun 05, 2007 2:19 pm
Location: Texas
Contact:

Re: [BETA] Multi Quote 1.0.0

Post by Gleasonator » Mon Jul 09, 2007 5:00 am

Thank you alot, darkera13! :D
Sorry for my bad Engrish !
gleason|design

Image

User avatar
darkera13
Registered User
Posts: 91
Joined: Sun Jun 03, 2007 7:12 pm
Location: Ha Noi, Viet Nam
Contact:

Re: [BETA] Multi Quote 1.0.0

Post by darkera13 » Mon Jul 09, 2007 5:21 am

Still work with RC3.

joebanana
Registered User
Posts: 134
Joined: Tue Nov 23, 2004 6:28 pm

Re: [BETA] Multi Quote 1.0.0

Post by joebanana » Mon Jul 09, 2007 11:30 am

Wicked!

saaiberke
Registered User
Posts: 1126
Joined: Wed Jul 20, 2005 8:13 am
Location: Gent/Belgium
Contact:

Re: [BETA] Multi Quote 1.0.0

Post by saaiberke » Fri Jul 13, 2007 2:59 pm

This must be a great mod, unfortunately I'm not able to quote from different postings in different topics, I only get the last quote+ message. If I quote within 1 topic, this works. Or I misunderstood the functions of this mod or I'm doing anything wrong.

Can someone explain me how exactly this must be used pls?

Grts,

Nic

User avatar
darkera13
Registered User
Posts: 91
Joined: Sun Jun 03, 2007 7:12 pm
Location: Ha Noi, Viet Nam
Contact:

Re: [BETA] Multi Quote 1.0.0

Post by darkera13 » Sat Jul 14, 2007 10:08 am

saaiberke wrote:This must be a great mod, unfortunately I'm not able to quote from different postings in different topics, I only get the last quote+ message. If I quote within 1 topic, this works. Or I misunderstood the functions of this mod or I'm doing anything wrong.

Can someone explain me how exactly this must be used pls?

Grts,

Nic
You did not do anything wrong. Because you can quote in same topic only(but in many page of this topic).

Locked

Return to “[3.0.x] Abandoned MODs”