vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Profile Enhancements - Extra Profile Fields Tab (https://vborg.vbsupport.ru/showthread.php?t=208358)

Saviour 07-07-2009 06:05 PM

Quote:

Originally Posted by Wired1 (Post 1844637)
Not a clue. What changed recently?

Heh...I've added some mods and reinstalled vb3.8.3 with Google Adsense.

Wired1 07-07-2009 08:32 PM

Haven't gone to 3.8.3 myself, but the changes shouldn't have done anything. What are the other mods?

Saviour 07-09-2009 09:05 PM

Sorry, Wired....

I disabled all plugins and am still getting the same problem. So...I'm pretty sure it isn't a mod conflict. I have a lot of mods, too.

Do me a favor, though...

Go to your own Profile Field Manager...do you see the fields there for the PC Specs you created? I'm basically using mine for PC Specs, as well...yet the profile fields aren't there for me to edit. However, I do see the category I created...along with a note there that says this category contains 18 fields. Strange...

Steve from vBulletin told me to submit a support ticket, but I haven't done that, as of yet. I will though...and hope it all works out.

As it stands...I can't edit any of the profile fields I created for PC Specs. So...if I wanted to add another readio option, for example, I can't do that until I get this sorted.

Wired1 07-09-2009 10:53 PM

Un/reinstall the EPFP mod. I remember running into this issue before, and it was when a manual edit wasn't done after an upgrade.

Saviour 07-09-2009 11:07 PM

Well...right now. Jake from vBulletin is trying to figure things out...

Hopefully, if he doesn't find the problem. I'll try that. In the interim...he's got admin access and ftp access.

Wish you would have told me sooner so I could have tried that first.

Saviour 07-09-2009 11:20 PM

Just tried what you suggested...and it did not work.

Wired1 07-09-2009 11:30 PM

Don't need to uninstall actually, just re-do the manual edits as per the EPFP instructions and you'll be fine.

txsbmw 11-06-2009 03:54 PM

Just a question what would I need to change to show it as the first tab instead of the last tab?

Wired1 11-07-2009 01:41 AM

Quote:

Originally Posted by txsbmw (Post 1911006)
Just a question what would I need to change to show it as the first tab instead of the last tab?

This should help you out:
Code:

Go to AdminCP -> Plugins & Products -> Product : Wired1's Extra Profile Fields Tab -> Extra Profile Fields Tab, and then select edit.

Change 'profile_left_last' to 'profile_left_first'.


Wired1 12-09-2009 01:30 AM

Note to all: Yes I will be upgrading this mod if needed to work with vB 4.0, but not before it goes gold on or around the ETA of December 21st. I personally wouldn't recommend anyone upgrade their forum for a couple weeks after it comes out so that the modding community has a chance to test their code on the gold version.

NOTE! I'm currently working on making the EPFP mod for vB 4.0 more DB driven so that pages and tabs are easier to create and customize.

If you DON'T want a DB version, post here and as long as I get more than one or two responses I'll add that to my modification upgrade list.

bada_bing 01-26-2010 09:27 PM

How can I change the Tab to say something different the the default Extra Options?

viper357 01-31-2010 07:52 AM

Quote:

Originally Posted by bada_bing (Post 1967463)
How can I change the Tab to say something different the the default Extra Options?

Go to "search in Phrases" under the Languages and phrases menu in your admincp and search for extra-options, select Phrase Variable Name Only then click find, then edit it to what you want.

viper357 01-31-2010 07:54 AM

1 Attachment(s)
Wired1, thanks for this hack, been using it since 3.6.12 :)

Just upgraded to 3.8.4 and was wondering if there is a way to Bold the headings? Thanks.

Attachment 111400

viper357 02-09-2010 06:55 PM

Quote:

Originally Posted by viper357 (Post 1971077)
Wired1, thanks for this hack, been using it since 3.6.12 :)

Just upgraded to 3.8.4 and was wondering if there is a way to Bold the headings? Thanks.

Attachment 111400

Can anyone help? How do I make the extra profile field headings in the member profile in bold text? Thanks.

Wired1 02-22-2010 05:45 AM

Quote:

Originally Posted by bada_bing (Post 1967463)
How can I change the Tab to say something different the the default Extra Options?

Check the pic attached to the first post.


Quote:

Originally Posted by viper357 (Post 1971077)
Just upgraded to 3.8.4 and was wondering if there is a way to Bold the headings? Thanks.

Been a while since I looked at the code, but IIRC the look is done automatically by the default vB CSS code for those tabs. There's probably a way to apply different CSS to the tab, but I just got off a 16 hour work day, so I have no idea where to look lol.

viper357 02-22-2010 09:54 AM

Quote:

Originally Posted by Wired1 (Post 1988600)
Been a while since I looked at the code, but IIRC the look is done automatically by the default vB CSS code for those tabs. There's probably a way to apply different CSS to the tab, but I just got off a 16 hour work day, so I have no idea where to look lol.

Stop working so hard :p

I've had a poke around and found this, in the memberinfo_css_EPFP_tab

Code:

#EPFP_tab li.profilefield_category {
        font-weight:bold;
        margin-top:6px;
}
#EPFP_tab dl.profilefield_list {
        font-weight:normal;
        margin:6px 16px 0px 16px;
}
#EPFP_tab dl.profilefield_list dd {
        margin-bottom:6px;
        margin-left:0px;


In the 2nd piece of code, if I change the 'normal' to 'bold' then it makes all the text in the tab bold. The 1st piece of code doesn't seem to do anything when I change it, am I fiddling in the right place? :o

Wired1 02-22-2010 06:27 PM

I think there's other CSS code that does the mark up for the tabs in general. You'd have to find the reference to that, change it to a different CSS template (or whatever it is), and then change the fields.

Could've sworn I figured out how to do that before, can't remember ATM.

gator777 02-22-2010 07:39 PM

@Wired1

Will you be creating a tab in the user's profile for your script?

AllinJac 04-11-2010 01:19 AM

Going to install now...

Give her a shot!

THanks!!!

identitas 04-25-2010 01:18 PM

Does this work on 4.0?

marrr 06-04-2010 07:05 PM

Whats the status of moving this to vb4?
thanks

Wired1 06-04-2010 09:12 PM

Ready to go after someone showed me their version of it. Turns out while trying to make it use the new calls in vB 4 it was just overcomplicating it. Removed a bunch of code and it works, albeit not as aesthetically pleasing as I'd like. Going to give it one last try tomorrow, otherwise it'll be released as BETA (no bugs or anything) probably on Sunday.

Wired1 06-09-2010 05:46 AM

*cough* 4.0 *cough*
https://vborg.vbsupport.ru/showthread.php?t=244255

FreshFroot 12-01-2010 05:56 PM

Just a quick question.

I noticed in vB3 once you reach a certain limit of tabs. An arrow button shows up to open the other tabs.

Is there a way to stop this arrow from showing and having another row of tabs show up? Kinda like how vB4 does it?

Wired1 12-06-2010 06:53 AM

That's outside the realm of this mod.

Chadi 04-18-2012 11:43 AM

Getting this error when I attempt to view profile manager

Code:

"$vbphrase[options]: $vbphrase[extra_options]"

Wired1 04-18-2012 03:06 PM

Quote:

Originally Posted by Chadi (Post 2321242)
Getting this error when I attempt to view profile manager

Code:

"$vbphrase[options]: $vbphrase[extra_options]"

I'm guessing a manual code edit wasn't done properly, or a separate mod is interfering.

LostForWords 07-03-2012 12:41 AM

Hey there, currently the tab and content of the tab doesn't show when a profile field isn't entered. However I'd like them both to show, even if there is no content.
(I need this because I'm installed the other extra profile fields page multiple times, and if somebody chooses not to enter a profile field in the main extra options page, but does fill a field from another then it doesn't show the tab ;l).

I've managed to get the tab button to show by modifying this:

Quote:

* Whether to return an empty wrapper if there is no content in the blocks
*
* @return bool
*/
function confirm_empty_wrap()
{
return false;
}
However the template for the epfp tab still isn't parsed and thus anything else that I've coded in that tab doesn't show.

TravisWPaquin 09-26-2012 06:00 PM

I uploaded the plugin and your other mod, but my new tab does not show and if it did where would I add it, change the name, settings, etc?

Thanks.

blind-eddie 10-18-2012 02:30 PM

Quote:

Originally Posted by TravisWPaquin (Post 2368774)
I uploaded the plugin and your other mod, but my new tab does not show and if it did where would I add it, change the name, settings, etc?

Thanks.

To get the tab to show, you need to select "Options: Extra Options" in the Display Page Section at the bottom of the edit profile field.

To change the name of the tab, Search in phrases for extra_options, change the name to what ever you want it to be, click save.

ludachris 05-13-2013 04:35 PM

Considering using this as a the basis for vehicle sub-profiles instead of some of the other plugins that are out there. I'm wondering if it would be possible to have an avatar associated with each tab. And maybe a mini photo gallery for each tab. And then finally, have an option for the tab to display under the username in postbit. Or at the very least, figure out a way to throw in some code that checks to see if the user has tab ID # and then display it in some templates - if tab ID 3 is not empty, then display this html here.

Wired1 05-14-2013 12:35 AM

Quote:

Originally Posted by ludachris (Post 2421762)
Considering using this as a the basis for vehicle sub-profiles instead of some of the other plugins that are out there. I'm wondering if it would be possible to have an avatar associated with each tab. And maybe a mini photo gallery for each tab. And then finally, have an option for the tab to display under the username in postbit. Or at the very least, figure out a way to throw in some code that checks to see if the user has tab ID # and then display it in some templates - if tab ID 3 is not empty, then display this html here.

It's outside the realm of this mod, but I suppose it could be done. The easiest way would be to have two fields:

field a - pictureID from an album for the avatar
field b - albumID for the photo gallery

Then some swanky code for the pics (or just re-use the vB gallery code).

Inna 11-27-2016 11:57 AM

I'm using vB 4.2.3 PL 2, and I'm having both Extra Profile Fields Page and Extra Profile Fields Tab, but when the Tab product is enabled, it shows error on the header of profile member page:
Code:

PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: memberinfo_css_EPFP_tab in ..../includes/functions.php on line 4602

PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: memberinfo_profilefield in ..../includes/functions.php on line 4602
Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in /home/speciali/domains/special.ir/public_html/forum/member.php(599) : eval()'d code(176) : eval()'d code on line 2
PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: memberinfo_profilefield in ..../includes/functions.php on line 4602
Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in /home/speciali/domains/special.ir/public_html/forum/member.php(599) : eval()'d code(176) : eval()'d code on line 2
PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: memberinfo_profilefield in ..../includes/functions.php on line 4602
Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in /home/speciali/domains/special.ir/public_html/forum/member.php(599) : eval()'d code(176) : eval()'d code on line 2
PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: memberinfo_profilefield in ..../includes/functions.php on line 4602
Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in /home/speciali/domains/special.ir/public_html/forum/member.php(599) : eval()'d code(176) : eval()'d code on line 2
PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: memberinfo_profilefield in ..../includes/functions.php on line 4602
Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in /home/speciali/domains/special.ir/public_html/forum/member.php(599) : eval()'d code(176) : eval()'d code on line 2

Before this time, I've used this product with no error, but seems today it's showing error.

In the line 4602 functions.php:
Code:

trigger_error('fetch_template() calls should be replaced by the vB_Template class. Template name: ' . htmlspecialchars_uni($templatename), E_USER_WARNING);
and in line 599 member.php, it is:
Code:

($hook = vBulletinHook::fetch_hook('member_build_blocks_start')) ? eval($hook) : false;
What should I do? Any comments rather than disabling this product?

PHP version is 5.6.28

Wired1 11-27-2016 06:43 PM

I've never seen those errors before. How'd you install a 3.8.x mod on 4.x?

Inna 11-28-2016 07:29 AM

How? Easily!
Just installed it with no further actions

MarkFL 11-28-2016 07:59 AM

You will need to port that product to vB 4.2.x if you intend to use it. vB 3.8.x and vB 4.2.x use different methods for rendering templates.


All times are GMT. The time now is 06:47 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.01363 seconds
  • Memory Usage 1,830KB
  • 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
  • (7)bbcode_code_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (36)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