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 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 04:07 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.01205 seconds
  • Memory Usage 1,750KB
  • 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
  • (6)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