Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Post by Proxy - Let your staff post using another username(s) Details »»
Post by Proxy - Let your staff post using another username(s)
Version: 1.00.1, by Marco van Herwaarden Marco van Herwaarden is offline
Developer Last Online: Dec 2010 Show Printable Version Email this Page

Version: 3.5.3 Rating:
Released: 02-08-2006 Last Update: 02-20-2006 Installs: 72
DB Changes Uses Plugins Template Edits
Additional Files  
No support by the author.

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.

Comments
  #22  
Old 02-12-2006, 03:06 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cd1986
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.
Reply With Quote
  #23  
Old 02-12-2006, 08:02 PM
Zowners Zowners is offline
 
Join Date: Dec 2005
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just because they aren't real users doesn't mean we don't want them to look like real users
Reply With Quote
  #24  
Old 02-12-2006, 08:12 PM
moonclamp's Avatar
moonclamp moonclamp is offline
 
Join Date: May 2004
Location: London
Posts: 516
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MarcoH64
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"
Reply With Quote
  #25  
Old 02-12-2006, 11:41 PM
Hellcat Hellcat is offline
 
Join Date: May 2003
Location: Germany
Posts: 560
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #26  
Old 02-13-2006, 06:48 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, will look into it. What PHP version are you running (PHP5 with strictmode??)?
Reply With Quote
  #27  
Old 02-13-2006, 07:16 AM
Hellcat Hellcat is offline
 
Join Date: May 2003
Location: Germany
Posts: 560
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got that on my local PHP 4.4.0 testinstall with almost every PHP (INI) setting on default value.
Reply With Quote
  #28  
Old 02-17-2006, 03:04 PM
m_k's Avatar
m_k m_k is offline
 
Join Date: Mar 2003
Location: South Carolina
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 :-)
Reply With Quote
  #29  
Old 02-17-2006, 04:44 PM
rnmcd rnmcd is offline
 
Join Date: Aug 2004
Posts: 399
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MarcoH64
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?
Reply With Quote
  #30  
Old 02-20-2006, 10:41 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by m_k
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.
Reply With Quote
  #31  
Old 02-20-2006, 12:56 PM
rnmcd rnmcd is offline
 
Join Date: Aug 2004
Posts: 399
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MarcoH64

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.
In other words, if I clicked on the link for "smod" (as shown in your screenshots) where would it take me?


Sorry for my confusion...

Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:37 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04352 seconds
  • Memory Usage 2,310KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete