vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   User Icons (https://vborg.vbsupport.ru/showthread.php?t=48264)

sabret00the 03-28-2003 09:11 AM

Quote:

03-25-03 at 08:44 PM Dark Jim said this in Post #62
Yes, you can set the maximum size under vBulletin Options -> User Icons. :)

See here

sorry jim i was being dumb, got excited before even checking it over properly

DigitalDesktops 03-28-2003 02:03 PM

Quote:

Today at 10:51 AM Dark Jim said this in Post #70
I noticed you forgot to do step 19.4a. Under edit options in your user cp I didn't notice the option to show or not show icons. Do that step, set the option to "yes" and then see if the icons show up.
It shows up in Who's Online, member.php, memberlist.php, forumdisplay.php.

But it doesn't show up in showthread.php, and private.php.

Dark Jim 04-30-2003 02:51 PM

I updated this again. I had a few 100 private messsages and it caused a few 100 queries too. Now I changed it to not use any additional queries. :) Everyone who uses this hack I suggest you redo step 10. I also added a step I forgot to add the whole time so your icons would never show up in private messages. The only thing I can think of that still needs to be done is optimize online.php.

kevinnguyen 06-01-2003 05:49 AM

this is the longest hack i've ever done
very nice thoe
thanx

Dark Jim 06-01-2003 02:26 PM

The last update is not working right. While it does reduce the queries, the icons are not showing correctly or not at all. Other than that it works fine. I'll need to figure out how to get this working sometime. Help is appreciated. I also need to optimize the code for online.php.

MrNase 06-03-2003 06:37 PM

Hey, i got a problem :(

iam using the 2.3.0, i installed it and i shows up everything correctly but not at the index.php :(

This is my original-code:
Code:

    if ($loggedin['usergroupid'] == 6 and $highlightadmin) {
              $username = "<b><i>$loggedin[username]</i></b>";
      } else if (($mod["$userid"] or $loggedin['usergroupid'] == 5) and $highlightadmin) {
              $username = "<b>$loggedin[username]</b>";
      } else {
                                $username = $loggedin['username'];
                        }

and this is my current code:
Code:

  if ($loggedin['usergroupid'] == 6 and $highlightadmin) {
              $username = "$iconavatar<b><i>$loggedin[username]</i></b>";
                        } else if (($mod["$userid"] or $loggedin['usergroupid'] == 5) and $highlightadmin) {
                                $username = "$iconavatar<b>$loggedin[username]</b>";
                          } else {
                                $username = "$iconavatar$loggedin[username]";
                        }

the problem is: the icon isn't shown up by a mod... Normal User and admin works fine, even the mod at the online.php works fine, but there is NO icon for a mod at the index.php... what have i done wrong?

I downloaded the 1.2.1, did you change that number after fixing the instructions?


now, the part in the index.php looks like this, but the icon is shown up by a normal only... but iam the admin and iam the only one with an icon ;)
Code:

if ($loggedin['usergroupid'] == 6 and $highlightadmin) {
              $username = "<b><i>$loggedin[username]</i></b>";
      } else if (($mod["$userid"] or $loggedin['usergroupid'] == 5) and $highlightadmin) {
              $username = "<b>$loggedin[username]</b>";
      } else {
                                $username = $loggedin['username'];
                        }


MrNase 06-05-2003 06:13 PM

no one :(

now, it is not shown up by the moderator group...

demo @ www.sportboard.de (german ;))

Dark Jim 06-05-2003 08:53 PM

That piece of code appears twice in index.php. Did you make changes to both?

MrNase 06-06-2003 07:33 AM

ah i think iam blind or there is something missing in your instruction ;)
you have to place $iconavatar just before <b>$loggedin[username]</b> also (2 times in index.php) :)

I didn't see that in your instruction and i forgot to include but now i added it and it works, thanks for that beautiful hack, my users like it :)

*clicking install*

sabret00the 03-17-2004 10:50 AM

i've enjoyed using this with vb2, are there any plans to port to vb3?


All times are GMT. The time now is 09:48 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.01195 seconds
  • Memory Usage 1,741KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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