Previous Thread
Next Thread
Print Thread
Rate Thread
Page 3 of 3 1 2 3
Joined: Sep 2001
Posts: 25
Junior Member
Junior Member
Offline
Joined: Sep 2001
Posts: 25
Hi Allen,

So can I actually switch it on in my control panel? If so, I can't seem to find the area to do this..

Thanks for the help
Jon

Sponsored Links
Joined: Mar 2001
Posts: 8
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 8
does anyone know how to modify this code so that if noone replies it will say
'by: no one'

the reason i want this is because adding the last reply makes the table row larger than the rows of posts with no replies. i want the rows to be all equal spacing.

Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
I haven't tested this but I think where the code says:

Code
[/code]Inside the "" you can add any code or text there such as "No Replies Yet", "Still Waiting For Replies", "Lonely In Here"...Well, you get the point.    :D  

Seriously however, try adding something inside the quotes such as above and see if that works for threads with no replies. :)

Example would be:

[code]

Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
Update:

It works perfectly. Currently I have no replies as, "No Replies...So Lonely. *Sniff*". tipsy

Joined: Mar 2001
Posts: 8
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 8
thanks! one thing though. the By: No One is on the same line as the date and time. how do i get it to move down to the next line?

Sponsored Links
Joined: Mar 2001
Posts: 8
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 8
nevermind. i got it but i dont' know any perl so let me know if i did anythign wrong.

if ($reply_number eq "000000"){
$last_post_username = qq!
by: No Replies!;

Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
Yup, that's one of the ways...Nicely done. thumbsup

You can disgard the "" since there is no link involved. smile

Joined: Mar 2002
Posts: 11
Junior Member
Junior Member
Offline
Joined: Mar 2002
Posts: 11
Has anybody a working link to the .txt version or can send the .txt hack in a email to me ?

Thx

Joined: Oct 2002
Posts: 394
Enthusiast
Enthusiast
Offline
Joined: Oct 2002
Posts: 394
Any .txt file?

Thank you

Page 3 of 3 1 2 3

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
isaac
isaac
California
Posts: 1,157
Joined: July 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 20221218)