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.

Mr_Running 12-13-2011 10:59 AM

1 Attachment(s)
Quote:

Originally Posted by phpdesk (Post 2277256)
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.

Almost but it remove the footer links in the profile ( contact us, top etc..)
Code:

footer_links

Edit:
It's okay when the admin's profile is viewed but not the members profile

phpdesk 12-13-2011 01:31 PM

Quote:

Originally Posted by Mr_Running (Post 2277301)
Almost but it remove the footer links in the profile ( contact us, top etc..)
Code:

footer_links

Edit:
It's okay when the admin's profile is viewed but not the members profile

I did the following. Enabled the mod for Registered users. Created a standard user, filled the Profile Intro Title and Text fields with values. And then checked the profile page. All seems fine. Besides, as far as I'm aware, my mod cannot interact with the footer links in any way. Are you sure it isn't another product installed in your vbulletin?

Mr_Running 12-13-2011 01:43 PM

Update: It appears to effect members that are using Profile Intro Title only.

phpdesk 12-13-2011 10:42 PM

Quote:

Originally Posted by Mr_Running (Post 2277361)
Update: It appears to effect members that are using Profile Intro Title only.

I've seen that. Weird.

squall leonhart 12-16-2011 02:45 AM

My forum's working good with profile intro, including img but not video (ex: youtube)

phpdesk 12-25-2011 07:58 AM

1 Attachment(s)
May this Christmas be bright and cheerful,
And may the New Year begin on a prosperous note!

Merry Christmas!

chikuru 12-29-2011 08:04 AM

i cant install this one.. im having database error while installing..

phpdesk 12-29-2011 10:58 AM

Quote:

Originally Posted by chikuru (Post 2281869)
i cant install this one.. im having database error while installing..

Hello, what does the error message say? Have you tried installinging/uninstalling this mod multiple times? I need to know the nature of the error to figure out how I could possibly help.

Mr_Running 01-01-2012 01:58 PM

In regards to the footer any fix ?
Originally Posted by Mr_Running

Update: It appears to effect members that are using Profile Intro Title only.


Quote:

Originally Posted by phpdesk (Post 2277509)
I've seen that. Weird.


Jakub03 01-02-2012 02:18 AM

Good Job!! ;) Keep up the good work

AddwireCom 01-02-2012 03:10 AM

IMG BBCode is not working for me, anyone else with the same issue?

angeljs 01-06-2012 10:37 AM

I'm getting the same database error. All I did was try to update it by importing the latest product. Now it won't install at all, even when I delete the stated fields from my database. :(

phpdesk 01-06-2012 08:57 PM

Quote:

Originally Posted by AddwireCom (Post 2282967)
IMG BBCode is not working for me, anyone else with the same issue?

This is a known issue, unfortunately there has been no feedback from any of the vbulletin developers as to why img bbcode would not work.

Quote:

Originally Posted by angeljs (Post 2284398)
I'm getting the same database error. All I did was try to update it by importing the latest product. Now it won't install at all, even when I delete the stated fields from my database. :(

The same database erros as who? Could you post the error message, please? And what mod version are we referring to?

Scanu 01-06-2012 09:06 PM

Great Idea and great mod! My congratulations! :)

angeljs 01-07-2012 08:17 AM

Database errors:

Code:

Database error in vBulletin 4.1.9:

Invalid SQL:

        INSERT INTO setting
                (`varname`, `grouptitle`, `value`, `volatile`, `datatype`, `product`)
        VALUES
                ('profileintro_titlefield', '', '31', 2, 'free', 'vbulletin'),
                ('profileintro_textfield', '', '32', 2, 'free', 'vbulletin');

MySQL Error  : Duplicate entry 'profileintro_titlefield' for key 1
Error Number  : 1062
Request Date  : Saturday, January 7th 2012 @ 04:17:12 AM
Error Date    : Saturday, January 7th 2012 @ 04:17:12 AM
Script        : http://www.simfansuk.com/sims/admincp/plugin.php?do=productimport
Referrer      : http://www.simfansuk.com/sims/admincp/plugin.php?do=productadd
IP Address    : 2.123.43.2
Username      : ******
Classname    : vB_Database
MySQL Version : 5.0.92-community

I have 2 versions of this mod and get the same error while trying to install either. I've tried deleting the duplicate fields, but the same error message keeps coming up.

phpdesk 01-07-2012 09:53 AM

Quote:

Originally Posted by angeljs (Post 2284707)
I have 2 versions of this mod and get the same error while trying to install either. I've tried deleting the duplicate fields, but the same error message keeps coming up.

I see what the error is, you might have to manually remove some entries from the database. If you could private message me the access details to the database admin consoler (phpmyadmin, usually) I would do the cleaning task for you.

angeljs 01-07-2012 11:37 AM

Okay, I managed to clear the database, but I'd tried so many times to install it that I ended up with about 50 blank extra profile fields! I had to un-install, delete all of the extra profile fields, then re-install, and now everything's fine. :)

Ratta 01-10-2012 10:20 PM

Quote:

Originally Posted by phpdesk (Post 2284587)
This is a known issue, unfortunately there has been no feedback from any of the vbulletin developers as to why img bbcode would not work.

Hello :)

I've installed the Mod and i say it works greatfull. And i can use the img bbcode in the Profile Intro.

You must Activate the Option: Using BBcode out of Forum under Vbulletin Option --> text: BB-Code.

Sry for my Bad English. It's only German Scool English

Greatings

Ratta

Alan_SP 01-11-2012 11:03 AM

Quote:

Originally Posted by Ratta (Post 2286244)
You must Activate the Option: Using BBcode out of Forum under Vbulletin Option --> text: BB-Code.

Just to stress it out:

Go to ACP->Options->BB Code Settings->Allow [IMG] Code in Non Forum Specific Areas->Set it to YES.

And yes, this solves problem of images not appearing. :up:

phpdesk 01-11-2012 11:14 AM

Quote:

Originally Posted by Alan_SP (Post 2286475)
Just to stress it out:

Go to ACP->Options->BB Code Settings->Allow [IMG] Code in Non Forum Specific Areas->Set it to YES.

And yes, this solves problem of image not appearing. :up:

Thanks for the tips, Ratta and Alan!

Alan_SP 01-11-2012 11:35 AM

Actually, Ratta discovered it, I just stressed what should be done and confirmed that it works.

phpdesk 01-11-2012 11:52 AM

Quote:

Originally Posted by Alan_SP (Post 2286490)
Actually, Ratta discovered it, I just stressed what should be done and confirmed that it works.

Yes, credits given to Ratta, too. Thanks again.

Alan_SP 01-21-2012 05:57 PM

Forgot to mention and now to report you:

I tested how this mod handles HTML code. And with first try I was "lucky". I used this HTML code:

HTML Code:

<vb:if condition="$post['isfirstshown']">       
<div align="right"><b>Share thread with your friends:</b><br />
{vb:raw thread.qr}
</div>
</vb:if>

When I put this in my profile intro text, my profile becomes unreachable, like it's wrong link used in browser (page doesn't exist error in browser).

Also, when I removed some of HTML codes, it was parsed strangley: < becomes &lt etc.

Could you please check code, make it HTML proof so people could use HTML and that it don't makes their profiles unreachable. Of course, when I say that people could use HTML, I don't mean that HTML code functions like HTML code (as this is a big security issue), just that it's parsed in right way (that you can see what HTML text was used) without effect on server, or profile showing. That is, HTML code stays just as it was entered, like in all other posts.

Vito93 02-05-2012 12:09 AM

Database error as resolved? :(

ti6 02-19-2012 12:54 AM

Is there any possibility to add some images?
PHP Code:

[img]http://www.bub.com/blubb.jpg[/img] 

doesent work. :(

Thx:up:

ProFifaLeagues 02-19-2012 07:37 AM

We would like to use this as a user notes system for staff to add Notes too and then see them quick and easy on members profile pages,Would there be a way to stop All members and guests seeing this info so just the staff groups would have access to it??

Alan_SP 02-19-2012 02:05 PM

Quote:

Originally Posted by Alan_SP (Post 2286475)
Just to stress it out:

Go to ACP->Options->BB Code Settings->Allow [IMG] Code in Non Forum Specific Areas->Set it to YES.

And yes, this solves problem of images not appearing. :up:

Quote:

Originally Posted by ti6 (Post 2301019)
Is there any possibility to add some images?
PHP Code:

[img]http://www.bub.com/blubb.jpg[/img] 

doesent work. :(

Thx:up:

See thread for a bit, you'll see that's answered already.

Alan_SP 02-19-2012 02:07 PM

Quote:

Originally Posted by rammieone (Post 2301068)
We would like to use this as a user notes system for staff to add Notes too and then see them quick and easy on members profile pages,Would there be a way to stop All members and guests seeing this info so just the staff groups would have access to it??

Ok, what's wrong with already built user notes? I guess you are familiar with them?

BlueCheri 02-19-2012 02:37 PM

Installed, very good work.

G!

ti6 02-19-2012 03:10 PM

Thx alot. Great Plugin!:up:


All times are GMT. The time now is 11:26 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.01611 seconds
  • Memory Usage 1,845KB
  • 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
  • (5)bbcode_code_printable
  • (1)bbcode_html_printable
  • (2)bbcode_php_printable
  • (19)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
  • (40)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