Resource icon

Add Username Style to Last Post 1.1

No permission to download
Hi,

Nice add on but causes the following error when using "Watched forums option":

An exception occurred: Invalid argument supplied for foreach() in /var/www/vhosts/my2cv.gr/httpdocs/forum/library/XenForo/ViewPublic/Watched/Forums.php on line 21

  1. XenForo_Application::handlePhpError() in XenForo/ViewPublic/Watched/Forums.php at line 21
  2. XenForo_ViewPublic_Watched_Forums->renderHtml() in XenForo/ViewRenderer/Abstract.php at line 227
  3. XenForo_ViewRenderer_Abstract->renderViewObject() in XenForo/ViewRenderer/HtmlPublic.php at line 67
  4. XenForo_ViewRenderer_HtmlPublic->renderView() in XenForo/FrontController.php at line 572
  5. XenForo_FrontController->renderView() in XenForo/FrontController.php at line 158
  6. XenForo_FrontController->run() in /var/www/vhosts/my2cv.gr/httpdocs/forum/index.php at line 13
 
Hi,

Nice add on but causes the following error when using "Watched forums option":

An exception occurred: Invalid argument supplied for foreach() in /var/www/vhosts/my2cv.gr/httpdocs/forum/library/XenForo/ViewPublic/Watched/Forums.php on line 21

  1. XenForo_Application::handlePhpError() in XenForo/ViewPublic/Watched/Forums.php at line 21
  2. XenForo_ViewPublic_Watched_Forums->renderHtml() in XenForo/ViewRenderer/Abstract.php at line 227
  3. XenForo_ViewRenderer_Abstract->renderViewObject() in XenForo/ViewRenderer/HtmlPublic.php at line 67
  4. XenForo_ViewRenderer_HtmlPublic->renderView() in XenForo/FrontController.php at line 572
  5. XenForo_FrontController->renderView() in XenForo/FrontController.php at line 158
  6. XenForo_FrontController->run() in /var/www/vhosts/my2cv.gr/httpdocs/forum/index.php at line 13
http://xenforo.com/community/threads/add-username-style-to-last-post.36509/page-2#post-602634
 
help me.. i using xf 1.2 and using add-on Add Username Style to Last Post wrong :( help me fix Username Style to Last Post in xf 1.2 .thx
 
Sorry for my long absence !

So I repacked my addon with Luke Foreman's fix, thanks Luke :)

If you have any update suggestion for my addon, let me know.
 
Sorry for my long absence !

So I repacked my addon with Luke Foreman's fix, thanks Luke :)

If you have any update suggestion for my addon, let me know.

Good to have you back @EsKuel and good to see this updated with the fix. :)

I've been using the fix since Luke posted it but will update later today. Thanks again. :)
 
I get this error when I try to run the installation XML:
Code:
Please enter a valid callback method (RichUsernameEverywhere_Listener::loadClassModel).
 
The files were uploaded. I think the problem is in the old version of PHP running on the server to keep it compatible with TAZ's vB3.
 
That could be it. The only time I have seen that error is when I forgot to upload the files.
 
That could be it. The only time I have seen that error is when I forgot to upload the files.

Must have been a corrupt download at that. I redownloaded, extracted, and uploaded the add-on again. This time it installed properly.

Thanks Bob!
 
  • Like
Reactions: AWS
I'm having issues, @EsKuel :(

Using 1.2, and this bit we need to replace isn't in the node_forum_level_2 template:

<xen:username user="$forum.lastPost" />

Any help at all?
 
Top Bottom