vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Unique avatar (https://vborg.vbsupport.ru/showthread.php?t=63079)

lasto 03-28-2004 11:24 PM

works i get no errors now :)
cheers

All works fine now :)

Diva 03-28-2004 11:43 PM

It works! Thank you, VBDEV.

I was wondering if you knew how to make it so that selected pictures just didnt show up. It had it on the older option and made load time easier if people just looked through the ones they could select.

VBDev 03-29-2004 12:04 AM

To not display the avatar, replace your modifyavatarbit template with this one :

PHP Code:

<if condition="$disabled=="disabled"">
    <
td class="smallfont" align="$stylevar[center]valign="middle">
        <
label for="rb_avatarid_$avatar[avatarid]">
<
b>$vbphrase[avatar_taken]</b>
</
label>
    </
td>
 
<else />
 
 
    <
td class="smallfont" align="$stylevar[left]">
        <
label for="rb_avatarid_$avatar[avatarid]">
            <
img src="$avatar[avatarpath]alt="$avatar[title]border="0" /><br />
            <
input type="radio" name="avatarid" value="$avatar[avatarid]id="rb_avatarid_$avatar[avatarid]$avatarchecked[$avatarid$disabled/>$avatar[title]
 
        </
label>
    </
td>
</if> 


Diva 03-29-2004 12:16 AM

Sorry to be a pain... I meant that if someone selected it there wouldnt be a slot there.

Example:


Before someone selects AVATAR 2;

AVATAR 1 | AVATAR 2 | AVATAR 3

Afterwards:

AVATAR 1 | AVATAR 3

If it's too hard then this will be just fine.

ryancooper 03-29-2004 12:22 AM

Strange,
I get no errors but I can also select any avatar even if another member has it selected. And I do have use unique avatars selected in the options.

NIX THAT. Got it! Thanks a million!!

VBDev 03-29-2004 12:22 AM

It should be really too hard to do this Diva, I began but stoped rapidly

Indeed, to do this you have to rebuild $perpage before the SELECT query and the time you would win to not display the pic , you lost it with the code which as to be modified ;)

The template's mod I gave you, improve your page's load by not displaying picture and it's no longer compared to sthg if the code had to be modifed to not display the template at all

Hurm, what I'm saying is quite confused, but it's really late (4h30), I'm quite tired and enough of vB for 6 mounths ^^

Diva 03-29-2004 12:24 AM

No worries, it's perfect. *hugs* I appreciate all of your help. :)

aloha 03-29-2004 02:20 PM

Can you make it so that it doesn't allow you to input anything at all instead of displaying 'taken' right next to an option. Some people are really airheaded and that will confuse them. :) At least on my site. lol At times they don't know how to get to the message boards... when it says "Forums" ... So I'm guessing this might cause a little confusion on mine. Just wondering... ;-)

Eternal2u 04-25-2004 07:20 AM

Very nice..

I remember having this same thing on my phpBB board b4 i moved over to vB, nice to see you guyz got this one :D

**Click install

DenzoForums 04-26-2004 03:31 PM

when in usercp, edit avars
http://www.denzoforums.com/forum/pro...?do=editavatar

i get this error..
Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /homepages/28/d98287039/htdocs/denzo/forum/profile.php on line 1552

P.S. I had a problem with this..
Quote:

In your browser, go to :

http://www.yourforum.com/admincp/opt...pix&do=options


Click Add setting and insert these values :

*****************************

varname : avatar_unique
setting group : User Picture Options
title : Unique avatar ?
description : With this option you can choose if you want each member to have a unique avatar or not
Option code : yesno
Default : 0
Display order : 50
vbulletin default : yes
I don;t have anything that saus add setting..

Thanks
Dave
P.S. using 3.0.1


All times are GMT. The time now is 05:40 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.01279 seconds
  • Memory Usage 1,749KB
  • 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_php_printable
  • (1)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