vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Show Icon if User has a Profile Picture (https://vborg.vbsupport.ru/showthread.php?t=95916)

folkish 10-15-2005 03:44 PM

I'm still trying to get a feel for the new plug in system, and my general knowledge of code is miniscule at best, so I was wondering....

I've tried to install this hack, but I am having a problem.

I've already imported the product (product-profpic.xml) and uploaded the image to the images/misc folder, via FTP, but I'm not sure what to do with this bitfield .xml file. Is that a plug in? I tried uploading it as one and it tells me "invalid file specified." Is this supposed to be uploaded via FTP, and if so, where?

Thanks for your patience.

Rabbitoh Warren 10-15-2005 04:19 PM

Quote:

Originally Posted by folkish
but I'm not sure what to do with this bitfield .xml file.

Upload it to your root -> includes -> xml directory.

folkish 10-15-2005 04:39 PM

Common sense finally prevailed. I thank you!

Edit: Almost forgot... /me clicks install!

Pitman 10-20-2005 08:03 PM

How much would it take to display the icon to only members who actually have permission to see profile pictures?

Razasharp 10-20-2005 09:29 PM

easy, just enclose the bit that displays the graphic inside another IF command that is for the specified usergroup only ;)

Andreas 11-18-2005 02:13 PM

This Hack requires mySQL > 4.0.4.
Which mySQL Version do you have?

DrHUS 11-19-2005 08:21 AM

Quote:

Originally Posted by mikexxx
Im running the forum on a Cobalt Raq550 there is MySql version 3.23.56 on it.

is it run query or slow down the forums?

Andreas 11-19-2005 09:52 AM

It works just fine, except that it won't show Icons for pictures that are already present - only for new ones.
Honestly, mySQL 3 is damn old and you really should upgrade (Query Cache, Fulltext Search, etc.)

Andreas 11-19-2005 09:55 AM

Quote:

Originally Posted by DrHUS
is it run query or slow down the forums?

I don't really understand that question.
But if you mean if it does add overhead: No.
It only executes 1 query when a User updates his profile picture.

Andreas 11-20-2005 01:28 AM

It works just fine with mySQL 3- except for the install code.
And mySQL 4.0 is stable ... the current stable release is 5.0!


All times are GMT. The time now is 07:04 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.04323 seconds
  • Memory Usage 1,732KB
  • 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_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