vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Websnapr Coding help (https://vborg.vbsupport.ru/showthread.php?t=195499)

NukeOZ 11-05-2008 10:55 AM

Websnapr Coding help
 
Hey Everyone,

I am trying to use websnapr on my vBulletin Forums.

http://www.websnapr.com/

It has to go in the:

Show Thread Templates > SHOWTHREAD

and put in straight after this:

Code:

<head>
        $headinclude
        <title>$thread[prefix_plain_html] $thread[title]<if condition="$pagenumber>1"> - <phrase 1="$pagenumber">$vbphrase[page_x]</phrase></if> - $vboptions[bbtitle]</title>

The script that has to go in is this:

<script src="http://bubble.websnapr.com/xxxxxxxxxxxx/sah/" type="text/javascript"></script>

where xxxxxxxxxxxx = your websnapr password.


It works fine, but the only issue with this is that it shows the thumbnail for ALL links on the Showthread page (eg: Profile Link, Page Links, Thread tree links, etc, etc.

What i really hope to do is to have it ONLY show links that are in the post itself and possibly the users signature, but definately whats in the post only.

It can be done in SMF, they have a mod for it. This is the viewsource of the code from SMF forums i have the mod running on.

Code:

<script language="JavaScript" type="text/javascript"><!-- // -->
                var smf_sitepreview_serviceurl = "http://images.websnapr.com/?size=S&url=";
                var smf_sitepreview_bubble = "http://www.domain.com.au/forums/Themes/theme/images/bg.png";
                <!-- // Sitepreview v1.3 coded by Marook (http://www.marook-online.de) // -->
  // ]]></script>

If anyone can help me with what code i need to put in for vBulletin to make this only work for links in the POST only, and not everywhere else, i would greatly appreciate it!

Thank you

Nuke

NukeOZ 11-07-2008 04:14 AM

Bump, anyone able to help me with this?

SSC streezer 06-29-2009 09:50 AM

have you found out how to do it? would interesst me too...


All times are GMT. The time now is 12:07 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01216 seconds
  • Memory Usage 1,713KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete