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?


All times are GMT. The time now is 08:05 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.01180 seconds
  • Memory Usage 1,752KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_html_printable
  • (3)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