![]() |
postbit_legacy help !
Hello everyone !
Now , its looks like this : https://prnt.sc/si28wi I need help . I would in postbit add a special category for the " Status " . For example like this : https://prnt.sc/si2c1j Thanks in advance :) |
Bump ... anyone who can me help ?
|
You have to use the same class/html markup/tags etc for your custom profile fields as other profile fields.
Have a Look at postbit template. |
Quote:
Code:
{vb:raw template_hook.postbit_start} |
Looks like this is added with the product/plugin .. is it?
look for a plugin at location "postbit_userinfo_left" |
Quote:
{vb:raw template_hook.postbit_userinfo_left} But , I dont know how to put it in a frame whit the prefix " Status : " like in the picture I post here . Do you know how ? |
<font color="Red"><vb:if condition="$post['fieldX']"><dt>{vb:rawphrase custom_status}</dt> <dd>{vb:raw post.fieldX}</dd></vb:if></font>
<vb:if condition="$post['joindate']"><dt>{vb:rawphrase join_date}</dt> <dd>{vb:raw post.joindate}</dd></vb:if> <vb:if condition="$post['field2']"><dt>{vb:rawphrase location_perm}</dt> <dd>{vb:raw post.field2}</dd></vb:if> <vb:if condition="$post['age']"><dt>{vb:rawphrase age}</dt> <dd>{vb:raw post.age}</dd></vb:if> <dt>{vb:rawphrase posts}</dt> <dd>{vb:raw post.posts}</dd> If the phrase for the plugin exists, you need to call it, i used "custom_status" only as an example, if not you will need to create your own phrase. You will need to find out which field it is as well, as "fieldX" isnt valid, as an example of line 3 uses field2. You dont need a plugin to do this anyways. |
In the postbit template of you style
find HTML Code:
{vb:raw template_hook.postbit_userinfo_left} HTML Code:
<dl class="userinfo_extra"> Try and See .. you can always revert back. |
Thats not going to work, in his 2 images he linked to the status isnt in the 1st pic, so he is going to have to call the field.
|
The hook is out of DL tags hence no css formatting is taking place, if the plugin is configured properly this will work.
|
Quote:
Quote:
Thank you both for your help , but I dont see the [/code] . https://prnt.sc/stymr0 Can you please this post in a normal post without [/code] ? Thanks :) |
Quote:
|
Quote:
I wrote to the support but I have not received an answer so far . |
my post updated
|
Quote:
Do you know how to do it whit a plugin ? The plugin is : {vb:raw template_hook.postbit_userinfo_left} |
{vb:raw template_hook.postbit_userinfo_left} isn't a plugin, it is the hook the plugin/addon is using.
I found a site where you are using vB4.2.5 and the status is generated by this addon https://vborg.vbsupport.ru/showthrea...ghlight=dbtech So you have to find the template, where "<div id="dbtech_status_status">..." is generated. |
Quote:
<span class="rank"> <div id="dbtech_status_status{vb:var post.postid}"> <div id="dbtech_status_statustext{vb:var post.postid}" style="display:inline;"> <vb:if condition="$post['dbtech_status_status']"> {vb:raw vboptions.dbtech_status_prefix} {vb:raw post.dbtech_status_status} <vb:else /> {vb:raw vboptions.dbtech_status_default} </vb:if> </div> <vb:if condition="$show['dbtech_status_change']"> <a style="cursor: pointer;" href="javascript://" onclick="return FBStatus{vb:var post.postid}.init_edit_status();"> <img src="{vb:stylevar imgdir_button}/edit_40b.png" alt="{vb:rawphrase edit}" /> </a> </vb:if> </div> <div style="display:none;" id="dbtech_status_controls{vb:var post.postid}"> <input type="text" tabindex="1" value="" id="dbtech_status_input{vb:var post.postid}" name="status" class="primary textbox" style="width:95%; margin: 1px;" /><br /> <input type="button" class="button" value="{vb:rawphrase save}" onclick="return FBStatus{vb:var post.postid}.save_edit_status();" /> <input type="button" class="button" value="{vb:rawphrase cancel}" onclick="return FBStatus{vb:var post.postid}.cancel_edit_status();" /> </div> </span> <vb:if condition="$vboptions['dbtech_status_moodenabled'] == 0"> <script type="text/javascript"> <!-- // Initialise the object var FBStatus{vb:var post.postid} = new FBStatus_Obj(); // Set the userid FBStatus{vb:var post.postid}.set_userid('{vb:raw post.userid}', '{vb:var post.postid}'); // Init editors <vb:if condition="$vboptions['dbtech_status_moodenabled'] == 1">FBStatus{vb:var post.postid}.set_mood_editors();</vb:if> <vb:if condition="$vboptions['dbtech_status_enabled'] == 1">FBStatus{vb:var post.postid}.set_status_editors();</vb:if> // --> </script> </vb:if> </vb:if> Here is the tamplate ... what now ? |
Quote:
You need to contact sales@vbulletin.com and wait for their response. I'm glad people are willing to help you but it should not be at their own risk. |
If you're using dbtech's addon, then you need to get support from his site.
If that addon has a feature to enable a status in the page/template & it dont work, then again you need to get support from them. |
Quote:
"These kinds of customisations are beyond the scope of support, sorry." :( That's why I asked you for help ... |
All times are GMT. The time now is 03:28 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:
|