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)

ImportPassion 12-19-2005 04:40 AM

Quote:

Originally Posted by Cyricx
Nice!! I actually found a way to take out one of the function_user edits by adding another hook into usercp_nav_start but still had to do the other file edit :)

I hope you compile this into a product xml, would make the phrases and such much easier :)

[high]* Cyricx installs![/high]

I am rewriting this as a Product. I was hoping to find a hook for the CASE statement, but there is none.

Wired1 12-19-2005 05:09 AM

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.

ImportPassion 12-19-2005 05:17 AM

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.

Wired1 12-19-2005 11:44 AM

It's just common courtesy to ask before publicly stating something like that, not after. Where'd I miss a hook?

Cyricx 12-19-2005 12:28 PM

This

Code:

// *** open includes/functions_user.php

        find

                'attachments'

        add under

                'extra',

(don't forget to place a comma after 'attachments')

Can be replaced by

Plugin - usercp_nav_start
Code:

$cells[] = 'extra';
I just made a product and then added the plugins and stuff by hand.

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 ;)

-=Sniper=- 12-19-2005 01:38 PM

nice, I would be interested in a product version, would make the creating of more pages easy.

Wired1 12-19-2005 02:34 PM

Quote:

Originally Posted by Cyricx
This

Code:

// *** open includes/functions_user.php

        find

                'attachments'

        add under

                'extra',

(don't forget to place a comma after 'attachments')

Can be replaced by

Plugin - usercp_nav_start
Code:

$cells[] = 'extra';
I just made a product and then added the plugins and stuff by hand.

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 ;)

Damned if I know why a search on the instruction file didn't find that function lol.

Code:

$cells[] = 'extra';
That appends the array I take it? (rusty PHP skillz) [EDIT: Why yes, yes it does!)

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.

Antivirus 12-21-2005 07:44 PM

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?

Snake 01-01-2006 05:46 PM

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"?

Wired1 01-01-2006 06:53 PM

Quote:

Originally Posted by Aftermath
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"?

Yep!

change
Code:

if ($_REQUEST['do'] == 'extra')
to:
Code:

if ($_REQUEST['do'] == 'mginfo')

change
Code:

        construct_usercp_nav('extra');
to:
Code:

        construct_usercp_nav('mginfo');
change
Code:

$navclass[extra]
to:
Code:

$navclass[mginfo]
change
Code:

<input type="hidden" name="do" value="updateextra" />
to:
Code:

<input type="hidden" name="do" value="updatemginfo" />

Should do it I think. BTW, nice use of the hack!

EricaJoy 01-01-2006 11:23 PM

Looking good! I'll be installing this once its nice and productified.

Wired1 01-01-2006 11:40 PM

coincidentally I'm working on it ATM :)

Wired1 01-01-2006 11:41 PM

Quote:

Originally Posted by Antivirus
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?

Wouldn't be too hard to do multiple pages, but why multiple pages?

Wired1 01-02-2006 12:48 AM

Just as a minor update, I got the redirect message to work! yaaaaaayyyy.

Snake 01-02-2006 06:58 AM

Thanks Wired, it's working just fine! :D

Wired1 01-02-2006 06:31 PM

with any luck and time, I may have the product up tonight.

pipin 01-02-2006 06:42 PM

Quote:

Originally Posted by Wired1
with any luck and time, I may have the product up tonight.

woohoo, nice.

Wired1 01-03-2006 04:22 AM

forgot to work on it actually, eheh. Last day for a certain badge in City of Villains, got it though!

Set up a demo vB install and re-read the product creation notes. Still don't think it'll all fit into the product (being the custom hook location, although I can't remember if that's this hack or the other one). We'll see though. Just got some great news about Ze Secret Project, so that may interfere with this, but I'll try to make the product tomorrow (gonna test it by removing the Demo forum and re-creating it).

Snake 01-03-2006 11:46 AM

This is weird. After the installation of this hack, some of my newly custom profiles fields do not appear on the registeration page. Can you just tell me why?

Wired1 01-03-2006 11:57 AM

Can't think of a reason off the top of my head. Are they marked as standard profile fields, or as ones to be displayed for this hack?

Snake 01-03-2006 12:11 PM

Standard profile fields. Hmm this is really strange. I'll check my edits once again and see the problem. If I coudn't, I'll get back to ya as soon as I can.

Wired1 01-04-2006 12:20 AM

Well I'd upload the updated XML plugin and the product if the site wouldn't hang on uploading XML files! Rassa frassa frassa rassa

Snake 01-04-2006 12:13 PM

Actually I have managed to fix it. Thanks anyway. :)

Wired1 01-04-2006 01:30 PM

kewl, what was it? I'll try tonight to upload the XML files again. Just tried to upload a fake XML (gibberish in the file) from work, worked fine. Worst case scenario is I'll have to upload it tomorrow from work.

Snake 01-04-2006 01:33 PM

The field for display order was set to '0'. That's the reason why it wasn't working. Hehehe. Silly me.

Just more thing. When a user has not edited or updated his profile page and left as empty, it is supposed to say "N/A" rather than a blank space just like the "Forum Info"...

Wired1 01-05-2006 02:24 AM

Quote:

Originally Posted by Aftermath
Just more thing. When a user has not edited or updated his profile page and left as empty, it is supposed to say "N/A" rather than a blank space just like the "Forum Info"...

Where are you looking exactly?


BTW, BETA Product's now available.

Snake 01-05-2006 10:35 AM

I'm looking at profile view (or page). And what's with the BETA products? What's new?

pipin 01-05-2006 04:10 PM

Aren't the two text files with the instructions identical?

@wired

Could you please include the Versionshistory in the first Posting?

Maybe like Abe here: https://vborg.vbsupport.ru/showthread.php?t=93970

Wired1 01-05-2006 05:21 PM

Quote:

Originally Posted by Aftermath
I'm looking at profile view (or page). And what's with the BETA products? What's new?

nothing, just a product for it, BETA because it's my first one :) I'll look at the n/a thing @ home.


Quote:

Originally Posted by pipin
Aren't the two text files with the instructions identical?

Doh! Uploaded the wrong one :) I'll fix that tonight.


Quote:

Could you please include the Versionshistory in the first Posting?
No, as there's no real changes to speak of yet. When actual changes are done, then yes, they'll be added.

Wired1 01-06-2006 03:45 AM

BTW, currently looking into the cleanest way to do multiple pages.

The basic way to do do this would be simply to rename some variables, and install the hack more than once (changing the variable names with each install). It'd be functional, but it could certainly be better and more intuitive.

To do it right would require some interesting code :) ATM the only reasons I can think of to have multiple pages would be to have multiple dropdowns in the related hack, so I'm thinking of how to efficiently do multiple dropdowns / profile areas. May just enhance the page with a dropdown in it. Each option in the dropdown would show/hide the fields associated w/ that option.

Example: dropdown has 3 options: Car / Boat / Plane. Selecting Car would let you enter in fields that relate to cars, e.g. rims, spoiler, etc. Selecting plane would let you select jet engine field, turbine engine, etc.

Having a proper admin backend page for the overall hack would make it much easier to adminstrate and update though, so I'll try to work on that first.

pipin 01-06-2006 07:21 AM

Quote:

Originally Posted by Wired1
nothing, just a product for it, BETA because it's my first one :) I'll look at the n/a thing @ home.


Doh! Uploaded the wrong one :) I'll fix that tonight.


No, as there's no real changes to speak of yet. When actual changes are done, then yes, they'll be added.

installed and working as designed. great one!

Wired1 01-06-2006 11:57 AM

Quote:

Originally Posted by pipin
installed and working as designed. great one!

The product you mean? Or just the hack in general?

pipin 01-06-2006 12:40 PM

Quote:

Originally Posted by Wired1
The product you mean? Or just the hack in general?

the product. i'm using the hack as long as it exists on a testforum. some problems with our old server combo are the cause that i dont use it in the the real forum, but on sunday we will move to our new dual opteron rig and then i will make use of it. :classic:

Wired1 01-06-2006 04:59 PM

Quote:

Originally Posted by pipin
the product. i'm using the hack as long as it exists on a testforum. some problems with our old server combo are the cause that i dont use it in the the real forum, but on sunday we will move to our new dual opteron rig and then i will make use of it. :classic:

Gotcha, glad to hear it worked for others than myself :) vB 3.5.2 or vB3.5.3?


FYI to all, looking into adding entries into the AdminCP Navigation Menu for the backend.

pipin 01-06-2006 05:49 PM

Quote:

Originally Posted by Wired1
Gotcha, glad to hear it worked for others than myself :) vB 3.5.2 or vB3.5.3?


FYI to all, looking into adding entries into the AdminCP Navigation Menu for the backend.

3.5.2

GamerJunk.net 01-07-2006 06:22 AM

What is the code to put this in Member Info?

Snake 01-07-2006 07:51 AM

It's already explained in the instruction file.

GamerJunk.net 01-07-2006 08:18 AM

No its not. It only explains how to set it up so it is searchable.

Wired1 01-07-2006 06:36 PM

Neither. It's the addon hack:
https://vborg.vbsupport.ru/showthread.php?t=98753

htscpl 01-30-2006 02:45 AM

Thanks great hack ** clicks installs**:D


All times are GMT. The time now is 11:52 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.01419 seconds
  • Memory Usage 1,828KB
  • 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
  • (13)bbcode_code_printable
  • (14)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