The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Postbit - Profile Field
Hi All,
I have a slight modification where a user profile field has been added below each signature in postbit: $post[signature] $post[field8] But.... On a special forum I want to post Research Information (with HTML) where the signatures AND the $post[field 8] information spoils the post. I have turned off the Signature but the other is still there. Can anyone advise how to change this please? Best regards to all, Dave |
#2
|
||||
|
||||
Can you post images of the problem? I really don't get a clear picture of how a field can "spoil" a signature.
|
#3
|
||||
|
||||
Hi Lynne,
Thanks for the reply. The profile field is not spoiling the signature (I am happy with that!) its that its spoiling a special forum where posts are for Research information. Here is a simple post with the profile field at the bottom: Quote:
Where would I put this code for the signature? $post[field8] ? Thanks, Dave |
#4
|
||||
|
||||
If you want to add it into the signature, this is what you want to look for in the postbit (or postbit_legacy, whichever you use):
HTML Code:
$template_hook[postbit_signature_start] <if condition="$post['signature']"> <!-- sig --> <div> __________________<br /> $post[signature] </div> <!-- / sig --> </if> $template_hook[postbit_signature_end] |
#5
|
||||
|
||||
Thanks Lynne,
Sorted it. Thanks for your help. The only problem is if they have no signature, the field ($post[field8]) will not show........ How could I get it to show even if the signature is blank? Another question Lynne on the same field. This $post[field8] is a number of names each member is researching, for example mine is: Admin Hallam, Wilson, Harris, Crowder, Lane, Crisp, Naylor, Downs Is there anyway of adding a separate VBulletin page to display all members and their names ($post[field8]) (with an alphabetical search menu similar to what we see in memberlist.php) - basically the same as memberlist! Thanks again, Dave |
#6
|
||||
|
||||
Quote:
Quote:
|
#7
|
||||
|
||||
Thanks again Lynne. That sorted it.
Now to have a go at displaying that field. Could I just copy and edit memberlist.php (calling it something else!) and show the fields against each member there? All I would need is the Username, Field, PM (Contact), Regards and thanks, Dave |
#8
|
||||
|
||||
You could try copying memberlist.php to something like memberlist2.php and see if you can get it how you want. You may have to copy some templates and change the template name in that page if you need to. I actually do this sort of thing all the time on my forum when I'm working on something new and don't want to screw up the original.
|
#9
|
||||
|
||||
Yep! I will try that Lynne - Thanks
Going back the that field, I have a forum (id=88) that I need to not show anything, apart from the actual post. Obviously when posting un-ticking "show your Signature", but that field was showing STILL ....../ So I added a if condition as follows: Quote:
many thanks, Dave |
#10
|
||||
|
||||
Try one of these in place of $forumid:
$forum[forumid] $foruminfo[forumid] $thread[forumid] $threadinfo[forumid] $GLOBAL[forumid] |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|