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)

digitalpoint 10-06-2011 09:56 PM

Quote:

Originally Posted by pete_brady (Post 2254103)
Looks very nice indeed, but when I installed things looked very odd in Chrome so had to uninstall (for now).

Hmmm... if you have a test site I could take a look at it for you. Chrome is what I use normally and it looks fine for me.

solohdes 10-06-2011 10:11 PM

The shadow doesn't work on Firefox 7.0.1. Firefox:

https://vborg.vbsupport.ru/

But works on Internet explorer:

https://vborg.vbsupport.ru/

Another bug that appears in Internet Explorer is that the avatar is framed, no transparency. Is this because of internet explorer?

pete_brady 10-06-2011 10:14 PM

Quote:

Originally Posted by digitalpoint (Post 2254104)
Hmmm... if you have a test site I could take a look at it for you. Chrome is what I use normally and it looks fine for me.

oh i've no doubt it's a problem on my side... will take a look over the weekend.

digitalpoint 10-06-2011 10:14 PM

Quote:

Originally Posted by solohdes (Post 2254110)
The shadow doesn't work on Firefox 7.0.1. Firefox:

https://vborg.vbsupport.ru/

But works on Internet explorer:

https://vborg.vbsupport.ru/

Another bug that appears in Internet Explorer is that the avatar is framed, no transparency. Is this because of internet explorer?

What is the URL to your site? Testing it on mine with Firefox 7 and it seems to work fine.

Quote:

Originally Posted by pete_brady (Post 2254112)
oh i've no doubt it's a problem on my side... will take a look over the weekend.

Strange though... if you post a screenshot of what you see/saw, I could probably figure out what's going on.

digitalpoint 10-06-2011 10:30 PM

Quote:

Originally Posted by solohdes (Post 2254110)
The shadow doesn't work on Firefox 7.0.1. Firefox:

http://img694.imageshack.us/img694/4821/firefoxoj.png

But works on Internet explorer:

http://img442.imageshack.us/img442/6170/iexplorer.png

Another bug that appears in Internet Explorer is that the avatar is framed, no transparency. Is this because of internet explorer?

You have an overridding CSS definition within your CSS files...

Code:

*{ -moz-box-shadow: none !important; -webkit-box-shadow: none !important; }
That is going to kill all box-shadows on Safari, Chrome and Firefox.

Looks like it's in your additional.css CSS template.

monkeyboy1916 10-06-2011 10:31 PM

Works great so far, except..

Just one small problem. It doesn't seem to support pre-defined avatars. The members that use a pre-defined avatar from my selection, it doesn't show their avatar, and instead shows the "unknown.gif".

digitalpoint 10-06-2011 10:39 PM

Quote:

Originally Posted by monkeyboy1916 (Post 2254122)
Works great so far, except..

Just one small problem. It doesn't seem to support pre-defined avatars. The members that use a pre-defined avatar from my selection, it doesn't show their avatar, and instead shows the "unknown.gif".

Yeah... it was semi-intentional. The code to do it is actually in there, but the query to get the data is commented out.

If you look at the "forumdisplay_query" plug-in, at the end of both the lines, there is a part that is commented out. If you add those back to the uncommented part of the query, it should work.

I've been trying to figure out a way to determine if the site uses pre-defined avatars without adding an extra SQL query to figure it out.

I left all the other logic in there, just commented out the part that adds a JOIN to the existing query for now.

If it turns out there is nothing in options or the datastore that can be read to make the determination, I'll probably add it as a yes/no option you can set. I just didn't want to always add the extra overhead of an extra JOIN if it wasn't necessary (and I'd guess most sites don't use pre-defined avatars).

solohdes 10-06-2011 10:48 PM

Quote:

Originally Posted by digitalpoint (Post 2254121)
You have an overridding CSS definition within your CSS files...

Code:

*{ -moz-box-shadow: none !important; -webkit-box-shadow: none !important; }
That is going to kill all box-shadows on Safari, Chrome and Firefox.

Looks like it's in your additional.css CSS template.

Now works perfect, I love it, I nominate you to MOTM, this hack worth it. I change the line to this:

Code:

*{ -moz-box-shadow: all !important; -webkit-box-shadow: all !important; }

digitalpoint 10-06-2011 11:29 PM

I went ahead and updated it to 1.01... the only change is there is an option for "Site Uses Pre-Defined Avatars" and internally it alters the SQL as necessary. If your site does not use pre-defined avatars, the 1.01 version will be of no use to you.

thecore762 10-07-2011 12:01 AM

Sweet dp, excellent work!


All times are GMT. The time now is 05:58 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.01574 seconds
  • Memory Usage 1,745KB
  • 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
  • (3)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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