[ABD] simple acp pm read [1.0.4b]

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
fazaljatoi
I've Been Banned!
Posts: 503
Joined: Wed Aug 31, 2005 8:02 pm

Re: [BETA] simple acp pm read [1.0.4b]

Post by fazaljatoi »

same with me i use 3.0.4

hcjake
Registered User
Posts: 8
Joined: Mon Jan 14, 2008 7:51 pm

Re: [BETA] simple acp pm read [1.0.4b]

Post by hcjake »

Deathly Hallow wrote:
hcjake wrote:I had that issue with 3.0.4 also. If you look in the includes/acp/acp_prvmsg.php file, you'll see this

Code: Select all

/*
$sql = 'SELECT *             
FROM ' . USERS_TABLE . '
             WHERE user_id = ' . $to_address[$i];
$result = $db->sql_query($sql);
$to_user = $db->sql_fetchrow($result);
$db->sql_freeresult($result);
*/
I uncommented that and then commented out the part below it

Code: Select all

$sql = 'SELECT u.*, b.*
           FROM ' . USERS_TABLE . ' u, ' . BOTS_TABLE . " b
           WHERE u.user_id != b.user_id
                         AND (b.user_id = $to_address[$i]
                                     OR u.user_id = $to_address[$i])";

$result = $db->sql_query($sql);
$to_user = $db->sql_fetchrow($result);
$db->sql_freeresult($result);
I'm not sure if this breaks anything, but it seems fine so far and it fixed the 'to' part.
It don't work for me... =(
did you purge the cache after doing the changes

Deathly Hallow
Registered User
Posts: 277
Joined: Mon Apr 21, 2008 11:58 am
Location: Netherlands

Re: [BETA] simple acp pm read [1.0.4b]

Post by Deathly Hallow »

Jep. Ofcourse I did.

User avatar
fazaljatoi
I've Been Banned!
Posts: 503
Joined: Wed Aug 31, 2005 8:02 pm

Re: [BETA] simple acp pm read [1.0.4b]

Post by fazaljatoi »

Kervinou wrote:
fazaljatoi wrote:i need this mod in zip format i have no programe tar.files open
plz help
C'est mon jour de bonté !;-)
It's my good day ;)

http://divers.kerv.org/temp/simple_acp_ ... 1.0.4b.zip
not working this links please working link paste here

User avatar
fazaljatoi
I've Been Banned!
Posts: 503
Joined: Wed Aug 31, 2005 8:02 pm

Re: [BETA] simple acp pm read [1.0.4b]

Post by fazaljatoi »

Image[/quote]

same with me i use phpBB 3.0.4 plz fix this mod author

andreidragosr
Registered User
Posts: 22
Joined: Wed Mar 28, 2007 6:26 am

Re: [BETA] simple acp pm read [1.0.4b]

Post by andreidragosr »

I had the 'to' problem
hcjake wrote:I had that issue with 3.0.4 also. If you look in the includes/acp/acp_prvmsg.php file, you'll see this

Code: Select all

/*
$sql = 'SELECT *             
FROM ' . USERS_TABLE . '
             WHERE user_id = ' . $to_address[$i];
$result = $db->sql_query($sql);
$to_user = $db->sql_fetchrow($result);
$db->sql_freeresult($result);
*/
I uncommented that and then commented out the part below it

Code: Select all

$sql = 'SELECT u.*, b.*
           FROM ' . USERS_TABLE . ' u, ' . BOTS_TABLE . " b
           WHERE u.user_id != b.user_id
                         AND (b.user_id = $to_address[$i]
                                     OR u.user_id = $to_address[$i])";

$result = $db->sql_query($sql);
$to_user = $db->sql_fetchrow($result);
$db->sql_freeresult($result);
I'm not sure if this breaks anything, but it seems fine so far and it fixed the 'to' part.

it worked fine for my board. 10x.

Jotne
Registered User
Posts: 364
Joined: Wed Jul 16, 2003 10:18 pm
Location: Norway

Re: [BETA] simple acp pm read [1.0.4b]

Post by Jotne »

Patch did work fine for me. To make it some more clear.

Open: includes/acp/acp_prvmsg.php

Find

Code: Select all

				/*
				$sql = 'SELECT *
					FROM ' . USERS_TABLE . '
					WHERE user_id = ' . $to_address[$i];
				$result = $db->sql_query($sql);
				$to_user = $db->sql_fetchrow($result);
				$db->sql_freeresult($result);
				*/
				
				$sql = 'SELECT u.*, b.*
					FROM ' . USERS_TABLE . ' u, ' . BOTS_TABLE . " b
					WHERE u.user_id != b.user_id
						AND (b.user_id = $to_address[$i]				
							OR u.user_id = $to_address[$i])";

				$result = $db->sql_query($sql);
				$to_user = $db->sql_fetchrow($result);
				$db->sql_freeresult($result);
				
Replace with

Code: Select all

				$sql = 'SELECT *
					FROM ' . USERS_TABLE . '
					WHERE user_id = ' . $to_address[$i];
				$result = $db->sql_query($sql);
				$to_user = $db->sql_fetchrow($result);
				$db->sql_freeresult($result);
				
				/*
				$sql = 'SELECT u.*, b.*
					FROM ' . USERS_TABLE . ' u, ' . BOTS_TABLE . " b
					WHERE u.user_id != b.user_id
						AND (b.user_id = $to_address[$i]				
							OR u.user_id = $to_address[$i])";

				$result = $db->sql_query($sql);
				$to_user = $db->sql_fetchrow($result);
				$db->sql_freeresult($result);
				*/
				
Then Purge Cache from ACP
Don’t feed the Troll
Molde Cycleklubb - - http://www.moldeck.no
HP41.org - - http://forum.hp41.org

User avatar
ufogörenmasumköylü
Registered User
Posts: 27
Joined: Tue Dec 16, 2008 7:21 pm
Location: Turkey
Contact:

Re: [BETA] simple acp pm read [1.0.4b]

Post by ufogörenmasumköylü »

@Jotne;

Thanks, it worked.

User avatar
fazaljatoi
I've Been Banned!
Posts: 503
Joined: Wed Aug 31, 2005 8:02 pm

Re: [BETA] simple acp pm read [1.0.4b]

Post by fazaljatoi »

ufogörenmasumköylü wrote:@Jotne;

Thanks, it worked.
but our forum other admins have no view pm why?

jeebs
Registered User
Posts: 3
Joined: Sat Jan 10, 2009 6:18 am

Re: [BETA] simple acp pm read [1.0.4b]

Post by jeebs »

Sandrus wrote:There's something wrong here... below 'to', every receiver is 'Guest 'Guest' 'Guest' and so on. What do I do about this?
'

I get the same problem. Can someone help?

fakeDecoy
Registered User
Posts: 42
Joined: Sun Aug 26, 2007 2:08 am

Re: [BETA] simple acp pm read [1.0.4b]

Post by fakeDecoy »

I'm interested in this mod, but before I go messing with my forum, is this mod brokeN? And is it in English?

Jotne
Registered User
Posts: 364
Joined: Wed Jul 16, 2003 10:18 pm
Location: Norway

Re: [BETA] simple acp pm read [1.0.4b]

Post by Jotne »

After the latest patch that I do mention above, it works fine for me and the patch is in english.
Don’t feed the Troll
Molde Cycleklubb - - http://www.moldeck.no
HP41.org - - http://forum.hp41.org

jeebs
Registered User
Posts: 3
Joined: Sat Jan 10, 2009 6:18 am

Re: [BETA] simple acp pm read [1.0.4b]

Post by jeebs »

I got it working right now, thanks.

djblalock
Registered User
Posts: 1
Joined: Fri Dec 26, 2008 3:59 pm

Re: [BETA] simple acp pm read [1.0.4b]

Post by djblalock »

ok when i try downloading it all i see is this box..... what do I do??

Image

User avatar
ric323
Former Team Member
Posts: 22910
Joined: Tue Feb 06, 2007 12:33 am
Location: Melbourne, Australia
Name: Ric
Contact:

Re: [BETA] simple acp pm read [1.0.4b]

Post by ric323 »

djblalock wrote:ok when i try downloading it all i see is this box..... what do I do??

Image
Well downloading means you want to save a copy on your hard drive, so I'd take a guess you would want to hit the SAVE button. :)
The Knowledge Base contains solutions to many common problems!
How to fix "Doesn't have a default value" and "Incorrect string value: xxx for column 'post_text' " errors.
How to do a clean re-install of the latest phpBB3 version.
Problems with permissions? Read phpBB3 Permissions

Locked

Return to “[3.0.x] Abandoned MODs”