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)

Coders Shack 05-26-2007 10:00 PM

diggTopic - Full Integration with Digg (OMG)
 
[hr]value[/hr]
. . . . . . . . Brought to you by
https://vborg.vbsupport.ru/
. . . http://www.Scriptasy.com
[hr]value[/hr]
Installation Time: [error] number too small
Products: 1
VB Version: 3.6.X
  • v1.02
    • added on/off in admincp
    • added digg image/link if you haven't added the url to the thread
    v1.04
    • forgot to add the database field
    • forgot a hook/plugin
    v1.05
    • checks HTTP_REFERER, for digg.com then looks up the thread URL if it returns a digg_url then it will add it to the thread.
    • threadadmins can also manually add the url. The manual edit overrides the auto add url.
    v1.06
    • enable/disable users digg counts
    • disable per-forum option
    • enable/disable auto add digg url option
    v1.07
    • custom placements
    • custom digg image
    v1.08
    • fixed autoadd (which will make user counts work)
Example: [live demo]

Description:
[hr]value[/hr]
This has evolved into full digg integration, when someone diggs someone elses topic. And someone on digg.com clicks on the link, the thread poster gets credited with 1 digg. Plus the digg button with the current digg count gets added to the threads postbit.


Installation:
[hr]value[/hr]
  • Install product

Upgrading:
[hr]value[/hr]
if your upgrading from a version less than 1.06 you will need to uninstall the product then re-install it. If the version is 1.06 then you can just install the product with Allow Overwrite on.


Custom postbit placements:
[hr]value[/hr]
  • <!-- diggTopic_diggit --> - For the digg button
  • <!-- diggTopic_userdiggcount --> - For the user digg count
[hr]value[/hr]
If you like then [Mark As Installed]
[hr]value[/hr]

Coders Shack 05-27-2007 04:45 AM

version 1.05 updated

Ok heres a scenario someone likes your thread and they are a digg member. They decide to digg it, 4 mins later your digged page is on diggs upcoming page and someone decides to click it. Your forum will see that the visitor is coming from digg.com and trying to access thread X, what will happen next is your forum will use diggs API to check if the thread URL is dugg if it is it will record the DIGG url and add it to your thread. Now if a thread has a digg url then the process wont be repeated.

Hope you like it, i spent some time on it :D

100% template/file edit free

Coders Shack 05-27-2007 05:53 AM

ok, if you installed it please tell me if its working. :D

mcyates 05-27-2007 07:13 AM

Installed but nothing is appearing.

Coders Shack 05-27-2007 07:19 AM

Quote:

Originally Posted by mcyates (Post 1255391)
Installed but nothing is appearing.

could be your VBSEO.

personally i removed the sites in post and just made them for thread.

Coders Shack 05-27-2007 09:00 AM

Quote:

Originally Posted by Coders Shack (Post 1255393)
could be your VBSEO.

personally i removed the sites in post and just made them for thread.

actually it was my fault forgot to add a plugin.

Sofia 05-27-2007 09:04 AM

Thanks a lot :) Installed !

Coders Shack 05-27-2007 09:34 AM

ok final one is 2.04 used a different template hook, and tested it.

Coders Shack 05-27-2007 09:43 AM

ok im going to bed lol :P

night

projectego 05-27-2007 11:07 AM

Looks awesome! Thanks a bunch, CS! ;)


All times are GMT. The time now is 10:42 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.02051 seconds
  • Memory Usage 1,739KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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