vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   New Posting Features - Digg.com System Integration (https://vborg.vbsupport.ru/showthread.php?t=139462)

GuaRRand 06-29-2007 07:23 AM

Quote:

Originally Posted by ZomgStuff (Post 1277079)
Did you remove it from bbcode manager?

i did now thanks :D

valdet 07-27-2007 04:46 PM

Since this one wasn't working for me, I simply used the easy way that Digg offers

One very simple edit in postbit/postbit_legacy

Find
Code:

<!-- controls -->
and just above that add this

Code:

<div><if condition="is_member_of($bbuserinfo,1,2,3,4,5,6,7) and (($post[postcount]==1) and !$GLOBALS['vbulletin']->GPC['ajax'])">
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script></if></div><br />

Thanks for few helpful tips over here..
Here is the result with URL being automatically submitted on Digg, and counter increases after a digg..

https://vborg.vbsupport.ru/

I hope someone finds this useful.

Best regards,
Val.

nikki712 07-28-2007 03:50 PM

I have private forums and don't want any of those threads "dugg". Since they're private, I assume that even if someone did "digg it", it wouldn't show up anywhere, right?

nikki712 07-28-2007 04:08 PM

Is there any way to for administrators to be able to just digg the FIRST post in CERTAIN forums, and then allow other members to digg that same post?

taheri6 07-28-2007 10:03 PM

Hi,

I cant get this to work well, the diggit.gif link works fine, but the embeded bbcode always shows 0 diggs even when its been submitted. Also, when you click on digg in the post it says that the URL is invalid. The first link itself works fine to submit the post however.

So I did what the person above mentioned, and used the following after the controls line

Code:

<div><if condition="is_member_of($bbuserinfo,1,2,3,4,5,6,7) and (($post[postcount]==1) and !$GLOBALS['vbulletin']->GPC['ajax'])">
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script></if></div><br />

I get the same result there, it always says 0 diggs even when there are some, when you click on digg there it doesnt say that its an invalid URL at least, but it doesnt populate the title, etc like the other digg link did.

here is an example
http://www.pleskhosts.com/forum/showthread.php?t=30

nikki712 07-28-2007 10:21 PM

Quote:

Originally Posted by taheri6 (Post 1304232)
Hi,

I cant get this to work well, the diggit.gif link works fine, but the embeded bbcode always shows 0 diggs even when its been submitted. Also, when you click on digg in the post it says that the URL is invalid. The first link itself works fine to submit the post however.

So I did what the person above mentioned, and used the following after the controls line

Code:

<div><if condition="is_member_of($bbuserinfo,1,2,3,4,5,6,7) and (($post[postcount]==1) and !$GLOBALS['vbulletin']->GPC['ajax'])">
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script></if></div><br />

I get the same result there, it always says 0 diggs even when there are some, when you click on digg there it doesnt say that its an invalid URL at least, but it doesnt populate the title, etc like the other digg link did.

here is an example
http://www.pleskhosts.com/forum/showthread.php?t=30

Same here.

Mag1c 08-10-2007 01:45 AM

valdet! thank you so much it works perfectly now!!!!! please pm me asap we need to talk!

Skyline_GT 10-02-2007 08:54 AM

Quote:

Originally Posted by taheri6 (Post 1304232)
Hi,

I cant get this to work well, the diggit.gif link works fine, but the embeded bbcode always shows 0 diggs even when its been submitted. Also, when you click on digg in the post it says that the URL is invalid. The first link itself works fine to submit the post however.

So I did what the person above mentioned, and used the following after the controls line

Code:

<div><if condition="is_member_of($bbuserinfo,1,2,3,4,5,6,7) and (($post[postcount]==1) and !$GLOBALS['vbulletin']->GPC['ajax'])">
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script></if></div><br />

I get the same result there, it always says 0 diggs even when there are some, when you click on digg there it doesnt say that its an invalid URL at least, but it doesnt populate the title, etc like the other digg link did.

here is an example
http://www.pleskhosts.com/forum/showthread.php?t=30

This is awesome.
Thanks

bulletinboard 10-25-2007 12:53 AM

Great thinking, thanks.

StonePilot 11-08-2007 10:16 PM

Two things: 1) I also can't get the # of Diggs to show properly. I get "0" on each page. 2) I'm a noob to BBC code, I coudlnt' get it to work at all, any suggestions?


All times are GMT. The time now is 06:03 AM.

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.01176 seconds
  • Memory Usage 1,746KB
  • 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
  • (5)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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