Forum Activity for @douglas

douglas
@douglas
11/28/15 03:30:22AM
2,807 posts

Contact button to Profile menu


Design and Skin Customization

Strumelia:
Eddy, would you consider adding a small screenshot here for what this looks like once applied to your site?

And... Douglas, would this work for a custom Ningjs skin as well, using the same code?

Yes, just add this:

<a href="{$jamroom_url}/note/new/"><div class="profile_menu_entry">Contact</div></a>

to the bottom of your skins profile_menu.tpl, see the attachment for what it looks like in the jrNingja skin.




gary.moncrieff:
I don't see any reason why it won't work. If in doubt just add the extra bit of code to your template file. Just one note however if you have private notes set to followers only it might be a wise idea to do a check to dertimine who can see the menu item.

I'm not sure adding a check for the profile being a follower or not would matter since it is just a link to the viewers Private Notes > New Note form.
Screen Shot 2015-11-28 at 5.29.36 AM.png Screen Shot 2015-11-28 at 5.29.36 AM.png - 32KB

updated by @douglas: 11/28/15 03:30:59AM
douglas
@douglas
11/27/15 09:27:38AM
2,807 posts

Where to get quality traffic for my JR site


Suggestions

Actually, I don't... that is the only one I've ever come across. Sorry!
douglas
@douglas
11/27/15 07:11:33AM
2,807 posts

Change menu button color


Design and Skin Customization

Just add the hover class to that link, in your skins/jrNova/header_menu_desktop.tpl, find this:

                    <li><a href="{$jamroom_url}/{jrCore_module_url module="jrUser"}/signup"><span class="capital">{jrCore_lang  skin=$_conf.jrCore_active_skin id="2" default="create"}&nbsp;{jrCore_lang  skin=$_conf.jrCore_active_skin id="3" default="account"}</span></a></li>

and change it to this:

                    <li style="{$menu_active_style}"><a href="{$jamroom_url}/{jrCore_module_url module="jrUser"}/signup"><span class="capital">{jrCore_lang  skin=$_conf.jrCore_active_skin id="2" default="create"}&nbsp;{jrCore_lang  skin=$_conf.jrCore_active_skin id="3" default="account"}</span></a></li>
douglas
@douglas
11/27/15 07:07:23AM
2,807 posts

Contact button to Profile menu


Design and Skin Customization

You can add a link to the new private note form, but the user will still have to enter the profile name for the recipient.

If that will work for you, change your skins/jrNova/profile_menu.tpl from this:

{if isset($_items)}
{foreach from=$_items key="module" item="entry"}
    {if $entry.active == '1'}
    <a href="{$entry.target}"><div class="profile_menu_entry profile_menu_entry_active">{$entry.label}</div></a>
    {else}
    <a href="{$entry.target}"><div class="profile_menu_entry">{$entry.label}</div></a>
    {/if}
{/foreach}
{/if}

to this:

{if isset($_items)}
{foreach from=$_items key="module" item="entry"}
    {if $entry.active == '1'}
    <a href="{$entry.target}"><div class="profile_menu_entry profile_menu_entry_active">{$entry.label}</div></a>
    {else}
    <a href="{$entry.target}"><div class="profile_menu_entry">{$entry.label}</div></a>
    {/if}
{/foreach}
{/if}
    <a href="{$jamroom_url}/note/new/"><div class="profile_menu_entry">Contact</div></a>
douglas
@douglas
11/27/15 04:28:55AM
2,807 posts

Mailgun Issue


Installation and Configuration

Remove the demo one from MailGun, if your not going to be using it, and I wouldn't since it is a dev site, then there is no need in having it.

Also, you can set your ACP > Communication > Email Core > General Settings > Active Email System to "Log Sent Email To Debug Log" and you'll see emails in your debug log instead.
douglas
@douglas
11/26/15 08:28:13AM
2,807 posts

Adding a ad under profile pictures


Design and Skin Customization

You can add your adsense code to your skins/jrNova/profile_header.tpl, that is where the profile image is located.
  125