Advertisement:
Advertise With Us!

Author Topic: Post and Change as Alternate User  (Read 34809 times)

Offline Garou

  • Sr. Member
  • ****
  • Posts: 759
  • Gender: Male
  • On Hiatus.
    • Balance Games
Re: Post and Change as Alternate User
« Reply #140 on: July 21, 2011, 09:03:03 PM »
Note that was working on an RC5 site so it should work on 2.0 Gold

Offline Liam_michael

  • SMF Hero
  • ******
  • Posts: 1,794
    • Free Homework Help
Re: Post and Change as Alternate User
« Reply #141 on: November 09, 2011, 09:50:44 PM »
Excellent Mod, BK Modding Team, just wish rather than adding the #1, we could add the actual name.
Biology Forums - For All Your Science Needs

Featuring
  • Custom Gallery
  • Dictionary
  • Arcade
  • & Blog

Offline floydpink

  • Semi-Newbie
  • *
  • Posts: 63
Re: Post and Change as Alternate User
« Reply #142 on: July 11, 2012, 08:38:14 AM »
A couple of enhancements if anyone's interested:
SMF 1.1.16

Add one to alternate member's poster count
sources/subs-post.php
Find
Code: [Select]
while ($row = mysql_fetch_assoc($request))
{
db_query("
UPDATE {$db_prefix}messages
SET ID_MEMBER = ".$changeposteridno.", posterName = '".$row['memberName']."', posterEmail = '".$row['emailAddress']."', posterIP = '".$row['memberIP']."'
WHERE ID_MSG = $msgOptions[id]
LIMIT 1", __FILE__, __LINE__);
}
mysql_free_result($request);
Add after
Code: [Select]
// Floydpink INSERT - Add one to poster's post count
updateMemberData($changeposteridno, array('posts' => '+'));

Don't update ip address of modified post to that admin's IP
sources/subs-post.php
Find
Code: [Select]
while ($row = mysql_fetch_assoc($request))
{
db_query("
UPDATE {$db_prefix}messages
SET ID_MEMBER = ".$changeposteridno.", posterName = '".$row['memberName']."', posterEmail = '".$row['emailAddress']."', posterIP = '".$row['memberIP']."'
WHERE ID_MSG = $msgOptions[id]
LIMIT 1", __FILE__, __LINE__);
}
mysql_free_result($request);
Replace with
Code: [Select]
while ($row = mysql_fetch_assoc($request))
{
db_query("
UPDATE {$db_prefix}messages
SET ID_MEMBER = ".$changeposteridno.", posterName = '".$row['memberName']."', posterEmail = '".$row['emailAddress']."'
WHERE ID_MSG = $msgOptions[id]
LIMIT 1", __FILE__, __LINE__);
}

Offline BK Modding Team

  • Semi-Newbie
  • *
  • Posts: 15
  • We are back, and slowly getting on track...
Re: Post and Change as Alternate User
« Reply #143 on: July 11, 2012, 08:48:24 AM »
A couple of enhancements if anyone's interested:
SMF 1.1.16

Looks great! I may add it when we get working on the updates.

Offline Kimmie

  • Sophist Member
  • *****
  • Posts: 1,258
Re: Post and Change as Alternate User
« Reply #144 on: July 24, 2012, 03:33:36 AM »
Mod page shows this was updated July 11, 2012 but it is still only showing as compatible with version 1.1.7 and it will not parse past that version. When will it be fully upgraded to support 2.0?

Offline BurkeKnight

  • Sr. Member
  • ****
  • Posts: 901
  • Gender: Male
  • Working on getting up to speed.
Re: Post and Change as Alternate User
« Reply #145 on: July 24, 2012, 05:30:33 AM »
We are still researching the 2.x line. Most of the BK Modding Team has been away for a few years. I for one had been completely offline for that time. So far, we managed to get the 1.x version mods updated, now we need to get used to the changes in the 2.x SMF system before we can get to updating. Hopefully, that will be soon.
HTMLstig and I are also very busy off-line, so things may be a little slower than before. We apologize for any inconvenience. Any coder that would like to help out and maybe join the BK Modding team, can PM me here and we'll talk.
How to flush your DNS
Please do not PM me for support issues, unless told to do so.

Offline Kimmie

  • Sophist Member
  • *****
  • Posts: 1,258
Re: Post and Change as Alternate User
« Reply #146 on: July 24, 2012, 02:36:53 PM »
No problem, just wanted to get clarification on it. :). Thanks for continuing to work on them.

Offline Ron Austin

  • Semi-Newbie
  • *
  • Posts: 20
Re: Post and Change as Alternate User
« Reply #147 on: November 01, 2012, 11:27:06 AM »
I could really use this mod for 2.02.  I have been searching and see that several people have worked on it and then stopped.  What's the status?  Can I get this mod for 2.02?