vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Forum Display Enhancements - Digital Point Thread Avatars (https://vborg.vbsupport.ru/showthread.php?t=271540)

appleballs 11-04-2011 10:02 PM

I would like to add this mod to this page:
http://www.politicaljack.com/index.p...=recentthreads

What would I need to do? Thanks.

digitalpoint 11-04-2011 11:09 PM

The page would need to be based on the existing threadbit template in order to to work.

ewebdesigner 11-05-2011 12:07 AM

Is there a way so that animated avatars do not animate in those? I would like to keep animated avatars allowed in the forum but find it a little annoying when clicking new posts because there is too much animation.
Thanks for the mod by the way, its great!

digitalpoint 11-05-2011 12:24 AM

Sorry there isn't (other that disallowing animated avatars). The system doesn't process/read the avatars themselves, so it doesn't know if they are animated or not... it simply outputs the avatars that are there.

nocte 11-13-2011 10:02 PM

I suppose the original avatars are taken and are not resized and stored seperately - is that correct?

I such a feature planned?

digitalpoint 11-13-2011 10:45 PM

Correct... it does not store additional versions. There are no plans to do that.

sadiq6210 11-14-2011 04:47 AM

Happy to see it as a product
We made it manually after modified many templates (Author avatar + last post avatar)

I want to restore all templates and use this awesome product, but is there a chance to add last post avatar in forumhome? so I can use only this product.

Thanks Shawn

shuangddr 11-15-2011 03:28 AM

Very nice mod

Lazorbeam 11-16-2011 11:45 PM

Quote:

Originally Posted by eTiKeT? (Post 2254240)
Thanks Very Nice

There is a problem - What's New

I had the same problem when I turned on store CSS in file system.

Turned it off and the problem went away. Yes, I have the cssrollup_digitalpoint_threadavatars.xml file uploaded to includes/xml.

digitalpoint 11-16-2011 11:55 PM

Was the XML file always there? If you uploaded it after you installed the plug-in, you would need to recompile the thread avatar templates (under AdminCP -> Maintenance -> Update Counters).

Lazorbeam 11-17-2011 05:31 PM

Quote:

Originally Posted by digitalpoint (Post 2268726)
Was the XML file always there? If you uploaded it after you installed the plug-in, you would need to recompile the thread avatar templates (under AdminCP -> Maintenance -> Update Counters).

Tried that, no dice.

Running 4.1.4 if it matter any. Regardless, great mod, I'm still using it :P.

Question though - this mod made my "what's new" page load very slow. I believe it's because of all the "large" avatars being resized. Are there any plans to pre-shrink the avatars one way or another?

vigneshrajesh 11-17-2011 05:35 PM

Just installed and working great..thank you so much for this awesome mod..

digitalpoint 11-18-2011 05:19 AM

Quote:

Originally Posted by Lazorbeam (Post 2268954)
Tried that, no dice.

Running 4.1.4 if it matter any. Regardless, great mod, I'm still using it :P.

Question though - this mod made my "what's new" page load very slow. I believe it's because of all the "large" avatars being resized. Are there any plans to pre-shrink the avatars one way or another?

Do you have a URL where you are seeing it?

As far as storing a resized version, no... there are no plans to.

sadiq6210 11-18-2011 03:45 PM

1 Attachment(s)
Could you see the attached photo
There is some avatars which is not in the center (there is empty space in the right)

This is my dpta.css & the icon size= 42x42 px

Code:

.threadbit .threadstatus.avatars {
        background:transparent none no-repeat 0 0 !important;
        width:{vb:math {vb:stylevar threadbit_iconsize.width}-6}px !important;
        height:{vb:math {vb:stylevar threadbit_iconsize.width}-6}px !important;
        padding: 2px;
        min-height:{vb:math {vb:stylevar threadbit_iconsize.width}-6}px;
        overflow:hidden;
        margin:5px 10px 6px;
        border: 1px solid #A5CAE4;
        border-radius:4px;
}

.threadbit .threadstatus.avatars img.icon {
        min-height:{vb:math {vb:stylevar threadbit_iconsize.width}-6}px;
}

.threadbit.hot .threadstatus.avatars {
        box-shadow:0 0 0 1px #777, 0 0 3px 2px {vb:stylevar dpta_shadow_hot_color};
        -webkit-box-shadow:0 0 0 1px #777, 0 0 3px 2px {vb:stylevar dpta_shadow_hot_color};
}

.threadbit .icon {
        opacity:0.7;
        filter:alpha(opacity=70);
}

.threadbit.new .icon {
        opacity:1;
        filter:alpha(opacity=100);
}

.threadbit img.self {
        max-width:20px;
        max-height:20px;
        background:#fff;
        border: 1px solid rgb(206, 206, 206);
        padding:1px;
        border-radius:2px;
        position:absolute;
        top:{vb:math {vb:stylevar threadbit_iconsize.width}-15}px;
        right:{vb:math {vb:stylevar threadbit_iconsize.width}-6}px;
}

.threadbit.lock .lockicon {
        position:absolute;
        top:2px;
        right:7px;
        width:20px;
        height:20px;
        background:URL(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAUCAYAAABSx2cSAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAuFJREFUeNqklF9IU3EUx7/7c7dd3dza5h+2aUYlS9AeSlPBfEiUSAtMxAeFoBZU2kOYTxFWFPhSlk9i4EtlFIi9lgMtqBfFcNjsISrUMHPrzn/bvd7tdn5jkyvSSx343N89957v75x7fr/f1SiKgn81PbtoNJq0z24yCBfhJixEjPhBLBBrRGKHWCV0Go3GE1VVlZ3l5WWHwuEw77A7xGBwbn58YmIwEomMUswiEU8qVGXbeJPJ19vbG5qanFQu+nybRUUHVxobG1b9/jFl+NnTjWyn8w7F5W2nS4m1RFV7W9vCo4d9itvtniH/AnGSaLVara+ud3VJ3d1dAvmnCaNabKaAG7dv9cQLCvK/kl9H8Kn5OaLUZrONd3ZcUfI9ntFUP5IZmVlIfIwapxWEyAfyA0Q09W6L+CKKon91dU3ZY7eXkG9Xi00cp7fKsgy9XhdWCdMmUYWRRCKe0Om0hnTZ6W5nSJJkptkhilIh+ZXEunpJaeJiNnk8nmz0DnF2dfXxvUfLytHcvFxBGY7wPK/hOA5MEIvF2Kipr6/TObNzsmZmAha12NHU1GSpra2Fy+VysE1DDYLZbEY0GoUgCKDK4PV6kZubZ+rv789UizmWgQUwmHhjYyM5sqwM9px9Fosj0+3YYQaDgeCoYRy24nrISiYUbSZ4XkvfKWNL1iAq6qHAgF3b883YBGaD3xFe+oj6ChlujxaBgA4jfhkhQUJjjQElOfsghTZ3iz0ZbxH+Noa+wVkMDQFXW4HOFqCoAegZAG7eMyIw7UTZYde2OL3OWPwFdDTHEHgOXDoL3H8CFJwCBkaAB9eAd4+1iEVj6B8Wd2WOe7ztCMr7YTBNoeWcgpozRkx/5qhkGS/mZFSWcui5ewD+9ys477ucUIuXIsJPcX7BonwKSoqeM8Bm5WDN4qmJEn4LW3j5eh2Fe0OacGiZpV5KnmF2MGhJHHRfTOSmzvXfTEkJg0QI//Mb+iPAADsYK/mrQU8kAAAAAElFTkSuQmCC) top right no-repeat;
}

.threadbit .threadstatus.avatars div.overlay {
        position:absolute;
        top:2px;
        right:2px;
        width:32px;
        height:32px;
        background:URL(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAeCAYAAABNChwpAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAABe1JREFUeNrEVwlslEUUfjPzX3svLe0WemyhBVpaLJQWKkYFFI9gqCYcApEjASEYCVdQ7sMjJEYBo6KYiKCCmkCAVjkqVxSxsqVCaSmUs/QAWnpsKe12d//n21ZIY4QeoL7sZDeZefO99+Z938wKaGXdZSX0mbjew0I0Q1SJ212BAE3wEE2hEQYQnWK3p4b4/RFlul7SPGEA0Ja8MHLFpW1fl+LhLPTt2IbZb8wtnNQ3boEAsD0ocBR9ZkREzM+aOCH76uqV3p3po64P0dQFNCWDJoTp+zcXZuDZfMTsnxF/2I743SbELR8jrl2Jh1569nSq2ZTeGeBogMjlUZHvF0ydXIUfrsPceXO942NjP5MA+tO0CKxhkVZr/KVd2wtEsB2w5CqguwawrgagthrAXQ2iwQ23Ll6GZUdy162rrFtCPrfbArZQRcdYrbNnpiTPTxo4MLT89m1Yn3UgY+O5c2vrAX6hJd47a4Xb46k6fiy7NMFkTO0WZDGzxnrAmqpmcN1dBfrNG6A11sBzRn9aeL0n7WCD/zB5194L/FHBh70XFb5tysDkyY6wMFOGK6d4ekbmoszKytXkV0hL9Nbr2Z0fRoCYKUn9Zs8ZOnhKL4fNCjWV4K24BlhdQUHcBN+tW2Bo8kNmWX3B9GrvyxUAea03stIWs1R55XiHY15I9+6iSZLhk6KiAx9cv7HIB3C83ecWBJC0uJdzc3n6Y14cm4YNw2OwJqkrVvSxYVm0CWsjNNxjlS6HMTbwjk8C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dR1Cyfvmnvbe/hJM7S7hvA/sKi/WCzg6FnNKgR4SCc0ZDdJJddRzj1gKqur2j0zcrT9aP/JM93eX2xru6sk/MRyU8O6SY0DcqKrsDMQ653y33+DGi++TtvdBSV9C/jYtsKQvydHN/7o0WDBmTGq+prLa/t/8ek/wroTwEGAGpnU7W6Ocq9AAAAAElFTkSuQmCC) top right no-repeat;
}


digitalpoint 11-18-2011 06:58 PM

What is the URL?

sadiq6210 11-18-2011 07:16 PM

Please check your pm's Shawn

digitalpoint 11-18-2011 08:02 PM

Oh... looks like it's a RTL issue. If you change the "Calculate Avatar For Thread" plug-in to this, does it work?

PHP Code:

if ($show['hide_thread_avatars'] != true) {
    if (
$thread['avatarid']) {
        
$thread['avatarurl'] = $thread['avatarpath'];
    } else {
        if (
$thread['hascustomavatar'] AND $vbulletin->options['avatarenabled']) {
            if (
$vbulletin->options['usefileavatar']) {
                
$thread['avatarurl'] = $vbulletin->options['avatarurl'] . '/avatar' $thread['postuserid'] . '_' $thread['avatarrevision'] . '.gif';
            } else {
                
$thread['avatarurl'] = 'image.php?' $vbulletin->session->vars['sessionurl'] . 'u=' $thread['postuserid'] . '&dateline=' $thread['avatardateline'];
            }
            if (
$thread['width'] == 0) {
                
$thread['avatar_css'] = 'min-height:' . (vB_Template_Runtime::fetchStylevar("threadbit_iconsize.width") - 6) . 'px;min-width:' . (vB_Template_Runtime::fetchStylevar("threadbit_iconsize.width") - 6) . 'px;';
            } elseif (
$thread['width'] == $thread['height']) {
                
$thread['avatar_css'] = 'width:' . (vB_Template_Runtime::fetchStylevar("threadbit_iconsize.width") - 6) . 'px;';
            } elseif (
$thread['width'] < $thread['height']) {
                
$thread['avatar_width'] = vB_Template_Runtime::fetchStylevar("threadbit_iconsize.width") - 6;
                
$thread['avatar_height'] = $thread['height'] / ($thread['width'] / (vB_Template_Runtime::fetchStylevar("threadbit_iconsize.width") - 6));
                
$thread['avatar_css'] = 'width:' $thread['avatar_width'] .  'px;position:relative;top:' intval(((vB_Template_Runtime::fetchStylevar("threadbit_iconsize.width") - 6) - $thread['avatar_height']) / 2) . 'px;';
            } else {
                
$thread['avatar_height'] = vB_Template_Runtime::fetchStylevar("threadbit_iconsize.width") - 6;
                
$thread['avatar_width'] = $thread['width'] / ($thread['height'] / (vB_Template_Runtime::fetchStylevar("threadbit_iconsize.width") - 6));
                
$thread['avatar_css'] = 'height:' $thread['avatar_height'] .  'px;position:relative;' vB_Template_Runtime::fetchStylevar("left") . ':' intval(((vB_Template_Runtime::fetchStylevar("threadbit_iconsize.width") - 6) - $thread['avatar_width']) / 2) . 'px;';
            }
        } else {
            
$thread['avatarurl'] = '';
            
$thread['avatar_css'] = 'height:' . (vB_Template_Runtime::fetchStylevar("threadbit_iconsize.width") - 6) . 'px;';
        }
    }



sadiq6210 11-19-2011 04:28 AM

1 Attachment(s)
Thanks Shawn :up:

It is better now, but still there is a strange bug in resizing the avatar (the width and even in height)
See this screen-shot

Note that:
I added ( padding: 2px; ) in dpta.css
https://vborg.vbsupport.ru/showpost....&postcount=134

digitalpoint 11-19-2011 07:07 AM

Remove the 2px padding? :) That's the issue.

sadiq6210 11-19-2011 07:16 AM

Quote:

Originally Posted by digitalpoint (Post 2269458)
Remove the 2px padding? :) That's the issue.

I want to put a space between the border and the inside img like the padding

Is there another method can I use it to get same result?

Because I am using the padding in online avatars, last post avatar and I didn't face any problem.

digitalpoint 11-19-2011 09:12 AM

You would need to wrap the existing avatar inside a new div and put the padding/border on that one. The current border it has is also used to crop the avatars (as you noticed).

sadiq6210 11-19-2011 10:39 AM

Quote:

Originally Posted by digitalpoint (Post 2269478)
You would need to wrap the existing avatar inside a new div and put the padding/border on that one. The current border it has is also used to crop the avatars (as you noticed).

Where can I add the new <div>?
If you can guide me to make this

Thank you Shawn

digitalpoint 11-19-2011 07:00 PM

No idea, sorry... Never have tried it myself.

kiafaq 11-22-2011 03:46 PM

Hello,

The avatar shows bleaching, low intensity of color. Is it normal?

digitalpoint 11-22-2011 06:27 PM

If there is nothing new to read in the thread, yes.

The Vegan Forum 11-22-2011 08:32 PM

I can't import the XML file, only get Invalid File Specified...

digitalpoint 11-22-2011 08:55 PM

Odd... what version of vBulletin are you using?

The Vegan Forum 11-22-2011 09:02 PM

4.1.8

digitalpoint 11-22-2011 10:14 PM

Maybe it got mucked in the download somehow? Did you try downloading it again by chance (maybe with a different browser)?

thecore762 11-23-2011 07:13 AM

1 Attachment(s)
Shawn, I am having some issues when I use this mod, see attachment:

Basically in google Chrome/FF the avatars showing huge.
Edit *disabled highlight thread* and that fixed that*

Also the default avatars showing in the back.
Can that be fixed?

digitalpoint 11-23-2011 08:07 AM

Are you using CSS files saved as files, and if so... did you upload the necessary XML file before you installed?

thecore762 11-23-2011 08:12 AM

Yes, I uploaded that first, then installed.

sadiq6210 11-23-2011 01:43 PM

Quote:

Originally Posted by thecore762 (Post 2271065)
Shawn, I am having some issues when I use this mod, see attachment:

Basically in google Chrome/FF the avatars showing huge.
Edit *disabled highlight thread* and that fixed that*

Also the default avatars showing in the back.
Can that be fixed?

I faced this issue
I re-uploaded the files, then updated the counters (Rebuild the styles) and it was fixed

thecore762 11-23-2011 02:52 PM

There weren't any updates when I rebuild styles.
Yes I did re upload the files few times but no success.

sadiq6210 11-23-2011 02:59 PM

Try to re-install the product-dp_thread_avatars.xml and choose (rewrite)

thecore762 11-23-2011 03:35 PM

Already done that. Didn't do anything.

sadiq6210 11-23-2011 03:45 PM

Strange! because I didn't edit anything when I faced this issue
So it is better to follow with the product coder (Shawn)

digitalpoint 11-23-2011 07:25 PM

Where is the URL you have it running?

thecore762 11-23-2011 10:30 PM

Ok DP, I found out why it kept doing that.
I disabled "Store CSS Stylesheets as Files" and now it works fine.
Not sure why I have to disable it to make it work.
Any idea?
I did upload the file that you instructed to upload.

My URL: www.47r-squad.com

digitalpoint 11-23-2011 11:59 PM

Did you try rebuilding the CSS files it uses under AdminCP -> Maintenance -> Counters?

Are you sure you uploaded the *right* XML file (since there are two it comes with)? :)


All times are GMT. The time now is 10:32 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.01689 seconds
  • Memory Usage 1,864KB
  • 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_php_printable
  • (6)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
  • (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