The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Info box on Postbit Details »» | |||||||||||||||||||||||||||||||||||
The addon allows you to back inside the post fieldx certain user in the user panel, that information is collected in an infobox retrieved via button, the box is returned immediately after signature.
Everything began to this modification Show Users System Specs. Sorry for English but is the result of an online translator The addon has the following options:
Limitations information is contained in two columns, the fields and their labels will appear only if the fields contain user data. The first column shows the fieldx 1 to 4, while in the second fieldx 5-8. The recall button infobox appears only if at least one selected user to infobox field contains the value and if the forum is part of those selected in the options. Install: Upload images/buttons Import product_infobox.xml Configure in vBulletin Options -> CT Info box This plugin adds: 2 template ct_info_box ct_info_button 3 plugin 40 phrase Changelog 17.08.2010 add option automatic/no automatic label fieldx 10.07.2011 Version 4.1.0 (beta) released [before proceeding with the installation read here] 14.07.2011 Version 4.1.1 (beta) (Add option show guest or only member; Add option move button infobox) 29.07.2011 Version 4.1.2 change status from beta to stable 06.08.2011 Version 4.1.3 rewrite code button show/hide 26.11.2011 Version 4.1.4 add fourth column Translations for version 4.0.2 Italian language: Collectiontricks Arabic language: Dr.osamA from version 4.1 has changed the structure of the plugin read this before you proceed Attention: the plugin adds to the bottom of the page a link to the site author Download Now
Show Your Support
|
Comments |
#52
|
||||
|
||||
@Taurus1
This change should be sufficient Go to admincp -> Plugin & Products -> Plugin Manager -> Product : CT Info box Edit plugin Info Box find: Code:
if ($ctinfo['button']) { $templater = vB_Template::create('ct_info_button'); $templater->register('post', $post); $templater->register('ctinfo', $ctinfo); $template_hook['postbit_controls'] .= $templater->render(); } Code:
if ($ctinfo['button']) { $templater = vB_Template::create('ct_info_button'); $templater->register('post', $post); $templater->register('ctinfo', $ctinfo); $ctinfo['pbutton']= $templater->render(); } add this variable {vb:raw ctinfo.pbutton} in the templates postbit or postbit_legacy to the desired position regards |
Благодарность от: | ||
Taurus1 |
#53
|
|||
|
|||
Looks like a good MOD but doesn't display Multi-select Checkbox information.
Here is the out put of multi-check box: 121379053 (instead of reading, writing, soccer etc). Appreciate help! |
#54
|
||||
|
||||
Unfortunately, the multi-value fields is a limitation of this plugin
https://vborg.vbsupport.ru/showpost....0&postcount=34 Regards |
#55
|
||||
|
||||
Quote:
Code:
{vb:raw ctinfo.pbutton} |
#56
|
||||
|
||||
released version 4.1.1 beta
Add option show guest or only member Add option move button infobox Quote:
Activated Regards |
#57
|
||||
|
||||
Thank you so much for the update. I can now insert the button anywhere, but if I insert it let's say to the left of the 'promote to article' link, then the text is there, but the button is missing. Why would that be?
|
#58
|
||||
|
||||
problems with css, in your case you need to change the template ct_info_button
find: Code:
<style type="text/css"> <vb:if condition="$vboptions['ct_infobox_autobutton']"> .postbitlegacy .postfoot .textcontrols a.post_info_button, .postbit .postfoot .textcontrols a.post_info_button { background: url({vb:stylevar imgdir_button}/post_infobox.png) no-repeat transparent {vb:stylevar left}; padding-{vb:stylevar left}: 20px; } .postbitlegacy .postfoot .textcontrols a.post_info_button:hover, .postbit .postfoot .textcontrols a.post_info_button:hover { background: url({vb:stylevar imgdir_button}/post_infobox-hover.png) no-repeat transparent {vb:stylevar left}; } <vb:else /> a.post_info_button{ background: url({vb:stylevar imgdir_button}/post_infobox.png) no-repeat transparent {vb:stylevar left}; padding-{vb:stylevar left}: 20px; } a.post_info_button:hover {background: url({vb:stylevar imgdir_button}/post_infobox-hover.png) no-repeat transparent {vb:stylevar left};} </vb:if> </style> Code:
<style type="text/css"> .postbitlegacy .postfoot .textcontrols a.post_info_button, .postbit .postfoot .textcontrols a.post_info_button { background: url({vb:stylevar imgdir_button}/post_infobox.png) no-repeat transparent {vb:stylevar left}; padding-{vb:stylevar left}: 20px; } .postbitlegacy .postfoot .textcontrols a.post_info_button:hover, .postbit .postfoot .textcontrols a.post_info_button:hover { background: url({vb:stylevar imgdir_button}/post_infobox-hover.png) no-repeat transparent {vb:stylevar left}; } </style> |
#59
|
|||
|
|||
Bugs discovered:
1. When "Show infobox button" set to no and guests set to no they can still see the box. (not the button only box) 2. When "Show infobox button" set to no and user have no input a little empty box appears under each post. 3. In case number 1 i mentioned above column B still in place while column A empty when user has no column A inputs (guest mode) but it's working fine for registered users mode. |
#60
|
||||
|
||||
sorry
Are you sure you have installed the 4.1.1? as were the bugs 4.1.0, which is not reflected in 4.1.1 installed in the test Thanks PS. on 4.1.1 I have this as the first instruction Code:
if ($this->registry->options['ct_infobox_guest'] OR $show['member']) { |
#61
|
||||
|
||||
Quote:
Thank you very very much! It now works and looks great!! :up: |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|