PDA

View Full Version : Showthread title


coberr
27 Dec 2009, 19:05
I would to add also the foru display title in the SHOWTHREAD for the <title>

Currenly I have the following:
<title>{vb:raw thread.prefix_plain_html} {vb:raw thread.title}</title>

What Do I need to do in the vb4 to get the following result for the <title> tag.

Exaple on vbulletin.org/forum

<title> Showtrhead title - vB4 Programming Discussions </title>

What syntax I need to use in the <title> in SHOWTHREAD to get the:

<title>{vb:raw thread.prefix_plain_html} {vb:raw thread.title} - vB4 Programming Discussions </title>

Thanks.

MARCO1
27 Dec 2009, 19:13
Try this :


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

coberr
27 Dec 2009, 19:24
Thanks but seems that doesnt works.

<title>{vb:raw thread.prefix_plain_html} {vb:raw thread.title} - - </title>

It shows me just "-" instead vB4 Programming Discussions.

Really strange, in the ForumDisplay Works.

MARCO1
27 Dec 2009, 20:16
Let me try it when I back to home.

coberr
28 Dec 2009, 11:09
Hi, did you try at home?

In vb 3.7-8 I didnt have problems with that.

winstone
28 Dec 2009, 12:05
create a plugin with following code:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


Product: vBulletin
Hook Location: showthread_complete

save and activate the plugin
in SHOWTHREAD template, find

Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


replace with

Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

coberr
28 Dec 2009, 13:12
Thanks you for your time.

Works perfectly.