vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin Pre-Sales Questions (https://vborg.vbsupport.ru/forumdisplay.php?f=26)
-   -   postbit_legacy help ! (https://vborg.vbsupport.ru/showthread.php?t=328027)

Tatta 06-04-2020 07:04 PM

Quote:

Originally Posted by snakes1100 (Post 2603197)
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.

Quote:

Originally Posted by Seven Skins (Post 2603199)
In the postbit template of you style

find


Replace


PS. if someother hack is using this hook it may not display properly.

Try and See .. you can always revert back.


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 :)

PinkMilk 06-04-2020 07:16 PM

Quote:

Originally Posted by Tatta (Post 2603207)
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 :)

In that case your either logged out (it happens this place seems to have a timeout) or you dont have a licence hense posting in the presales forums.

Tatta 06-04-2020 07:28 PM

Quote:

Originally Posted by PinkMilk (Post 2603208)
In that case your either logged out (it happens this place seems to have a timeout) or you dont have a licence hense posting in the presales forums.

I have a licence but I can not remember my Custmer ID and Pass ...

I wrote to the support but I have not received an answer so far .

snakes1100 06-04-2020 08:57 PM

my post updated

Tatta 06-05-2020 09:48 AM

Quote:

Originally Posted by snakes1100 (Post 2603197)
<vb:if condition="$post['fieldX']"><dt>{vb:rawphrase custom_status}</dt> <dd>{vb:raw post.fieldX}</dd></vb:if>
<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.

Thanks for you help ( :up: ) , but it must be a plugin in my case .

Do you know how to do it whit a plugin ?

The plugin is : {vb:raw template_hook.postbit_userinfo_left}

shka 06-05-2020 10:24 AM

{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.

Tatta 06-05-2020 10:39 AM

Quote:

Originally Posted by shka (Post 2603217)
{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.

<vb:if condition="!empty($post['dbtech_status_status']) || !empty($vboptions[dbtech_status_default])">
<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>
&nbsp;
<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 ?

In Omnibus 06-05-2020 10:49 AM

Quote:

Originally Posted by Tatta (Post 2603209)
I have a licence but I can not remember my Custmer ID and Pass ...

I wrote to the support but I have not received an answer so far .

That's not our problem. No one should be posting code in the pre-sales forums. It's a violation of our licensing agreement and could us to lose our own licenses if vBulletin wanted to press the issue.

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.

snakes1100 06-06-2020 10:42 AM

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.

Tatta 06-07-2020 09:16 AM

Quote:

Originally Posted by snakes1100 (Post 2603222)
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.

This is the answer I get from the support :

"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 12:59 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
  • Page Generation 0.01131 seconds
  • Memory Usage 1,750KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete