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)

phpdesk 11-23-2011 09:03 PM

Quote:

Originally Posted by Hippy (Post 2271283)
thanks for the quick reply phpdesk and for your time spent on this mod you share...
it's much appreciated

Thanks for the kind words, I'm doing my best with this particular mod as I use it myself and want to make it a solid piece of code. Unfortunately, just when you think you have time to spare on it, something comes up and takes you away, as always. I'll keep you guys posted, it may take a while though.

Hippy 11-23-2011 11:08 PM

Hi phpdesk
I know this may not be a fix for everyone but it worked for me..
I did as you suggested here
Quote:

Originally Posted by phpdesk (Post 2271166)
What you can do to fix the problem in your case is click on every profile field in the admincp and update there, once saved it will display properly both in the backend and in the front end.

Hope this helps.

and it didn't work..
so I edited the field*_desc part in the xml file..
to this..

Code:

$template_hook[custom_css_list] .= ',profile-intro.css';
}]]></phpcode>
                </plugin>
        </plugins>
        <phrases>
                <phrasetype name="Custom Profile Fields" fieldname="cprofilefield">
                        <phrase name="field13_desc" date="1285782758" username="phpdesk" version="1.0.0"><![CDATA[Enter a short heading for the Profile Intro block]]></phrase>
                        <phrase name="field13_title" date="1285782758" username="phpdesk" version="1.0.0"><![CDATA[Profile Intro Title]]></phrase>
                        <phrase name="field14_desc" date="1285782758" username="phpdesk" version="1.0.0"><![CDATA[The content of the profile intro block. You may use BBcodes <br />if your usergroup is granted permission to do so.]]></phrase>
                        <phrase name="field14_title" date="1285782758" username="phpdesk" version="1.0.0"><![CDATA[Profile Intro Text]]></phrase>
                        <phrase name="field15_desc" date="1285782758" username="phpdesk" version="1.0.0"><![CDATA[Enter a short heading for the Profile Intro block]]></phrase>
                        <phrase name="field15_title" date="1285782758" username="phpdesk" version="1.0.0"><![CDATA[Profile Intro Title]]></phrase>
                        <phrase name="field16_desc" date="1285782758" username="phpdesk" version="1.0.0"><![CDATA[The content of the profile intro block. You may use BBcodes <br />if your usergroup is granted permission to do so.]]></phrase>
                        <phrase name="field16_title" date="1285782758" username="phpdesk" version="1.0.0"><![CDATA[Profile Intro Text]]></phrase>

Just noticed in the other version it was caching youtube.css
Code:

if(THIS_SCRIPT=='css')
{
        $cache[] = 'youtube.css';

instead of
Code:

if(THIS_SCRIPT=='css')
{
        $cache[] = 'profile-intro.css';

;)

thanks again
If you see a issue of what I did let me know..
regards
Hippy

Hippy 11-23-2011 11:17 PM

I guess thats why it wouldn't display if you had save css as a file..
https://vborg.vbsupport.ru/showpost....0&postcount=22

phpdesk 11-24-2011 06:42 AM

Quote:

Originally Posted by Hippy (Post 2271321)
I guess thats why it wouldn't display if you had save css as a file..
https://vborg.vbsupport.ru/showpost....0&postcount=22

I have actually addressed the CSS issue in version 1.0.3 of the mod, and it's no longer a problem if you choose to save the stylesheets as files. Nonetheless, you're a hero, you know that? Your other quote pointed me to the right direction as far as the profile field phrases are concerned, and this is what you need to REMOVE from the .xml file before reimporting it:
Code:

                <phrasetype name="Custom Profile Fields" fieldname="cprofilefield">
                        <phrase name="field5_desc" date="1285782758" username="phpdesk" version="1.0.0"><![CDATA[Enter a short heading for the Profile Intro block]]></phrase>
                        <phrase name="field5_title" date="1285782758" username="phpdesk" version="1.0.0"><![CDATA[Profile Intro Title]]></phrase>
                        <phrase name="field6_desc" date="1285782758" username="phpdesk" version="1.0.0"><![CDATA[The content of the profile intro block. You may use BBcodes <br />if your usergroup is granted permission to do so.]]></phrase>
                        <phrase name="field6_title" date="1285782758" username="phpdesk" version="1.0.0"><![CDATA[Profile Intro Text]]></phrase>
                        <phrase name="field7_desc" date="1285782758" username="phpdesk" version="1.0.0"><![CDATA[Enter a short heading for the Profile Intro block]]></phrase>
                        <phrase name="field7_title" date="1285782758" username="phpdesk" version="1.0.0"><![CDATA[Profile Intro Title]]></phrase>
                        <phrase name="field8_desc" date="1285782758" username="phpdesk" version="1.0.0"><![CDATA[The content of the profile intro block. You may use BBcodes <br />if your usergroup is granted permission to do so.]]></phrase>
                        <phrase name="field8_title" date="1285782758" username="phpdesk" version="1.0.0"><![CDATA[Profile Intro Text]]></phrase>
                </phrasetype>

Thanks, mate!

Hippy 11-24-2011 03:21 PM

so remove it all and the issue is fixed ?
I am glad to help and looking forward to the next release pal..
have a great thanksgiving.. to you and your family

phpdesk 11-24-2011 03:43 PM

Quote:

Originally Posted by Hippy (Post 2271518)
so remove it all and the issue is fixed ?
I am glad to help and looking forward to the next release pal..
have a great thanksgiving.. to you and your family

Thanks, you too!
No, no need to remove anything, just reimport the xml product file and make sure "Allow Overwrite" is checked. This should fix the issue.

Winter Sonata 11-25-2011 03:07 AM

Hello phpdesk, thanks alot for sharing this mod.

I have 402 version and the Intro Block doesn't show up as it should be it shows no frame as this img indicates :
https://vborg.vbsupport.ru/showpost....71&postcount=8

I hope you can helo me sort this out.

Winter Sonata 11-25-2011 03:08 AM

I have the latest version of your mod as well.

phpdesk 11-25-2011 07:50 AM

Quote:

Originally Posted by Winter Sonata (Post 2271636)
I have the latest version of your mod as well.

I'll try to install a test version of vB 4.0.2 and see what could possibly be going on there, although my schedule is quite tight at the moment (working on another mod).

Anyway, by the look of the screenshot, you're having the CSS-not-loading issue. Are you having your forum set up to store CSS as files? I have addressed this particular issue recently, and tested it working with the latest version of vBulletin. Is there a particular reason why you aren't upgrading yours?

Mr_Running 11-26-2011 02:21 AM

Hey phpdesk love the mod. :) When you get a chance please add post #102 :)


All times are GMT. The time now is 11:53 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.01470 seconds
  • Memory Usage 1,755KB
  • 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
  • (4)bbcode_code_printable
  • (5)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