View Full Version : [vB3:G][Tweak] Thread started by


Repec
28th December 2003, 10:12 PM
Just a small tweak on this part of the threadlist template.

*Edit*

Correct attachment is up now hehe

Daniel C
28th December 2003, 10:14 PM
Nice mod! Thanks!

Hobbierz
28th December 2003, 11:14 PM
hehe, will come in handy :D thnx++

/me clicks karma :)!

edit: or not...see edit reason :P

Floris
28th December 2003, 11:47 PM
The find & replace line are identical :)

tomshawk
29th December 2003, 12:12 AM
The find & replace line are identical :)
ROFL

Seems somebody forgot to copy new before pasting again

Tee Hee :D :p

Caszi
29th December 2003, 12:44 AM
And yet you go through all that when you could simply just change:

<span style="cursor:hand" onclick="window.open('member.php?$session[sessionurl]u=$thread[postuserid]')">$thread[postusername]</span>

to

Thread Started By: <span style="cursor:hand" onclick="window.open('member.php?$session[sessionurl]u=$thread[postuserid]')">$thread[postusername]</span>

Dont ya think? You can change it to whatever you want then to =P Sorry the page scrolls >.< i can attach it if you want!

Repec
29th December 2003, 02:26 AM
@ Floris:

Oops hehe, damn copy and paste sometimes ;)
Reupped the correct attachment now.

@ Caszi:

The reason I used a phrase instead of the "hardcoded" Thread Started by:" is that I think it looks neater. vB dev's didnt use those phrases for nothing.
Imo its just following the code guidelines vB dev's set out for us.

Neeto
29th December 2003, 05:54 AM
I agree. Using phrasing for mods and hacks is good.

Floris
30th December 2003, 07:29 PM
I still have on the pro style todo list to made custom phrases to resolve some language issues :)
Thank you for reminding me, I will try to process this in the weekend :)

S@NL - Pascal
31st December 2003, 06:41 PM
Why not use $vbphrase[thread_starter] ?
Then you only have to change specified line in threadbit into

<span style="cursor:hand" onclick="window.open('member.php?$session[sessionurl]u=$thread[postuserid]')">$vbphrase[thread_starter] $thread[postusername]</span>

Makes life easier :)

Slamdog
2nd January 2004, 04:18 PM
that looks so much better than just the user name...

cool dude!

sergio965
3rd January 2004, 11:51 PM
Does anyone have the original threadbit because i chaged mine into sumtin else!