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 - Additional Section within Profile and Dropdown within Posts (https://vborg.vbsupport.ru/showthread.php?t=123254)

viper357 04-08-2008 04:05 PM

Quote:

Originally Posted by Wired1 (Post 1484193)
Looks like the edit was done wrong. Revert the template and try again.

Worked perfectly, thanks :up:

Quote:

Originally Posted by stemmy (Post 1486033)
Great Hack !!!!

I have installed everything and made all the code changes. - It works perfectly.

one question.

How do i change the title of the section in the usercp ?

Currently its called "Extra Options" I would like to call it "Experience"

I run a photography forum and this drop down menu is perfect for showing peoples photography experience. But it will be confusing in the usercp if its called "Extra options".

thanks in advance

Ive clicked installed !!!!!

Go into your admincp >> Languages and Phrases >> Search in Phrases

In the search box enter edit_extra_options
Choose Phrase Variable Name Only
Click Edit when it finds the results
Click Copy Default Text and enter whatever you want then save.

Wired1 04-08-2008 05:10 PM

viper357: kewlness

stemmy: yeah, what he said

stemmy 04-08-2008 05:50 PM

Your the man !!!!!!!!!!!

Thanks !!!!!

if you want to see it workin - its here

www.photography-forum.org

I use it for poeple to let us know their experience in photography before we make comments on their images.

Works a treat. Great hack !!!!!!



Quote:

Originally Posted by viper357 (Post 1486043)
Worked perfectly, thanks :up:


Go into your admincp >> Languages and Phrases >> Search in Phrases

In the search box enter edit_extra_options
Choose Phrase Variable Name Only
Click Edit when it finds the results
Click Copy Default Text and enter whatever you want then save.


Wired1 04-08-2008 06:26 PM

Thanks!

nighthalk 04-15-2008 07:32 AM

ok so I installed this. Everything works but the popup menu in the postbit. It shows but it just don't pop open. I running 3.6.9. Like I see Nightha|k's System Specs. but it dont drop down I followed your directions fine.

Wired1 04-15-2008 07:57 AM

What's the URL to the forum? Which postbit are you using: the new or the classic one?

nighthalk 04-15-2008 09:46 AM

This is the correct thread as were talking about the drop down. I am using the postbit legacy. You can only see it under my name as I jut installed it and am the only one to fill it out.
Here is the site here

Wired1 04-15-2008 04:50 PM

Either one of the 2 edits weren't done that activate the dropdown, and/or not all profile fields are filled out.

nighthalk 04-15-2008 05:08 PM

Edit: Removed code since it is not needed.

Wired1 04-15-2008 09:27 PM

Do you have a test account (standard access) that I can log in with? For example, does field 23 have something in it?

nighthalk 04-15-2008 10:17 PM

Sent you pm with login details and yes field 23 is the operating system field.

Wired1 04-15-2008 10:43 PM

Try this:
Code:

<!-- post specs_menu -->
<div class="vbmenu_popup" id="specs_$post[postid]_menu" style="display:none">
        <table cellpadding="4" cellspacing="1" border="0">
        <tr>
                <td class="thead">$post[username]'s System Specs</td>
        </tr>
                <tr><td class="vbmenu_option">Operating System: $post[field23]</td></tr>
                <tr><td class="vbmenu_option">Motherboard: $post[field11]</td></tr>
                <tr><td class="vbmenu_option">Processor: $post[field12]</td></tr>
                <tr><td class="vbmenu_option">Memory: $post[field13]</td></tr>
                <tr><td class="vbmenu_option">Video Card: $post[field14]</td></tr>
                <tr><td class="vbmenu_option">Hard Drive: $post[field17]</td></tr>
                <tr><td class="vbmenu_option">Hard Drive 2: $post[field18]</td></tr>
                <tr><td class="vbmenu_option">Hard Drive 3: $post[field16]</td></tr>
                <tr><td class="vbmenu_option">Optical Drive: $post[field19]</td></tr>
                <tr><td class="vbmenu_option">Optical Drive 2: $post[field20]</td></tr>
                <tr><td class="vbmenu_option">Sound Card: $post[field21]</td></tr>
                <tr><td class="vbmenu_option">Monitor: $post[field22]</td></tr>
                <tr><td class="vbmenu_option">Power Supply: $post[field15]</td></tr>
        </table>
</div>
<!-- / post specs_menu -->


nighthalk 04-16-2008 01:47 AM

Ok I got it the problem was I put half the code in postbit_legacy and the other half in postbit.

lmao

Thanks for your help man. Thats what I get for sleeping while reading instructions.

Wired1 04-16-2008 07:26 PM

lol, glad to hear it works :)

imports 04-23-2008 08:10 PM

i did all them instruction and double check my work but i don't see any drop down on the profile fields i can't even see this one
Code:

New Hook Location: vBulletin: Member's Profile -> member_extras (see? I told you it would create a new hook!)
www.importsview.com

help anyone?

Wired1 04-23-2008 08:23 PM

Can you clarify what you mean? Please PM me a test account on your site, that may help.

Dave-M 05-11-2008 06:30 PM

Would anyone like to reveal how they got this working on 3.7.0 please?

Thanks

:)

Wired1 05-11-2008 07:25 PM

Don't recall anyone saying they did actually. I'm working on it right now actually, and they've moved quite a bit of functions around, and changed some functions. Haven't looked at the dropdown yet, but can't see it being that difficult to get up and running.

viper357 05-11-2008 07:36 PM

Quote:

Originally Posted by Wired1 (Post 1516406)
Don't recall anyone saying they did actually. I'm working on it right now actually, and they've moved quite a bit of functions around, and changed some functions. Haven't looked at the dropdown yet, but can't see it being that difficult to get up and running.

That would be awesome Wired1.

This is one of the main add-ons that is making me reluctant to upgrade to 3.7 as I really do not want to lose this add-on, my members love it.

Thanks for the hard work you're putting into this :up::up::up:

Dave-M 05-11-2008 08:56 PM

Quote:

Originally Posted by Wired1 (Post 1516406)
Don't recall anyone saying they did actually. I'm working on it right now actually, and they've moved quite a bit of functions around, and changed some functions. Haven't looked at the dropdown yet, but can't see it being that difficult to get up and running.

I don't know if this is helpful or not, but when I applied my entire database backup to my new installation, the dropdown and everything was still working. I had to update my custom template and that's where I realised things were different.

The other half of your hack is working as far as the extra profile fields are concerned.

I will happily drop you a few $$ when this is done, it is one of the most handy hacks I use :)

Dave.

Wired1 05-12-2008 01:26 AM

$$ is always appreciated :)

Looks like they put in a LOT more hook locations and whatnot. Looks like it'll be a product install now, no more edits necessary for the member's page / dropdown stuff!

As it stands, all profile fields show up under the "About Me" tab, regardless if you create a new tab via a plugin (that does NOT query for them itself), or using the built-in creator for categories. A very simple plugin can prevent profile fields from showing up, but it affects anything the default profile field SQL query spits out.

So, the current way I'm going is to have no edits, and keep the extra SQL call in, versus removing the extra SQL call, but leaving in a couple of edits. This way, if/when Jelsoft fixes it so that you can mark profile fields not to show up in About Me, a simple update will fix it versus more edits.


Also, since they've added this new category feature to profile fields, it will probably be possible to have multiple dropdowns (1 per category), without installing multiple versions of the plugin.

Dave-M 05-18-2008 01:04 AM

How are you doing with this Wired1?

Not pushing, just interested thats all :)

Wired1 05-18-2008 02:41 AM

Just about done, but still working through the code, putting more phrases in.

I did find a way to make the dropdown TOTALLY automated, no edits needed, but you can't change the order. Working on something for that ATM though. Have the old way in a template as an alternate / backup though.

Dave-M 05-18-2008 01:07 PM

Thanks for the update :)

TalkPhotography 05-21-2008 12:53 PM

As per your update email, I would prefer the 3.7 version to be one product.

Containing :
Extra Profile Fields (UserCP)
Tab within user profile
Dropdown in postbit

Wired1 05-21-2008 06:31 PM

Quote:

Originally Posted by TalkPhotography (Post 1526819)
As per your update email, I would prefer the 3.7 version to be one product.

Containing :
Extra Profile Fields (UserCP)
Tab within user profile
Dropdown in postbit

EPFP will ALWAYS be a separate mod, mainly because more people install it than the other mod (by double apparently), so apparently they have other uses for it and don't need the other stuff.

neologan 05-21-2008 09:46 PM

looking forward to the 3.7 version of this if it gets rid of template modifications to post bit

Wired1 05-21-2008 10:31 PM

Yep, no edits necessary.

KHALIK 05-22-2008 09:00 PM

I am waiting for the 3.7.0 as well.

really need this mod on my forum.

Wired1 05-22-2008 09:14 PM

Quote:

Originally Posted by KHALIK (Post 1528340)
I am waiting for the 3.7.0 as well.

really need this mod on my forum.

You never hit the install button on this version, but you downloaded it, tsk tsk.

ComputerVitals 05-23-2008 05:04 PM

Not to nag.
I had this on 3.6 but upgraded to 3.7.0

Any updates on the new version?

Wired1 05-23-2008 09:48 PM

3.7.0 version of the dropdown part of this mod is now out:
https://vborg.vbsupport.ru/showthread.php?t=180309

The tab part that works in conjunction with the Extra Profile Field Page mod is done, just gotta clean up some code, so I'm working on that right now, should be out within an hour or so, no promises though!

richards112 05-27-2008 03:48 PM

does this work for 3.7?

Wired1 05-27-2008 04:16 PM

Quote:

Originally Posted by Wired1 (Post 1529437)
3.7.0 version of the dropdown part of this mod is now out:
https://vborg.vbsupport.ru/showthread.php?t=180309

Quote:

Originally Posted by richards112 (Post 1533055)
does this work for 3.7?

See, this is why you should hit the INSTALL BUTTON. When UPDATES are sent out, you are notified of them.

DarkSoroush 06-24-2009 09:24 PM

About a year from last post, But any way. There are any new coding for 3.8.x?!

I have problem with this section of instructions:
Quote:

vB AdminCP -> Styles & Templates -> Style Manager -> (Select Style) -> Member Info Templates -> MEMBERINFO

Change the vB Phrase [group_memberships] to whatever you would like the title of the new area to be.
Example: System Specs

OR if you would like the extra options page and this quadrant to have the same title, change // This adds the label for the extra options page within the profile,

change:
<td class="tcat" width="50%">$vbphrase[group_memberships]</td>

to:
<td class="tcat" width="50%">$vbphrase[extra_options]</td>



FIND:
<if condition="$show['membergroups']">
<dl id="membergroups_list" class="smallfont">
$membergroupbits
</dl>
<else />
<div class="smallfont"><strong><phrase 1="$userinfo[username]">$vbphrase[x_is_not_a_member_of_any_public_groups]</phrase></strong></div>
</if>


REPLACE WITH:

<if condition="$show['extrainfo']">
<dl id="additionalinfo_list">
$customfields2
</dl>
<else />
<div class="smallfont"><strong><phrase 1="$userinfo[username]">$vbphrase[n_a]</phrase></strong></div>
</if>

Wired1 06-25-2009 01:37 AM

Quote:

Originally Posted by Wired1 (Post 1529437)
3.7.0 version of the dropdown part of this mod is now out:
https://vborg.vbsupport.ru/showthread.php?t=180309

Quote:

Originally Posted by DarkSoroush (Post 1836701)
About a year from last post, But any way. There are any new coding for 3.8.x?!

Yes and no. This mod is incompatible with 3.7.x and 3.8.x because of the radical change to the member page. However, new mods were made to place a tab on the member page, and a separate one just for dropdown. Check my profile for links.

In short:
Quote:

Originally Posted by Wired1 (Post 1533087)
See, this is why you should hit the INSTALL BUTTON. When UPDATES are sent out, you are notified of them.


Dave-M 01-15-2010 01:30 PM

Sorry bud, I posted in your extra profile fields thread about a possible VB4 upgrade, it's actually this one I would like to know about :)

Will you be doing a VB4 one, and if so, just a ballpark when please :)


All times are GMT. The time now is 06:34 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.01497 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
  • (2)bbcode_code_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (37)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