View Full Version : with plugin?
TTayfun
05-13-2014, 03:24 PM
hi guys;
how can i change this code with plugin in showthread.php?
before
$navbits[''] = $thread['prefix_rich'] . ' ' . $thread['title'];
after
$navbits[''] = $thread['title'];
Lynne
05-13-2014, 05:34 PM
How about with CSS instead?
li.navbit.lastnavbit > span > span {display: none;}
TTayfun
05-13-2014, 05:48 PM
i didnt understand .. @Lynne
Lynne
05-13-2014, 08:35 PM
I'm saying Why do it via a plugin when you can so easily do it with CSS?
TTayfun
05-14-2014, 04:15 PM
but i added your css code my site, but not work, don't forget i am using vB 3.8 series. what must i do exactly?
Lynne
05-14-2014, 04:39 PM
Sorry, you are right, I was thinking vB4, not vB3. Try:
td.navbar > strong > span {display: none;}
TTayfun
05-14-2014, 04:54 PM
i have in navbar templates this code:
<td class="navbar" style="font-size:10pt; padding-top:1px" colspan="3"><if condition="$_SERVER['REQUEST_METHOD'] == 'POST'"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink_$stylevar[textdirection].gif" alt="" border="0" /><else /><a href="$navbar_reloadurl"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink_$stylevar[textdirection].gif" alt="$vbphrase[reload_this_page]" border="0" /></a></if> <strong>$navbits[lastelement]</strong></td>
will i try this?:
<span class=" td.navbar > strong > span {display: none;} "><strong>$navbits[lastelement]</strong></span>
else directly will i add general css?
TTayfun
05-14-2014, 04:59 PM
okey okey i added navbar_link but everything is flied :) but i want only remove prefix text
<span class="td.navbar > strong > span {display: none;}">$nav_title</span>
Lynne
05-14-2014, 05:23 PM
That is CSS I gave you. You put it in the last textarea on the Main CSS page, not into your template.
TTayfun
05-14-2014, 05:58 PM
i put but not work :(
Lynne
05-14-2014, 07:41 PM
Can I get a link to a thread (with a prefix) so I can see what is going on?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.