vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Profile Enhancements - Member Profile Intro (https://vborg.vbsupport.ru/showthread.php?t=251408)

halocommunity 11-27-2011 07:19 AM

This is a fantastic mod! It will become the focus in the profiles of all my members.

The [img] tag does not work. Not sure why; I wish I was better at this stuff so I could help you figure out how to fix it.

phpdesk 11-29-2011 10:16 PM

Quote:

Originally Posted by halocommunity (Post 2272315)
This is a fantastic mod! It will become the focus in the profiles of all my members.

The [img] tag does not work. Not sure why; I wish I was better at this stuff so I could help you figure out how to fix it.

Thanks, I hope someone closer to the core vB code could stop by and tell us what we're missing about the [img] bbcode support here.

halocommunity 11-30-2011 06:27 PM

Quote:

Originally Posted by phpdesk (Post 2273178)
Thanks, I hope someone closer to the core vB code could stop by and tell us what we're missing about the [img] bbcode support here.

I came up with a workaround until the [img] bbcode is fixed.

I made a custom bbcode called "Picture" just for the sole purpose of allowing images with this addon.

Custom BBCode Settings:
Title: Picture
BB Code Tag Name: pic
Replacement:
Code:

<img src="{param}" />
Disable Automatic Link Parsing: YES

You can see an example on my forum:
http://halocommunity.com/forums/memb...omics%E2%84%A2

Images can stretch out past the right border of the Profile Intro with the above code. My forum has a fixed width of 1000px, so I edited the bbcode to resize an image wider than the width allowed by the Profile Intro box.
Code:

<img src="{param}" style="max-width: 698px;
        /* Resize the image for IE6 */
        width: expression(this.width > 698 ? 698: true);" />

Replace the RED text with the size you want.

phpdesk 12-01-2011 07:20 AM

Thanks for the nice suggestion, halocommunity!

Mr_Running 12-01-2011 10:35 PM

Image tag works for me but I really like the Picture tag because with the fix for larger
pictures/ Images stretching out past the border.

@halocommunity Nice workaround :)


@phpdesk
On another note: View your "About Me" as seen by everyone else

It would be better if this was not viewable by others...only the user and maybe the admin and mods :)

Profile Intro Title:
---Title here ---

Profile Intro Text:
---Text image / pic here---

Dennis B 12-01-2011 11:11 PM

1 Attachment(s)
phpdesk,

Thanks for the mod.

In the image below, a regular member is looking at the admin's profile page, "About Me" tab.
You can see that your block displays normally at the top, but the fields that were created are repeated below. Maybe defining the new user profile fields created by this hack as "editable, hidden" the actual owner of the profile can still view/edit it, but it does not show like that in the public profile except within your box.

Edit: This is same problem Mr. Running just reported above. :)

Mario118 12-02-2011 12:12 PM

PhPDesk,

Excellent mod. I rarely take the time to post on here, but this one deserved an applause. It gives it that old Myspace feel. I was curious if someone could help me out on the correct style code to edit to be able to place perhaps a box around my welcome message, or perhaps some sort of other display to make it stand out more.

phpdesk 12-02-2011 02:14 PM

Quote:

Originally Posted by Mario118 (Post 2273992)
PhPDesk,

Excellent mod. I rarely take the time to post on here, but this one deserved an applause. It gives it that old Myspace feel. I was curious if someone could help me out on the correct style code to edit to be able to place perhaps a box around my welcome message, or perhaps some sort of other display to make it stand out more.

Thanks for the kind words, Mario. Don't forget to mark as installed to continue to receive support for this mod, anyway in order to enhance the look and feel of the profile intro block, you may wish to edit the following templates: "memberinfo_block_intro" and "profile-intro.css".

All you need there is some basic html knowledge and good imagination, so good luck :up:

Mr_Running 12-10-2011 02:16 PM

I realize phpdesk maybe doing a re-build but until then I would like my users to know that this works. :)

Anyone know what to change to have the Profile Intro Text not required for it to display?
If user just fill out the title = Title will display.

phpdesk 12-13-2011 07:45 AM

1 Attachment(s)
Quote:

Originally Posted by Mr_Running (Post 2276514)
Anyone know what to change to have the Profile Intro Text not required for it to display?
If user just fill out the title = Title will display.

Check this out. In version 1.0.4 Profile Intro Text is already set to display even if user has not entered a Profile Intro Title. In the mod attached below I've also removed the requirement for a Title, hope this is what you were after.

Cheers.


All times are GMT. The time now is 02:06 PM.

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.01350 seconds
  • Memory Usage 1,746KB
  • 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
  • (2)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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