Message coming in from the arrival of winking.
« on: April 04, 2015, 08:19:52 AM »
Hi.

If x a user sends winking y for a user then y user an e-mail receives a message from that direction, that x a user winked at him. Of course if his profile is portrayed in such a way that an e-mail should receive a message at the time of the arrival of winking. I would like to ask it, that solvable it, that to who winking was sent let it receive a message on the side from that direction, that they winked at him. Thank you for the help ahead!

*

Pharg

  • *****
  • 2,060
  • osDate Version: osDate Evo v1.0
Re: Message coming in from the arrival of winking.
« Reply #1 on: April 04, 2015, 09:51:54 AM »
Hi Vargatunde,

When x sends a wink to y, y gets a email to notify them.
In the menu under My Lists is where the wink will say Winks (1)
Also Y will see in the main homepage under Since last login: Stats area below
Number of winks received: 1 (since Mar 29, 2015)

When Y looks at the wink they can also see who sent it and click the x username to say hi or wink back.
« Last Edit: April 04, 2015, 09:58:29 AM by Pharg »
Regards,
Pharg ( Phill )

REMEMBER: ALWAYS BACKUP BEFORE YOU MAKE ANY CHANGES!!

osDate v2.7 & osDateEvo v1.0 | PHP: 5.3.42 & PHP: 5.6.18 | MySQL: 5.5.35

Re: Message coming in from the arrival of winking.
« Reply #2 on: April 04, 2015, 10:55:06 AM »
Hi Pharg.

If one falusing that user sends a winking to an other user then to who the winking was sent it if that user steps onto the web page then does not see it, that winking was sent to him. He does not display that somebody sent winking under my list in a menu. I would want to solve this so somehow than the messages yes. If the user steps onto the side and he has a not read message then the messages it is indicated that a not read message of his arrived.
I hope that you can withdraw it what I want to say to you because I do not know the English 100%. Thank you for the help until now.

Re: Message coming in from the arrival of winking.
« Reply #3 on: April 04, 2015, 11:16:19 AM »
If somebody receives winking on the web page there is not feedback. An e-mail receives feedback in a message only the user.

*

Pharg

  • *****
  • 2,060
  • osDate Version: osDate Evo v1.0
Re: Message coming in from the arrival of winking.
« Reply #4 on: April 04, 2015, 11:26:35 AM »
Hi Vargatunde,

If you click it it shows the winks also the notification in on the main page as in my pic attached.

You can modify the notification with something you want or look at the message system.
That is a mod you might have to do.
Regards,
Pharg ( Phill )

REMEMBER: ALWAYS BACKUP BEFORE YOU MAKE ANY CHANGES!!

osDate v2.7 & osDateEvo v1.0 | PHP: 5.3.42 & PHP: 5.6.18 | MySQL: 5.5.35

Re: Message coming in from the arrival of winking.
« Reply #5 on: April 04, 2015, 11:30:48 AM »
Hi Pharg.

It the mod -ot I want to put it into it where the list let it be visible in a menu item how many winking the user received. Is this solvable?

*

Pharg

  • *****
  • 2,060
  • osDate Version: osDate Evo v1.0
Re: Message coming in from the arrival of winking.
« Reply #6 on: April 04, 2015, 11:55:14 AM »
Hi Vargatunde,

Yes I know what you want, the answer is in the main page stats in the code from the pic I uploaded, you can use the same code
from there in the menu.
Regards,
Pharg ( Phill )

REMEMBER: ALWAYS BACKUP BEFORE YOU MAKE ANY CHANGES!!

osDate v2.7 & osDateEvo v1.0 | PHP: 5.3.42 & PHP: 5.6.18 | MySQL: 5.5.35

*

Pharg

  • *****
  • 2,060
  • osDate Version: osDate Evo v1.0
Re: Message coming in from the arrival of winking.
« Reply #7 on: April 04, 2015, 12:08:53 PM »
Hi Pharg.

It the mod -ot I want to put it into it where the list let it be visible in a menu item how many winking the user received. Is this solvable?

Hi

In the dropdownpanelmenu.tpl find the code:
Code: [Select]
{if $smarty.session.security.sendwinks == 1}
<a href="{$docroot}listviewswinks.php?act=W">{lang mkey='winks'}</a>

{elseif $config.display_all_menu_items == 'Y' or $config.display_all_menu_items == '1'}

<a href="#" onclick="javascript:insufficientPrivileges();">{lang mkey='winks'}</a>

{/if}

Change to:
Code: [Select]
{if $smarty.session.security.sendwinks == 1}
<a href="{$docroot}listviewswinks.php?act=W">{lang mkey='winks'}</a> {if $winks > 0}&nbsp;{$winks|default:0}&nbsp;{else}&nbsp;{/if}

{elseif $config.display_all_menu_items == 'Y' or $config.display_all_menu_items == '1'}

<a href="#" onclick="javascript:insufficientPrivileges();">{lang mkey='winks'}</a>

{/if}

That's it if your using the top menu.

For the panelmenu_options.tpl find this code:
Code: [Select]
{if $smarty.session.security.sendwinks == 1}
<tr>
<td class="panelbox_div">
<a class="panellink" href="{$docroot}listviewswinks.php?act=W">{lang mkey='winks'}</a>
</td>
</tr>
{elseif $config.display_all_menu_items == 'Y' or $config.display_all_menu_items == '1'}
<tr>
<td class="panelbox_div">
<a class="panellink" href="#" onclick="javascript:insufficientPrivileges();">{lang mkey='winks'}</a>
</td>
</tr>
{/if}

Change to:
Code: [Select]
{if $smarty.session.security.sendwinks == 1}
<tr>
<td class="panelbox_div">
<a class="panellink" href="{$docroot}listviewswinks.php?act=W">{lang mkey='winks'}</a> {if $winks > 0}&nbsp;{$winks|default:0}&nbsp;{else}&nbsp;{/if}
</td>
</tr>
{elseif $config.display_all_menu_items == 'Y' or $config.display_all_menu_items == '1'}
<tr>
<td class="panelbox_div">
<a class="panellink" href="#" onclick="javascript:insufficientPrivileges();">{lang mkey='winks'}</a>
</td>
</tr>
{/if}

All done.  :)
Regards,
Pharg ( Phill )

REMEMBER: ALWAYS BACKUP BEFORE YOU MAKE ANY CHANGES!!

osDate v2.7 & osDateEvo v1.0 | PHP: 5.3.42 & PHP: 5.6.18 | MySQL: 5.5.35

Re: Message coming in from the arrival of winking.
« Reply #8 on: April 04, 2015, 10:25:40 PM »
Hi Pharg.
Thank you for the help! You are very helpful, thanks for everything!

Re: Message coming in from the arrival of winking.
« Reply #9 on: April 06, 2015, 11:01:12 AM »
Hi Pharg.

Thank you for the script what you sent. I modified a small one the dropdownpanelmenu.tpl this way:

Code: [Select]
{if $smarty.session.security.sendwinks == 1}
<a class="panellink" href="{$docroot}listviewswinks.php?act=W">{lang mkey='winks'}&nbsp;[&nbsp;{$winks|default:0}&nbsp;] </a>

{elseif $config.display_all_menu_items == 'Y' or $config.display_all_menu_items == '1'}

<a href="#" onclick="javascript:insufficientPrivileges();">{lang mkey='winks'}</a>

{/if}

the panelmenu_options.tpl though this way:

Code: [Select]
{if $smarty.session.security.sendwinks == 1}
<tr>
<td class="panelbox_div">
<a class="panellink" href="{$docroot}listviewswinks.php?act=W">{lang mkey='winks'}&nbsp;[&nbsp;{$winks|default:0}&nbsp;] </a>
</td>
</tr>
{elseif $config.display_all_menu_items == 'Y' or $config.display_all_menu_items == '1'}
<tr>
<td class="panelbox_div">
<a class="panellink" href="#" onclick="javascript:insufficientPrivileges();">{lang mkey='winks'}</a>
</td>
</tr>
{/if}

Like this similarly to the incoming messages in Latvian framing the number of the winkings.
I tried to do this function is out of order with the visitors' number but for something instead of the visitors' number writes zero.

dropdownpanelmenu.tpl 151 of his rows being I changed a script from this direction:

Code: [Select]
<a  href="{$docroot}listviewswinks.php?act=V">{lang mkey='views'}</a>
I modified it this way:

Code: [Select]
<tr>
<td class="panelbox_div">
<a class="panellink" href="#" onclick="javascript:insufficientPrivileges();">{lang mkey='views'}</a>
</td>
</tr>

panelmenu_options.tpl in the row of 255 one being script though from this direction:

Code: [Select]
<tr>
<td class="panelbox_div">
<a class="panellink" href="{$docroot}listviewswinks.php?act=V">{lang mkey='views'}</a>
</td>
</tr>

I changed it to this:

Code: [Select]
{if $smarty.session.security.sendwinks == 1}
<tr>
<td class="panelbox_div">
<a class="panellink" href="{$docroot}listviewswinks.php?act=W">{lang mkey='winks'}&nbsp;[&nbsp;{$winks|default:0}&nbsp;] </a>
</td>
</tr>
{elseif $config.display_all_menu_items == 'Y' or $config.display_all_menu_items == '1'}
<tr>
<td class="panelbox_div">
<a class="panellink" href="#" onclick="javascript:insufficientPrivileges();">{lang mkey='winks'}</a>
</td>
</tr>
{/if}

You would be able to help, what I may have ruined in the script how? I enclosed a photo latogatok.png on a name.

Greet too the answer.
« Last Edit: April 06, 2015, 11:15:47 AM by Vargatunde »

Re: Message coming in from the arrival of winking.
« Reply #10 on: April 06, 2015, 11:20:25 AM »
Here the photo the visitors from a function.

*

Pharg

  • *****
  • 2,060
  • osDate Version: osDate Evo v1.0
Re: Message coming in from the arrival of winking.
« Reply #11 on: April 06, 2015, 09:31:28 PM »
Hi Vargatunde,

Is the mod not working as I can't read you pic so I don't know what is wrong?
Regards,
Pharg ( Phill )

REMEMBER: ALWAYS BACKUP BEFORE YOU MAKE ANY CHANGES!!

osDate v2.7 & osDateEvo v1.0 | PHP: 5.3.42 & PHP: 5.6.18 | MySQL: 5.5.35

Re: Message coming in from the arrival of winking.
« Reply #12 on: April 07, 2015, 06:33:34 AM »
Hi Pharg.
I would have liked it how many users visited it how if it appears in the left side menu beside the visitors the z a given user's profile. I may have ruined something because he displays it though the panelmenu_options.tpl but the visitors' number does not appear for something but 0-accross indicates. The visitors' number and this appears in the menu on the head side correctly I would have liked transmitting the function into the left side menu bar. I would ask your help in a dog.

*

Pharg

  • *****
  • 2,060
  • osDate Version: osDate Evo v1.0
Re: Message coming in from the arrival of winking.
« Reply #13 on: April 07, 2015, 08:36:27 AM »
Hi Vargatunde,

In panelmenu_options.tpl find this code:
Code: [Select]
<a class="panellink" href="{$docroot}listviewswinks.php?act=W">{lang mkey='winks'}</a>
Change to:
Code: [Select]
<a class="panellink" href="{$docroot}listviewswinks.php?act=W">{lang mkey='winks'}&nbsp;[&nbsp;{$winks|default:0}&nbsp;]</a>
In dropdownpanelmenu.tpl find this code:
Code: [Select]
<a  href="{$docroot}listviewswinks.php?act=V">{lang mkey='views'}</a>
Change to:
Code: [Select]
<a  href="{$docroot}listviewswinks.php?act=V">{lang mkey='views'}&nbsp;[&nbsp;{$profile_views|default:0}&nbsp;]</a>
Regards,
Pharg ( Phill )

REMEMBER: ALWAYS BACKUP BEFORE YOU MAKE ANY CHANGES!!

osDate v2.7 & osDateEvo v1.0 | PHP: 5.3.42 & PHP: 5.6.18 | MySQL: 5.5.35

Re: Message coming in from the arrival of winking.
« Reply #14 on: April 07, 2015, 01:35:03 PM »
Hi.
Thanks the help works already so.