Home >Backend Development >PHP Tutorial >Add friend adding and greeting functions to the left column of Ddiscuzx2.5 posts

Add friend adding and greeting functions to the left column of Ddiscuzx2.5 posts

WBOY
WBOYOriginal
2016-07-25 09:13:331756browse
This function is deleted by default in DZX2.5
Because many friends want to return this function
So I searched and found this modification method

                        Add friend adding and greeting functions to the left column of Ddiscuzx2.5 posts

templatedefaultforumviewthread_node.htm
Search

  1.                                                                                                                                                mod=spacecp&ac=follow&op=add&hash={FORMHASH}&fuid=$post[authorid]" id="followmod_$post[authorid]" title="{lang follow}" class="xi2" onclick="showWindow('followmod' , this.href, 'get', 0);">{lang follow}
  2.                                                                                                                                                                                                                                                                           Code
  3. under this code
plus
                                                                 &ac=friend&op=add&uid=$post[ authorid]&handlekey=addfriendhk_{$post[authorid]}" id="a_friend_li_{$post[pid]}" onclick="showWindow(this.id, this.href, 'get', 1, {'ctrlid':this .id,'pos':'00'});" title="{lang viewthread_left_addfriend}" class="xi2">{lang viewthread_left_addfriend}                                                                   "poke2">{lang viewthread_left_poke}Copy code
Save and upload Override background update cache
  1.                                                                  
    Add friends


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn