View Full Version : Forum Display Enhancements - [Convert] Thread Description V2
tieuquynhi
12-01-2010, 10:00 PM
This Addon I was converted from EWT - Thread Description (I cannot find any that addon in previous vbulletin version in forum)
Compatible with all VBB 4x versions
Product features:
- Added description field to Post New Thread
- Added description field to Edit Post Advanced for First Post
- Show description in Forumdisplay
Template Edit:
Template: editpost
Find:
<img id="posticon_preview" src="{vb:raw selectedicon.src}" alt="{vb:raw selectedicon.alt}" title="Selected post icon" />
</div>
Add Below:
{vb:raw postinfo.thread_description}
Template: newthread
Find:
<img id="display_posticon" src="{vb:raw selectedicon.src}" alt="{vb:raw selectedicon.alt}" />
</div>
Add Below:
{vb:raw newpost.thread_description}
Template: threadbit
Find:
<div class="author">
Add Below:
{vb:raw thread.thread_description}
Dr.osamA
12-02-2010, 05:06 AM
5 Stars
installed
Question:
Do you know these words on Google?? or Is useful in archiving?
Can you provide us the arrow image from right to left?
thank you bro
JAFRI
12-02-2010, 05:24 AM
Thanks, Good Work
JAFRI
12-02-2010, 06:05 AM
font-size:10px; font-style:normal"
Kraxell
12-02-2010, 08:52 AM
thank you, i tagged it.
tieuquynhi
12-02-2010, 11:27 PM
Do you know these words on Google?? or Is useful in archiving?
Can you provide us the arrow image from right to left?
thank you bro
Sr i don't understand your question?
Can you provide us the arrow image from right to left?
It's in folder images in my archive file
NarutoFTW
12-02-2010, 11:44 PM
Holy smoke, this is great
hayaldunya
12-03-2010, 06:28 AM
good friend..
Arrogant-One
12-03-2010, 03:53 PM
Sr i don't understand your question?
It's in folder images in my archive file
Does this improve SEO?
tieuquynhi
12-04-2010, 12:38 AM
Does this improve SEO?
Maybe!
But i not sure about this :)
Skyrider
12-04-2010, 12:08 PM
Can this be limited to specific sections and or usergroups?
final kaoss
12-04-2010, 05:46 PM
1 star given for blatantly copying Invision.
Dr.osamA
12-04-2010, 06:51 PM
[QUOTE=tieuquynhi;2128613]Sr i don't understand your question?
if it is useful in archiving in google an other serchers or and in VBSEO ??
Can you provide us the arrow image from right to left?
there are one arrow from left to right ,and what i need it is from from right to left
sorry for my English....
i hope you now understand mi sir
thank you :up:
COL NIL SATIS
12-04-2010, 06:52 PM
tagged!!!
tieuquynhi
12-06-2010, 02:02 AM
Can you provide us the arrow image from right to left?
Sr i haven't that image. But you can rotate original image :)
Wird0
12-06-2010, 06:00 PM
Installed and working on 4.1 p2. Would be nice if this would come up on a search result to. Also would be nice if we can search for things we provide in the description. Where can we change the collor of the text?
tieuquynhi
12-07-2010, 12:11 AM
In 3 temp to edit. You can edit text in there. Example:
Template: threadbit
Find:
<div class="author">
Add Below:
<font color=red>{vb:raw thread.thread_description}</font>
slipkot
12-17-2010, 04:37 PM
I have the following alligment problem only to threads i use thread description with the phrase "Started by shooterg24, Today 13:44" As you can see in the image i have attached it isn't centered and excactly down from the description. At threads that doesn't use description it's ok. Please provide a fix. Thanks
Is there any way to make the description show up on SHOWTHREAD?
edit: And when editing a thread?
haidm
12-20-2010, 03:10 AM
Is there any way to make the description show up on SHOWTHREAD?
edit: And when editing a thread?
Same question.
slipkot
12-20-2010, 09:20 AM
I have the following alligment problem only to threads i use thread description with the phrase "Started by shooterg24, Today 13:44" As you can see in the image i have attached it isn't centered and excactly down from the description. At threads that doesn't use description it's ok. Please provide a fix. Thanks
bump
KaiStone
01-06-2011, 12:11 PM
I have the following alligment problem only to threads i use thread description with the phrase "Started by shooterg24, Today 13:44" As you can see in the image i have attached it isn't centered and excactly down from the description. At threads that doesn't use description it's ok. Please provide a fix. Thanks
Trả lời hộ ?ng bạn VN :">
@ slipkot: search in template "ewt_forumdisplay_threaddesc"
<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>
You can add "align" value to control the image location, it's BASIC HTML. My advice: Learn HTML (at least) before having a forum.
After
border="0"
Add this
valign="center"
Or you can try
valign="bottom"
Do a research to find some other values.
Is there any way to make the description show up on SHOWTHREAD?
edit: And when editing a thread?
If you wanna the description show on SHOWTHREAD, please Edit SHOWTHREAD template. Put:
{vb:raw thread.thread_description}
To anywhere you want. I don't know where you want, so do it yourself :D
Mikevet1984
01-06-2011, 02:00 PM
<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>
I find no such phrase in the "ewt_newpost_threaddesc" template.
Have I done sth wrong?
Mikevet1984
01-06-2011, 02:08 PM
I have the following alligment problem only to threads i use thread description with the phrase "Started by shooterg24, Today 13:44" As you can see in the image i have attached it isn't centered and excactly down from the description. At threads that doesn't use description it's ok. Please provide a fix. Thanks
To fix this problem an idea would be to change the Thumbnail Location after threadicon.
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.
KaiStone
01-06-2011, 02:11 PM
<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>
I find no such phrase in the "ewt_newpost_threaddesc" template.
Have I done sth wrong?
OH NO =)) Sorry my mistake =)) Maybe my eyes have some problems =))
The template is: ewt_forumdisplay_threaddesc
KaiStone
01-06-2011, 05:39 PM
Is there any way to make the description show up on SHOWTHREAD?
edit: And when editing a thread?
About how to make the description show on SHOWTHREAD, I've answer.
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? :D
===================================
In "threadadmin_editthread", find:
<img id="display_posticon" class="inlineimg" src="{vb:raw selectedicon.src}" alt="{vb:raw selectedicon.alt}" />
</div>
Add Below:
{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
$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
$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)
$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)
$threaddesc = $threadinfo['threaddesc'];
Done.
Finally, please do carefully before asking questions :D
COL NIL SATIS
01-06-2011, 05:44 PM
Tagged,looks useful this
Mikevet1984
01-06-2011, 06:47 PM
I have the following alligment problem only to threads i use thread description with the phrase "Started by shooterg24, Today 13:44" As you can see in the image i have attached it isn't centered and excactly down from the description. At threads that doesn't use description it's ok. Please provide a fix. Thanks
Man, I found the solution to your problem!
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!
Mikevet1984
01-08-2011, 06:58 PM
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>
KaiStone
01-09-2011, 06:49 AM
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''
threadadmin_editthread is a template. Edit it like you edited "editpost", "newthread" and "threadbit".
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.
raicars
01-09-2011, 07:13 AM
Mark install.
Cảm ơn bác tieuquynhi (he)
Mikevet1984
01-10-2011, 11:04 AM
Kaistone, can you please give me instructions where exactly to add the html script for the thread description to be shown inside the 1st post where the two arrows are pointing, below the thread title.
http://www.imagerous.com/images/89923514085100131010.jpg
KaiStone
01-11-2011, 12:32 AM
Give me the Template Code inside your SHOWTHREAD template, I'll add it for you.
Mikevet1984
01-11-2011, 11:33 AM
Thank you Kaistone!
I uploaded a txt attachment of the showthread template of my forum.
I will be waiting for your reply!
If possible please write also the procedure in public in order all members to get informed from your valuable tutorial.
Thank you again in advance.....
Regards!
KaiStone
01-11-2011, 02:09 PM
Creat New Plugin (Don't ask me how to do it again)
Product: EWT - Thread Description
Hook Location: showthread_complete
Code (Don't forget choose Plugin is Active: YES)
$templater->register('thread', $thread);
About how to edit your SHOWTHREAD template, just add "{vb:raw thread.threaddesc}" in anywhere you want it to display.
I don't answer the question "how do I know where to put it inside the template?". Just learn HTML (simple)
This is your new SHOWTHREAD template content. And this is the final support. For any further question, ask tieuquynhi.
Mikevet1984
01-11-2011, 02:14 PM
Thank you, KaiStone!
You are the best! No need for further question as I now think all support and tutorials for this mod has now been given.
By the way, in your last plug-in in the previous post you did not give a title to name it.
Product: EWT - Thread Description
Hook Location: showthread_complete
Title?
Thanks again for everything!
Regards!
Mikevet1984
01-11-2011, 11:23 PM
Just installed the KaiStone's modifications and work great!
KaiStone you are a great contributor! Thank you!
If anybody knows how to add the animated arrow gif (strela_w.gif)just before the thread description in the SHOWTHREAD just like it is displyed in the threadbits please share your knowledge here.
Regards!
lurch_cr
01-19-2011, 10:41 PM
Hey all,
Ive managed to get the desription to show on the SHOWTHREAD - thanks for that.
However I'm struggling to work out how to have the description show on search results. Primarily Newposts/Active Topics etc.
Help/Thoughts/suggestions?
Cheers,
Lurch
lurch_cr
01-19-2011, 11:50 PM
nevermind - got it
Mikevet1984
01-20-2011, 11:46 AM
lurch_cr if you managed to do it yourself why don't you share the knowledge with us....to help other members do that to their forums too?
Wseries
03-08-2011, 11:29 AM
Is there any way to restrict this to certain usergroups only?
Kyo-dono
04-13-2011, 08:04 AM
Is there any way to restrict this to certain usergroups only?
Same question here. Is this the only "Thread Description" addon for vB4?
Alecsmith
04-14-2011, 02:40 PM
Is there any way to restrict this to certain usergroups only?
I will add another request is it possible enabled this option in certain sections?
Mikevet1984
05-22-2011, 10:21 AM
Ιs it possible the thread description to be also visible when the threads are displayed through the search function?
lordnara
05-22-2011, 03:18 PM
installed, thanks mate :)
hdloaded
06-12-2011, 03:27 PM
thank you so much!!!!
:D:D:D
paolpepas
08-24-2011, 01:25 PM
Installed, excellent.
Why do not you see the thread description in the list of results when you search?
is possible, with a change, also included in the list of search results?
thanks
Aramist
08-24-2011, 02:46 PM
Works with CMS articles too ?
steve1966
08-24-2011, 06:23 PM
thank you rated nominated
Nook_Neformat
10-10-2011, 01:43 PM
Installed, excellent.
Why do not you see the thread description in the list of results when you search?
is possible, with a change, also included in the list of search results?
thanks
yes, it would be so great
studio814
11-20-2011, 04:29 PM
Thank you.
dang3rzon3
11-20-2011, 07:39 PM
it is possibile to use this mod only for vbulletin cms?
New Joe
02-02-2012, 04:26 PM
Any way for this to show on What's New?
JAFRI
01-18-2013, 09:34 AM
thread description add in navbar ? code not work, tell me about plugin.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.