Admins can't delete topics after security upgrade

Support for IntegraMOD 140

Moderator: Integra Moderator

PostAuthor: Thug Lyfe » Mon May 08, 2006 6:32 pm

dammit.....well I don't know what to edit or change since my update was perfectly done...I have no problems anywhere on my forum except this issue
Last edited by Thug Lyfe on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

Thug Lyfe
Members
Members
 
Posts: 30
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 1:09 pm
Cash on hand: 0.00

Re: Admins can't delete topics after security upgrade

PostAuthor: CopsOffDuty » Tue May 09, 2006 5:54 pm

OK...

So after downloading a more up-to-date release of the php security it finally it installed. Then I hit the incorrect password error. A Template issue.

If you run into the issue, I simply copied the files from the default template over to the one I am using and all it well! <img>

Hope this helps some of ya'll! Thanks everyone for your help!
Last edited by CopsOffDuty on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Sincerely,
http://www.CopsOffDuty.com
[img=left]http://www.copsoffduty.com/images/sigbanner.jpg[/img]

CopsOffDuty
Newbie
Newbie
 
Posts: 10
Likes: 0 post
Liked in: 0 post
Joined: Thu Apr 27, 2006 1:17 am
Cash on hand: 0.00
Location: Los Angeles, CA

PostAuthor: Thug Lyfe » Tue May 09, 2006 6:08 pm

well thankz for the advice, but then which file am i replacing? and then my edited files wll be overwrited which might problem in the future
Last edited by Thug Lyfe on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

Thug Lyfe
Members
Members
 
Posts: 30
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 1:09 pm
Cash on hand: 0.00

Re: Admins can't delete topics after security upgrade

PostAuthor: MWE_001 » Tue May 09, 2006 7:06 pm

If the modcp.pjhp is not edited correctly, this is where this error is for sure coming from....

-> Added a password verification to the modcp.php file so anyone who possibly fakes a user
with some kind of cookie exploit, can not delete topics/posts via modcp.php.
Only by entering their password for verification.....

#
#-----[ OPEN ]---------------------------------------------
#
modcp.php

#
#-----[ FIND ]---------------------------------------------
# Dragonsys - Adjusted for easier find, the line which was here is located in the file multiple times
//
// Check if user did or did not confirm
// If they did not, forward them to the last page they were on
//

#
#-----[ BEFORE, ADD ]---------------------------------------------
#
#======================================================================= |
#==== Start: == phpBB Security ========================================= |
#==== v1.0.3 =========================================================== |
#====
if ( ($mode == 'delete') && ($confirm) )
{
$pass_one = isset($HTTP_POST_VARS['phpBBSecurity_verify']) ? $HTTP_POST_VARS['phpBBSecurity_verify'] : '';
$pass_two = $userdata['user_password'];
if (md5($pass_one) != $pass_two)
message_die(GENERAL_ERROR, $lang['PS_modcp_verify_fail']);
}
#====
#==== Author: aUsTiN [austin@phpbb-amod.com] [http://phpbb-tweaks.com] = |
#==== End: ==== phpBB Security ========================================= |
#======================================================================= |

#
#-----[ FIND ]---------------------------------------------
#
'MESSAGE_TEXT' => $lang['Confirm_delete_topic'],

#
#-----[ AFTER, ADD ]---------------------------------------------
#
#======================================================================= |
#==== Start: == phpBB Security ========================================= |
#==== v1.0.3 =========================================================== |
#====
'L_VERIFY' => '<br><br><span>'. $lang['PS_modcp_verify'] .' <input></span>',
#====
#==== Author: aUsTiN [austin@phpbb-amod.com] [http://phpbb-tweaks.com] = |
#==== End: ==== phpBB Security ========================================= |
#======================================================================= |


I fixed this error with this edit correctly and all is well now. I hope this helps you. At least it did with my application. Have a nice day.......Ray
Last edited by MWE_001 on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
"Don't gain the world and lose your soul, wisdom is better than silver and gold" -Bob Marley

If you build it, I can break it! ~ Whispered in the tone of the movie Field of Dreams.
User avatar
MWE_001
Sr Integra Member
Sr Integra Member
 
Posts: 1265
Likes: 0 post
Liked in: 0 post
Images: 12
Joined: Fri Apr 21, 2006 6:59 pm
Cash on hand: 0.00
Location: Illinois

PostAuthor: Thug Lyfe » Wed May 10, 2006 1:34 pm

hmm thankz dude, that fixed it
thankz a lot
Last edited by Thug Lyfe on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

Thug Lyfe
Members
Members
 
Posts: 30
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 1:09 pm
Cash on hand: 0.00

Re: Admins can't delete topics after security upgrade

PostAuthor: MWE_001 » Wed May 10, 2006 3:29 pm

I finally helped someone on IM? :wink: Lol. J/K glad it's working for ya...
Last edited by MWE_001 on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
"Don't gain the world and lose your soul, wisdom is better than silver and gold" -Bob Marley

If you build it, I can break it! ~ Whispered in the tone of the movie Field of Dreams.
User avatar
MWE_001
Sr Integra Member
Sr Integra Member
 
Posts: 1265
Likes: 0 post
Liked in: 0 post
Images: 12
Joined: Fri Apr 21, 2006 6:59 pm
Cash on hand: 0.00
Location: Illinois

PostAuthor: Thug Lyfe » Thu May 11, 2006 5:57 pm

lol uhmm problem's not over yet
now my and every member's pm system says '1 unread message'....even though there isn't any.....solution please lol
Last edited by Thug Lyfe on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

Thug Lyfe
Members
Members
 
Posts: 30
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 1:09 pm
Cash on hand: 0.00

Re: Admins can't delete topics after security upgrade

PostAuthor: MWE_001 » Thu May 11, 2006 6:46 pm

That bug bit me a while back and I forgot how I got rid of it....except i allways had 28 unread messages.... <img>
Last edited by MWE_001 on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
"Don't gain the world and lose your soul, wisdom is better than silver and gold" -Bob Marley

If you build it, I can break it! ~ Whispered in the tone of the movie Field of Dreams.
User avatar
MWE_001
Sr Integra Member
Sr Integra Member
 
Posts: 1265
Likes: 0 post
Liked in: 0 post
Images: 12
Joined: Fri Apr 21, 2006 6:59 pm
Cash on hand: 0.00
Location: Illinois

PostAuthor: Thug Lyfe » Fri May 12, 2006 2:17 pm

hmm anyone else know what's wrong?
help will be appreciated...
Last edited by Thug Lyfe on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

Thug Lyfe
Members
Members
 
Posts: 30
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 1:09 pm
Cash on hand: 0.00

PostAuthor: Adrian Rea » Fri May 12, 2006 10:04 pm

Last edited by Adrian Rea on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
Adrian Rea
Sr Integra Member
Sr Integra Member
 
Posts: 1263
Likes: 0 post
Liked in: 0 post
Joined: Sat Mar 11, 2006 11:59 pm
Cash on hand: 0.00

PostAuthor: Thug Lyfe » Sat May 13, 2006 7:11 pm

hmm I tried that, and searched before posting
well that didn't work for me, any other solution?
Last edited by Thug Lyfe on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

Thug Lyfe
Members
Members
 
Posts: 30
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 1:09 pm
Cash on hand: 0.00

Re: Admins can't delete topics after security upgrade

PostAuthor: gamesug » Mon May 29, 2006 6:39 pm

I had the same problem and it was with my template. If your modcp.php file is edited perfectly make sure you do this step.

-----------------------------------
----[ OPEN ]-----------------------
-----------------------------------

templates/*/confirm_body.tpl

-----------------------------------
----[ FIND ]-----------------------
-----------------------------------

</form>

-----------------------------------
----[ ADD, BEFORE ]----------------
-----------------------------------

{L_VERIFY}

-----------------------------------
----[ CLOSE & SAVE ]---------------
-----------------------------------
Last edited by gamesug on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

gamesug
Newbie
Newbie
 
Posts: 4
Likes: 0 post
Liked in: 0 post
Joined: Mon Apr 10, 2006 9:37 am
Cash on hand: 0.00

Re: Admins can't delete topics after security upgrade

PostAuthor: Fallen » Sun Jun 04, 2006 9:57 pm

"gamesug";p="7824" wrote:I had the same problem and it was with my template. If your modcp.php file is edited perfectly make sure you do this step.

-----------------------------------
----[ OPEN ]-----------------------
-----------------------------------

templates/*/confirm_body.tpl

-----------------------------------
----[ FIND ]-----------------------
-----------------------------------

</form>

-----------------------------------
----[ ADD, BEFORE ]----------------
-----------------------------------

{L_VERIFY}

-----------------------------------
----[ CLOSE & SAVE ]---------------
-----------------------------------

That was the fix i was looking for. Just was aware of this error today. <img> Fixed now. Thanks all!
Last edited by Fallen on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
Fallen
Members
Members
 
Posts: 39
Likes: 0 post
Liked in: 0 post
Joined: Sun Apr 09, 2006 7:54 pm
Cash on hand: 0.00

Previous

Return to IntegraMOD 140

Who is online

Registered users: Bing [Bot], Helter, Majestic-12 [Bot]