![]() |
Profile Fields
Hello there could someone make me a little guide on how to add custom user profile fields to the left side of every post ? i saw the tutorial from lynne but it is only for the user information if someone went on thier profile :c
I mean this thing, wich shows the reputation, post counts and joindate. i whould like to add a custom profile field to it :) Thanks for every help! |
no one ?
|
As not many here have vb5 you will need to wait for an answer
|
Which specific bits do you want to add to the postbit?
|
Location for example :)
|
Quote:
|
|
The location automatically gets added there on the profile page if you have it filled out. It should automatically get added to the posts also if you have it filled out. Location is a default profile field, it isn't a custom profile field which is what the tutorial talks about adding.
|
:O well, is there away to add it to the posts too ?
//Edit I made a custom one but it doesn't add it :o |
Are you using a totally default style? Do you have your hook system enabled (it is disabled by default)? When you added a new hook, did you make sure it was enabled? We'd need to see screenshots of the new field and the template and also get a link to your site using a default style. (Also, make sure you click Clear System Cache after making any changes in the admincp.)
|
|
Can you post your conversation_fields template content. Also, make sure that template is created in the style that you are using. And, can you turn on AdminCP > Settings > Options > General Settings > Show Template Name in HTML > Yes.
|
|
The template is being read (you can see the name in the page source), but it is totally blank.
How many styles do you have in the admincp > Style Manager? And did you add the template to each of the styles? |
Only one Style :) the default style
|
Can you remove the condition statements from the template and then see if it works. Are you sure the user who's post you are looking at has entered something for field5?
(Also, in the template, line 3 is a duplicate of line 1 - why do you have that line twice?) |
"Can you remove the condition statements from the template"
D: how :P ? my english is really horrible and i have no idea from scripting. Yes i am sure because i looked on my profile :). I removed the duplicated line :D |
I mean remove the <vb:if...> and </vb:if> lines from your template, like this and then see what is in the page source:
HTML Code:
{vb:data userInfo, user, fetchProfileInfo, {vb:raw conversation.userid}} |
Nothing changed :/ still not working
|
There is still nothing showing up in the page source which means either the template is blank or it is calling a non-existing template.
edit: I just noticed the page source is looking for the template "converstation_fields" You have spelled it wrong in your plugin (or you gave the template the wrong name - one of those). In my tutorial, I call it the "conversation_fields" template. So, double-check your template names. |
Everything is correct :s no mistake
|
Not according to your images.
This one says "conversation_fields" - http://prntscr.com/400ehu This one says "converstation_fields" (as does your page source) - http://prntscr.com/3zv4wr So, which did you change and to what? |
oh my fault.
I have changed now converstation_fields to conversation_fields but still nothing changed |
1 Attachment(s)
|
:o i couldn't see it while i checked :o
Maby i had a bad html again. Now i can see it aswell :3 Thanks for your help !! |
All times are GMT. The time now is 08:05 AM. |
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:
|