Results 1 to 2 of 2

How to get thread URL?

This is a discussion on How to get thread URL? within the General Discussion forums, part of the vBSEO SEO Plugin category; I want to integrate a digg button in SHOWTHREAD template with the following JavaScript code: <script type="text/javascript"> digg_url = 'WEBSITE_URL'; ...

  1. #1
    Junior Member
    Real Name
    Kevin P.
    Join Date
    Nov 2008
    Posts
    15
    Liked
    0 times

    How to get thread URL?

    I want to integrate a digg button in SHOWTHREAD template with the following JavaScript code:

    <script type="text/javascript">
    digg_url = 'WEBSITE_URL';
    </script>
    <script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>

    What should I use to replace WEBSITE_URL? Since I want to use only one URL for a thread, window.href.location doesn't work correctly, it will give different URL for multi-page thread.

    Thanks!

  2. #2
    Junior Member
    Real Name
    Kevin P.
    Join Date
    Nov 2008
    Posts
    15
    Liked
    0 times
    Solved.

Similar Threads

  1. Turn off previous thread next thread rewrite
    By Andy R in forum Troubleshooting
    Replies: 9
    Last Post: 06-10-2008, 06:34 PM
  2. Replies: 6
    Last Post: 05-18-2008, 06:09 PM
  3. How to make thread description same as thread title?
    By basketmen in forum Template Modifications
    Replies: 0
    Last Post: 03-16-2007, 10:45 PM
  4. Replies: 13
    Last Post: 01-17-2007, 07:16 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •