PDA

View Full Version : Prefixes


Amaury
08-21-2013, 07:20 PM
One of the reasons I don't have prefixes set and rather more sub-forums is because I don't like how the prefix shows up on the users' locations on Who's Online and profiles.

For example, "Viewing Thread [Resolved] Bug with the Forum." I would rather it just show, "Viewing Thread Bug with the Forum" and only have the prefixes display on FORUMHOME, the threadbit and the postbit.

Is it possible to make prefixes not show in the users' locations if a thread has a prefix?

Amaury
08-23-2013, 10:34 PM
Scratch that. I want to hide it on FORUMHOME, too, for the sake of space.

ozzy47
08-24-2013, 01:32 AM
Really how important is the prefix in the profile and WOL, it's not like thre are thousands of users looking at that info.

To remove it from forum home, ACP / Settings / Options / Forum Listings Display Options, set Show Thread Prefix in Last Post Column? to No

Amaury
08-24-2013, 01:42 AM
Really how important is the prefix in the profile and WOL, it's not like thre are thousands of users looking at that info.

To remove it from forum home, ACP / Settings / Options / Forum Listings Display Options, set Show Thread Prefix in Last Post Column? to No

Just because you don't find it useful or don't see a reason for it doesn't mean others don't.

And thanks for the FORUMHOME one.

ozzy47
08-24-2013, 01:52 AM
That is why I asked a reasoning behind it. :)

Lynne
08-24-2013, 01:56 AM
Find the template that is used in the area you want to remove it, do a search in the template for "prefix" and remove that bit of code.

To find the template to modify, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. (Sometimes the template is the one mentioned at the very top of the page source.)

Amaury
08-24-2013, 03:03 AM
Find the template that is used in the area you want to remove it, do a search in the template for "prefix" and remove that bit of code.

To find the template to modify, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. (Sometimes the template is the one mentioned at the very top of the page source.)

I already know the templates, but I'm not finding prefix anywhere.

ozzy47
08-24-2013, 09:27 AM
There is not, I suspect this can not be done by simple template edits, it may require file edits somewhere.

Lynne
08-24-2013, 10:11 PM
I already know the templates, but I'm not finding prefix anywhere.
And the template is.... ?

ozzy47
08-24-2013, 10:17 PM
The template I looked in was WHOSONLINE and it reads the thread title with the prefix with the following:

{vb:raw userinfo.where}

Amaury
08-24-2013, 10:23 PM
And the template is.... ?

memberinfo_block_ministats and WHOSONLINE.

Ozzy already got the latter, and here is the first one:
<dt>{vb:rawphrase current_activity}</dt>
<dd> {vb:raw prepared.action} <br />{vb:raw prepared.where}</dd>

Lynne
08-25-2013, 04:14 PM
It looks like you will need to actually edit the file functions_online.php in order to remove it. I don't see a hook there, so I think you are stuck with editing.

cnczone
08-22-2014, 11:45 PM
How do I get rid of the Closed: prefix this shows when users are not logged in on the showthread?

Lynne
08-23-2014, 01:20 AM
There is no "closed" prefix that shows in default vbulletin when a thread is closed. The only thing that changes when a thread is closed is the thread icon. If you have a prefix showing, then you are using a modification and you will need to ask in the modification thread how to do what you want.