[SOLVED] mod_cbpblatest_error

12 years 3 months ago #189764 by yusukenishihara
Replied by yusukenishihara on topic Re: mod_cbpblatest_error

krileon wrote: Please ensure the name and formatname fields are on a public and published tab. Tab access determines field access, which will affect substitutions.


I changed fieldname on code, then worked! Thank you!
How I can show poster's name who is anonymas user. Is there substitutions to show these name?

Please Log in to join the conversation.

12 years 3 months ago #189805 by krileon
Replied by krileon on topic Re: mod_cbpblatest_error
Well you can use an IF check to see if their user_id is 0 and then put "Anonymous" or something to your liking. Other then that no there's no substitutions for users that don't exist.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

12 years 3 months ago #189869 by yusukenishihara
Replied by yusukenishihara on topic Re: mod_cbpblatest_error

krileon wrote: Well you can use an IF check to see if their user_id is 0 and then put "Anonymous" or something to your liking. Other then that no there's no substitutions for users that don't exist.


What is "IF check"?
And do you mean the following?;

1. I create user ID "0" with the name, "Anonymous"
2. When non-user post the comment on guestbook, module shows;
"Anonymous" wrote new entry...

Thank you!

Please Log in to join the conversation.

12 years 3 months ago #189911 by krileon
Replied by krileon on topic Re: mod_cbpblatest_error
Please see tutorials within my signature for further substitution usage information. An example of an IF check is as follows.

[cb:if user_id<="0"]Anonymous[/cb:if]
[cb:if user_id>"0"][username][/cb:if]


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

12 years 3 months ago #189925 by yusukenishihara
Replied by yusukenishihara on topic Re: mod_cbpblatest_error

krileon wrote: Please see tutorials within my signature for further substitution usage information. An example of an IF check is as follows.

[cb:if user_id<="0"]Anonymous[/cb:if]
[cb:if user_id>"0"][username][/cb:if]

Great example!!
Thank you!

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.303 seconds

Facebook Twitter LinkedIn