Drupal - heartbeat - Avatar - drupal

Im trying to add the avatar into my heartbeat stream, or any additional token for that matter and I dont seem to be able to get it working.
I've edited the default message template "User adds a node, save user activity". Here is what ive setup as the single message
!avatar !username has added !node_type !node_title. !mail
Then in rules ive setup the following variables:
#avatar=[author:heartbeat-user-picture]
#username=[author:user-name-url]
#node_type=[node:type-name]
#node_title=[node:title-link]
#mail=[author:mail]
#types=[node:type-name]
I then use display suite to theme my heartbeat streams. But instead of getting the Avatar to display or the Authors email address I get the actual tokens.
My messsage I get is as following:
!avatar ankh2054 has added the following journal: test and journal entry . !mail
Any help would be appreciated.

I looked further and I found the issue, but still a little puzzled of how I can fix it. The reason is not displaying the picture is because I am using a custom node & content profile for my user profiles & therefore have assigned a custome CCK field for the user avatar. Display suite seems to only pickup the default picture that is assigned via the built in Drupal profile.
Any ideas ? thanks for yuor help so far :)

Related

Edit specific woocommerce notification message

On our woocommerce store, we only allow new customers to access the shop after their new account has been manually approved.
However, after successfully registering a new account the user is shown this misleading notification by woocommerce - and I'm not sure where to edit this:
> Your account was created successfully and a password has been sent to your email address.
Any ideas on where this message is generated? and how I can change the text
I'm not sure how to edit this message, but I may know a workaround if you want it to make it disappear.
You can try to inspect the element to find out the class and set display: none to it in your theme's custom css.
It may buy you time until you find the actual solution.

I need plugin which can make my each unique employee upload his work

I need plugin which can make my each unique employee upload his work like only media or client can submit job requirement with only 3 field title ,media,description without login into wordpress dashboard like this http://web1expert.com/test/client-submission-form/ & each client is redirected to dat work without login into dashboard
This is very broad topic to be discussed here. Be more specific if you are facing any particular issues.
Or you can use Upwork for posting this job to hire someone to complete it up.
try (visual form builder)
with this plugin you can create field with file upload field
but this is not Exactly what you want

dilemma about information storage in wordpress

hello I am in need of guidance. sorry for the length of the message. This is my site http://lamiajoyee.com/wp/?page_id=147
if you click on the lands (the upper three in the corner), you will see a popup opens up with some pics and data.
these lands can be in two states, reserved and vacant. The difference is in the contents of the popup window. The page admin will set the status of the lands(vacant or reserved) in due time.
my problem is that i want to keep the status stored in a database and then check the status when the page is loaded/clicked. but the storage idea is not accurate. I have used 'contact form 7' and 'CFDB' with it. but there is a huge problem editing the data as you can only delete records using the free versions of CFDB or any other plugin as such.
Please suggest me a solution, I am not sleeping for the last three nights. Just store and check data. That's all
Use Advanced Custom Fields plugin - and add a custom field (true/false) for status.
Then in template file you could check: like this
if (get_field('house-status')) :
//your code that does something
else :
//your other code that does something else
endif;

customfields data is required (cart66 + wordpress error message)

I have installed cart66 professional in my wordpress site.
i have configured cart66 with payleap.
in the checkout page, when complete the order by filling all the required information, and clicking the 'Complete Order' button link, after little process it displays following message.
we're sorry
your order could not be completed for the following reasons:
customfields data is required
do anyone have any idea about this?
thanks in advance.
I think in your theme you need to insert custom field data which required.
for ex.
price is define custom field then add custom field.
price : 34$
Fore more info...
http://codex.wordpress.org/Custom_Fields

Drupal 7 : get user profile picture at registration

I am using Drupal 7.
I follow this link to enable profile picture of user.
Now i want to get profile picture from user at the time of registration.
How can i get this?
Any help will be appreciated.
Ideal module to do this is Reg-With-Pic
You will be given a check box at admin/config/people/accounts named "Enable user pictures on registration" and weight selection.
If you are using Content Profile module, File field would be an option.
Here is the Helper function to add default user account fields to user registration and edit form.
http://api.drupal.org/api/drupal/modules--user--user.module/function/user_account_form/7
You might also want to use the Gravatar module to take some of the pain out of what you are suggesting. It's enough trouble to set up a profile on yet another site that you might not want to force them to configure their profile at the time of registration, especially with such things as a "user picture", unless you really want to put a damper on registrations.
Depending on the type of site you are working on, the Gravatar module might be ideal. Anyone who already has a Gravatar will have it automatically set as their user picture.
http://drupal.org/project/gravatar

Resources