View Single Post
  #17  
Old 06-05-2020, 10:39 AM
Tatta Tatta is offline
 
Join Date: May 2020
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by shka View Post
{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 ?
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01032 seconds
  • Memory Usage 1,769KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete