vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Extra Profile Fields Page (https://vborg.vbsupport.ru/showthread.php?t=98282)

Wired1 01-30-2006 03:24 AM

Kewl, thanks.

As for when the next update will be, I dunno. The next time I work "only" 40 hours in a week, I'll see what I can do :)

cbr929rrerion 01-30-2006 04:13 PM

so does this hack give me a blank page I can add profile fields and build at my whim?

Wired1 01-30-2006 09:54 PM

You mark profile fields that you'd like on the entry page, and it puts it there.

DivisionByZero 01-30-2006 09:58 PM

I've found a way to add "additional" pages into this hack as painlessly as possible.... I'll do some more testing after I nap and if it works, i'll post my edits to the hack. :)

cbr929rrerion 01-30-2006 10:35 PM

ok.. maybe I was to vague..

I have my profile page the way I want it but I would like to add an additional page and set it up containing whatever i want, can I do that with this hack..

Wired1 01-31-2006 01:25 AM

Quote:

Originally Posted by MisterPopularity
I've found a way to add "additional" pages into this hack as painlessly as possible.... I'll do some more testing after I nap and if it works, i'll post my edits to the hack. :)

Only for entering data, or also for displaying? Marked with unique markers, or all the same one? Using separate markers it'd be easy to split into boxes for the profile page for display.


Quote:

Originally Posted by cbr929rrerion
I have my profile page the way I want it but I would like to add an additional page and set it up containing whatever i want, can I do that with this hack..

The page you want, is it for entering data, or for displaying data?

cbr929rrerion 01-31-2006 01:34 AM

displaying, another words if I wanted to build a "My Garage" page based solely on user profile fields info..

on its own page

cbr929rrerion 01-31-2006 01:35 AM

well.. I guess both, have a seperate page to enter it, and have it displayed on its own page as well

DivisionByZero 01-31-2006 07:45 AM

Quote:

Originally Posted by Wired1
Only for entering data, or also for displaying? Marked with unique markers, or all the same one? Using separate markers it'd be easy to split into boxes for the profile page for display.

For entering data right now... I don't use the display part of the hack because what I'm doing it for is mostly "chat server" preferences.

DivisionByZero 01-31-2006 07:46 AM

... and using separate markers....

profile.php?mod_XXX

where the script will strip out the "mod_" and parse the XXX for the appropriate page

Snake 02-01-2006 04:31 PM

I am getting a blank page after filling in the fields via the UserCP. Any idea?

cbr929rrerion 02-03-2006 11:15 PM

* clicks install *

works flawless using beta

Wired1 02-04-2006 03:03 PM

Quote:

Originally Posted by Aftermath
I am getting a blank page after filling in the fields via the UserCP. Any idea?

blank as nothing whatsoever, boxes, etc, or the entered data isn't being saved?

Quote:

Originally Posted by cbr929rrerion
* clicks install *

works flawless using beta

Kewl!

htscpl 02-06-2006 10:11 AM

OK, maybe I've missed something in this thread or during the install, but after installing I can view my edit my extra profile info but it doesn't show up on the profile page or have a link to it?

Do I need to add the fields into the profile or should they or a link be there. I'm confused, so any little help would be a lot.

Thanks!
Henry

Wired1 02-06-2006 12:24 PM

Quote:

Originally Posted by htscpl
OK, maybe I've missed something in this thread or during the install, but after installing I can view my edit my extra profile info but it doesn't show up on the profile page or have a link to it?

Do I need to add the fields into the profile or should they or a link be there. I'm confused, so any little help would be a lot.

Thanks!
Henry

Additional Section within Profile and Dropdown within Posts

htscpl 02-06-2006 09:12 PM

Thanks for the quick response. I thought I had that part of the hack but I'll download it and try again.

Henry

MissKalunji 02-09-2006 02:55 PM

is it possible to create two extra fields like that?

Wired1 02-09-2006 05:12 PM

Quote:

Originally Posted by MissKalunji
is it possible to create two extra fields like that?

Please clarify what you mean.

MissKalunji 02-09-2006 05:15 PM

never mind i figured it out :) thanks!

Arissa 02-10-2006 02:36 AM

I've installed this but when I click on the option to edit in the cp I get a blank white page. Changed extra_options to biography_options. Any ideas?

evenmonkeys 02-10-2006 07:52 PM

I've got a problem with this...

When you use radio buttons, it all looks nice. When you use a single line, it all looks nice. However, when you use the select from drop down list, it all gets screwed up. It says the title in the right spot. Says the description in the right spot. Then it says the title again followed by a semi colon, and the actual selector is all the way on the right. O_o

Could you please tell me how to fix this. If you need a screenshot, please ask.

evenmonkeys 02-10-2006 08:54 PM

Nevermind- I figured it out.

Wired1 02-11-2006 01:59 AM

Quote:

Originally Posted by Arissa
I've installed this but when I click on the option to edit in the cp I get a blank white page. Changed extra_options to biography_options. Any ideas?

Did you use the product install or the manual install? Did you change it in every location or just one?

Arissa 02-11-2006 03:47 AM

I did it manually in the admin cp. I copied all the codes into ms works and did a find replace all for extra to biography.

MissKalunji 02-16-2006 06:19 AM

i got a slight problem.....i cant search Single-Selection Menu

everything else works but when i try to search through single selection menue it doesnt work help?

Smiry Kin's 02-20-2006 01:47 AM

dude, could you make something that ads the extra bit in the User CP? i don't have a clue how to add that..?

Wired1 02-20-2006 09:23 PM

Quote:

Originally Posted by MissKalunji
i got a slight problem.....i cant search Single-Selection Menu

everything else works but when i try to search through single selection menue it doesnt work help?

Don't understand what you mean.

Quote:

Originally Posted by Smiry Kin's
dude, could you make something that ads the extra bit in the User CP? i don't have a clue how to add that..?

Which part exactly do you mean? Are you using the manual install (just removed) or the product install?

Rich 03-30-2006 05:08 PM

Hello,

There are 6 uncached templates on the usercp extra-options page.

Uncached templates: page (1)
Uncached templates: userfield_radio (1)
Uncached templates: userfield_radio_option (2)
Uncached templates: userfield_select (1)
Uncached templates: userfield_select_option (92)
Uncached templates: userfield_textbox (1)

Wired1 03-31-2006 01:32 PM

Quote:

Originally Posted by Rich
Hello,

There are 6 uncached templates on the usercp extra-options page.

Uncached templates: page (1)
Uncached templates: userfield_radio (1)
Uncached templates: userfield_radio_option (2)
Uncached templates: userfield_select (1)
Uncached templates: userfield_select_option (92)
Uncached templates: userfield_textbox (1)


Is this an error you are getting somewhere?

Snake 04-07-2006 08:52 PM

Thanks for the update but could you fix up the bug if a member has not updated their extra profile fields while in profile view page? It still shows up as blank and is supposed to say "N/A".

Wired1 04-08-2006 03:10 AM

Quote:

Originally Posted by Aftermath
Thanks for the update but could you fix up the bug if a member has not updated their extra profile fields while in profile view page? It still shows up as blank and is supposed to say "N/A".

Do you mean in this page?
https://vborg.vbsupport.ru/attachmen...5&d=1129699261

Does it have the var name, and nothing under it? e.g. Processor w/ no value, or does it not show up at all? Example of where I can see this in action?

Rich 04-08-2006 01:03 PM

Hello,

I installed this, tested it, and everything works fine. The only problem is that it says that the templates listed in the preceding post of mine were uncached. I have the stats modification installed that shows queries and uncached templates. The actual Edit Options page has like 6-7 uncached templates. Every other page of my site is fine but that one. Any thoughts?

bairy 04-11-2006 12:02 PM

Rich,
It's because the templates aren't cached under the ?do=extra.

I've done a quick way of doing it though I'm not sure it's the best:
Add new plugin under General >> cache_templates
I've called mine Extra Profile Page Cache Templates

Content:
PHP Code:

if (THIS_SCRIPT == 'profile' AND $_REQUEST['do'] == 'extra')
{
$globaltemplates array_merge($globaltemplates, array(
'page',
'userfield_checkbox_option',
'userfield_optional_input',
'userfield_radio',
'userfield_radio_option',
'userfield_select',
'userfield_select_option',
'userfield_select_multiple',
'userfield_textarea',
'userfield_textbox'));


Then the templates will be cached when editing of that page is requested.

Wired1 04-18-2006 10:23 PM

Damned if I know anything about caching templates :)

If someone can kindly point me to some good info about it (too busy ATM to search myself, which also explains my slowness on the board lately), I'll add it into the hack.

Wired1 04-21-2006 02:53 PM

Found some info about caching templates, going to implement that hopefully over the weekend. Going to see if anything can be tweaked as well, MAYBE some new features, if time allows.

Snake 04-21-2006 06:26 PM

OK I'm hardly waiting... :)

Snake 04-29-2006 12:21 PM

Quote:

Originally Posted by Wired1
Do you mean in this page?
https://vborg.vbsupport.ru/attachmen...5&d=1129699261

Does it have the var name, and nothing under it? e.g. Processor w/ no value, or does it not show up at all? Example of where I can see this in action?

First of all, sorry for my late respond.

Anyway, I have noticed a few members who just got a blank area and some who got the "N/A" phrase included in their extra field. Let's take Smokey and Ameen for example. As you can see, Smokey shows up just blank while as Ameen shows up the "N/A" phrase thing. Do you have any idea what's going on?

Also how do I change the URL "profile.php?do=extra" to "profile.php?do=editboneinfo"?

Wired1 05-01-2006 12:51 AM

Quote:

Originally Posted by Lil Ripsta
As you can see, Smokey shows up just blank while as Ameen shows up the "N/A" phrase thing. Do you have any idea what's going on?

I checked HoH (in the sig), and I've found similar profiles. I'll have to look into it, only thing I can think of is that because it's really just an extension of the additional info area, it sees some info, and therefore doesn't see a need to use the N/A, as it thinks something's already in that column. I'll see if there's a way around it.


Quote:

Also how do I change the URL "profile.php?do=extra" to "profile.php?do=editboneinfo"?
Edit lines 41 and 44 of the XML product.

Snake 05-01-2006 05:55 PM

Quote:

Originally Posted by Wired1
Edit lines 41 and 44 of the XML product.

Huh? I didn't get you.

Wired1 05-01-2006 10:23 PM

Quote:

Originally Posted by Lil Ripsta
Huh? I didn't get you.

Lines 41-44:
Code:

if ($_REQUEST['do'] == 'extra')
{
        // makes the user cp nav look correct
        construct_usercp_nav('extra');

replace "extra" with "editboneinfo"

May not even need to do the 2nd edit. Basically, take the XML file, open it, edit that, save it, upload it, run it, done.


All times are GMT. The time now is 05:50 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.01473 seconds
  • Memory Usage 1,833KB
  • 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_code_printable
  • (1)bbcode_php_printable
  • (17)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
  • (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