The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Благодарность от: | ||
mohammadxxx |
Comments |
#22
|
|||
|
|||
Quote:
|
#23
|
||||
|
||||
Quote:
@ slipkot: search in template "ewt_forumdisplay_threaddesc" Code:
<span class="lable" style="color:gray; font-size:12px; font-style:italic"><img class="inlineimg" src="images/strela_w.gif" border="0" alt="">{vb:raw thread.threaddesc}</span><br> After Code:
border="0" Code:
valign="center" Code:
valign="bottom" Quote:
Code:
{vb:raw thread.thread_description} |
#24
|
||||
|
||||
Code:
<span class="lable" style="color:gray; font-size:12px; font-style:italic"><img class="inlineimg" src="images/strela_w.gif" border="0" alt="">{vb:raw thread.threaddesc}</span><br> Have I done sth wrong? |
#25
|
||||
|
||||
Quote:
Go to the settings of the thread thumbnails modification in the control panel of your forum and you will find this option there. If you do this everything would be fine as all text will start next to the image from the same vertical position. This was just an idea.... In the case that sb wants to keep the images before thread icons I guess sb must provide a new html script to change in the appropriate templates so as the position of the text to appear correctly. |
#26
|
||||
|
||||
Quote:
The template is: ewt_forumdisplay_threaddesc |
#27
|
||||
|
||||
Quote:
About how to display the description editing when you edit a thread, it's a bit complicated, so until now, I have the answer for it. @ tieuquynhi: Update th?m phần chỉnh Description khi Edit Thread cho tiện nh? =================================== In "threadadmin_editthread", find: Code:
<img id="display_posticon" class="inlineimg" src="{vb:raw selectedicon.src}" alt="{vb:raw selectedicon.alt}" /> </div> Add Below: Code:
{vb:raw editthreaddesc} And now creat some new plugins (AdminCP -> Add New Plugin). Choose "Product" of All Plugins: EWT - Thread Description 1. Thread Description - Edit Thread [Template Alteration] Hook Location: threadmanage_start Code:
$templater = vB_Template::create('ewt_editpost_threaddesc'); $templater->register('threaddesc', $threaddesc); $editthreaddesc .= $templater->render(); vB_Template::preRegister('threadadmin_editthread',array('editthreaddesc' => $editthreaddesc)); 2. Thread Description: Edit Thread Description Update Hook Location: threadmanage_update Code:
$threadman->set('threaddesc', $edit['threaddesc']); 3. Thread Description: Edit Thread Variable Prep Hook Location: threadmanage_update Execution Order: 4 (Only needed if you cannot update your description) Code:
$vbulletin->input->clean_gpc('p', 'threaddesc', TYPE_STR); $edit['threaddesc'] =& $vbulletin->GPC['threaddesc']; $edit['threaddesc'] = unhtmlspecialchars($edit['threaddesc']); 4. Thread Description: Variable For Edit Thread Hook Location: threadmanage_start Execution Order: 4 (Recommended. To make sure your existing description will be displayed in Text Box) Code:
$threaddesc = $threadinfo['threaddesc']; Done. Finally, please do carefully before asking questions |
#28
|
|||
|
|||
Tagged,looks useful this
|
#29
|
||||
|
||||
Quote:
You have to increase the ''Dimensions of the Threadbit Status Icon'' This option is in your templates stylevars - - -> Threadbit - - -> Threadbit iconsize. Remember, to put the thumbnail before the thread icon! I tested this to my forum and it worked. Try it and it may work for you, too! |
#30
|
||||
|
||||
Could KaiStone please re-describe the html script alterations using more detailed and more understandable description?
Can anybody else please do that if possible? ______________________________________ I also attached a simple txt file made by me for personal use with all the instructions (html script alterations) to make this mod work. I hope this does not go against the vBulletin.org forum rules. hope you like it. If I have mistakes in the english language, or any other mistakes in the instructions given please update the file and I will remove mine. Regards, <Mikevet1984> |
#31
|
||||
|
||||
Quote:
And in step Add New Plugin, go to AdminCP, choose "Add New Plugin". If you can't find it, choose "Explain All" at the Top of the Left Frame, and search "Add New Plugin" -> Click. A new page will be displayed in the Right Frame, choose settings like the guide, paste the Code, and Remember choose "Plugin is Active" is "Yes" to make the new plugin works. If you forgot choose Active the Plugin, go to "Plugin Manager", search for Plugin Name (like Plugin Name in the Guide), click it to Edit, and choose "Yes" in "Plugin is Active" option. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|