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 - Extra Profile Fields Page (https://vborg.vbsupport.ru/showthread.php?t=229881)

alexp999 08-31-2010 12:00 PM

Wired1, I've experienced what wipedout was refering to.

When you go to "Settings" (usercp), and click edit "extra fields" (or whatever you ve named the page), and click save, it wiped out the data that you had, in some of the normal profile fields, such as msn address, etc.

The fix I linked to, seems to send the information as a different "do" instead of the same as the normal profile page, which therefore fixes the issue of the data being wiped out.

xbrian88 10-27-2010 01:22 PM

problem with 4.0.8

https://vborg.vbsupport.ru/external/2010/10/13.jpg

please help me!!!

DS MrSinister 10-27-2010 09:57 PM

re-import the product Allow Overwrite Yes. worked great for me sir.

xbrian88 10-28-2010 08:35 AM

Quote:

Originally Posted by marrr (Post 2077081)
Below is an example of the code I used to create a dropdown menu in the postbit_legacy template. The code mimics the code used in the forum menu for creating a dropdown menu, only this one does not use links but rather static text.

Instructions:

Replace all Instances of $post['field#'] to list the proper field name of each custom profile field you wish to include and follow the format below to add additional fields. Only 3 fields were shown in the code to reduce the length of it. When adding a new field you should add it to the first vB conditional as well as the code for listing it. The conditional for displaying each field is optional and by some may be considered excessive, this is entirely up to you! You also do not have to use inline styling as I have but this was thrown together quickly to get something that works.

HTML Code:

<!-- post specs_menu -->
<vb:if condition="$post['field#'] OR $post['field#'] OR $post['field#']">
        <div class="userinfo_extra">
                <ul>
                        <li class="popupmenu">
                                <a href="javascript://" class="popupctrl" accesskey="6">Computer Specs</a>
                                <ul class="popupbody popuphover">
                                        <vb:if condition="$post['field#']">
                                                <li style="width:300px;color:#808080"><span style="font-weight:bold;color:#EEE;">Case:</span> {vb:raw post.field#}</li>
                                        </vb:if>
                                        <vb:if condition="$post['field#']">
                                                <li style="width:300px;color:#808080"><span style="font-weight:bold;color:#EEE;">Motherboard:</span> {vb:raw post.field#}</li>
                                        </vb:if>
                                        <vb:if condition="$post['field#']">
                                                <li style="width:300px;color:#808080"><span style="font-weight:bold;color:#EEE;">Processor:</span> {vb:raw post.field#}</li>
                                        </vb:if>
                                </ul>
                        </li>
                </ul>
        </div>
</vb:if>
<!-- / post specs_menu -->

I hope this helps and that I have posted this code in the right section :P

not work me in VB 4.0.8... the position of code???, where in postbit legacy?

xbrian88 10-29-2010 07:32 AM

???

DS MrSinister 10-29-2010 12:45 PM

how about using this hack here https://vborg.vbsupport.ru/showthread.php?t=248651

Hall of Famer 11-12-2010 06:48 AM

umm can the new profile field page and tab be used as iframes that link to a page outside of the forum?

Wired1 11-12-2010 12:56 PM

Quote:

Originally Posted by xbrian88 (Post 2114877)
problem with 4.0.8

please help me!!!

I'll try to duplicate it this weekend. Sorry for the delayed response, never got an email that said the thread had new posts.


Quote:

Originally Posted by DS MrSinister (Post 2115023)
re-import the product Allow Overwrite Yes. worked great for me sir.

Huh?


Quote:

Originally Posted by Hall of Famer (Post 2120841)
umm can the new profile field page and tab be used as iframes that link to a page outside of the forum?

Please clarify as to what you're wanting to do? If you just want a link in the UserCP that links outside of the forum you certainly don't need this mod.

DS MrSinister 11-12-2010 02:09 PM

well my good sir Wired1. when upgrading from 4.0.7 to 4.0.8 your mod stop working. so i tried reinstalling the xml then it start working again.

OcR Envy 11-15-2010 07:47 PM

There is an error in your instructions

Quote:

FIND:

<li class="{vb:raw navclass.profile}"><a href="profile.php?{vb:raw session.sessionurl}do=editprofile">{vb:rawphrase edit_your_details}</a></li>


After it post:

<li class="{vb:raw navclass.profile}"><a href="profile.php?{vb:raw session.sessionurl}do=extra">{vb:rawphrase edit_extra_options}</a></li>
Should be:

Quote:

FIND:

<li class="{vb:raw navclass.profile}"><a href="profile.php?{vb:raw session.sessionurl}do=editprofile">{vb:rawphrase edit_your_details}</a></li>


After it post:

<li class="{vb:raw navclass.extra}"><a href="profile.php?{vb:raw session.sessionurl}do=extra">{vb:rawphrase edit_extra_options}</a></li>


All times are GMT. The time now is 11:58 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.01245 seconds
  • Memory Usage 1,754KB
  • 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
  • (1)bbcode_html_printable
  • (6)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