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)
-   -   Forum Display Enhancements - Online Thumbs v2.0 Gold (https://vborg.vbsupport.ru/showthread.php?t=130800)

SkyCatcher 11-04-2006 10:00 PM

Online Thumbs v2.0 Gold
 
Online Thumbs v2.0 Gold

What does this hack do?

This will display your users avatars next to their username in the Forumhome whosonline list and in the whosonline page. Size of the avatar fully customizeable in the admincp. Also on option to only display the users avatar INSTEAD of their username in the forumhome whoslonline list.

Compatible with vb3.5.x - vb3.6.x

  • Enable/Disable Completely
  • Show Avatar Next To Username In Forumhome
  • Show ONLY Avatar And NO Username In Forumhome
  • Enable/Disable Forumhome Avatars
  • Show Avatar Next To Username In Whosonline
  • Enable/Disable Avatars in Whosonline
  • Set Height and Width For Forumhome and Whosonline Avatars
Install Details
Products: 1
Plugins: 2
New Templates: 1
Template Modifications: 1
Install Time: 3 min

Revisions
  • 1.0 Initial Release
  • 1.01 I believe the sql error is fixed.
  • 1.1 Re-Done and Plugin elliminated.
  • 1.2 Revamped again to make it compatible with DB and Filesystem Avatars
  • 1.3 Completely Recoded
  • 1.3.5 Added Additional Template to allow more modification
  • 1.3.6 Added the use of the noavatar.gif
  • 2.0 Gold - Added many new features and use of avatars in forumhome
INSTALLATION
  • Import the product via the AdminCP
  • See installation text for template edits.
  • Upload noavatar.gif (or your own) to each styles /misc directory (where birthday.gif, etc can be found).
Done.


UPGRADING
Simply delete the product/plugin depending on your previous version and undo the template edits. Then install the new product and follow the install directions.


Compatibility
This has been tested with
  • vb3.5.4 - vb3.6.7PL1
================================================== ====
If you like this then please click install as I am very happy with it now :)
================================================== ====

farooqaaa 11-05-2006 04:31 AM

W00ttt!! first post ;) - thanks SkyCatcher.

*farooqaaa clicks install :)

apdcanari 11-05-2006 06:36 AM

3.5 please ?;)

Tralala 11-05-2006 06:57 AM

Quote:

Originally Posted by apdcanari
3.5 please ?;)

https://vborg.vbsupport.ru/showthread.php?t=94671

apdcanari 11-05-2006 07:00 AM

Thanks :)

SkyCatcher 11-05-2006 10:50 AM

Quote:

Originally Posted by Tralala


Well SOB lol. I searched for something like this before I started tinkering. I thought and I thought until my brain hurt and I came up with this thing... somehow I feel really dumb now :alien:

It wouldn't surprise me if Amykhar's hack also worked with 3.6.x. My appologies

FleaBag 11-05-2006 11:36 AM

SQL error in Whos Online page; and as unsupported had to uninstall.

SkyCatcher 11-05-2006 12:33 PM

1.01 Released. I'll try to support to the best of my ability. The sql error should be fixed, I also included an xml file for 3.5x.

redlabour 11-05-2006 02:00 PM

It crashes the WOL Identification of ibProArcade 2.5.7+ . :surprised:

FleaBag 11-05-2006 02:01 PM

Hi, I reinstalled with the new version. Still getting some issues though; no SQL error though.

This appears at the top of the WOL page:
Quote:

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/dninja/public_html/includes/functions_online.php(1575) : eval()'d code on line 20

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/dninja/public_html/includes/functions_online.php(1575) : eval()'d code on line 20

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/dninja/public_html/includes/functions_online.php(1575) : eval()'d code on line 20
Also avatar images are broken, it is trying to pull images from the database but they are in the file system. E.g.

SkyCatcher 11-05-2006 02:02 PM

Ok will tinker some more and get back to you.

FleaBag 11-05-2006 02:16 PM

Thanks Brian, very kind. :)

redlabour 11-05-2006 02:49 PM

I do not get any SQL Errors or other Issues. But as i told you the Arcade WOS is deactivated.

SkyCatcher 11-05-2006 02:51 PM

Quote:

Originally Posted by redlabour
I do not get any SQL Errors or other Issues. But as i told you the Arcade WOS is deactivated.

Which version of VB are you using?

redlabour 11-05-2006 03:24 PM

Quote:

Originally Posted by SkyCatcher
Which version of VB are you using?

Just take a look at my Signature ..... :)

3.6.2

SkyCatcher 11-05-2006 03:49 PM

1.1 Released. I hope this works for everyone as I have tested it on 3.5 and 3.6 forums and it seemed to do the trick. I can't believe I almost fried my brain trying to fix this and then POOF > simple template edit did the job.

Let me know if it doesn't work please.

FleaBag 11-05-2006 03:54 PM

Do you know if this will cure my ailment?

SkyCatcher 11-05-2006 03:56 PM

Quote:

Originally Posted by FleaBag
Do you know if this will cure my ailment?

It should since it's not using any queries or parsing anything really. It's just displaying the information that is available from already queried functions.

FleaBag 11-05-2006 04:01 PM

The plugin is no longer attached...

SkyCatcher 11-05-2006 04:02 PM

Quote:

Originally Posted by FleaBag
The plugin is no longer attached...

It doesn't use a plugin anymore ;)

FleaBag 11-05-2006 04:19 PM

Ahhh! It still gives me broken images... Hmmm...

SkyCatcher 11-05-2006 04:22 PM

Quote:

Originally Posted by FleaBag
Ahhh! It still gives me broken images... Hmmm...

You mentioned that your avatars are in your filesystem and not in the DB... is there an option in VB where I can change this?

Normally all avatars are in the DB, hence that's where the function for the avatar is pulling them from. If I can switch mine over to a filesystem I'd be able to troubleshoot it.


EDIT: ok changed my avatars to the filesystem. Will report back once it's fixed.

Gizmo5h1t3 11-05-2006 05:18 PM

all my images are in the filesystem, installed the edit, and i get broken image paths...

squares with red x...

using 3.5 btw

thepub 11-05-2006 05:24 PM

I installed it and it works beautifully so far :)

Gizmo5h1t3 11-05-2006 05:28 PM

just used amys as indicated in the first post, works excellent.
https://vborg.vbsupport.ru/showthread.php?t=94671

FleaBag 11-05-2006 06:28 PM

Hi Brian! I guess I will give Amy's a whirl, if it works there's no need to trouble you.

And for reference the option is in your Avatar settings in the vB ACP somewhere. It will import/export them on command. Can't remember exactly where though!

SkyCatcher 11-05-2006 06:30 PM

Quote:

Originally Posted by FleaBag
Hi Brian! I guess I will give Amy's a whirl, if it works there's no need to trouble you.

And for reference the option is in your Avatar settings in the vB ACP somewhere. It will import/export them on command. Can't remember exactly where though!

Yeah I found it and have been chain smoking since :(

I don't think Amy's works with 3.6.x so if you give it a try let me know.

I'm REALLY close to finishing this but I can't seem to pull the avatarrevision and it's KILLING MEEEEE!

FleaBag 11-05-2006 06:38 PM

LOL I chain smoke when I'm templating. I'd need to chew the stuff if I tried to code. :D

I'll avoid Amy's if it doesn't like 3.6. Will see if the nicotine yields an answer for you!

SkyCatcher 11-05-2006 07:19 PM

Good lord! I have done it!

It should work both both DB and Filesystem avatars now. There should be no errors on any pages and I have absolutely no idea if this will work with 3.5x. If you care to try, be my guest... just remove the executionorder=5 from the plugin before uploading it.

I need more cigs now...

FleaBag 11-05-2006 07:29 PM

It works Brian. Just not with every user... Only mine and 1 other person's is showing up.

SkyCatcher 11-05-2006 07:33 PM

>< You're just here to make me cry.. admit it!

Actually I know what the problem is. I pulled the avatarrevision from the DB (which is the number you see at the end of the image.. like avatarxxx_1.gif)

the _1 is what I needed and I thought I had it but unfortunately it pulls YOUR number for everyone....

I'm seriously running low on smokes.

Update 8237 coming up.

FleaBag 11-05-2006 07:41 PM

Dude I'm sorry!!!

SkyCatcher 11-05-2006 08:08 PM

I'm sorry, I have to stop and get some sleep. I'll continue working on it tomorrow.

So close and yet so far... :D

oberheimhaven 11-05-2006 09:01 PM

The following error occurred when attempting to evaluate this template:

The conditional on line 5 appears to be missing its end tag (</if>). The template will not function properly unless this is fixed.

Whats the problem??? trying to load in 3.6.0

Well got that fixed not working!! Oh well ;-(

Necrosaro420 11-05-2006 09:09 PM

ALL of the images are showing up as a Red X on the who's online.

yinyang 11-06-2006 01:04 AM

can you make this work for the "What's Going On" box in forumhome?

SkyCatcher 11-06-2006 03:08 PM

Re-Coded version 1.3.5 Now Released.

SkyCatcher 11-06-2006 03:39 PM

Quote:

Originally Posted by yinyang
can you make this work for the "What's Going On" box in forumhome?

I may look into it later. Right now I want this to work 100% before branching out to other features.

FleaBag 11-06-2006 04:11 PM

Seems to work 100% now. But my WOL loads very very slowly... The actual page itself, not the avatar images. What does this do as far as queries are concerned?

SkyCatcher 11-06-2006 04:52 PM

It only adds one query to get all the information for the avatars. There's no way around that. Maybe someone in your house is using your wlan ;) lol.

Theoretically it shouldn't slow down unless you have hundreds of users online since it gets the avatar's paths from the DB for every user.


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