![]() |
including user name in forum title
Does anyone know hot to include the users name in the forum title?
I thought you use to be able to use $username, but that does not work. |
$bbuserinfo[username]
|
Quote:
|
You can probably do a find and replace in templates
find: </title> replace: $bbuserinfo[username]</title> That would add the username at the end of the title. |
Quote:
What I did is created one forum and set the permissions so that only the users that post in that forum can see there own posts and no one else can see them. Then I titled that forum "My to do list". What I want to do is replace "My" with the users name that is viewing the forum titles. So if I am viewing the forum listing it will show "attroll to do list". |
Then edit your SHOWTHREAD and FORUMDISPLAY templates. Add this for the <title> tag:
Code:
<title> |
Quote:
Thanks --------------- Added [DATE]1195955418[/DATE] at [TIME]1195955418[/TIME] --------------- Well I tried it but there is already a few <if> statements in the code and I can not seem to get it working. I may be doing something wrong or am screwing up the <if> commands. This is the code that is in the two you said to change but to place the code you sent I can not get it working properly. Could you direct me where to place to code please. SHOWTHREAD Code:
Code:
<title>$foruminfo[title_clean]<if condition="$pagenumber>1"> - <phrase 1="$pagenumber">$vbphrase[page_x]</phrase></if> - $vboptions[bbtitle]</title> |
If you can get it done, can u please show us a screen shot please?
|
All times are GMT. The time now is 03:34 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|