The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
How do I change "Viewing Thread" to just "Viewing"?
Topic says it all really. I want to change in the whos online where it shows what people are viewing. I don't want it to say Viewing Thread blah blah, I want it to say Viewing blah blah.
Somebody help me with where to find it? |
#2
|
||||
|
||||
ok this "should" work:
in online.php find: Code:
$userinfo[where] = "Viewing Thread"; } else { $userinfo[where] = "Viewing Thread <a href='showthread.php?s=$session[sessionhash]&threadid=$userinfo[threadid]'>".$thread[title][$userinfo[threadid]]."</a>"; } break; Code:
$userinfo[where] = "Viewing Thread"; } else { $userinfo[where] = "Viewing <a href='showthread.php?s=$session[sessionhash]&threadid=$userinfo[threadid]'>".$thread[title][$userinfo[threadid]]."</a>"; } break; Code:
case 'showpost': if (!$thread[title][$post[$userinfo[postid]]] || !$forum[canview][$thread[forumid][$post[$userinfo[postid]]]] || (!$forum[canviewothers][$thread[forumid][$post[$userinfo[postid]]]] && $thread[postuserid][$post[$userinfo[postid]]] != $bbuserinfo[userid])) { $userinfo[where] = "Viewing Thread"; } else { $userinfo[where] = "Viewing Thread <a href='showthread.php?s=$session[sessionhash]&postid=$userinfo[postid]'>".$thread[title][$post[$userinfo[postid]]]."</a>"; } break; Code:
case 'showpost': if (!$thread[title][$post[$userinfo[postid]]] || !$forum[canview][$thread[forumid][$post[$userinfo[postid]]]] || (!$forum[canviewothers][$thread[forumid][$post[$userinfo[postid]]]] && $thread[postuserid][$post[$userinfo[postid]]] != $bbuserinfo[userid])) { $userinfo[where] = "Viewing Thread"; } else { $userinfo[where] = "Viewing <a href='showthread.php?s=$session[sessionhash]&postid=$userinfo[postid]'>".$thread[title][$post[$userinfo[postid]]]."</a>"; } break; I left in the just "Viewing Thread" as it'll just be "Viewing" with no url of any sort if they are, but the one that counts is the "viewing "url of thread+ name" Let me know if it works! Make sure you make a backup |
#3
|
||||
|
||||
you're really picky aren't you
just edit online.php as suggested. |
#4
|
||||
|
||||
Quote:
Now lets see if I can get this to work. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|