1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

Registered Links

Discussion in 'Add-on Releases [Archive]' started by vbgamer45, Dec 27, 2010.

  1. vbgamer45

    vbgamer45 Active Member

    Registered Links
    By: vbgamer45

    Install information:
    1.Upload the library folder to the root directory of your Xenforo forum
    2. In the Admin CP go to Home then Install Add On area and select and install the registeredlinks.xml from your computer

    This addon checks all messages posted for links. If the user is a guest it will hide

    the links. There are no settings for this addon.
     

    Attached Files:

  2. arabic

    arabic Member

    very nice
     
  3. Kaiser

    Kaiser Well-Known Member

    Not good for SEO.
     
  4. Robbo

    Robbo Well-Known Member

    Not a good thing at all imo. I don't see the point. When I go to sites with stupid little restriction trying to get me to register I just leave.
     
    gordy, ArnyVee, CyberAP and 2 others like this.
  5. Weiyan

    Weiyan Well-Known Member

    Thank you. I have a friend like to post link, thank for this medicine to hure my headache.
    I have modified one line of code to make the register link work:

    In file libraryViewPublic/registeredlinks.php

    Code:
    $signupLink = XenForo_Link::buildPublicLink('login/login');
    change to:
    Code:
    $signupLink = XenForo_Link::buildPublicLink('register');
     
    ragtek likes this.
  6. Weiyan

    Weiyan Well-Known Member

  7. Weiyan

    Weiyan Well-Known Member

  8. vbgamer45

    vbgamer45 Active Member

  9. Weiyan

    Weiyan Well-Known Member

    I think there is link in second posts. I will get some time to test it.
     
  10. vbgamer45

    vbgamer45 Active Member

  11. Weiyan

    Weiyan Well-Known Member

  12. Weiyan

    Weiyan Well-Known Member

    Code:
    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 18446744073208111105 bytes) in /home4/hkmyhome/public_html/citytalk/community/library/registeredlinks/ViewPublic/registeredlinks.php on line 25
    Testing is going on. I am try to get which link has trouble.
     
  13. Weiyan

    Weiyan Well-Known Member

    Very strange, I refresh, no error, but the post is empty.

    Below is post content. There are three links.
    Code:
    淚兒你好~~~ 以後寫作上請多多指點啊~~~
    
    找到你提及的兩部著作, 考試後研究研究。中國哲學書電子化計劃不錯, 著作幾齊全
    《史記·貨殖列傳》 http://www.acrotec.com/b5/sizhi69.html
    中國哲學書電子化計劃 《鹽鐵論》西漢公元前81年-9年桓寬著 http://ctext.org/yan-tie-lun/zh
    桓寬 -鹽鐵論 http://www.yasue.cc/yim_tit_lun.html
     
  14. Weiyan

    Weiyan Well-Known Member

    Remove the links, stll not work.
    Next, looking at the page source.

    Code:
    [SIZE=4][FONT=Times New Roman][COLOR=rgb(0, 0, 0)][SIZE=13px][FONT=Trebuchet MS][COLOR=rgb(3, 42, 70)][INDENT=1][COLOR=rgb(3, 42, 70)][SIZE=13px][FONT=Trebuchet MS][COLOR=rgb(3, 42, 70)][SIZE=13px][FONT=Trebuchet MS][COLOR=rgb(3, 42, 70)][SIZE=13px][FONT=Trebuchet MS][COLOR=rgb(3, 42, 70)][SIZE=13px][FONT=Trebuchet MS][FONT=Georgia]淚兒你好~~~ 以後寫作上請多多指點啊~~~[/FONT][/FONT][/SIZE][/COLOR][/FONT][/SIZE][/COLOR][/FONT][/SIZE][/COLOR][/FONT][/SIZE][/COLOR][/INDENT]
    [/COLOR][/FONT][/SIZE][/COLOR][/FONT][/SIZE]
    [COLOR=rgb(3, 42, 70)][SIZE=13px][FONT=Trebuchet MS][INDENT=1][COLOR=rgb(3, 42, 70)][SIZE=13px][FONT=Trebuchet MS][COLOR=rgb(3, 42, 70)][SIZE=13px][FONT=Trebuchet MS][COLOR=rgb(3, 42, 70)][SIZE=13px][FONT=Trebuchet MS][COLOR=rgb(3, 42, 70)][SIZE=13px][FONT=Georgia]找到你提及的兩部著作, 考試後研究研究。中國哲學書電子化計劃不錯, 著作幾齊全[/FONT][/SIZE][/COLOR][/FONT][/SIZE][/COLOR][/FONT][/SIZE][/COLOR][/FONT][/SIZE][/COLOR][/INDENT]
    [/FONT][/SIZE][/COLOR]
    [INDENT=1][COLOR=rgb(3, 42, 70)][SIZE=13px][FONT=Trebuchet MS]《史記·貨殖列傳》[FONT=Calibri][URL='http://www.acrotec.com/b5/sizhi69.html'][/URL] [/FONT][/FONT][/SIZE][/COLOR][/INDENT]
    [INDENT=1][COLOR=rgb(3, 42, 70)][SIZE=13px][FONT=Trebuchet MS][FONT=Calibri][FONT=Georgia]中國哲學書電子化計劃[/FONT][FONT=Calibri] [/FONT]《鹽鐵論》[/FONT]西漢公元前[FONT=Calibri]81[/FONT]年[FONT=Calibri]-9[/FONT]年桓寬著 [URL='http://ctext.org/yan-tie-lun/zh'][/URL][/FONT][/SIZE][/COLOR][/INDENT]
    [INDENT=1][COLOR=rgb(3, 42, 70)][SIZE=13px][FONT=Trebuchet MS][FONT=Calibri][FONT=Georgia]桓寬[/FONT][FONT=Calibri] -[/FONT]鹽鐵論[/FONT][URL='http://www.yasue.cc/yim_tit_lun.html'][/URL][/FONT][/SIZE][/COLOR][/INDENT]
    [COLOR=rgb(3, 42, 70)][INDENT=1][/INDENT]
    [SIZE=11px][LEFT][/LEFT]
    [/SIZE][/COLOR][/FONT]
     
  15. vbgamer45

    vbgamer45 Active Member

    Try this file copy it to
    library\registeredlinks\ViewPublic

    And see if helps. Changed register link and changed order of somethings in that file
     

    Attached Files:

  16. Weiyan

    Weiyan Well-Known Member

    Delete the hidden links still not work. Remove formatting, works.
    Now, post the original post again:
    Code:
    [SIZE=4][FONT=Times New Roman][COLOR=rgb(0, 0, 0)][SIZE=13px][FONT=Trebuchet MS][COLOR=rgb(3, 42, 70)][INDENT=1][COLOR=rgb(3, 42, 70)][SIZE=13px][FONT=Trebuchet MS][FONT=Georgia]淚兒你好~~~ 以後寫作上請多多指點啊~~~[/FONT][/FONT][/SIZE][/COLOR][/INDENT]
    
    [INDENT=1][COLOR=rgb(3, 42, 70)][SIZE=13px][FONT=Georgia]找到你提及的兩部著作, 考試後研究研究。中國哲學書電子化計劃不錯, 著作幾齊全[/FONT][/SIZE][/COLOR][/INDENT][/COLOR][/FONT][/SIZE][/COLOR][/FONT][/SIZE]
    [INDENT=1][COLOR=rgb(3, 42, 70)][SIZE=13px][FONT=Trebuchet MS]《史記·貨殖列傳》[FONT=Calibri] [URL='http://www.acrotec.com/b5/sizhi69.html'][COLOR=rgb(3, 42, 70)]http://www.acrotec.com/b5/sizhi69.html[/COLOR][/URL] [/FONT][/FONT][/SIZE][/COLOR][/INDENT]
    [INDENT=1][COLOR=rgb(3, 42, 70)][SIZE=13px][FONT=Trebuchet MS][FONT=Calibri][FONT=Georgia]中國哲學書電子化計劃[/FONT][FONT=Calibri] [/FONT]《鹽鐵論》[/FONT]西漢公元前[FONT=Calibri]81[/FONT]年[FONT=Calibri]-9[/FONT]年桓寬著 [URL='http://ctext.org/yan-tie-lun/zh'][COLOR=rgb(3, 42, 70)]http://ctext.org/yan-tie-lun/zh[/COLOR][/URL][/FONT][/SIZE][/COLOR][/INDENT]
    [INDENT=1][COLOR=rgb(3, 42, 70)][SIZE=13px][FONT=Trebuchet MS][FONT=Calibri][FONT=Georgia]桓寬[/FONT][FONT=Calibri] -[/FONT]鹽鐵論[/FONT] [URL='http://www.yasue.cc/yim_tit_lun.html'][COLOR=rgb(3, 42, 70)]http://www.yasue.cc/yim_tit_lun.html[/COLOR][/URL][/FONT][/SIZE][/COLOR][/INDENT]
    [COLOR=rgb(3, 42, 70)][INDENT=1][/INDENT]
    [SIZE=11px][LEFT][/LEFT]
    [/SIZE][/COLOR][/FONT]
    Hangs again.
     
  17. Weiyan

    Weiyan Well-Known Member

    Remove the formatting, the three links remain visible.
    It works.
    Code:
    淚兒你好~~~ 以後寫作上請多多指點啊~~~
    找到你提及的兩部著作, 考試後研究研究。中國哲學書電子化計劃不錯, 著作幾齊全
    《史記·貨殖列傳》 [URL]http://www.acrotec.com/b5/sizhi69.html[/URL]
    中國哲學書電子化計劃 《鹽鐵論》西漢公元前81年-9年桓寬著 [URL]http://ctext.org/yan-tie-lun/zh[/URL]
    桓寬 -鹽鐵論 [URL]http://www.yasue.cc/yim_tit_lun.html[/URL]
    
    [COLOR=rgb(3, 42, 70)][SIZE=11px][LEFT][/LEFT]
    [/SIZE][/COLOR][/FONT]
    RegosteredLinks has trouble wiht some bbcode. I tried to modified $source = , still not fixed the problem.
    I guess it not detect url correctly.
     
  18. vbgamer45

    vbgamer45 Active Member

    Try the file I posted in my last post two posts up.
     
  19. Weiyan

    Weiyan Well-Known Member

    Upload and overrited old file, still not work.
     
  20. Weiyan

    Weiyan Well-Known Member

    I try in my local using xamp, dosn't have problem.
    Should you sggest a check list investigate this problem?
     

Share This Page