Hack: Post by Proxy
Version: v1.00.1
Author: MarcoH64
vB version: Tested 3.5.3
Description
With this modification installed, members of usergroups that have permission, will be able to make posts using a different username (post by proxy).
This can be usefull if you want to let Staff members (for example: moderators, administrators) make posts that can not be resolved to a single
staff member. Members that are in a usergroup that has permission to see the real poster, can view both the Proxy username and the real
username.
Features
- Members of a usergroup can be given permission to create posts by members of another usergroup.
- Usergroup permissions control who can view the real poster
- Username can be choosen when creating or editing a post/thread
- Original poster is stored in history
- Postcounts updated on a change of the posters username
- History is updated when a username is changed (from ACP)
- Fully phrased
- Automatic templates edits at runtime. Instructions for manual edits for modified styles are provided.
- As a litle bonus: Usergroups can also be given permission to sent Private Messages on behalf of another username.
Installation
See install.txt
Configuration
See Manual.txt
Change Log
Version 1.00.1 21-02-2006
- Fixed bug giving an error message when PHP setting 'allow_call_time_pass_reference' was set off
Version 1.00 09-02-2006
- Initial Release
Please don't forget to click Install at vbulletin.org.
If you like this work and would like to support the author, donations are always welcome at Paypal: marcoh64@gmail.com
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
One thing i did notice - if you post as another user, then look at their member profile, you can see that they haven't been online when posting. For instance, i tested it with a phantom user i made a few days ago - and he managed to post on 12th Feb even though he hasn't been online since 6th.
Hmm never thought about that, shouldn't be a showstopper i think, since in most cases this will not be a real user that ever login. But i will keep it in mind for the next release.
Hmm never thought about that, shouldn't be a showstopper i think, since in most cases this will not be a real user that ever login. But i will keep it in mind for the next release.
If a user is invisible it will look like that anyway. Invisible users "last seen" status will be the day that they "vanished"
Hey, cool goodie!
[high]* Hellcat runns off to install and test
[/high]
[EDIT]
Installed.
But now I'm getting this:
Quote:
Originally Posted by my webserver
Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in \htdocs\vb35\newthread.php(68) : eval()'d code on line 14
Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in \htdocs\vb35\includes\functions_mh_pbp.php on line 107
Besides that it's working....
[Edit #2]
This seems to fix it:
Remove the "&" from the first parameter in all calls to mh_pbp_modify_template() in the plugins and the PHP file.
That removed the warnings for me and everything still worked fine.
Yes i saw the other thread about anonymous posting, and i also had this hack in mind when i said i would come with something that might be adjusted for that purpose.
That is exactly the method I want/plan to use this! Thanks again MarcoH64.
Has anyone tried it yet as a substitute for the anonymous hack? What happens if you try to PM someone that is using their proxy/alias name? Does it show the proxy name in the "Recipients List"?
Also, to whose profile does it take you to when you click on the proxy's name in the postbit?
clicks install... installed it and got the same errors as hellcat
tried doing the "&" removal trick and now it doesn't work at all...
update: removing the "&" from the uploaded file gets rid of the second error message
update: disabled for now, but hoping to resolve the problem - definately a cool idea :-)
Can you provide me a link to a phpinfo() page on your server.
And yes removing teh & in the function definition will make the hack not work.
Quote:
Originally Posted by rnmcd
Has anyone tried it yet as a substitute for the anonymous hack? What happens if you try to PM someone that is using their proxy/alias name? Does it show the proxy name in the "Recipients List"?
Also, to whose profile does it take you to when you click on the proxy's name in the postbit?
It will really appear to be posted by the Proxy user. So all links will point to the profile or PM of the proxy user.
If you don't want to PM a "Anonymous" user, set his profile to not allow PM's.