Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=1123)
Post As An Alternative User
Important!!!: You should uninstall the mod Admin Can Post As An Alternative User mod, if you have, before installing this mod.
This modification adds the feature of posting as an alternative user.
While posting, a checkbox for activating the feature and a textbox for the user id to post as is appeared under the Additional Options for the user who has the needed permission.
Also, if the user id is left blank or set to zero the post is sent as a guest named "Forum Staff".
You can give the permission from
Admin CP >> Permissions
Mod is originally coded by karlbenson and taken over by [SiNaN].
-[SiNaN]
Glad to see someone else taking the reigns on another karlbenson mod. Good luck to you, [SiNaN].
Just a couple suggestions:
-Allow a "default" ID to be set via admin CP. One that could be changed in the post, but if the post box is left blank, it will take the default setting instead. That way, lazy admins who aren't big on the technical side of SMF don't have to learn user IDs.
-Allow usernames/display names to be entered as well, similar to the PM recipient box on the Send New Message page..
Thanks bro [SiNaN]. ;)
A while ago, I was trying to put the ID number box in the post form using the old/original version. With your release of this MOD, I can sitback now and have some coffee. Hehehe.
Thanks again bro.
I ran across this the other day... one member erased her account but them wanted back... well the post that she made became "guest" and I wanted to use this mod to change the "guest" to her new account, just to bust her post ranks... anyway, I couldn't. Could you add the posibility to change the guest posts to registered users?
Thanks!
Quote from: Eliana Tamerin on March 17, 2008, 02:44:47 PM
Glad to see someone else taking the reigns on another karlbenson mod. Good luck to you, [SiNaN].
Just a couple suggestions:
-Allow a "default" ID to be set via admin CP. One that could be changed in the post, but if the post box is left blank, it will take the default setting instead. That way, lazy admins who aren't big on the technical side of SMF don't have to learn user IDs.
-Allow usernames/display names to be entered as well, similar to the PM recipient box on the Send New Message page..
Hımmm, understand Elina. I'll make a default. Also in next version, I was planning to do it this usernames as in the pm sending.
Quote from: dannbass on March 17, 2008, 04:44:01 PM
I ran across this the other day... one member erased her account but them wanted back... well the post that she made became "guest" and I wanted to use this mod to change the "guest" to her new account, just to bust her post ranks... anyway, I couldn't. Could you add the posibility to change the guest posts to registered users?
Thanks!
This mod will not do that. But you can do it with just changing the message's posterid from the database.
Dannbass, SMF 2.0 Beta 3 Public has that feature now.
Quote from: Eliana Tamerin on March 18, 2008, 09:48:02 AM
Dannbass, SMF 2.0 Beta 3 Public has that feature now.
Should be I think. :)
Is it the same as you told?
Thanks a lot both of you! I haven't check 2.0 yet, don't get me wrong, I was yesterday at 7 pm all crazy and stuff, and really excited! I'll check that function as soon as I take it for a test drive in my XAMPP
Thanks!
It's under Admin CP > Maintenance > Forum Maintenance > Common Tasks > "Reattribute User Posts"
Cool!! thanks a lot Eliana!
No problem. Glad you figured it out. I think [SiNaN]'s Change Poster of the Message mod should be out soon, so you'll be able to use that functionality in 1.1.4 as well.
How do you get this mod to function??
When you post, you can find the options under "Additional Options." You can also control who has permission to use this under Admin CP > Permissions.
If I edit the post by "member 1" and I am "member 2", will the post by member 1 be one of my posts?
Thank
Good Mod
she work 100% ok
Quote from: ccbtimewiz on March 18, 2008, 02:52:05 PM
If I edit the post by "member 1" and I am "member 2", will the post by member 1 be one of my posts?
No. It just changes the user edited as member1. My new mod is going to do what you say.
excellent this too
Turkish lanugage pack is added.
Portuguese.php
<file name="$languagedir/ManagePermissions.portuguese.php">
<operation>
<search position="end" />
<add><![CDATA[
$txt['permissionname_reply_alternate'] = 'Pode responder como membro substituto ';
$txt['permissionhelp_reply_alternate'] = 'Permitir membro para postar como membro substituto .';]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.portuguese.php">
<operation>
<search position="end" />
<add><![CDATA[
$txt['adminscanpostasaltuser'] = 'Postar/ Editar como membro substituto ';
$txt['adminspostasguestcalled'] = 'Forum Funcionários';
$txt['adminscanpostasaltuserid'] = 'Membro substituto ID';]]></add>
</operation>
</file>
Thank you all
again..
Quote from: [SiNaN] on March 19, 2008, 03:07:22 AM
Quote from: ccbtimewiz on March 18, 2008, 02:52:05 PM
If I edit the post by "member 1" and I am "member 2", will the post by member 1 be one of my posts?
No. It just changes the user edited as member1. My new mod is going to do what you say.
Excellent. Looking forward to it.
Mee too.
Could i somehow get it to not show "Guest" when i Post as forum-staff? And siply show nothing at all? If this would affect everyone posting as guest, that would be okay, i just can't find how to change it.
This is an excellent mod, it works really well.
Quote from: Innocenzia on April 02, 2008, 10:35:23 AM
Could i somehow get it to not show "Guest" when i Post as forum-staff? And siply show nothing at all? If this would affect everyone posting as guest, that would be okay, i just can't find how to change it.
You can create a new user named Forum Staff and post as this user.
Quote
You can create a new user named Forum Staff and post as this user.
The problem with that is that my members would PM the User"Forum Staff", so i would simply like to take out the Group-name. Or possibly change the group-name. Since Guests can not post in my forum, could i just change the Group-name somehow to something like "~" or whatever, would that change the value for "Forum Staff"'s group, and if so, could someone point me in the right direction, please? :)
Just set the Forum Staff user's PM ignore list to "*" (which blocks all PMs), and then put in the signature "Do not PM this account." If they do anyways, it's their own fault for not following the rules.
Quote from: Innocenzia on April 03, 2008, 09:11:48 AM
Quote
You can create a new user named Forum Staff and post as this user.
The problem with that is that my members would PM the User"Forum Staff", so i would simply like to take out the Group-name. Or possibly change the group-name. Since Guests can not post in my forum, could i just change the Group-name somehow to something like "~" or whatever, would that change the value for "Forum Staff"'s group, and if so, could someone point me in the right direction, please? :)
Sources/Display.php
Find:
$memberContext[$message['ID_MEMBER']]['group'] = $txt[28];
Replace:
$memberContext[$message['ID_MEMBER']]['group'] = 'WHATYOUWANTTOBESHOWN';
Thank you so much [SiNaN]! It worked great!
And thanks for the suggestion Eliana Tamerin, i didn't realize it could be done like that. However, just removing the group was a better alternative for my site. :)
all of my posts come up as forum staff even though I put a name in the box
You can't put a name in the box. You have to put the ID number of the user.
How do you find the ID number?
-Right click on the user's name on any page.
-Click Copy Link Location or Copy Link Address or Copy Shortcut
-You'll get a link like this: http://www.simplemachines.org/community/index.php?action=profile;u=150900
-This is the part you need: 150900 (See where to find it? http://www.simplemachines.org/community/index.php?action=profile;u=150900)
-Copy/Paste or type that number into the box and post as an alternative user!
Much easier to navigate, thank you.
thankyou, love it
Thanks Elina. :)
No problem, [SiNaN].
Hi [SiNaN]
This failed installing to the post template, and when I went to manually install it, I couldnt find the section.
I have other mods that may have altered the selected area.
Could you look at my template please?
Thank You in advance.
Quote from: Sabre™ on May 12, 2008, 09:28:32 AM
Hi [SiNaN]
This failed installing to the post template, and when I went to manually install it, I couldnt find the section.
I have other mods that may have altered the selected area.
Could you look at my template please?
Thank You in advance.
I did it for you instead. Here you go.
Thanks ccbtimewiz, it works perfect :)
I went through your addition, and noticed the subtle changes youve made.
Very nice mate.
With my limited knowledge(limited = non existent), I would never have gotten this to work.
Thanks again bud :)
ADDITION: Would there be a way to get this to change previous posts, to "forum staff" posts?
Quote from: Sabre™ on May 12, 2008, 08:11:15 PM
Thanks ccbtimewiz, it works perfect :)
I went through your addition, and noticed the subtle changes youve made.
Very nice mate.
With my limited knowledge(limited = non existent), I would never have gotten this to work.
Thanks again bud :)
ADDITION: Would there be a way to get this to change previous posts, to "forum staff" posts?
Indeed. You had the other mod Sinan made in your template. Just change the owner of the topic to "0" or make another account called "Forum Staff" and type their ID in the field.
Hello. I had the "Admins Can Post As Alternative User" installed on my site and tweaked a bit to allow users to post as an account set up called Anonymous.
Basically, I believe that this is essentially what this mod does. My question then is do you have any plans on making this available for SMF2.0? It's a fantastic idea and I have been without such a feature for far too long. :P
Thanks for your time.
Thanks ccbtimewiz for support.
SunKing, so many people waiting my mods to be updated for 2.0, but really I do not have time. I have 13 mods and the que is:
-SimplePortal
-Profile Visitors
-Automatic Karma
-Topic Locked Message
-Post As An Alternative User
-.....
SiNaN, finals holding you up?
Nice guess Eliana. After the finals -in 2 months- I hope all mods would be updated to the 2.0 Beta versions.
Not really a guess, more of my own experience right now. ;) I figured that's probably what had you down (ok, that part was a guess) and out for the moment.
Quote from: ccbtimewiz on May 12, 2008, 09:25:49 PM
Indeed. You had the other mod Sinan made in your template. Just change the owner of the topic to "0" or make another account called "Forum Staff" and type their ID in the field.
Cheers.
Sinans mod cant select the "forum staff" and I wont make the forum staff account, as I dont want any details displayed, other than the message. Being represented as a guest, the "forum staff" does this.
ThankYou for your reply, and assistance :)
Quote from: [SiNaN] on May 13, 2008, 01:56:52 AM
...so many people waiting my mods to be updated for 2.0, but really I do not have time. I have 13 mods...
As long as there are plans to, I'll be happy. :D I fully understand priorities.
Quote from: [SiNaN] on May 13, 2008, 02:27:15 AM
Nice guess Eliana. After the finals -in 2 months- I hope all mods would be updated to the 2.0 Beta versions.
If you need it, I can help you update your mods to 2.0
Thought you weren't mucking with 2.0 until it was released, ccbtimewiz. :P
Quote from: ccbtimewiz on May 13, 2008, 12:26:58 PM
If you need it, I can help you update your mods to 2.0
Not a bad offer though. I'll inform you via pm.
Quote from: Eliana Tamerin on May 13, 2008, 12:35:46 PM
Thought you weren't mucking with 2.0 until it was released, ccbtimewiz. :P
I'm not a native speaker, can you paraphrase the sentence Eliana?
Oh, ccbtimewiz has turned me down several times when I've tried to get his advice on upgrading something for 2.0 or coding in 2.0. He told me he wasn't going to use 2.0 until it was released (final version, I'm assuming), so he hadn't looked at the code yet.
I was just teasing him for that remark. :P
:D Go it. Thanks Eliana. ;)
Me too, was not going to update my mods but, you know, you can not ignore the demand. :P
I'd like this too in my 1.1.5 but when I try to install package I get a whole bunch of failed:
1. Execute Code RedirectPdb.php
2. Execute Modification ./Sources/BoardIndex.php Test successful
3. Execute Modification ./Sources/Load.php Test failed
4. Execute Modification ./Sources/ManageBoards.php Test successful
5. Execute Modification ./Sources/MessageIndex.php Test failed
6. Execute Modification ./Sources/Subs-Boards.php Test successful
7. Execute Modification ./Themes/default/BoardIndex.template.php Test failed
8. Execute Modification ./Themes/default/ManageBoards.template.php Test successful
9. Execute Modification ./Themes/default/MessageIndex.template.php Test failed
10. Execute Modification ./Themes/babylon/BoardIndex.template.php Test failed
11. Execute Modification ./Themes/babylon/MessageIndex.template.php Test failed
12. Execute Modification ./Themes/classic/BoardIndex.template.php Test failed
13. Execute Modification ./Themes/classic/MessageIndex.template.php Test failed
14. Execute Modification ./Themes/default/languages/Help.english.php Test successful
15. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
Any ideas?
What modifications do you have installed?
1. Pm_Informer 1.0 [ Uninstall ] [ List Files ] [ Delete ]
2. Perfect Smiley Set 1.0 [ Uninstall ] [ List Files ] [ Delete ]
3. Skype Name Mod 1.0 [ Uninstall ] [ List Files ] [ Delete ]
4. Colorize Boards 3.0 [ Uninstall ] [ List Files ] [ Delete ]
5. MCLegendII.2 2.0 [ Uninstall ] [ List Files ] [ Delete ]
6. Disable Right click 2.0 [ Apply Mod ] [ List Files ] [ Delete ]
7. New Topic Button 1.0 [ Uninstall ] [ List Files ] [ Delete ]
8. Your Button 1.1 [ Apply Mod ] [ List Files ] [ Delete ]
9. Change_Poster_Of_Topic_And_Message 1.0 [ Uninstall ] [ List Files ] [ Delete ]
10. Attachment File Renamer 1.1.2 [ Apply Mod ] [ List Files ] [ Delete ]
11. Auto Email Inactive Users 1.7 [ Uninstall ] [ List Files ] [ Delete ]
12. Integrated Chat 2.9 [ Apply Mod ] [ List Files ] [ Delete ]
13. Hide mod and admin edits 1.0 [ List Files ] [ Delete ]
14. SMF Achat ALPHA 0.2.0b [ Apply Mod ] [ List Files ] [ Delete ]
15. YouTube BBCode 2.3 [ Uninstall ] [ List Files ] [ Delete ]
16. Language Drop 1.0 [ Uninstall ] [ List Files ] [ Delete ]
17. Redirection Boards 2.01 [ Apply Mod ] [ List Files ] [ Delete ]
18. Post_As_An_Alternate_User 2.0 [ Apply Mod ] [ List Files ] [ Delete ]
Are you sure that you're talking about my mod? I include edits only for default theme. And this mod has nothing to do with all that files. It looks like the mod is Redirection Boards.
OK, sorry about that. Now I am, although I suspect there is a problem with the language drop mod. In fact I know there is a problem with that.
Installations actions for "Post_As_An_Alternate_User":
Installing this package will perform the following actions: Type Action Description
1. Execute Modification ./Themes/default/languages/ManagePermissions.english.php Test successful
2. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
3. Execute Modification ./Themes/default/languages/ManagePermissions.english-utf8.php Test successful
4. Execute Modification ./Themes/default/languages/Modifications.english-uft8.php Skipping file
5. Execute Modification ./Sources/ManagePermissions.php Test successful
6. Execute Modification ./Sources/Post.php Test successful
7. Execute Modification ./Sources/Subs-Post.php Test successful
8. Execute Modification ./Themes/default/Post.template.php Test failed
Update: I uninstalled language drop and still got the same errors as above.
Attach your Post.template.php file here and install the mod. I'll edit and give you the modified one.
Thanks. I installed and although the option appears in permissions for everyone except admin unless I am missing something it does not appear when admin makes a post. File attached.
Use the one attached.
Thank you very much. Now fixed and OK
Not at all, thanks for using my mod.
Hi SiNaN,
--very nice functionality!!
I have install on 1.1.5 Default Theme,
no errors on install.
I can change the user no. on a new post, and it will post as a different user.
But, when I just Modify/edit an existing post and change the user no. with the mod, I get no error messages, However, the post is not changed from original user no. I have tried this with posts as topic starter, and not topic starter.
Any suggestions, comments?
Thanks for your time.
:)
ddarrell
When you edit and post as an alternate user, it just affects the edit, not the post. I mean, it is shown as the alternative user edited the post, not you.
If you want to change poster of message, use this:
http://custom.simplemachines.org/mods/index.php?mod=1131
Thank you, I understand now. (--was not showing "edited by" on my forum, or I would have seen that)
It is very handy mod to post under say a "Forum Staff" user name, without having to log off and back on again.
Thank you for a nice Mod!! :D
best regards,
ddarrell
What i must to do in modification, to have always checked option "post like alternative..."
Thank you
Is this the old version? If yes, can you attach your Post.template.php file?
Yes , this is old version,Sinan.
In that file:
Find:
id="postasforumstaff"
Replace:
id="postasforumstaff" checked="checked"
You are the best.Thank you, SiNaN
Now I have one question about this Mod. Is there a way to say track the IP address of one who uses this feature? So say persona A decides to use it as persona B but then does something very messed up... is there a way to figure out who really did it? I run a gaming forum currently and we do have this mod installed for our subscribers who wish to have alternate accounts without the possibility of being removed. now the owner wishes to have it set up with this mod, and i'm simply worried that someone is going to sooner or later take advantage of it and therefore I would security measures prior to that happening.
When i post as myself I can see my ip address but when posting as an alternative user it comes up 0.0.0.0 which I go to click on yet shows nothing for it. Is there any way to remedy this? Perhaps i'm simply missing a step or don't have everything set up properly and therefore before anything gets out of hand I do come to seek the advice as to how to fix this before any complications arise. And yes I'm asking help prior to my daily intake of coffee therefore i'm sure this here post sounds like a bunch of rambling.
I really don't remember how I coded this. But I think we can set the IP of post as the poster IP. I'll check it.
Also you there was a mod SlammedDime was working on, which did what exactly you are looking for. Check this (http://www.simplemachines.org/community/index.php?topic=241961.0) topic.
okay thank you though, i'll dig through the coding again more carefully and see if i can't find that as well as to where it would be set that. I'll check out that mod link you gave as well so again thank you.
I noticed that the IP is not logged if you post as an alternate user - is there a way to fix this? I see this option was brought up before, but I didn't know if there was a resolution for this.
I have some of my staff very paranoid about having this modification (only for use by staff members - but apparently there are some trust issues) and I'd like to ease their fears because I really like this mod. :)
I've run into a problem with these two MODs not wanting to be installed at the same time:
- Post as Alternative User
- Change Poster of Topic and Message
I can install either one, but not both. And both would be extremely helpful (and I hope these features appear in 2.0.0 directly or in a MOD).
Super work!
Grazie,
Cal
These mods will work together, you'll just have to install the second one manually.
Just about every time one mod changes a line of code and you want to install another mod that changes the same line of code you are going to run into install problems and the only thing you can do is install manually.
Look for the manual install instructions for this mod on the download page. Also you may want to check the manual install link in my signature. There is some good info there to help you out.
Any chance for a SMF 2.0 Beta 4 version any time soon? :)
Mod is taken over by BurkeKnight (http://www.simplemachines.org/community/index.php?action=profile;u=150637).
Locking this one. If you need this mod, check this:
http://custom.simplemachines.org/mods/index.php?mod=1554