![]() |
|
|
Mod Options |
The Ultimate Quote Hack!! Details »»
|
|||||||||
|
This modification is in the archives.
IF THIS HACK DOESN'T RANDOMIZE WELL FOR YOU, DO THIS:
(by Boofo) "You need to change the RAND() to RAND(NOW()) to make it more random with the new versions of mySQL since version .54 The NOW will seed it and make it more random that it was before. " That should fix the problem for a lack of randomized quotes. ALSO NOTE THIS: There's a bit of code going around that's 'unofficial' (ie. looks like it's from this hack, but it's adjusted and now flawed), saying "ORDER BY id" in the Query that gets the random quote. This is BAD CODE as it doesn't randomize anything at all. It should say "ORDER BY RAND(NOW())" instead. </end Hack Issue Fix> *drumroll* It's here! ![]() What does this hack do: * it's an extension (big time!) on the Admin-only controlled hack I released earlier. If you installed that hack already, it should be pretty clear for you which steps you should ignore in the Instructions for this hack. What you Cannot ignore is the step about your Admin Panel, and the lines to add to admin/index.php ! * It lists a random quote either on your Forum Home, or in your Header. Next to that, it adds a Quote List, which is just a massive database of quotes that works just like the Memberlist, but with your quotes. It's searchable, and with the Add-on (see post #2!) users can also add quotes in it (which need moderation, before showing up online). * Quotes can be added, edited and deleted from your Admin Panel. With the add-on, you can moderate quotes from your AP as well. * There are no hard-coded colors. All colors are taken from your style, so all pages will appear in concordance of whatever style it is you're using. Install instructions are in the zipfile: uqh_instructions.txt For the add-on, see the second post, instructions file: w-add_instructions.txt Have fun! Download Now Only licensed members can download files, Click Here for more information. Show Your Support
No members have liked this post.
|
|||||||||
Similar Mod
|
||||
| Mod | Developer | Type | Replies | Last Post |
| The ultimate HP MP Hack | zajako | vBulletin 2.x Full Releases | 55 | 29 Jan 2004 02:00 |
| THe PowerLevel modifiyer for.....The Ultimate stats hack----The Hp/Mp Hack----Yet ano | zajako | vBulletin 2.x Full Releases | 39 | 08 Oct 2002 01:19 |
|
#16
|
||||
|
||||
|
It works! Thank you!
![]() No members have liked this post.
|
|
#17
|
||||
|
||||
|
I updated the second post, with the instructions for the Moderation add-on. It now includes the query in post #15 in its instructions. The original file is untouched though, since the original hack doesn't need the mod column.
![]() Glad it works, JW ![]() ![]()
__________________
EverythingvB.com is closed; it will merge into the KuraFire Network, version 6. KF*N 6 will have information about XHTML, CSS, PHP and vBulletin, and especially all those combined. No members have liked this post.
|
|
#18
|
||||
|
||||
|
Kura, I've love to see something on the front page of the AdminCP like "There are currently [number] quotes awaiting moderation." - I can see myself forgetting tha people have added quotes
![]() No members have liked this post.
|
|
#19
|
||||
|
||||
|
Erm, I'll see what I can do.
If you prefer, I can also write a line of code that will e-mail you whenever a user adds a new quote... though this could become quite tedious & annoying if you have a lot of users. ![]() I'll let you know in this thread once I have it done, okay? ![]()
__________________
EverythingvB.com is closed; it will merge into the KuraFire Network, version 6. KF*N 6 will have information about XHTML, CSS, PHP and vBulletin, and especially all those combined. No members have liked this post.
|
|
#20
|
||||
|
||||
So, at the time "6.00pm" a PM is sent to the admin "John" if there are any new quotes for moderation. e.g. "Hi [admin's name], there are [number of new quotes] new quotes waiting to be moderated. Click here to moderate them" No members have liked this post.
|
|
#21
|
||||||||||||||||
|
||||||||||||||||
|
That's WAY more complex than the admin panel home thingy!
![]() 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 :
ADD BELOW:
FIND:
ADD BELOW:
(edited: I turned "moderation" into a link, even easier now ^_^) 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. ![]()
__________________
EverythingvB.com is closed; it will merge into the KuraFire Network, version 6. KF*N 6 will have information about XHTML, CSS, PHP and vBulletin, and especially all those combined. No members have liked this post.
Last edited by KuraFire : 22 May 2002 at 13:32. |
||||||||||||||||
|
#22
|
||||
|
||||
|
Thanks
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. ![]()
No members have liked this post.
|
|
#23
|
||||
|
||||
|
to add _what_ to quotes.php ?
The Admin Panel Home moderation queue? That's an admin/index.php hack... if not, then what? ![]()
__________________
EverythingvB.com is closed; it will merge into the KuraFire Network, version 6. KF*N 6 will have information about XHTML, CSS, PHP and vBulletin, and especially all those combined. No members have liked this post.
|
|
#24
|
||||
|
||||
|
the fix...
The fix you gave me in Post #12, remember?
![]()
No members have liked this post.
|
|
#25
|
||||
|
||||
|
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. ![]()
__________________
EverythingvB.com is closed; it will merge into the KuraFire Network, version 6. KF*N 6 will have information about XHTML, CSS, PHP and vBulletin, and especially all those combined. No members have liked this post.
|
|
#26
|
||||
|
||||
|
Ok
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.No members have liked this post.
|
|
#27
|
||||
|
||||
|
Thanks, looks great
No members have liked this post.
|
|
#28
|
|||
|
|||
|
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
__________________
My community; http://wetalknation.net No members have liked this post.
|
|
#29
|
||||
|
||||
|
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...
__________________
EverythingvB.com is closed; it will merge into the KuraFire Network, version 6. KF*N 6 will have information about XHTML, CSS, PHP and vBulletin, and especially all those combined. No members have liked this post.
|
|
#30
|
||||
|
||||
|
Do I need...
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?
No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
| Mod Options | |
|
|
| New To Site? | Need Help? |
All times are GMT. The time now is 12:15.










