PDA

View Full Version : Adjust the size of the user title in postbit legacy?


JMEWLS`
12-12-2009, 11:30 PM
Ahh, annoying simple question. I feel all new to this again, since the vb4 release.

I'm doing this:


Finding:
{vb:raw post.musername}

Change too.
<font size=+1">{vb:raw post.musername}</font>

BBR-APBT
12-12-2009, 11:49 PM
You was missing a " ;)
<font size="+1">{vb:raw post.musername}</font>

JMEWLS`
12-12-2009, 11:52 PM
Still don't work.

;)

BBR-APBT
12-13-2009, 12:15 AM
I didn't check if it worked I just fixed the missing " LOL


<span style="font-size:larger;">{vb:raw post.musername}</span>


:D

JMEWLS`
12-13-2009, 12:26 AM
I'll try it now.

--------------- Added 1260671380 at 1260671380 ---------------

Still doesn't work.

:s

BBR-APBT
12-13-2009, 12:33 AM
Worked for me.

JMEWLS`
12-13-2009, 12:39 AM
<div class="postdetails">
<div class="userinfo">
<div class="username_container">
<vb:if condition="$post['userid']">
{vb:raw memberaction_dropdown}
{vb:raw post.onlinestatus}
<vb:else />
<span style="font-size:larger;">{vb:raw post.musername}</span>

</vb:if>
</div>

http://www.nbadimensions.net/forums/showthread.php?18580-Daily-NBA-News-and-Rumors

I don't think it worked? What's up with that.

BBR-APBT
12-13-2009, 12:44 AM
Are you editing the correct template because I don't even see that in your source code.

JMEWLS`
12-13-2009, 12:44 AM
postbit_legacy?

BBR-APBT
12-13-2009, 12:53 AM
In the correct style? I just looked and do not see the code I posted above in the source.

JMEWLS`
12-13-2009, 12:55 AM
Yes, lol. If you searched "<span style="font-size:larger;">{vb:raw post.musername}</span>"

you wont find it in the page source, search, "<span style="font-size:larger;">"

BBR-APBT
12-13-2009, 01:02 AM
It doesn't show up in the correct place.

I didn't search I just inspected the element with firebug.

JMEWLS`
12-13-2009, 01:34 AM
Interesting, I changed back the code. I'll wait and see if someone else has a different solution.

Lynne
12-13-2009, 03:10 AM
I would have liked to have seen what you had done. What BBR posted looks just fine to me.

JMEWLS`
12-13-2009, 03:20 AM
I adjusted the postbit_legacy.

Found <span class="username guest">{vb:raw post.musername}</span>

Adjusted it to:
<span style="font-size:larger;">{vb:raw post.musername}</span>

Lynne
12-13-2009, 03:38 AM
That is not where it goes. If you read that condition there, it says "if there is a userid, do this, else do that" (The class="guest" should have given you a hint also :) ). You added the font change to the "else do that" part.

If you turn on the template name in the page source, you will see what template is called there - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . (template name "memberaction_dropdown" )

JMEWLS`
12-13-2009, 03:56 AM
Damn I'm stupid, my bad guys. Wow.

haha

ultimatearco
12-13-2009, 05:37 AM
Post Neutralized.

JMEWLS`
12-13-2009, 06:00 AM
There isn't a {vb:raw post.musername} in template memberaction_dropdown.

Lynne
12-13-2009, 02:41 PM
You're right, but there is a musername in there, it's just that it is memberinfo.musername instead.

s0lidgr0und
01-29-2010, 02:23 AM
I got lost in here.