Profile picture

December 2012 Joomla Template
Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Tue Oct 01, 2013 12:41 pm
Reply with quote
Report this post
Hi! Again, I have a question: K2 how users are allowed to add profile picture? Én nem találtam erre választ!
"News" (http://demo.gavick.com/joomla25/news/in ... /user-page)
Köszönöm!
User avatar
Junior Boarder

GK User
Tue Oct 01, 2013 3:28 pm
Reply with quote
Report this post
Hi,
sure K2 allows for that.
From front-end --> you have to publish and use K2 User module, they have links for changing few details in profile.

You can change picture from back-end
User avatar
Platinum Boarder

GK User
Tue Oct 01, 2013 6:54 pm
Reply with quote
Report this post
Sorry, but the question was wrong. Registered users are able to upload profile picture?
Sorry, but my english is very bad. Thank you! :cheer:
User avatar
Junior Boarder

GK User
Tue Oct 01, 2013 11:29 pm
Reply with quote
Report this post
ok, I get it, yes - from front-end also you can.

But first,

K2 --> Parameters and set to Yes - Enable K2 User Profile (see below)
yes.png

Save settings!

p.s.
Remember to publish Module K2 user - there is a link "My account" after you will be login.
User avatar
Platinum Boarder

GK User
Wed Oct 02, 2013 7:56 pm
Reply with quote
Report this post
Thank you very much! This is an understandable response, even for me! :cheer:
User avatar
Junior Boarder

GK User
Wed Oct 02, 2013 9:06 pm
Reply with quote
Report this post
I apologize for so many questions for you, tell you to stop!
So, you can disable editor? Only able to upload avatars for users? Thank you! :shock:
User avatar
Junior Boarder

GK User
Thu Oct 03, 2013 9:14 pm
Reply with quote
Report this post
You have to delete from php file. But don't worry you don't have to edit any Joomla core files.

ok, let's try .... (I used J2.5 files)

1) Open in HTML editor : gk_news\components\com_k2\templates\profile.php
2) Delete few lines, starting from line 85 to 101
Code: Select all
         <!-- K2 attached fields -->
         <tr>
            <td class="key">
               <label id="gendermsg" for="gender"><?php echo JText::_('K2_GENDER'); ?></label>
            </td>
            <td>
               <?php echo $this->lists['gender']; ?>
            </td>
         </tr>
         <tr>
            <td class="key">
               <label id="descriptionmsg" for="description"><?php echo JText::_('K2_DESCRIPTION'); ?></label>
            </td>
            <td>
               <?php echo $this->editor; ?>
            </td>
         </tr>
User avatar
Platinum Boarder

GK User
Thu Oct 03, 2013 9:29 pm
Reply with quote
Report this post
p.s.
This modification customize K2 file, so remember about it when you would update K2 component next time.
Just upload "old" file after update.
User avatar
Platinum Boarder

GK User
Fri Oct 04, 2013 3:25 pm
Reply with quote
Report this post
Super, it works! ( : Disappeared from the editor!
But there is no k2user module! Activate a new one? :geek:
User avatar
Junior Boarder

GK User
Fri Oct 04, 2013 3:35 pm
Reply with quote
Report this post
001.JPG
User avatar
Junior Boarder

GK User
Fri Oct 04, 2013 5:22 pm
Reply with quote
Report this post
I deleted this: (components/com_k2/templates/profile php: 85-101-to)
Ah, something is not right! When checked out this image: „This page has a redirect loop!"
Side refilling: „Please log in again!"
To do everything, I'm afraid I mess up!
User avatar
Junior Boarder

GK User
Sun Oct 06, 2013 8:57 pm
Reply with quote
Report this post
babar1 wrote:
001.JPG


Because that module from K2 package have links which your users from front-end needs, for example:
1) Add new item
2) My page
3) My account
User avatar
Platinum Boarder

GK User
Sun Oct 06, 2013 9:06 pm
Reply with quote
Report this post
Side refilling: „Please log in again!"
To do everything, I'm afraid I mess up!


That's strange. Because I have tested on website and it worked.

You can use my profile.php /please unzip/
User avatar
Platinum Boarder

GK User
Mon Oct 07, 2013 8:54 am
Reply with quote
Report this post
Hi, Thanks a lot for your help! :roll:
User avatar
Junior Boarder

GK User
Sat Oct 12, 2013 8:12 am
Reply with quote
Report this post
Hi,
1. There is another new problem.When the page is loading, often that massage appears for the visitors.
Is it possible that the problem is with the Weather module? When I switch it off, it loads the page properly, although some menu buttons I need to click two times, to have an effect! The problems started after we deleted the (rss) line.

2. If I create a new k2 element, should I do that so that I copy an already existing one? Maybe that could be the reason of that problem? Please give me an advice what could be the problem?

3. Another important question: Template browser(manager) /Advanced Settings/ should I let it on or off the buttons?. The default is off setting, did I changed that?

The error message is:
(The program can not run!

The possible reasons of the error:
- the program is bad
- in case of cgi program the interpreter path is wrong
- in case of cgi program the programcode's line-end is wrong (Unix line-end is compulsory)
- in case of php/cgi program , the file running rights settings are wrong
- in case of php/cgi program , the directory running rights settings are wrong

Webmester info:
The running rights right settings in all cases: chmod711, or chmod 755)

Thank you very much for your kind help! :silly:
User avatar
Junior Boarder

GK User
Sat Oct 19, 2013 10:16 am
Reply with quote
Report this post
Hi,
first please add new topic - each time when you add new question, because now you have all Joomla problems in one place, which is good for you, but it makes some mess for us.
User avatar
Platinum Boarder

GK User
Sat Oct 19, 2013 10:20 am
Reply with quote
Report this post
2. If I create a new k2 element, should I do that so that I copy an already existing one? Maybe that could be the reason of that problem? Please give me an advice what could be the problem?


:?: Are you talking about adding new K2 items ? Sorry but I don't understand idea hidden behind your question.
User avatar
Platinum Boarder

GK User
Sat Oct 19, 2013 10:28 am
Reply with quote
Report this post
Template browser(manager) /Advanced Settings/ should I let it on or off the buttons?. The default is off setting, did I changed that?


Are you talking about those options (buttons) ?
on-off.jpg


Yes, by default they are OFF, I suggest when you finish you site - turn one by one - and test your site if all works good. Because sometimes they can spoil the appearance of some components - of course until you disable option. So be careful. But sure it will help in most cases to get QUICK SITE.

p.s.
Of course CSS Override is different category option, but you know that.
User avatar
Platinum Boarder

GK User
Sat Oct 19, 2013 10:33 am
Reply with quote
Report this post
When the page is loading, often that massage appears for the visitors.


What kind of message ?

Is it possible that the problem is with the Weather module? When I switch it off, it loads the page properly,


Hard to say. What kind of Weather module you are using, you can use another one if you like. Or copy HTML code from Weather services and insert inside Custom HTML module. Than they will use it's own "code" only.

although some menu buttons I need to click two times, to have an effect!

Magic or Curse ? because Menu is "simply" HTML code / no Flash / no Hardcore JS .

The problems started after we deleted the (rss) line.

No connection.
User avatar
Platinum Boarder

GK User
Mon Oct 28, 2013 5:40 pm
Reply with quote
Report this post
Hi, " I'm using Original Gavick Weather Module : " Weather GK4ver . 1.6.6 "
The problems started when we deleted the rss and the line from the profile php what you advised.

Now I changed the profile php , with the one that you sent earlier, and the weather module is working well for now.
I did everything according to your instructions, but I have no idea what was wrong with that.
Sometimes it slows down and do not always work the links for the first click.

It seems that when a problem is solved , another one comes instead! Now the " facebook like box is not working, but I ask about that in a new topic!
Thanks for your help !
User avatar
Junior Boarder

GK User
Tue Oct 29, 2013 5:13 pm
Reply with quote
Report this post
Hi.
Pawel is currently on vacation break, could you please sum whats left in this topic, and when any new questions shows up, please create new forum thread with that question only (if you think it has something to do with this thread, you can link back to it).
This way you will get all the answers faster.
User avatar
Moderator


cron