vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Post by Proxy - Let your staff post using another username(s) (https://vborg.vbsupport.ru/showthread.php?t=107557)

Marco van Herwaarden 02-08-2006 10:00 PM

Post by Proxy - Let your staff post using another username(s)
 
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

Brad 02-09-2006 06:29 PM

I like it. :)

Installed.

Snake 02-09-2006 06:37 PM

Oh goodie.

/me installs

Ziki 02-09-2006 06:40 PM

Oh very fine!
~Ziki clicks install~

Marco van Herwaarden 02-09-2006 06:41 PM

Quote:

Originally Posted by Aftermath
* Aftermath installs

Quote:

Originally Posted by ZIKI-SET
~Ziki clicks install~

Then also please click the button :D

Marco van Herwaarden 02-09-2006 06:57 PM

Quote:

Originally Posted by moonclamp
Is it possible to set this so it can only be used in certain forums? (rather than just the forums where the user is a moderator)

No you can not. It is a Usergroup permissions, not a forum permission. Maybe i'll think about adding that in a future version.

moonclamp 02-09-2006 07:11 PM

Quote:

Originally Posted by MarcoH64
No you can not. It is a Usergroup permissions, not a forum permission. Maybe i'll think about adding that in a future version.

OK ... thanks.

I was thinking of using it like the anonymity hack to let users post anonymously in a "confessions" forum. (the proper anonym hack is buggy) :)

I'll look forward to the time you do, but I may still use it for it's proper purposes in the meantime.

Marco van Herwaarden 02-09-2006 07:15 PM

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.

projectego 02-09-2006 08:14 PM

[high]* projectego clicks install :)[/high]

Wild-Wing 02-09-2006 08:33 PM

this is cool if your dumping the forum and installing a fresh copy or moving to vB

Marco van Herwaarden 02-09-2006 08:45 PM

Quote:

Originally Posted by Wild-Wing
this is cool if your dumping the forum and installing a fresh copy or moving to vB

Please explain, i don't really get what you mean.

IrPr 02-09-2006 11:46 PM

Thanks Marco!
its what i was looking for;)
very usefull, same as all of ur Modifications ;)
Welcome back to NL:banana:

khanted 02-10-2006 05:25 AM

Yes, it's great. Thanks.

Marco van Herwaarden 02-10-2006 07:17 AM

Nobody any errors or other complaints?;)

Revpolar 02-11-2006 10:10 PM

Quote:

Originally Posted by moonclamp
OK ... thanks.

I was thinking of using it like the anonymity hack to let users post anonymously in a "confessions" forum. (the proper anonym hack is buggy) :)

I'll look forward to the time you do, but I may still use it for it's proper purposes in the meantime.

I like to see that too. Thanks.

luroca 02-12-2006 01:21 PM

Quote:

Originally Posted by MarcoH64
Nobody any errors or other complaints?;)

Well, it?s only me or signatures don?t appear in proxy posts?

I like this hack :)

Marco van Herwaarden 02-12-2006 01:29 PM

Quote:

Originally Posted by luroca
Well, it?s only me or signatures don?t appear in proxy posts?

Which signature did you expect, from the real poster or the Proxied user? Never tested with signatures, so there might be a problem, please feedback.
Quote:

Originally Posted by luroca
I like this hack

Thanks. :D

Marco van Herwaarden 02-12-2006 01:38 PM

Quote:

Originally Posted by luroca
Well, it?s only me or signatures don?t appear in proxy posts?

Just did some testing on my testboard, but the signature of the (real/proxied) user is showing fine with me. Even if you edit the post and update the poster.

Marco van Herwaarden 02-12-2006 01:46 PM

Quote:

Originally Posted by Revpolar
Quote:
Originally Posted by moonclamp
OK ... thanks.

I was thinking of using it like the anonymity hack to let users post anonymously in a "confessions" forum. (the proper anonym hack is buggy)

I'll look forward to the time you do, but I may still use it for it's proper purposes in the meantime.


I like to see that too. Thanks.

Ok, if i understand correct, all that would be needed to turn this into an Anonymous Posting hack, would be forum permissions. Right now only Usergroup permissions are possible.

What would be needed?
A. A forum setting (ie. every usergroup can post in that forum using 1 of the defined users).
B. A Usergroup/Forum permission. (ie. you can set for each Usergroup for each forum what permissions they have).

cd1986 02-12-2006 02:28 PM

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. :p

Is there any way to update the last date online when the post is made?

Other than that, great addon - should be really useful! :)

Marco van Herwaarden 02-12-2006 03:06 PM

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.

Zowners 02-12-2006 08:02 PM

Just because they aren't real users doesn't mean we don't want them to look like real users :)

moonclamp 02-12-2006 08:12 PM

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"

Hellcat 02-12-2006 11:41 PM

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.

Marco van Herwaarden 02-13-2006 06:48 AM

Thanks, will look into it. What PHP version are you running (PHP5 with strictmode??)?

Hellcat 02-13-2006 07:16 AM

I got that on my local PHP 4.4.0 testinstall with almost every PHP (INI) setting on default value.

m_k 02-17-2006 03:04 PM

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 :-)

rnmcd 02-17-2006 04:44 PM

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?

Marco van Herwaarden 02-20-2006 10:41 AM

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.

rnmcd 02-20-2006 12:56 PM

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...

:o

Marco van Herwaarden 02-20-2006 01:10 PM

Quote:

Originally Posted by rnmcd
In other words, if I clicked on the link for "smod" (as shown in your screenshots) where would it take me?

Then it would take you to the profile of "smod".

PS The original poster name is only visible of your usergroup has permission to view it.

m_k 02-20-2006 02:00 PM

Quote:

Originally Posted by MarcoH64
Can you provide me a link to a phpinfo() page on your server.

sent via PM

Southpaw 02-20-2006 03:03 PM

Quote:

Originally Posted by MarcoH64
Ok, if i understand correct, all that would be needed to turn this into an Anonymous Posting hack, would be forum permissions. Right now only Usergroup permissions are possible.

What would be needed?
A. A forum setting (ie. every usergroup can post in that forum using 1 of the defined users).
B. A Usergroup/Forum permission. (ie. you can set for each Usergroup for each forum what permissions they have).

Is this going to be a planned feature in the future? I would be really interested if forum settings were added to this hack.

Marco van Herwaarden 02-21-2006 10:17 AM

Quote:

Originally Posted by Southpaw
Is this going to be a planned feature in the future? I would be really interested if forum settings were added to this hack.

I asked for feedback on what permission method would be preferred for this to function, so i can implement it.

Until now nobody responded, so i am not working on it.

rnmcd 02-21-2006 10:55 AM

Quote:

Originally Posted by Southpaw
Is this going to be a planned feature in the future? I would be really interested if forum settings were added to this hack.

Southpaw, you only plan to have anonymous posting feature in one forum?

I was going to allow anonoymous posts in any forum.

Marco van Herwaarden 02-21-2006 11:06 AM

Quote:

Originally Posted by rnmcd
Southpaw, you only plan to have anonymous posting feature in one forum?

I was going to allow anonoymous posts in any forum.

Anonymous postig in any forum should already be possible with the current version.

Marco van Herwaarden 02-21-2006 11:07 AM

Bug Fix version 1.00.1 released:

Changes:

Version 1.00.1 21-02-2006
- Fixed bug giving an error message when PHP setting 'allow_call_time_pass_reference' was set off


This release needs only to be installed if you have 'allow_call_time_pass_reference' set to Off, and you are getting errors warning you about: Call-time pass-by-reference has been deprecated

To upgrade, do an overwrite install of the new product file.

Edit: Also the files in the upload directory must be re-uploaded to your server for this patch.

Southpaw 02-21-2006 11:54 AM

Quote:

Originally Posted by rnmcd
Southpaw, you only plan to have anonymous posting feature in one forum?

I was going to allow anonoymous posts in any forum.

Yea, I was going to limit it to only one forum so that it can't be abused through my whole site.

Marco van Herwaarden 02-21-2006 12:05 PM

Quote:

Originally Posted by Southpaw
Yea, I was going to limit it to only one forum so that it can't be abused through my whole site.

Then please take the time to answer the questions i have asked here: https://vborg.vbsupport.ru/showpost....2&postcount=20

Southpaw 02-21-2006 01:12 PM

Quote:

Originally Posted by MarcoH64
Ok, if i understand correct, all that would be needed to turn this into an Anonymous Posting hack, would be forum permissions. Right now only Usergroup permissions are possible.

What would be needed?
A. A forum setting (ie. every usergroup can post in that forum using 1 of the defined users).
B. A Usergroup/Forum permission. (ie. you can set for each Usergroup for each forum what permissions they have).

I think B would be ideal since you can set it to work like A, but also have the option to do more advanced things, like make a usergroup that is banned from using the proxy in the specified forum for abusing it.


All times are GMT. The time now is 10:14 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01552 seconds
  • Memory Usage 1,843KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (27)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete