(Link to AcmlmWiki) Offline: thank ||bass
Register | Login
Views: 13,040,846
Main | Memberlist | Active users | Calendar | Chat | Online users
Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album
09-29-24 03:21 AM
0 users currently in Help, Suggestions, Bug Reports.
Acmlm's Board - I3 Archive - Help, Suggestions, Bug Reports - "NEW!" Labels for threads and forums
  
User name:
Password:
Reply:
 
Options: - -
Quik-Attach:
Preview for more options

Max size 1.00 MB, types: png, gif, jpg, txt, zip, rar, tar, gz, 7z, ace, mp3, ogg, mid, ips, bz2, lzh, psd

UserPost
Sukasa
Posts: 943/2068
"Double quotes" is correct, Darkslaya.
Randy53215
Posts: 283/726
Either way I think this is actually a good idea, and a very easy one at that.
DarkSlaya
Posts: 724/936
It will work, but you might have problems someday.

(you have to put either single quote, or quotes (how the fuck are they called, double quote?))

Because when you're not putting them, Php will first think it's a constant, but if it doesn't exist, then it will do what you probably wanted to do. And stuff.
Rain Man
Posts: 56/71
Originally posted by HyperMackerel
Almost.

if($thread["lastposterid"]==$loguser["id"]) { $new = ''; }

You need quotes outside of a string.



Actually, I'm 95% sure it will work without the quotes.
HyperHacker
Posts: 2288/5072
Almost.

if($thread["lastposterid"]==$loguser["id"]) { $new = ''; }

You need quotes outside of a string.
Chris
Posts: 539/577
Yeah. That looks like it would be it. Now just to stick it in there for a test... heh.
Randy53215
Posts: 268/726
Its easy in sense..


if($thread[lastposterid]==$loguser[id]) { $new = ''; }


Featuring the sloppy Acmlmboard code.
Sukasa
Posts: 904/2068
Honestly, I think it shouldn't be too hard; since the board already knows who posted last in a thread/forum, just check that the laster poster isn't you before adding the "NEW!" image.
Danielle
Posts: 4418/6737
For some reason, I keep thinking this has been brought up but is too difficult to do. Or it's been brought up and put on the neverending to-do list. But I like the idea, it's just a little difference that would be nice to see.
Sukasa
Posts: 902/2068
For threads and forums, whenever there is a new post, it always flashes "NEW!" next the the thread/forum name. However, it's kind of frustrating when you're scanning for new posts that aren't yours, and wherever you've post4ed, it says, "NEW!". My suggestion is; have the board not flash "NEW!" if the last post in a thread/forum is yours.
Acmlm's Board - I3 Archive - Help, Suggestions, Bug Reports - "NEW!" Labels for threads and forums


ABII

Acmlmboard 1.92.999, 9/17/2006
©2000-2006 Acmlm, Emuz, Blades, Xkeeper

Page rendered in 0.004 seconds; used 347.23 kB (max 395.02 kB)