vb.org Archive

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

Wired1 02-28-2008 01:16 PM

Quote:

Originally Posted by RokuDaMerlin (Post 1452547)
i have installed this and i see not the link in my profil :/

http://www.rdm-designportal.com Correct?

That site uses Version 3.7.0 Beta 5 as of this posting, and this mod is clearly NOT for 3.7.

PC-Junky 03-02-2008 01:03 PM

For the Moment..... installed in my Testforum. Works fine. :)

NeuroLancer 03-03-2008 12:32 PM

Quote:

Originally Posted by Wired1 (Post 1452886)
http://www.rdm-designportal.com Correct?

That site uses Version 3.7.0 Beta 5 as of this posting, and this mod is clearly NOT for 3.7.

This looks great, just the sort of thing I need. Will this mod be updated for 3.7?

Wired1 03-03-2008 03:56 PM

Yep.

Hugo Firth 03-05-2008 08:56 PM

When I am selecting the display page for another profile field, extra options doesnt show up - even though I have followed instructions to the letter up to now - I use vB 3.6.8 - any ideas ? :) thanks

Wired1 03-06-2008 08:12 PM

Quote:

Originally Posted by Hugo Firth (Post 1457922)
When I am selecting the display page for another profile field, extra options doesnt show up - even though I have followed instructions to the letter up to now - I use vB 3.6.8 - any ideas ? :) thanks

You followed this to the letter, correct? If so, this should have done it. If not, please PM me the code around these edits. I'd guess that when you edited functions_user.php, it wasn't saved, or uploaded perhaps?

Quote:

The following code adds an extra area to:

User Profile Fields -> User Profile Field Manager

When a new profile field is added, in the Display Page area, select Options: Extra Options (or whatever you placed in the extra_options vB Phrase)


// *** open admincp/profilefield.php

find

"$vbphrase[options]: $vbphrase[other]"

replace with

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

find

5 => "$vbphrase[options]: $vbphrase[other]",
add under

6 => "$vbphrase[options]: $vbphrase[extra_options]",

// *** save and close admincp/profilefield.php




// *** open includes/functions_user.php



find

case 5:
$customfields['other'] .= $tempcustom;
break;
add under

case 6:
$customfields['extra'] .= $tempcustom;
break;


// *** save and close includes/functions_user.php

t55 03-09-2008 07:41 PM

Just thought I should mention this, the link does not appear in the UserCP if you have this addon installed: GTUserCP - Enhanced USERCP Interface

I disabled the above addon and this finally appeared in the UserCP.

Wired1 03-09-2008 09:23 PM

Quote:

Originally Posted by t55 (Post 1460969)
Just thought I should mention this, the link does not appear in the UserCP if you have this addon installed: GTUserCP - Enhanced USERCP Interface

Makes sense considering that the GTUserCP mod replaces the USERCP_SHELL.

Took a quick look at it, and I THINK (NOTE: UNTESTED, TRY AT YOUR OWN RISK, preferably on a test bed first) you can make 2 quick edits to add the Extra Options link.

In GTPM_USERCP_SHELL Find:
Code:

    <tr>
      <td class="$navclass[options]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td>
    </tr>

after it paste:
Code:

    <tr>
      <td class="$navclass[extra]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=extra">$vbphrase[edit_extra_options]</a></td>
    </tr>


and in gtpm_usercp_navbit Find:
Code:

        <tr><td class="vbmenu_option" align="$stylevar[left]"><a href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr>
after it paste:
Code:

        <tr><td class="vbmenu_option" align="$stylevar[left]"><a href="profile.php?$session[sessionurl]do=extra">$vbphrase[edit_extra_options]</a></td></tr>


Again, note: UNTESTED! Not my fault if you run it on a live server and blow it up!

Jase2 03-25-2008 02:46 PM

Hi Wired1,

Any chance you can release a 3.7 one anytime soon, since it's in RC stage? It would be greatly appreciated.

Regards Jason :)

DieselTruck 03-25-2008 07:56 PM

Talk about Nerve racking..:(

I've went over my edits to my .php files. There are all correct. Template Edits are correct..

I see the Edit Options in my Edit profile. But, I can't see to add any options to edit. Under USER PROFILE FIELD MANAGER:

I don't see the "Extra Options" Line anywhere on there...

I know this has been asked alot... Any Ideas?


All times are GMT. The time now is 12:48 PM.

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.01396 seconds
  • Memory Usage 1,745KB
  • 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