The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Extra Profile Fields Page Details »» | |||||||||||||||||||||||||
This is the 3.5.x version of Zachery's hack by the same name. (linkage)
3.6.0 version: https://vborg.vbsupport.ru/showthread.php?t=123253 This hack will add an extra page to the User CP. This area can be used for extra profile fields that for one reason or another you would like to split from the main list. Personally, I use this page for PC specs, but it can also be used for other specs as well (e.g. cars). I have the specs in a dropdown list under the user title in each user's post, as well as in their profile page, but that's another hack You can see my 3.0.x hack for that here, and the 3.5.x hack for it here. Here's some examples of how I use this hack (with the Add-On hack, Additional Section within Profile and Dropdown within Posts): http://www.houseofhelp.com/v2/showthread.php?t=39826 http://www.houseofhelp.com/v2/member.php?u=15 NOTE: The above 2 links show the results of another hack I did that's based upon this one. In otherwords, this hack doesn't add dropdowns in posts, and doesn't hack the member page to display the extra options in a new area. For that, install the Add-On hack, Additional Section within Profile and Dropdown within Posts. # of plugin hooks: 1 # of php page edits: 3 (or 4) # of new templates: 1 # of template edits: 1 # of new phrases: 2 The "successfully saved" and extra option search are not tested, but they should both work. Don't forget to hit INSTALL!. Show Your Support
|
Comments |
#82
|
|||
|
|||
Quote:
|
#83
|
||||
|
||||
Code Edits are needed. If I could have used a hook, or made one for the code, I would have. IIRC hack rewrites can't be posted w/o permission.
|
#84
|
|||
|
|||
u did miss one tho.
are u saying I don't have permission? I was gonna ask once it was done. More for me anyway, just way cleaner. No need to add phrases manually and crap like that. |
#85
|
||||
|
||||
It's just common courtesy to ask before publicly stating something like that, not after. Where'd I miss a hook?
|
#86
|
|||
|
|||
This
Code:
// *** open includes/functions_user.php
find
'attachments'
add under
'extra',
(don't forget to place a comma after 'attachments')
Plugin - usercp_nav_start Code:
$cells[] = 'extra';
Wired, it would really be much easier to toss all this into a product, or at least give 7thgen permission to post it in this thread then you can update the mainattachment. It takes a 10-15 minute install to about a 1 minute install, because you don't have to keep clicking all around to languages and phrases, to templates, etc and cutting and pasting like mad |
#87
|
|||
|
|||
nice, I would be interested in a product version, would make the creating of more pages easy.
|
#88
|
||||
|
||||
Quote:
Code:
$cells[] = 'extra';
Nothing against a product, just haven't been able to find the time lately to work on it (work and MCSE classes). Anyone can product it up and send it to me, and I'll update the install file, just would appreciate a heads up before everyone else so I can look it over and whatnot (may try to slip in an update if time allows). Of course I'll append the intro with a nod to whomever's product compilation I use. |
#89
|
||||
|
||||
Great idea wired! I would however love to see this as a product before installing it permanently. Also, i'm looking forward to multiple pages as well, it seems as though there's only on at them moment, unless I am mistaken?
|
#90
|
||||
|
||||
I have reinstalled the hack once again but my forums was kinda messed up so I'd no other choice but to clean up all the other hacks that existed. Anyway, is it possible to change the URL from "http://www.metalgearforums.com/profile.php?do=extra" to "http://www.metalgearforums.com/profile.php?do=mginfo"?
|
#91
|
||||
|
||||
Quote:
change Code:
if ($_REQUEST['do'] == 'extra')
Code:
if ($_REQUEST['do'] == 'mginfo') change Code:
construct_usercp_nav('extra');
Code:
construct_usercp_nav('mginfo'); Code:
$navclass[extra] Code:
$navclass[mginfo] Code:
<input type="hidden" name="do" value="updateextra" /> Code:
<input type="hidden" name="do" value="updatemginfo" /> Should do it I think. BTW, nice use of the hack! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|