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)

Darat 05-28-2007 06:41 PM

I'd just started checking version 1.06 out, had a problem with a custom style and before I could even post a question about it you've uploaded a new version that solves the problem I had!

Now that's what I call great service - now if you could just tell me next week's lottery numbers.

Coders Shack 05-28-2007 06:42 PM

lol only if :(

no problem.

Fireproof 05-28-2007 07:08 PM

LOL at Darat and the lottery! :D

Great job Coders Shack. Thanks for the quick response. Going to update this afternoon.

Coders Shack 05-28-2007 07:22 PM

oh no problem, only thing i can think of adding now is a option to swich between the compact digg and the normal:

example: http://digg.com/img/integrate-example.png

when using the normal one you would have to use a custom placement for it because its too large.

Fireproof 05-28-2007 07:23 PM

Okay, I wish I was more experienced (just got my board converted to vB recently, so I'm still learning it...)

At any rate, I'm still working on getting the css / postbit editing just right, but one thing I noticed is there is no option to turn OFF the auto-addition of the Digg count.. In otherwords, I can manually add mine, but if the Mod is enabled, it ALSO shows yours...

Coders Shack 05-28-2007 07:25 PM

Quote:

Originally Posted by Fireproof (Post 1256395)
Okay, I wish I was more experienced (just got my board converted to vB recently, so I'm still learning it...)

At any rate, I'm still working on getting the css / postbit editing just right, but one thing I noticed is there is no option to turn OFF the auto-addition of the Digg count.. In otherwords, I can manually add mine, but if the Mod is enabled, it ALSO shows yours...

dont really understand what you mean ? are you talking abt the user digg count? its in the ACP.

if <!-- diggTopic_userdiggcount --> is in the postbit template it will not use the old template replacement.

can i get a link to your page

Fireproof 05-28-2007 07:56 PM

Quote:

Originally Posted by Coders Shack (Post 1256399)
dont really understand what you mean ? are you talking abt the user digg count? its in the ACP.

if <!-- diggTopic_userdiggcount --> is in the postbit template it will not use the old template replacement.

can i get a link to your page


Oh - okay - I thought if I disabled that, then it wouldn't count them at all. But are you saying it just won't display them? And as long as I manually add that code somewhere, then it will show their counts?

Also - how does that codebit work - I thought <!-- was for comments and nothing after it does anything? (Told you I'm a newbie).

My site is at http://www.clutchfitness.com/forums if you want to have a look.. Haven't figured out the postbit part yet.

Coders Shack 05-28-2007 08:05 PM

Quote:

Originally Posted by Fireproof (Post 1256416)
Oh - okay - I thought if I disabled that, then it wouldn't count them at all. But are you saying it just won't display them? And as long as I manually add that code somewhere, then it will show their counts?

Also - how does that codebit work - I thought <!-- was for comments and nothing after it does anything? (Told you I'm a newbie).

My site is at http://www.clutchfitness.com/forums if you want to have a look.. Haven't figured out the postbit part yet.

ok just add this under your post count div:
HTML Code:

<div class="postdata">
        Diggs: <!-- diggTopic_userdiggcount -->
</div>

and leave it on.

also I'm just using the <!-- --> as a marker, when the template is processed it looks for <!-- diggTopic_userdiggcount --> and replaces it with the code.

Fireproof 05-28-2007 08:10 PM

Okay, below is the code I added (I have to use that div class to get it to match the others). It looks real good, but it's not showing a "0" (zero) as expected.

Here's the code:
Code:

<div class="smallfont">
                                &nbsp;<br />
                                <if condition="$post['joindate']"><div class="postdata">$vbphrase[join_date]: $post[joindate]</div></if>
                                <if condition="$post['field2']"><div class="postdata">$vbphrase[location_perm]: $post[field2]</div></if>
                                <if condition="$post['age']"><div class="postdata">$vbphrase[age]: $post[age]</div></if>
                                <div class="postdata">
                                        $vbphrase[posts]: $post[posts]
                                </div>
<!-- Digg Counts -->
                                <div class="postdata">Diggs:<!-- diggTopic_userdiggcount--></div>
<!-- /Digg Counts -->
                                <if condition="$show['infraction']"><div class="postdata">$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>
                                <if condition="$show['reputation']"><div class="postdata"><if condition="$show['reppower']">$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if>
                                $template_hook[postbit_userinfo_right]
                                <div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
                        </div>

Use my link above to check out any thread and see what it looks like...

Panagioths 05-28-2007 08:15 PM

Where can we find the <!-- diggTopic_diggit --> at the templates?
Is it possible to add the diggit button next to the first post title?

Coders Shack 05-28-2007 08:25 PM

Quote:

Originally Posted by Fireproof (Post 1256432)
Okay, below is the code I added (I have to use that div class to get it to match the others). It looks real good, but it's not showing a "0" (zero) as expected.

Here's the code:
Code:

<div class="smallfont">
                &nbsp;<br />
                <if condition="$post['joindate']"><div class="postdata">$vbphrase[join_date]: $post[joindate]</div></if>
                <if condition="$post['field2']"><div class="postdata">$vbphrase[location_perm]: $post[field2]</div></if>
                <if condition="$post['age']"><div class="postdata">$vbphrase[age]: $post[age]</div></if>
                <div class="postdata">
                    $vbphrase[posts]: $post[posts]
                </div>
<!-- Digg Counts -->
                                <div class="postdata">Diggs:<!-- diggTopic_userdiggcount--></div>
<!-- /Digg Counts -->
                <if condition="$show['infraction']"><div class="postdata">$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>
                <if condition="$show['reputation']"><div class="postdata"><if condition="$show['reppower']">$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if>
                $template_hook[postbit_userinfo_right]
                <div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
            </div>

Use my link above to check out any thread and see what it looks like...

ok are you editing postbit or postbit_legacy :D, your using postbit_legacy so you need to make the edit there.
Quote:

Originally Posted by Panagioths (Post 1256437)
Where can we find the <!-- diggTopic_diggit --> at the templates?
Is it possible to add the diggit button next to the first post title?

there is no <!-- diggTopic_diggit --> in the template, its optional once you addit it, it places the digg button there.

Fireproof 05-28-2007 08:28 PM

LOL. Editing postbit_legacy. You can see the attached screenshot - looks real purdy!! But I dug myself and I'm not getting any "diggs" calculated. (But the digg worked - went to digg, posted it, etc.)

Coders Shack 05-28-2007 08:30 PM

Quote:

Originally Posted by Fireproof (Post 1256447)
LOL. Editing postbit_legacy. You can see the attached screenshot - looks real purdy!! But I dug myself and I'm not getting any "diggs" calculated. (But the digg worked - went to digg, posted it, etc.)

you should at least be getting a 0 did you disable it in the acp?

also heres a good custom digg button

Fireproof 05-28-2007 08:36 PM

Quote:

Originally Posted by Coders Shack (Post 1256450)
also heres a good custom digg button

Oooh - very nice - thank you! :up:


Okay - something else isn't working quite right. I can't find where I can see the Digg URL. Even when I edit the thread, I don't get the manual box or an auto-populated one like you show in your screenshots.

And a feature request: Anyway we can show that it's been Dugg? Like change the button or something? Or show the number of diggs?

Nothing changed on my dugg thread, but when I tried to digg it again, it DID link up appropriately and say "Cool, this story has already been dugg" and then it displayed it at Digg.com. Very cool.

Fireproof 05-28-2007 08:36 PM

Quote:

Originally Posted by Coders Shack (Post 1256450)
you should at least be getting a 0 did you disable it in the acp?

Nope. It's enabled now. Dugg a thread to see if I would see a "1". Nope. :(

Coders Shack 05-28-2007 08:39 PM

ha... i see your problem the replacement needs to be added perfectly:

<!-- diggTopic_userdiggcount --> not <!-- diggTopic_userdiggcount-->

you forgot a space at the end.

Panagioths 05-28-2007 09:40 PM

Is it possible to add the diggit button next to the first post title?

Fireproof 05-28-2007 09:42 PM

Quote:

Originally Posted by Coders Shack (Post 1256456)
ha... i see your problem the replacement needs to be added perfectly:

<!-- diggTopic_userdiggcount --> not <!-- diggTopic_userdiggcount-->

you forgot a space at the end.

LOL. Stupid space typo..

Coders Shack 05-29-2007 12:09 AM

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/

Fireproof 05-29-2007 12:12 AM

Very cool. I'm definitely interested in getting this to work. I would suggest for display features like the above, that you keep it flexible by allowing people to enable/disable the forum display.

Billspaintball 05-29-2007 04:14 AM

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/


Oh there is plenty of intrest from me. :)
I just need some spare time so I can Install and test.

Hopefully in the next day or two.

Coders Shack 05-29-2007 06:15 AM

well see, so far i can say that digg has helped my site alot :P

Billspaintball 05-29-2007 09:18 AM

Installed but had to disable :(

Got the attached error message on a number of pages.
I havent had time to look at the code yet to see if I can work out why.

When this error occurs the Digg button will not display.

Happens with both IE7 and Firefox 2

Panagioths 05-29-2007 01:54 PM

It's very cool indeed. I would also like if it's possible to be added at the thread's title at the first post

rantrave 05-29-2007 02:06 PM

FYI - This didn't work if you are using "First post on all pages" hack. If you disable, everything works great.

Fireproof 05-29-2007 05:29 PM

Coder Shack - sent you a PM. Can you check on it. I'm excited to get this working for me.

Freak0204 05-29-2007 06:27 PM

Does this not work with Zoints Synergy or something? I see the Diggs count but the 'digg this story' button is nowhere to be found.

duckdodger 05-29-2007 07:20 PM

Installed!

I saw something like this a while back, but it didn't work nearly as well. This is a very slick mod and it integrates beautifully.

Thanks!

duckdodger 05-29-2007 07:54 PM

I'm using the vBadvanced CMPS portal, and was wondering how I might get the digg image to display next to the reply button for news posts so users can see the ability to digg the story without clicking into the topic?

Link to my site

jamsgra 05-29-2007 11:04 PM

Hi, this looks great - I installed without problem but it only displays the "Digg This Story" button. It dosn't show a digg count, or even realise if the story has already been dugg.

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.

Thanks,

James

Fireproof 05-30-2007 12:37 AM

Quote:

Originally Posted by jamsgra (Post 1257208)
Hi, this looks great - I installed without problem but it only displays the "Digg This Story" button. It dosn't show a digg count, or even realise if the story has already been dugg.

I'm having that same problem and haven't solved it yet. If you do, please post here.

jamsgra 05-30-2007 12:50 AM

Still working on it I'm afraid...

Also - now this is probably a real noob question - but how do I get to the admin screen? Obviously there is the standard vbulletin plugin management stuff - I mean the specific admin as show in one of the screenshots.

Thanks again

Fireproof 05-30-2007 01:01 AM

Look in AdminCP >> vBulletin Options >> DiggTopic Settings. Should be near the bottom of that list. ;)

v12kid 05-30-2007 01:10 AM

downloaded and installed, where in the admincp are the settings for it? Or are there any settings at all?

thanks

jerrygad 05-30-2007 03:00 AM

Very nice. Thanks for sharing.
*Installed*

kyokushin4life 05-30-2007 04:07 AM

Anyone care to explain which addon(plugin) is better?

This thread's one or this https://vborg.vbsupport.ru/showthrea...hnorati&page=3

DementedMindz 05-30-2007 04:47 AM

Its really up to the person installing it but by far I would say this one is.

kyokushin4life 05-30-2007 04:53 AM

may i ask why this is superior?

Coders Shack 05-30-2007 06:03 AM

read the desc.

also I'm still trying to find out why the autoadd feature isn't working, i think its because i coded mine for VBSEO. But i tried to make it work with normal VB sections but never tested it.

Ill be setting up a temp test forum to see whats happening.

and the settings are in the ACP under:
vBulletin Options -> vBulletin Options -> diggTopic Settings

and for the people that cant get the autoadd to work please disable these two settings:
1) Show Users Diggs
2) Enable autoadd?

This will leave you with the manual url add. During the week i have little time to support my mods.

Coders Shack 06-01-2007 12:46 AM

ok set up a test board, and realized the problem, autoadd now works for vbulltin without VBSEO too.

Hope you like :D


All times are GMT. The time now is 01:37 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.01334 seconds
  • Memory Usage 1,840KB
  • 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)bbcode_html_printable
  • (11)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
  • (40)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