vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Integration with vBulletin - diggTopic - Full Integration with Digg (OMG) (https://vborg.vbsupport.ru/showthread.php?t=148216)

djbaxter 06-17-2007 05:04 PM

Quote:

Originally Posted by jamsgra (Post 1257208)
Also I have a suggestion - if you add "&name=" to the query string of the digg submit URL you can automatically add the thread title to the digg submit. Speed the submission up a bit.

Has ^^ this suggestion been added yet?

Quote:

Originally Posted by Chennai Style (Post 1258805)
When I click the DIGG IT, it opens in the same page.
Is there any way to open in a new window ?

I'd also like this feature.

Quote:

Originally Posted by Fireproof (Post 1258718)
Tried the latest version, but on one of my threads, I get the following Error on Page. See screenshot.

Quote:

Originally Posted by Billspaintball (Post 1258790)
I get the same error with the last version in some forums.
I havent tried tried this version yet, but looks like the problem still exists.

Quote:

Originally Posted by Fireproof (Post 1259054)
Okay, it's still not working quite right for me.

And here's the link to the thread that is not getting a "digg this thread" button (but the others are):

I also get this error - but only on some threads. When the error appears, no Digg button is displayed. If the page (thread) loads without an error, I get the digg button displayed.

I would conclude from this that there is an error processing the code to display the digg button.

This occurs even with the default vBulletin style.

duckdodger 06-17-2007 06:22 PM

Is it possible to have the digg button displayed on the news module of vbadvanced? I would like it to appear next to the reply and/or sendtofriend button.

Link to my site

djbaxter 06-17-2007 09:17 PM

Quote:

Originally Posted by djbaxter (Post 1270430)
I also get this error - but only on some threads. When the error appears, no Digg button is displayed. If the page (thread) loads without an error, I get the digg button displayed.

I would conclude from this that there is an error processing the code to display the digg button.

This occurs even with the default vBulletin style.

The error is

Code:

Expected: ')'
This is the line generating the error (from View Source):

Code:

document.write('<A HREF="http://digg.com/submit?phase=2&url=' + location.href +'&title=Deadly twist at the chiropractor's office"><img src="./images/100x20-digg-button.gif" width="100" height="20" alt="Digg!" border="0"/></a>');
and as you can see the title= part contains an apostrophe:

Code:

'&title=Deadly twist at the chiropractor's office
I don't know if this is characteristic of other threads that don't display the button but this should be handled with a "replace" to add a \ before the apostrophe. It's basically a parsing problem.

Alternatively, leave out the thread title from the URL but have the URL open in a new window so that the individual can cut-and-paste into the Digg window from the forum. I would actually prefer this solution for several reasons.

Fireproof 06-18-2007 02:24 AM

Quote:

Originally Posted by djbaxter (Post 1270546)
The error is

Code:

Expected: ')'
This is the line generating the error (from View Source):

Code:

document.write('<A HREF="http://digg.com/submit?phase=2&url=' + location.href +'&title=Deadly twist at the chiropractor's office"><img src="./images/100x20-digg-button.gif" width="100" height="20" alt="Digg!" border="0"/></a>');
and as you can see the title= part contains an apostrophe:

Code:

'&title=Deadly twist at the chiropractor's office
I don't know if this is characteristic of other threads that don't display the button but this should be handled with a "replace" to add a \ before the apostrophe. It's basically a parsing problem.

Alternatively, leave out the thread title from the URL but have the URL open in a new window so that the individual can cut-and-paste into the Digg window from the forum. I would actually prefer this solution for several reasons.


Good find! :up: That's where the error is occurring for me - on my threads where there's an apostrophe in the title (as in "FP's beginner's guide...").

GuaRRand 06-21-2007 11:18 AM

i uninstalled it ... but the WRAPP in a newreply/newpost isnt gone (see attachement)

Where do i have to look to remove this?
i checked newreply.php and the templates, but cant find it..

Coders Shack 06-22-2007 12:16 AM

Quote:

Originally Posted by GuaRRand (Post 1273153)
i uninstalled it ... but the WRAPP in a newreply/newpost isnt gone (see attachement)

Where do i have to look to remove this?
i checked newreply.php and the templates, but cant find it..

wrong mod... this hack has nothing to do with a wrap.

777connect 06-23-2007 04:10 PM

I have installed and it seems to be working fine. Very easy install. My question is that the "digg this story" button does not show up on my GARS threads. Is there a fix for this?

Coders Shack 06-23-2007 05:10 PM

did you try using the custom replacement:

<!-- diggTopic_diggit -->

place that where you want it to show up in your template.

TheMilkCarton 06-24-2007 07:09 AM

Is it possible to add an "Include" list in addition to the "Exclude" list? I only want this on a few forums and that means typing out a huge list of forums to Exclude.

I thought maybe I could just wrap a conditional around the <!-- diggTopic_diggit --> code in the postbit, but I haven't tried that and I'm not positive it would work.

skepticality 06-25-2007 01:47 PM

Very cool!


Quote:

Originally Posted by Coders Shack (Post 1256543)
if theres still active intrest in this modification ill be releasing the new addition that displays the diggs on forum display:

demo: http://codersshack.com/forums/php_11/



All times are GMT. The time now is 06:04 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.01203 seconds
  • Memory Usage 1,750KB
  • 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
  • (6)bbcode_code_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete