![]() |
Additional Section within Profile and Dropdown within Posts
Link to 3.6.0 version:
https://vborg.vbsupport.ru/showthread.php?t=123254 This hack builds upon my Extra Profile Fields Page hack. This template mod lets you take the extra fields from that hack and places them within a dropdown that sits below the user's title within each post, as well as replaces the Group Memberships area with a listing of only these specs. The EFP hack is basically the entry form for the data that's manipulated in this hack. Please check out the pics at the EFP hack link to get the full idea. In my case, it is used for PC specs (and as you will see the instructions are tailored towards this), however it can be easily used for parts or specifications of almost anything (car parts for example). An example is shown here: http://www.houseofhelp.com/v2/showthread.php?t=39826 Example of user profile with specs: http://www.houseofhelp.com/v2/member.php?userid=15 # of plugin hooks: 1 # of php page edits: 1 (just 1 line to add the custom hook line into member.php) # of template edits: 3 # of phrase edits: 1 An admin section will eventually be done for this, as well as extra areas to place the new specs within. Because this is based upon the EFP hack, the upgrades in functionality to this hack will depend on the EFP hack's upgrades. In otherwords, staggered upgrades. Other functionality has been recommended and will be added at a later date. Any suggestions are appreciated. Don't forget to hit INSTALL! Also, please post where you've installed this, as I'd like to see how people are using it. That'll help me think of new ways to add to it aside from my own needs for this hack. Or if guests can't see the effects, then please post a pic. |
Link to 3.6.0 version:
https://vborg.vbsupport.ru/showthread.php?t=123254 |
Thanx Wired.
Just two points: You should add that <td class="tcat" width="50%">$vbphrase[group_memberships]</td> has to be changed <td class="tcat" width="50%">$vbphrase[extra_options]</td> and my extras fields that are set to "Show on Members List - No" are displayed too. |
interesting... really
... your release, please .zip it for easier uses... |
Quote:
Quote:
|
Quote:
|
Quote:
i had a dropdown that sits below the user's title before your hack was released and i have one extra field that can be set to no or yes, so the member can decide himself if the specs are shown in this dropdown or not. |
Ahhh, gotcha. Possible, but ATM I can't think of a reason why someone would put info in the list, but not want anyone to see it. Got an example?
One thing I intend to add on is for a field to be able to get info from 1 of 2 different areas. Example: the field by default is a dropdown selection, with all of the current motherboards listed in it. But what if they have one that's so new, it isn't on the list? Then they can select OTHER: and slap something in. Combining 2 fields to show on one line is relatively easy (as someone will eventually bring this idea up). |
installed,works perfectly!!!
take a look http://www.xbox-live.gr/forum/showth...hp?p=95#post95 click on Predators games at the bottom of the page to see!!! it's a little bit modified to meet my needs!! Thanx m8,great plug in!! EDIT: found a little bug,i dont know if i did anything wrong.When i click "Edit"(via AJAX) on a post,when i save it and click the tab it wont show up!!If i click refresh,everything's fine! |
Quote:
Never noticed that bug, pretty sure it's because of how AJAX works. I'll ask an AJAX-savvy friend of mine about it. |
Quote:
I ve told ya,i ve made it to meet ma own needs!!! It's better for me in one line,cos i cant figure out or guess how many games a user has!!If someone got 20,it would be a huge list for the dropdown.So i ve limited it in 1 line seperated with commas!!! |
Quote:
|
Hello, great hack. Dont mean to be a pain but how could i recycle the group memberships to show
Guilds: Group Membership fields Thanks for your help |
Not a pain at all, in fact I was wanting to get around to this eventually. While this isn't as elegant as I want it to be, this should do it for you. Basically it adds the Group Membership and a blank area below the current profile. You can swap the Group Membership and Extra Info areas if you'd like, just have to swap the code in the appropriate areas.
REPLACE: Code:
</tr> With: Code:
</tr> |
Thanks, just need to think how to do it so that i dont have a spare box
|
Don't forget to hit Install! :)
It can probably be done, but the downside is that the opposite cell has a large area of nothing in it. You can remove the info in that <TR> to make it completely blank of even the title bar, or you could have the last cell stretch the whole width if you wanted. |
Nice, installed no problems
*clicks install* |
Quote:
|
/me clicks on install
|
Quote:
BTW, (quoting what I just added to the install notes) please post where you've installed this, as I'd like to see how people are using it. That'll help me think of new ways to add to it aside from my own needs for this hack. Or if guests can't see the effects, then please post a pic. |
Quote:
Thats my only request :) Installed at http://friendcodes.com/forums friendcodes are the Nintendo DS version of Xbox's gamer tags for online play (except each game gives you a different code). People were driving me crazy with the sloppy sigs, you code cleans things up allot. |
Here's mine: http://www.metalgearforum.net/profile.php?do=extra
By the way, it says that you have updated the hack today. What's new in this version? |
rootnik:
Yeah, I'd like that as well! Just gotta figure out how to do that. Can't say I completely understand how the templates work with the php pages, as they both call each other at times I think. Odd recursive loop in logic almost. Haven't looked at the updated documentation yet though. Aftermath: That link only works for members of the forum. Nothing new, just updated the top post with that last paragraph. |
Yeah I know that so either you have to register on the forum or use the test account (test/test). ;)
|
Not working for all users.
When I look at the html source all I see for the ones who are not working is HTML Code:
<!-- post specs_menu --> HTML Code:
<!-- post specs_menu --> |
Did you use the conditional for the first field at all? Can you post a thread link that has both a working one and non working one?
There's nothing in the code aside from the optional conditional that would cause it to work for some and not for others. |
Quote:
3rd post down shows the missing information. At this time few people have any info. I can find no pattern to the problem. Eventually I will make a condition if there is no information to not even post the extra fields. Then maybe a link to the profile section for the user. Something like, your garage is empty, go here to update your garage. But first I want to be sure it's working properly. Thanks. Edit: You're right. I went back to the postbit template and I had the wrong field number. :tired: And it figures, vBulletin is now 3.5.3. |
3.5.3? aaahhhhh damnit. gotta update forums again.
I had just signed up for a membership there to t/s this, lol. Feel free to delete the Wired member, don't drive a BMW :) FYI, it won't show the blank extra fields if they're not filled out. At the House of Help, I've got it set up w/ that conditional on the first field so that if someone doesn't specify what motherboard they have, the whole dropdown doesn't show up. |
Quote:
My members really like the mod. Thanks! |
Is there a way to make one line taller?
For instance, my modification line doesn't fit all of the information. |
Quote:
Code:
<tr><td class="vbmenu_option">$post[field6]</td></tr> Code:
<tr><td class="vbmenu_option" width="100">$post[field6]</td></tr> May want to try having multiple Modification fields (e.g. I've got HDD 1, HDD 2, etc. on mine). Don't know much about cars (although Need For Speed: Most Wanted rocks), but you may also want to try fields like Rims, spoiler, body kit, etc. for example. (yeah, I'm just pulling stuff I've seen in NFS:MW, Rides, and Overhaulin'). Ask the forum members for suggestions. The posters of my site helped tweak the fields, and it's become a more effective tool because of them. |
Quote:
|
Quote:
Code:
<tr><td class="vbmenu_option" word-wrap:break-word>$post[field6]</td></tr> |
Quote:
I'm also taking suggestions from my members. Maybe multiple fields is the answer. Great mod! :) |
Not too knowledgeable with CSS, but I believe there are ways to inherit them, and then override parts of them. Gonna bug some people today about it.
I'm partial to multiple fields though. I've got 10 or so on mine, and helps us a lot. |
I will bring it to our forums this weekend, just curios how the users will accept it.
btw my solution looks like this: http://home.arcor.de/jensgessner/system2.jpg would be interestest in other examples. |
Thanks been looking for this since I upgraded to 3.53
** clicks installs ** :D |
Quote:
|
nothing that worked.
|
Quote:
|
All times are GMT. The time now is 12:53 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|