|
|
Joined: Sep 2001
Posts: 25
Junior Member
|
Junior Member
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
|
|
|
|
Joined: Mar 2001
Posts: 8
Junior Member
|
Junior Member
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
Joined: Nov 2001
Posts: 1,080 |
I haven't tested this but I think where the code says: [/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
Joined: Nov 2001
Posts: 1,080 |
Update: It works perfectly. Currently I have no replies as, "No Replies...So Lonely. *Sniff*". 
|
|
|
|
Joined: Mar 2001
Posts: 8
Junior Member
|
Junior Member
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?
|
|
|
|
Joined: Mar 2001
Posts: 8
Junior Member
|
Junior Member
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
Joined: Nov 2001
Posts: 1,080 |
Yup, that's one of the ways...Nicely done. You can disgard the "" since there is no link involved. 
|
|
|
|
Joined: Mar 2002
Posts: 11
Junior Member
|
Junior Member
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
Joined: Oct 2002
Posts: 394 |
|
|
|
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.
|
|
badfrog
somewhere on the coast of Maine
Posts: 94
Joined: March 2007
|
|
Forums63
Topics37,575
Posts293,931
Members13,824
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|