Forum Activity for @developer-networks

Developer Networks
@developer-networks
11/23/16 09:17:06AM
566 posts

Truncated description causes missing div tag


Jamroom Developers

This image is what happens to templates in jamroom after trunicating the item description with out using jrCore_strip_html
{$item.discuss_description|jrCore_strip_html|truncate:120}
like shown above...

Thanks again Steve for the help this resolved the issue.
Help1.jpg Help1.jpg - 205KB

updated by @developer-networks: 11/23/16 09:41:14AM
Developer Networks
@developer-networks
11/23/16 09:10:07AM
566 posts

Truncated description causes missing div tag


Jamroom Developers

Thanks Steve!
I tried that function and it did resolve the issue.
{$item.discuss_description|jrCore_strip_html|truncate:120}



updated by @developer-networks: 11/23/16 09:38:14AM
Developer Networks
@developer-networks
11/23/16 07:58:20AM
566 posts

Truncated description causes missing div tag


Jamroom Developers

So when we dont truncate discuss_description in a template it was good.

However the truncated version cut off the closing
 </div>
In the code.

This was throwing off other div tags in the templates.
How would I resolve this in jamroom?

I would think in design the item descriptions
 {$item.discuss_description}
the item itself should not automatically have div tags passed with them... since the divs are always called from with in the templates or module templates.

<div class="p10">{$item.discuss_description|substr:0:120}
</div>


updated by @developer-networks: 11/23/16 08:41:07AM
Developer Networks
@developer-networks
11/23/16 07:28:56AM
566 posts

Truncated description causes missing div tag


Jamroom Developers

Currently a trunicated description in a template causes a missing div tag when returned in the item code.
{$item.discuss_description|truncate:120}
 {$item.discuss_description|substr:0:120} 
Then inside the foreach loop when used in a template It seems to loose a closing div in the varible during the foreach loop. So after the second or third item in this cycle it causes all divs in any template to be off.

It seems that there is a div passed in the discuss_description and it is being cut of so when trunicated



updated by @developer-networks: 03/05/17 04:27:30PM
Developer Networks
@developer-networks
11/23/16 07:22:56AM
566 posts

myBadges customization - Profile Image Overlay


Profile Badges

Hello sorry for the delayed response. The system did not notify me activity on this forum until just now.

If you still need any help I am available and will assist you. Thanks.
Developer Networks
@developer-networks
11/16/16 10:14:08AM
566 posts

jrSeamless remove nulled items


Design and Skin Customization

Search2="%_title_url like %" 

This was the best solution. Many thanks!

Also for future reference and education am I able to use the or || operator in a search parameter like I suggested earlier.
 search2="blog_title_url like % || forum_title_url like % || discuss_title_url like %"

Thanks
updated by @developer-networks: 11/16/16 10:17:23AM
Developer Networks
@developer-networks
11/16/16 02:16:32AM
566 posts

jrSeamless remove nulled items


Design and Skin Customization

Hello,

Thanks for the responce.

Yes I tried the first method you suggested already prior to posting. I did not try the smarty or operator I suggested above as that was something I thought of just prior to posting and was not sure if the jrCore_list function search parameter could be used in such a way.

When using "_title_url" it returns nothing in the array. I haven't tried
Search2="%_title_url like %" 
yet
But will be back at my desk shortly and will update.

Thanks
updated by @developer-networks: 11/16/16 02:19:25AM
Developer Networks
@developer-networks
11/16/16 12:43:39AM
566 posts

jrSeamless remove nulled items


Design and Skin Customization

when i do a jrCore_List for a blog and provide a search paramater like this
 search2="blog_title_url like %"
I can remove all of the urls with no names or no content.

How do I do this in a seamless list with the three modules like jrForum,jrBlog,jrGroupDiscuss

could I do something like this?
 search2="blog_title_url like % || forum_title_url like % || discuss_title_url like %"

How would I achieve this with the seamless module?

updated by @developer-networks: 02/16/17 10:48:52AM
Developer Networks
@developer-networks
10/23/16 02:56:08PM
566 posts

Audio upload limited to 32mb


Installation and Configuration

Ah yes I see the problem now... I have it set to 32mb which is "max allowed"

Why is there a "max allowed" that is not based on my server php configuration?

32 mb uploads does not meet the standards of any radio set that usually are hr long or more.

Shouldn't upload size be configurable by [profile quota] or and in the [core] configured to match php upload settings?


I assume there must be a reason this was done... but why? 😔
updated by @developer-networks: 10/23/16 03:24:12PM
  7