How do i recover my view.php file? – UserPro Forums https://forum.userproplugin.com/forums/topic/how-do-i-recover-my-view-php-file/feed/ Sun, 05 May 2024 13:57:15 +0000 https://bbpress.org/?v=2.6.2 en-US https://forum.userproplugin.com/forums/topic/how-do-i-recover-my-view-php-file/#post-41893 <![CDATA[How do i recover my view.php file?]]> https://forum.userproplugin.com/forums/topic/how-do-i-recover-my-view-php-file/#post-41893 Sun, 24 Aug 2014 15:54:03 +0000 Landy Wallace Good day,

I messed around and followed a user on this forum. In his reply to this forum post: “http://userproplugin.com/userpro/forums/topic/bbpress-profile-info-on-userpro-profile/&#8221; he added some php code to add to your view.php file to show users their recent bbpress post and favorites, etc.

When i added the code i got an error on line 122. So i immediately deleted the code and ensured that the original view.php code was not touched. The page went back to normal except for one major issue. The profile pictures are not showing in any ‘view mode’: profile and member directory. Surprisingly, when i click on the profile picture on the view profile page; I get the lightbox of the image. It’s just not showing in the profile view. This is why i have concluded that its the view.php that i messed up.

Here is what i have done so far: reinstalled userpro, deleted all the userpro files and resinstalled the plugin again…still no success.

How do i recovery my view.php file?

I need the profile pictures to show.

Any assistance will be greatly appreciated.

Thank you in advance.

]]>