![]() |
That's WAY more complex than the admin panel home thingy! :eek:
Too ****ing complex, for my taste. :) This is what to do if you installed Freddie's Quick Stats hack, for your admin panel home: Find in admin/index.php : PHP Code:
ADD BELOW: PHP Code:
FIND: PHP Code:
PHP Code:
Again, this is if you have Freddie's hack already installed. If not, then you'll have to do a manual output of some kind. The query to add doesn't need changing, though the output will probably need changing if you don't have Freddie's hack. And with this, it'll display "Quotes awaiting moderation: [number]" in your Admin Panel Home. :) |
Thanks, that fixed my problem. It might not be a bad idea to add that to the quotes.php in your hack in case someone esle runs into that. :)
As far as having to put a name or letter in, with the editing capabilites, that is something that could always be done later if someone decided to go that route. I will never use that on my site as I will not doing the quote listing for the users. :) Quote:
|
to add _what_ to quotes.php ?
The Admin Panel Home moderation queue? That's an admin/index.php hack... if not, then what? :) |
The fix you gave me in Post #12, remember? :)
Quote:
|
Ah, yes, well, since it's a bad idea to have ""s in quotes themselves, why bother, really?
And for those who think their users will accidentally add quotes, there's two things to do: read the whole of this thread (it won't hurt them), or edit that template so that it says "Don't add ""s to your quote!" or whatever. :) |
Well, whatever you think is fine by me. It was just a suggestion to avoid a lot of questions later. :) I only wanted it for the editor anyway.
|
Thanks, looks great
|
Ah, very cool, .. Does this also show in the profile of a member the total amount of quotes they have added? And .. does this also show on the frontpage, the total amount of quotes in the database, and maybe on top, top quoter:
Would be nice (no, it would be sweet) This probably is the reason I haven't seen you on IRC for a while :P You were coding leetnez |
boofo, btw, that htmlspecialchars fix isn't necessary in this hack. The hack has a TEXTAREA field for the Quote, the former hack (which you have) still used a Text Input field for the quote, but with TEXTAREA ""s don't matter anymore. So people who install this from scratch won't have a problem at all...
|
Do I need to upgrade anything then? Or will it work the same after adding what you told me to add? I uploaded the new quote.php (with your fix added) and did the admin/index.php, but other than that I didn't add anything else. Is there anything I should replace?
|
All times are GMT. The time now is 07:53 AM. |
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:
|