The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Additional Section within Profile and Dropdown within Posts Details »» | |||||||||||||||||||||||||||
Additional Section within Profile and Dropdown within Posts
Developer Last Online: Dec 2021
NOTE: After checking out the vBulletin 3.7 First Look thread, which contains significant changes to the Member Profile page, it is clear that this mod as-is will probably not work properly when it comes to displaying the Extra Profile Info on that page. As soon as an official 3.7 comes out, I'll start working on the changes.
The 3.5.x version of this hack can be found here. 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 EPFP hack is basically the entry form for the data that's manipulated in this hack. Please check out the pics at the EPFP 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/forums/sh...ad.php?t=39826 Example of user profile with specs: http://www.houseofhelp.com/forums/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 Any suggestions are appreciated. Don't forget to hit INSTALL! Support will only be given to people who have hit install. Also, please post where you've installed this, as I'd like to see how people are using it. Or if guests can't see the effects, then please post a pic. Show Your Support
|
Comments |
#62
|
||||
|
||||
Quote:
Only thing I can think of offhand would be to create some vB database queries that hit the story tables and save the results as vB variables (all of this in the member page), and then slap the variable into the member page similar to how I've done. The ones under each user's name in each post could be more difficult, depending on how your story site tables link with vB, if at all. Quote:
|
#63
|
||||
|
||||
Quote:
I know that this is not really the best place to talk about it, but I was wondering if you might be able to do me a HUGE favour? I'm totally new to the way that vB handles hacks, etc.. If I understand it correctly, there are hooks dotted about within the files, you just choose the most relevent one (say, at a point just before you want the data to display), and insert some code, say a query.. which you can then load into a variable, and have displayed within a template? (I'm probally making it sound really basic, but I think that's how it's meant to work). Seeing as you've taken over the group membership box on the member profile page (which is where I'd probally have my chapter links appear), would you be kind enough to let me know which hook you're using, and some basic tips on how I should go about creating it? Thank you |
#64
|
||||
|
||||
Hooks are within PHP pages, and the one I used I made and slapped into the XML hook listings page and the PHP file
The hook isn't related to the location of the extra profile field's location on the member page though. That's due to the edits made in the member page in the instructions. The hook code gets the specially marked profile fields from the profile field list. The template edits basically just relabel the box and call the list of marked profile fields. The dropdown code is manually created by the forum admin who creates it, as per the instructions. It simply calls the profile fields they want. |
#65
|
||||
|
||||
Hi there, thank you for the info... I've actully succeded in my task, I don't know if I've done is the best way it can be done, but so far it appears to be working: http://theice.co.uk/member.php?u=5 (take a look at where the group membership should be).
I've used the hook of member_complete (I did try using member_start, but the $userinfo[userid] variable wasn't available), and as I say, it looks like it's working All I need to do now is explore some more of your code and see if I can't borrow what you've done in the postbit Cheers for the help |
#66
|
||||
|
||||
Quote:
|
#67
|
||||
|
||||
I have a problem :-(...
the dropdown list doesn' t excist and i think that there is a mistake with the member info page... at the top it shows me this: Code:
Parse error: syntax error, unexpected '<' in /var/www/vhosts/localhost/subdomains/forum/httpdocs/member.php(625) : eval()'d code on line 1 |
#68
|
||||
|
||||
the code shown indicates a typo.
Have you followed all of the instructions for the dropdown? |
#69
|
|||
|
|||
I get the same thing - just installed it and my member page does that too.
Double checked I hadn't done a typo :O |
#70
|
|||
|
|||
Quote:
|
#71
|
|||
|
|||
I have now installed both of these hacks. Its the little things that add so much!
Thank you -CYVOK- |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|