vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Mini Mods - Header Rework 4 (https://vborg.vbsupport.ru/showthread.php?t=257261)

alencete 03-31-2011 10:30 AM

I wish I could resize the avatar image

Would it be possible?

Gemma 03-31-2011 10:53 AM

Edit the plug-in.

Change the line 75 to whatever

Code:

$ss_avatar = "<a href=\"profile.php?do=editavatar\"><img src=\"$ava_urlX\" height=\"75\" width=\"75\" border=\"0\" alt=\"Your Avatar\" /></a>";

alencete 04-01-2011 12:34 PM

Quote:

Originally Posted by Gemma (Post 2179373)
Edit the plug-in.

Change the line 75 to whatever

Code:

$ss_avatar = "<a href=\"profile.php?do=editavatar\"><img src=\"$ava_urlX\" height=\"75\" width=\"75\" border=\"0\" alt=\"Your Avatar\" /></a>";

Merci!!! very nice! thank you very much for your attention!! Merci!!!

your code will need to change the avatar facebook:

Find and replace un numbers in red:

Code:

<img id="fb_squarepic" width="40" height="40"
The numbers in red = Pixels you can change this values

Merci!!!

Nacho Vidal 04-11-2011 01:49 PM

Hi, this is an excellent mod and works fine on 4.1.2

However, some of my members have avatars that are smaller than the forum limit and some are retangular too! Is there any way to stop them being "stretched" in the header area where the mod applies? One of them has a small avatar but it looks terrible when stretched to the forum limit. Avatars are fine in the forums, it's just on the mod in the header that is the issue.

So to summarise, is there any way that the mod will not alter the size and shape of a user's avatar?

Thanks

The Rocketeer 04-12-2011 07:27 AM

the idea was good but needs lots of polishing till it looks more pro..
PS: maybe the login with facebook thinggy, should have left it alone..

maybe it'll look better in version 5...

syrus.xl 04-13-2011 11:19 AM

You should revise your code for this modification.

vB4 uses Strict xHTML compliant code, yet you are breaking this by adding the table tag, which is not Strict xHTML and would produce errors if checked by W3C Validation.

You should be using DIV's not TABLE's - Tables belong with vB3 not vB4.

alexperu 04-21-2011 02:58 PM

hello friends, hack install correctly but it looks so
https://vborg.vbsupport.ru/external/2011/04/20.jpg
as you can see I have a private message but I have a total count of notifications, such as one by default
as I can do to make me out like this picture
https://vborg.vbsupport.ru/external/2011/04/21.jpg
I need to modify the code, I hope you can help me friends
Best regards

alexperu 04-24-2011 03:15 PM

anyone can help me?, I need this modification, I hope I can help
Best regards

alexperu 04-28-2011 03:53 PM

anyone can help me?, I need this modification, I hope I can help
Best regards
Edit/Delete Message

billstelling 05-11-2011 03:25 PM

1 Attachment(s)
worked great! thanks for the mod..:)
Attachment 128995


All times are GMT. The time now is 11:50 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.01150 seconds
  • Memory Usage 1,739KB
  • 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
  • (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