Jump to content

Warn Din Topic


BigFoot =)))

Recommended Posts

Salutare,

Am cautat pe net foarte mult, dar nu am reusit sa gasesc nicaieri codul pentru crearea acelui buton de warn (gen cel de mention), cu care poti da warn din topic la  un anumit membru !

As dorii si eu acest cod si as vrea sa stiu si unde trebuie sa il adaug !

Edited by BigFoot =)))
Link to comment
Share on other sites

  • 1 year later...

Dupa foarte multe cautari si editari intr-o tema gasita pe webflake, am reusit sa fac rost de codul pt butonul de warn:

Acesta se adauga la final in UserInfoPanel:

<if test="$this->memberData['member_id'] == $author['member_id'] || $this->memberData['is_mod'] OR !empty($this->memberData['access_report_center']) || ($this->memberData['g_access_cp'] AND !$this->settings['security_remove_acp_link'])">
<a class='desc lighter blend_links' href='{parse url="app=members&module=profile&section=warnings&member={$author['member_id']}&from_app={$this->request['app']}&from_id1={$contentid}&from_id2={$options['id2']}" base="public"}' id='warn_link_{$contentid}_{$author['member_id']}' title='{$this->lang->words['warn_view_history']}'><div class="warnbtn"></i>WARN MEMBER</div></a></a></if>

Iar acesta se adauga la final in ipb_styles.css

.warnbtn {
      float:left;
      display:inline-block;
      position:relative;
      width: 100%;
      height:35px;
      line-height:34px;
      border-radius:0px;
      font-size:0.9em;
      background-color:#333;
      color:#646464;
      transition:border-bottom 0.5s, box-shadow 0.1s, color 0.2s,box-shadow 0.1s;
      transition:border-bottom 0.5s, box-shadow 0.1s, color 0.2s,box-shadow 0.1s;
      text-decoration:none;-webkit-transition:all 0.2s ease-in;
      transition:all 0.2s ease-in;
      -webkit-user-select:none;
      -moz-user-select:none;
      -ms-user-select:none;
      user-select:none;
      white-space:nowrap;
      background:-webkit-linear-gradient(#333 50%, #333 50%);
      background:linear-gradient(#333 50%, rgba(41, 136, 206, 0.95) 50%);
      background-repeat:repeat;
      background-size:100% 200%;
}

.warnbtn:hover {
      color:#96281B;
      cursor:pointer;
      background-position:200% 100%;
      color:#FCFCFC;
      cursor:pointer

}

In caz ca semnalati ceva care nu e bn la aceste coduri va rog sa postati!

Link to comment
Share on other sites

  • DeNyS. locked this topic
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.