[TH] Post As User [Deleted]

Has anyone gotten this to work in XF 1.4? As I indicated before, it was blowing up even in a clean 1.4 install, so I'm not sure it is actually compatible with 1.4 as listed?
 
It gives also a other way to do, what this add-on do. You can use a add-on from AndyB to change the owner of a post. ;) And this work with 1.4
 
Has anyone gotten this to work in XF 1.4? As I indicated before, it was blowing up even in a clean 1.4 install, so I'm not sure it is actually compatible with 1.4 as listed?

What happens when you try to use it? I've had it installed forever, but not used it lately. Upgraded to 1.4, tho.
 
What happens when you try to use it? I've had it installed forever, but not used it lately. Upgraded to 1.4, tho.


This:

I'm getting a javascript error when I use this with Sub-Accounts when I post a reply via the quick reply box. I do not get the error when I use "More Options..." It doesn't matter if I post as a sub account or not, it errors every time.

vJmh1Qz.png


In the console:

PHP:
"PHP <div class="baseHtml"><h4>Template Errors: thread_reply_new_posts</h4><ol>
   <li><i>Argument 1 passed to XenForo_Template_Helper_Core::helperUserNameHtml() must be of the type array, null given</i> in /var/www/sites/testing.[redacted].com/html/library/XenForo/Template/Helper/Core.php, line 1671</li>
   <li><i>Argument 1 passed to XenForo_Template_Helper_Core::getUserHref() must be of the type array, null given, called in /var/www/sites/testing.[redacted].com/html/library/XenForo/Template/Helper/Core.php on line 1687 and defined</i> in /var/www/sites/testing.[redacted].com/html/library/XenForo/Template/Helper/Core.php, line 1572</li>
</ol></div>

The post goes through, but doesn't auto-load.

FYI, I installed the sub-accounts and post-as-user add-ons on a clean 1.4.2 test site with no other add-ons. Still get the above error.
 
Does this add-on uninstall cleanly? I don't use it much, really, and one can always use different browsers to "post as another user."

Yeah, I had no problem removing it. The whole point was to take that hassle away from the users though...


So does it actually work in 1.4 or not? No one can seem to confirm that it does, while the resource page says otherwise.
 
Yeah, I had no problem removing it. The whole point was to take that hassle away from the users though...



So does it actually work in 1.4 or not? No one can seem to confirm that it does, while the resource page says otherwise.

I guess I'll leave it installed for a while to see whether it gets updated.
 
Hello, can someone please tell he how I change the color of the black outline for the dropdown list in the image below?

Many thanks,

Screen Shot 2015-02-27 at 11.34.12 AM.webp
 
Getting these errors...

----------------------------

ErrorException: Undefined index: user_id - library/Waindigo/PostAsUser/Extend/XenForo/ControllerPublic/Thread.php:36
Generated By: AdminName, Today at 12:48 AM
Stack Trace
#0 /var/www/vhosts/ddd.co.uk/httpdocs/library/Waindigo/PostAsUser/Extend/XenForo/ControllerPublic/Thread.php(36): XenForo_Application::handlePhpError(8, 'Undefined index...', '/var/www/vhosts...', 36, Array)
#1 /var/www/vhosts/ddd.co.uk/httpdocs/library/Andy/Bookmark/ControllerPublic/Thread.php(15): Waindigo_PostAsUser_Extend_XenForo_ControllerPublic_Thread->actionIndex()
#2 /var/www/vhosts/ddd.co.uk/httpdocs/library/Andy/SimilarThreads/ControllerPublic/Thread.php(12): Andy_Bookmark_ControllerPublic_Thread->actionIndex()
#3 /var/www/vhosts/ddd.co.uk/httpdocs/library/RainDD/UserActivity/Controller/ThreadViewers.php(8): Andy_SimilarThreads_ControllerPublic_Thread->actionIndex()
#4 /var/www/vhosts/ddd.co.uk/httpdocs/library/RainDD/UserActivity/Controller/ThreadReaders.php(8): RainDD_UserActivity_Controller_ThreadViewers->actionIndex()
#5 /var/www/vhosts/ddd.co.uk/httpdocs/library/DailyStats/ControllerPublic/Thread.php(7): RainDD_UserActivity_Controller_ThreadReaders->actionIndex()
#6 /var/www/vhosts/ddd.co.uk/httpdocs/library/XenForo/FrontController.php(347): DailyStats_ControllerPublic_Thread->actionIndex()
#7 /var/www/vhosts/ddd.co.uk/httpdocs/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#8 /var/www/vhosts/ddd.co.uk/httpdocs/index.php(13): XenForo_FrontController->run()
#9 {main}
Request State
array(3) {
["url"] => string(87) "http://www.ddd.co.uk/the-shepshed-diamondback-miss-mayhem-are-alter-egos.t94925"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
----------------------------------

ErrorException: Undefined index: username - library/Waindigo/PostAsUser/Extend/XenForo/ControllerPublic/Thread.php:37
Generated By: AdminName, Today at 12:48 AM
Stack Trace
#0 /var/www/vhosts/ddd.co.uk/httpdocs/library/Waindigo/PostAsUser/Extend/XenForo/ControllerPublic/Thread.php(37): XenForo_Application::handlePhpError(8, 'Undefined index...', '/var/www/vhosts...', 37, Array)
#1 /var/www/vhosts/ddd.co.uk/httpdocs/library/Andy/Bookmark/ControllerPublic/Thread.php(15): Waindigo_PostAsUser_Extend_XenForo_ControllerPublic_Thread->actionIndex()
#2 /var/www/vhosts/ddd.co.uk/httpdocs/library/Andy/SimilarThreads/ControllerPublic/Thread.php(12): Andy_Bookmark_ControllerPublic_Thread->actionIndex()
#3 /var/www/vhosts/ddd.co.uk/httpdocs/library/RainDD/UserActivity/Controller/ThreadViewers.php(8): Andy_SimilarThreads_ControllerPublic_Thread->actionIndex()
#4 /var/www/vhosts/ddd.co.uk/httpdocs/library/RainDD/UserActivity/Controller/ThreadReaders.php(8): RainDD_UserActivity_Controller_ThreadViewers->actionIndex()
#5 /var/www/vhosts/ddd.co.uk/httpdocs/library/DailyStats/ControllerPublic/Thread.php(7): RainDD_UserActivity_Controller_ThreadReaders->actionIndex()
#6 /var/www/vhosts/ddd.co.uk/httpdocs/library/XenForo/FrontController.php(347): DailyStats_ControllerPublic_Thread->actionIndex()
#7 /var/www/vhosts/ddd.co.uk/httpdocs/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#8 /var/www/vhosts/ddd.co.uk/httpdocs/index.php(13): XenForo_FrontController->run()
#9 {main}
Request State
array(3) {
["url"] => string(87) "http://www.ddd.co.uk/the-shepshed-diamondback-miss-mayhem-are-alter-egos.t94925"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}

--------------------------

It looks like it is conflicting with https://xenforo.com/community/resources/alter-ego-detector.2405/ ?

The username it specified is the only user to have used the 'Post as User' plugin.

Also, I don't like the fact that it seems to be running under another admins name, why would it do this?
 
Getting these errors...

----------------------------

ErrorException: Undefined index: user_id - library/Waindigo/PostAsUser/Extend/XenForo/ControllerPublic/Thread.php:36
Generated By: AdminName, Today at 12:48 AM
Stack Trace
#0 /var/www/vhosts/ddd.co.uk/httpdocs/library/Waindigo/PostAsUser/Extend/XenForo/ControllerPublic/Thread.php(36): XenForo_Application::handlePhpError(8, 'Undefined index...', '/var/www/vhosts...', 36, Array)
#1 /var/www/vhosts/ddd.co.uk/httpdocs/library/Andy/Bookmark/ControllerPublic/Thread.php(15): Waindigo_PostAsUser_Extend_XenForo_ControllerPublic_Thread->actionIndex()
#2 /var/www/vhosts/ddd.co.uk/httpdocs/library/Andy/SimilarThreads/ControllerPublic/Thread.php(12): Andy_Bookmark_ControllerPublic_Thread->actionIndex()
#3 /var/www/vhosts/ddd.co.uk/httpdocs/library/RainDD/UserActivity/Controller/ThreadViewers.php(8): Andy_SimilarThreads_ControllerPublic_Thread->actionIndex()
#4 /var/www/vhosts/ddd.co.uk/httpdocs/library/RainDD/UserActivity/Controller/ThreadReaders.php(8): RainDD_UserActivity_Controller_ThreadViewers->actionIndex()
#5 /var/www/vhosts/ddd.co.uk/httpdocs/library/DailyStats/ControllerPublic/Thread.php(7): RainDD_UserActivity_Controller_ThreadReaders->actionIndex()
#6 /var/www/vhosts/ddd.co.uk/httpdocs/library/XenForo/FrontController.php(347): DailyStats_ControllerPublic_Thread->actionIndex()
#7 /var/www/vhosts/ddd.co.uk/httpdocs/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#8 /var/www/vhosts/ddd.co.uk/httpdocs/index.php(13): XenForo_FrontController->run()
#9 {main}
Request State
array(3) {
["url"] => string(87) "http://www.ddd.co.uk/the-shepshed-diamondback-miss-mayhem-are-alter-egos.t94925"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
----------------------------------

ErrorException: Undefined index: username - library/Waindigo/PostAsUser/Extend/XenForo/ControllerPublic/Thread.php:37
Generated By: AdminName, Today at 12:48 AM
Stack Trace
#0 /var/www/vhosts/ddd.co.uk/httpdocs/library/Waindigo/PostAsUser/Extend/XenForo/ControllerPublic/Thread.php(37): XenForo_Application::handlePhpError(8, 'Undefined index...', '/var/www/vhosts...', 37, Array)
#1 /var/www/vhosts/ddd.co.uk/httpdocs/library/Andy/Bookmark/ControllerPublic/Thread.php(15): Waindigo_PostAsUser_Extend_XenForo_ControllerPublic_Thread->actionIndex()
#2 /var/www/vhosts/ddd.co.uk/httpdocs/library/Andy/SimilarThreads/ControllerPublic/Thread.php(12): Andy_Bookmark_ControllerPublic_Thread->actionIndex()
#3 /var/www/vhosts/ddd.co.uk/httpdocs/library/RainDD/UserActivity/Controller/ThreadViewers.php(8): Andy_SimilarThreads_ControllerPublic_Thread->actionIndex()
#4 /var/www/vhosts/ddd.co.uk/httpdocs/library/RainDD/UserActivity/Controller/ThreadReaders.php(8): RainDD_UserActivity_Controller_ThreadViewers->actionIndex()
#5 /var/www/vhosts/ddd.co.uk/httpdocs/library/DailyStats/ControllerPublic/Thread.php(7): RainDD_UserActivity_Controller_ThreadReaders->actionIndex()
#6 /var/www/vhosts/ddd.co.uk/httpdocs/library/XenForo/FrontController.php(347): DailyStats_ControllerPublic_Thread->actionIndex()
#7 /var/www/vhosts/ddd.co.uk/httpdocs/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#8 /var/www/vhosts/ddd.co.uk/httpdocs/index.php(13): XenForo_FrontController->run()
#9 {main}
Request State
array(3) {
["url"] => string(87) "http://www.ddd.co.uk/the-shepshed-diamondback-miss-mayhem-are-alter-egos.t94925"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}

--------------------------

It looks like it is conflicting with https://xenforo.com/community/resources/alter-ego-detector.2405/ ?

The username it specified is the only user to have used the 'Post as User' plugin.

Also, I don't like the fact that it seems to be running under another admins name, why would it do this?
The alter-ego detector code only runs on login or registration, and doesn't even extend the Threads related classes.

From the stack traces, if could be Bookmarks addon
 
This addon also affects the user avatar and username - it removes the link to the user profile.

template = message_user_info

modifications - removed...

<xen:username user="$user" itemprop="name" rich="true" />

Modifications - added...

<xen:if is="{$xenOptions.waindigo_postAsUser_hideLink}">
<div class="username">{$user.username}</div>
<xen:else />
<xen:username user="$user" itemprop="name" rich="true" />
</xen:if>
 
Top Bottom