Jump to content


* * * * - 1 votes

IP.Board 2.2: Adding the PM button


  • Please log in to reply
27 replies to this topic

#21 vesperala

vesperala

    Miradoniz

  • Members
  • PipPipPipPipPipPipPip
  • 697 posts
  • Location:Romania
  • Real Name:nobody
  • IPB Version:v2.3.x

Posted 29 May 2008 - 03:17 PM

View PostDoc, on May 29 2008, 05:50 PM, said:

But what beside you Skin ?

Beside me in one Skine goes this code

<!-- PM / EMAIL / WWW / MSGR -->
<div style="float: left;">{$author['message_icon']}

</div>
<!-- REPORT / UP -->

А in rest goes this

<if="$this->ipsclass->cache['group_cache'][$author['mgroup']]['g_use_pm']">{$author['message_icon']}</if>

sorry , my english is not good enough for this..:)

I do not understand ... beside you skin

the original code is working for me too.
the other one just does  nothing else...just the same as the first one...

View PostDoc, on May 29 2008, 05:53 PM, said:

Try this

<a href="java script:ins('{$author['message_icon']}</)">PM</a>

javascript -Together
can you make the code for this?

I am not a coder..I do not know where to write this..:) and what else to write there ;)

O raclă mare-i lumea. Stelele-s cuie/Bătute-n ea şi soarele-i fereasta/La temniţa vieţii
Mihai Eminescu

Stelele-n cer, deasupra mărilor, ard depărtărilor, pānă ce pier...

Posted Image


Posted Image

#22 Doc

Doc

    Advanced Member

  • Members
  • PipPipPipPip
  • 73 posts
  • Real Name:Viktor
  • IPB Version:v2.3.x

Posted 29 May 2008 - 03:29 PM

Give access in ACE I shall try you help

#23 vesperala

vesperala

    Miradoniz

  • Members
  • PipPipPipPipPipPipPip
  • 697 posts
  • Location:Romania
  • Real Name:nobody
  • IPB Version:v2.3.x

Posted 29 May 2008 - 03:38 PM

View PostDoc, on May 29 2008, 06:29 PM, said:

Give access in ACE I shall try you help
:) sorry, my friend...but no...

because I am speaking about 6 skins...
I must know how to do it myself...or what to replace.

or I will not be able to do it in any future skin..:)


sorry again
thank you for trying to help me, but this is not a solution for me

;)

Edited by vesperala, 29 May 2008 - 04:24 PM.

O raclă mare-i lumea. Stelele-s cuie/Bătute-n ea şi soarele-i fereasta/La temniţa vieţii
Mihai Eminescu

Stelele-n cer, deasupra mărilor, ard depărtărilor, pānă ce pier...

Posted Image


Posted Image

#24 vesperala

vesperala

    Miradoniz

  • Members
  • PipPipPipPipPipPipPip
  • 697 posts
  • Location:Romania
  • Real Name:nobody
  • IPB Version:v2.3.x

Posted 29 May 2008 - 03:42 PM

<!-- PM / EMAIL / WWW / MSGR -->
<div style="float: left;">{$author['message_icon']}

</div>
<!-- REPORT / UP -->

I wish replace this with another code which make button disappear, as I explained:


i need more: this button disappear for a person post, if the author of the post has messenger disabled! doing so I wont try to write a message and after I writed it I discover I cannot send...


if a person has his messenger disabled, I need that he cannot see PM button at all, and that the others not see his pm button..

is that possible?





what code can work?

Edited by vesperala, 29 May 2008 - 03:48 PM.

O raclă mare-i lumea. Stelele-s cuie/Bătute-n ea şi soarele-i fereasta/La temniţa vieţii
Mihai Eminescu

Stelele-n cer, deasupra mărilor, ard depărtărilor, pānă ce pier...

Posted Image


Posted Image

#25 Doc

Doc

    Advanced Member

  • Members
  • PipPipPipPip
  • 73 posts
  • Real Name:Viktor
  • IPB Version:v2.3.x

Posted 29 May 2008 - 03:55 PM

View Postvesperala, on May 29 2008, 11:38 AM, said:

View PostDoc, on May 29 2008, 06:29 PM, said:

Give access in ACE I shall try you help
:) sorry, my friend...but no...

because I am speaking about 6 skins...
I must know how to do it myself...or what to replace.

or I will not be able to do it in any future skin..:)


sorry again
tank you for trying to help me, but this is not a solution for me

;)

sorry again

Then I do not know as you help

#26 Hello29

Hello29

    Novice

  • Members
  • PipPip
  • 16 posts
  • IPB Version:v2.3.x

Posted 21 July 2008 - 01:43 AM

It worked, and looks nice.
But it did replace the "email" button I put up there the other day.
I like the PM button much better, but just thought I would mention that.

#27 jondee

jondee

    Member

  • Members
  • PipPipPip
  • 39 posts
  • Real Name:Jondi!
  • IPB Version:v2.3.x

Posted 30 November 2008 - 12:40 AM

hey, i want to add like this Email button too and how can i do that?

#28 AndyF

AndyF

    Cogito ergo sum

  • Management
  • PipPipPipPipPipPipPipPipPipPip
  • 8,414 posts
  • Location:Derby, UK
  • Real Name:Andy
  • IPB Version:v3.2.x
Contributor

Posted 30 November 2008 - 02:01 PM

View Postjondee, on Nov 30 2008, 12:40 AM, said:

hey, i want to add like this Email button too and how can i do that?
Instead of using...
{$author['message_icon']}

Use...
{$author['email_icon']}

;)

EDIT... Tutorial created for this button instead, I thought I had already written one but if I did it was not submitted, added now anyway :)

Edited by AndyF, 30 November 2008 - 02:09 PM.

View my tutorials

Please do NOT pm me with support related questions unless requested.
If you are in need of help or assistance, please post on the forum in the appropriate section!



A Look Back - 1.0.1 - 1.3.1 - 2.0.0 - 2.1.7 - 2.2.0 - 2.3.6




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users