PDA

View Full Version : variable search



FreshFroot_
Thu 16th Aug '07, 8:57pm
where would I be able to edit the type_counts variable? I looked in the phrase system, but didn't see it anywhere.

basically I'm customizing and used the $type_counts variable, however, I'm trying to center the whole thing eg. task,bug,features but it seems only those words are centered and the actual number's aren't.

example:



Task 0
Bug 0
Features 0

doesn't exactly look like it, but basically the letters are centred, however the numbers are ALL the way on the right. It seems like I can't center the numbers via template edit.

FreshFroot_
Thu 16th Aug '07, 9:00pm
BTW here is my pt_forumbit_project template


<tr align="center">
<td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_new.gif" alt="" border="0" /></td>
<td class="alt1Active" align="$stylevar[left]">
<div>
<if condition="$project['forumtitle']">
<a href="project.php?$session[sessionurl]projectid=$project[projectid]"><strong>$project[forumtitle]</strong></a>
<else />
<span class="shade">$vbphrase[project]</span> <a href="project.php?$session[sessionurl]projectid=$project[projectid]"><strong>$project[title]</strong></a>
</if>
</div>
<if condition="$project['summary']"><div class="smallfont">&nbsp; $project[summary]</div></if>
</td>
<td class="alt2 smallfont" align="$stylevar[center]" nowrap="nowrap">
<div align="$stylevar[center]">$type_counts
</strong></a></div>
<if condition="$project['lastactivitydate']">
<div>$project[lastactivitydate] <span class="time">$project[lastactivitytime]</span></div>
<else />
<div align="center">$vbphrase[n_a]</div>
</if>
</td>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="alt1"><div class="smallfont">&nbsp;</div></td>
</if>
</tr>

FreshFroot_
Fri 17th Aug '07, 5:50pm
still waiting for a response.. hopefully one of the devs can quickly jump in on this small question.

Thanks.

Zachery
Sat 18th Aug '07, 5:16am
You should know modification discussion should be done at vBulletin.org

FreshFroot_
Sat 18th Aug '07, 8:05pm
I posted there with no response. This isn't really a modification, I'm just trying to figure out on how to center the text and numbers. I seem to only be able to center the writing, not the numbers.

Zachery
Sun 19th Aug '07, 4:53am
I'll update my bug tracker on my forums later today and see what I can do.

FreshFroot_
Mon 20th Aug '07, 6:27pm
Thanks Zachery, appreciate it :)

FreshFroot_
Thu 23rd Aug '07, 11:18pm
any update on this issue guys?