The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#152
|
|||
|
|||
No matter settings in admincp sticky post looks the same ? what am I doing wrong ? TIA
edit: ok I had to run the plugin accelerator first and again, how to reduce the thickness of the separating bar ? |
#153
|
|||
|
|||
I did thin it like this:
In file "product-separate.xml" FIND Code:
<template name="FORUMDISPLAY_Separate2" templatetype="template" date="1148491155" username="gizli" version="3.5.4"><![CDATA[<tr><td class="thead" colspan="<if condition="$show['threadicons']">7<else />6</if>"> </td></tr>]]></template> Code:
<template name="FORUMDISPLAY_Separate2" templatetype="template" date="1148491155" username="gizli" version="3.5.4"><![CDATA[<tr><td class="thead" style="height: 5px; padding: 0; font-size: 0" colspan="<if condition="$show['threadicons']">7<else />6</if>"> </td></tr>]]></template> After the change, import the product (overwrite old product if necessary) and have fun. It only changes the thickness for style 1 since it doesn't make sense to me to do this for separators with text in them Djamil |
#154
|
|||
|
|||
Thanks Djamil, this should work fine
|
#155
|
|||
|
|||
Guys Im trying to implement this feature and am receiving the following error.
XML Error: Reserved XML Name at Line 1 What have I done wrong? Code:
<?xml version="1.0" encoding="ISO-8859-1" ?> - <product productid="1908" active="1"> <title>Separate Sticky and Normal Threads</title> <description>Separate Sticky and Normal Threads</description> <version>1.20</version> <apm_releasedate>1142722800</apm_releasedate> <apm_author>Atakan KOC</apm_author> <apm_relatedurl>https://vborg.vbsupport.ru/showthread.php?t=110795</apm_relatedurl> <apm_extrainfo /> <apm_extraedit /> <codes /> - <templates> - <template name="FORUMDISPLAY_Separate" templatetype="template" date="1142791272" username="Reminder" version="3.5.4"> - <![CDATA[ <tr><td class="thead" colspan="<if condition="$show['threadicons']">7<else />6</if>">$vbphrase[delim_normal]</td></tr> ]]> </template> - <template name="FORUMDISPLAY_Separate_top" templatetype="template" date="1142791233" username="Reminder" version="3.5.4"> - <![CDATA[ <tr><td class="thead" colspan="<if condition="$show['threadicons']">7<else />6</if>"><strong>$vbphrase[delim_sticky]</strong></td></tr> ]]> </template> </templates> - <plugins> - <plugin active="1"> <title>Separate Sticky and Normal Threads</title> <hookname>forumdisplay_complete</hookname> - <phpcode> - <![CDATA[ if ($vbulletin->options['gosterx1']) { eval('$bolx1 = "' . fetch_template('FORUMDISPLAY_Separate_top') . '";'); eval('$bolx2 = "' . fetch_template('FORUMDISPLAY_Separate') . '";'); $threadbits_sticky = "$bolx1".$threadbits_sticky."$bolx2"; } ]]> </phpcode> </plugin> </plugins> - <phrases> - <phrasetype name="GLOBAL" fieldname="global"> - <phrase name="delim_normal"> - <![CDATA[ Normal Threads ]]> </phrase> - <phrase name="delim_sticky"> - <![CDATA[ Sticky Threads ]]> </phrase> </phrasetype> - <phrasetype name="vBulletin Settings" fieldname="vbsettings"> - <phrase name="setting_gosterx1_desc"> - <![CDATA[ If separate want; yes choose ]]> </phrase> - <phrase name="setting_gosterx1_title"> - <![CDATA[ Separate Sticky and Normal Threads ]]> </phrase> </phrasetype> </phrases> - <options> - <settinggroup name="forumdisplay" displayorder="420"> - <setting varname="gosterx1" displayorder="240"> <datatype>boolean</datatype> <optioncode>yesno</optioncode> <defaultvalue>1</defaultvalue> </setting> </settinggroup> </options> </product> |
#156
|
|||
|
|||
If you want a color in style2 change vbphrase "$vbphrase[delim_sticky]" into
Code:
<span style="color: red;">Sticky Threads</span> |
#157
|
|||
|
|||
Thx for the update!
|
#158
|
|||
|
|||
Quote:
Djamil |
#159
|
||||
|
||||
Install
|
#160
|
|||
|
|||
Installed and works great.
Thanks!! |
#161
|
|||
|
|||
Thanks
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|