Forum Activity for @douglas

douglas
@douglas
03/22/14 06:17:44AM
2,815 posts

Twitter widget breaks front page if added


Design and Skin Customization

MAD©:Ok That Worked!!
Great. The anchor tags and script tags have spaces BTW in the code above.
Anyone else with same problem make sure they edit the code to remove the spaces ( Added so the code could be posted here

No need to add the spaces anymore, that has been fixed. I modified my two posts to remove the spaces form the code.
douglas
@douglas
03/22/14 06:13:07AM
2,815 posts

Whos Online Module - Show by Quota


Design and Skin Customization

You would need to modify the whos_online.tpl to hide/remove the admins and you could stick a {debug} in the template to see what other variables are available in the template.

I'm not sure you'll get different quotas but it has been a while since I've worked with that bit of code.
douglas
@douglas
03/22/14 06:09:18AM
2,815 posts

Twitter widget breaks front page if added


Design and Skin Customization

Either way should work, I've actually got the same code I just posted on a clients site and it works well.
douglas
@douglas
03/22/14 06:07:10AM
2,815 posts

Twitter widget breaks front page if added


Design and Skin Customization

Or give this a try:

<div id="ctv">
<a class="twitter-timeline" href="https://twitter.com/PunkBP" data-widget-id="434217568581087232">Tweets by @PunkBP </a>
<script>!function(d,s,id){ldelim}var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){ldelim}js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);{rdelim}{rdelim}(document,"script","twitter-wjs");</script>
</div>

updated by @douglas: 03/22/14 06:16:25AM
douglas
@douglas
03/22/14 06:03:26AM
2,815 posts

Site News Category Question?


Design and Skin Customization

I just tested this on my test site and I'm not seeing an issue.

I created a blog with the category set to site news as a regular user and it does not show in the Site News section on the front page.
douglas
@douglas
03/22/14 05:55:35AM
2,815 posts

Twitter widget breaks front page if added


Design and Skin Customization

That isn't going to work...

give this a try:

<div id="ctv">
{literal}
<a class="twitter-timeline" href="https://twitter.com/PunkBP" data-widget-id="434217568581087232">Tweets by @PunkBP </a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
{/literal}
</div>

updated by @douglas: 03/22/14 06:16:44AM
douglas
@douglas
03/22/14 05:49:55AM
2,815 posts

Blog Module - Clicking on Blog URL doesn't go to posters page


Design and Skin Customization

Checkout the index_site_news.tpl in the latest Nova download, the link on the blog title was changed to use the blog ID just in case there are more than one blog with the same title.

The URL should look like this:

{$jamroom_url}/blogs/search/{$item._item_id}/{$item.blog_title_url}

Notice the addition of the {$item._item_id}

Hope this helps,
Douglas
douglas
@douglas
03/22/14 05:42:05AM
2,815 posts

Twitter widget breaks front page if added


Design and Skin Customization

Have you tried adding the code wrapped in literal tags?

{literal}
    Twitter code here...
{/literal}
douglas
@douglas
03/22/14 05:40:19AM
2,815 posts

Site News Category Question?


Design and Skin Customization

If you set the site_news_ids in the skin config to just the admin ID, then only admin blogs with the category set to "site news" should show there.

Hope this helps,
Douglas
  233