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)

Aligator21 08-10-2006 09:19 AM

Hi again, i have another question!

Can i dublicate this hack?
I want to use it for another extra fields.

How can i do this???

Wired1 08-10-2006 11:57 AM

1996: I'm going to try to duplicate the problem tonight if I have time.

Aligator: Can you be more precise in what you want to do?

Aligator21 08-11-2006 07:15 AM

In my forum, i have your hack for users favorite games.
I want to add and another drop down menu, for my users pc specs.

is there any way to do this???

Wired1 08-11-2006 01:59 PM

Quote:

Originally Posted by Aligator21
In my forum, i have your hack for users favorite games.
I want to add and another drop down menu, for my users pc specs.

is there any way to do this???

Yes, although it depends on some other things. Do you want a seperate entry page? If not, then simply repeat the last two steps of the instruction file with whatever you'd like in the second dropdown. If you do want a seperate entry page, then some minor code edits have to be made to the plugins, products, and instructions, just so no variables conflict basically.

Wired1 08-13-2006 01:02 AM

Quote:

Originally Posted by 1996 328ti
I deleted all products and started from scratch, and this is what I got. When not selected there is only one post per page. I removed the code so not to screw up my board.

Just tried it on postbit_legacy on my test server, worked fine. May want to try turning off all other plugins, then see how it works. Assuming it does, enable a plugin one by one to see which one does it.

hurry 08-13-2006 05:04 AM

Is it possible to have url links in these dropdown rows? Also I want it only for the admin usergroup.

Wired1 08-13-2006 05:32 AM

Links: No.

You'd have to place conditionals around the last two steps in the instructions. They are the ones that place the dropdowns in the posts.

Why only admins though?

ssvp 08-13-2006 01:20 PM

Code:

<!-- post specs_menu -->
<if condition="$post['field5']">
        <div id="specs_$post[postid]" class="vbmenu_control">
                <a href="#specs">$post[username]'s PC Specs</a>
                <script type="text/javascript"> vbmenu_register("specs_$post[postid]"); </script>
        </div>
</if>
<!-- / post specs_menu -->

How can I change this so rather than displaying the user's name again. It would just display "My Gear".

I actually was able to remove the username, but the size of the "My Gear" background seemed to change depending on the length of the username.

Wired1 08-14-2006 02:09 AM

Code:

<a href="#specs">$post[username]'s PC Specs</a>
change to

Code:

<a href="#specs">My Gear</a>
Please hit Install.

Arachnophiles 08-14-2006 01:55 PM

Hi, did you have any joy in getting the field entries to display vertically rather than horizontally ??

Cheers,
Adam.


All times are GMT. The time now is 07:38 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.01290 seconds
  • Memory Usage 1,739KB
  • 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
  • (3)bbcode_code_printable
  • (2)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