Previous Thread
Next Thread
Print Thread
Rate Thread
#253641 07/12/2003 11:56 PM
Joined: May 2002
Posts: 20
Newbie
Newbie
Offline
Joined: May 2002
Posts: 20
since I can't seem to figure out how to add a line break before the first/top/parent post of a thread.

Using 6.3

Sponsored Links
Joined: Aug 2002
Posts: 1,191
Kahuna
Kahuna
Joined: Aug 2002
Posts: 1,191
postlist.tmpl file. Add a <br /> before the $tbopen

I think that should do it.


Nikos
Joined: May 2002
Posts: 20
Newbie
Newbie
Offline
Joined: May 2002
Posts: 20
first, second or third instance? I played around and couldn't get it to work. Here is the link...

http://www.tigerboards.net//threads/postlist.php?Cat=&Board=TigerVent

Thanks

Joined: Aug 2002
Posts: 1,191
Kahuna
Kahuna
Joined: Aug 2002
Posts: 1,191
It should be the first $tbopen. Now based on your example where exactly do you want to add your new line?


Nikos
Joined: May 2002
Posts: 20
Newbie
Newbie
Offline
Joined: May 2002
Posts: 20
here is an example of how I want it to look..

http://auburn.rivals.com/forum.asp?sid=884&fid=109&style=1

Sponsored Links
Joined: Aug 2002
Posts: 1,191
Kahuna
Kahuna
Joined: Aug 2002
Posts: 1,191
I think you need to change this:

<span class="small">
{$postrow[$i]['time']}
<br />
{$postrow[$i]['lastposter']}</span>
</td>
</tr>

to this:

<span class="small">
{$postrow[$i]['time']}
<br />
{$postrow[$i]['lastposter']}</span>
<br />
</td>
</tr>

in your postlist.tmpl

Tell me if this did the trick


Nikos
Joined: May 2002
Posts: 20
Newbie
Newbie
Offline
Joined: May 2002
Posts: 20
It didn't work. It added line breaks after every single post. I can email you my postlist template if that would help.

I appreciate it.

Did you get those logos?

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
I haven't looked at it - but since you are using expanded mode - you might need to go beyond the template modifications and into the postlist.php script. Particularly the "show replies" function. That's what displays all the follow up replies and all the indentations.

I don't know if I'd know how to do it - my head always hurts when it involves playing with the show replies function. LOL But I *think* that would be the place to start looking around.

Joined: May 2002
Posts: 20
Newbie
Newbie
Offline
Joined: May 2002
Posts: 20
Josh, is there a variable that identifies the first post in a thread? I'm lost.

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
The post that has B_Topic set as 1 in the Database would be the first post in the thread.

Not sure if that helps you. But maybe it's on the right track.

Sponsored Links
Joined: Aug 2002
Posts: 1,191
Kahuna
Kahuna
Joined: Aug 2002
Posts: 1,191
Yes I got the pictures Tigervoice, thanks once again. Feel free to email me the file and I will see what can be done.


Nikos

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Bill B
Bill B
Issaquah, WA
Posts: 87
Joined: December 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240430)