![]() |
hmm it didn't work nothing no indicator of who subscribed showed up ?
|
oops... you should add $subscribed to your templates... not $subscribe. Sorry.
|
thanks Kier for the change, will do it on next upgrade. cheers.
|
great hack kier.
Just a couple of comments: 1. General comment to all: with regards to the $subscribed thingy, bear in mind that this is a serious invasion of privacy. And, unlike the "who is online", where you allow users to opt out, in adding this $subscrived thingy to the hack you are not allowing anyone any opt-out option. 2. Kier, I LOVE your hacks so please take my following comment as a constructive one: you do not follow strict php coding, which makes it immensely hard to debug a code that consists of your code and others. Could you perhaps make sure you always use { and } for the ifs and elses? I think in a code made public, strict and global coding guidelines are imperative. Anyhow, again, thanks for yet another great hack. Cheers, Bira |
Quote:
i.e. Code:
if ($x) Code:
if ($x) { |
This hack is great, but it has a flaw. When you do a search, say for the new posts, or any search for that matter, it does not have the hack in it. I am sure it's a simple bit of code editing but I am just toO damn lazy to look into it...
Lordmusic |
Quote:
Replace the query with this: Code:
$posts = $DB_site->query("SELECT Code:
if ($post[userid]==$post[subuserid] && !$post[invisible]) $subscribed = " <smallfont>[subscribed]</smallfont>"; Quote:
Quote:
|
Freddie,
When I have your original code, plus someone else's hack, plus Kier, etc - if the style of coding is not unified, it makes it damn hard to debug if there's a mistake somewhere or a missing curly. I am not saying this won't work - fact is it does - I am merely asking if possible that hackers restrict themselves to the same "full" (for lack of better word) coding. |
Quote:
|
A great hack!
A couple of suggestions: At the bottom of the pop-up box allow the user to click to go the actual thread and to close the window. [you can probably do these in a blink of an eye but I thgout I'd suggest it] Again, great work! |
All times are GMT. The time now is 07:06 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|