If you are reading this page you are probably as frustrated as I was that Community Builder gives you the useless message “Please log in or register to view or modify your profile.” if your user tries to view a page that requires registration. Why do I think this is useless? Well first let me preface this by saying, there very well may be a great solution to this problem that is just a few clicks outside of my view. If this is true please send me a comment to this post so I can help the community in general. Having said that, I researched this for a couple of hours, over a couple of days. Since I did not find something, for now, I will officially call this issue useless and stupid.
If my user wants to view/modify his profile (that is the page I am sending my user to, from the top menu), and they are not yet logged in, the default set-up of community builder should automatically forward my user to the login page. Or at least give me some Admin control of the statement the users sees. Here was my quick and dirty hack.
Find the default_language.php file, for me it was in this directory “components\com_comprofiler\plugin\language\default_language”. Open that file and search for our phrase or search for the variable _UE_REGISTERFORPROFILE. Once you find it replace the following :
DEFINE(‘_UE_REGISTERFORPROFILE’,'Please log in or register to view or modify your profile.’);
With
DEFINE(‘_UE_REGISTERFORPROFILE’,'Please log in or register to view or modify your profile.<br><a href=”index.php?option=com_comprofiler&task=login&Itemid=55″>Click Here to Login</a>’);
Now at least the message will provide a link for your user to get to the login page.
1) Got to virtuemart.com and download the latest version
2) Once you have the Virtuemart package – Unzip it .
3)Go to your Joomla Admin page and click Components. In Joomla! 1.5 click Extensions # Install/Uninstall in the Top Menu.
4) You can use the first option –> Upload Package File and select the file ‘com_virtuemart_1.1.x.zip’. Now click ‘Upload and Install’.
5) This should work, if this gives an error message or you were not able to install it - Dont Worry, Joomla provides you other options.
6) Now, Upload [Cut/Copy] your ‘com_virtuemart_1.1.x.zip’ into /media or /tmp folders on your Joomla! site.
7) Goto the third option on your Extension Manager –> Install from URL, give the url to the file you have uploaded.
Ex: http://domainname.com/joomla/tmp/com_virtuemart_1.1.x.zip

Hit the INSTALL button.
9) VirtueMart should be installed now and you’ll see the Welcome Message Screen with some options.
If this message appears on your screen, you have successfully installed Virtuemart

Call Us Today at (713) 592-6724
|