The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Admin-controlled (only) random quote hack for header/homepage Details »» | |||||||||||||||||||||||||||
Admin-controlled (only) random quote hack for header/homepage
Developer Last Online: Nov 2023
What does this hack do?
It adds a quote and the quoter to your board, either in your header/footer (hack global.php) or on your forumhome page (hack root/index.php). What's the additional server load of this hack? It adds 1 query to each page you have a quote show up on. If you add it to global.php it'll add 1 query to ALL pages, if you add it to root/index.php it'll only add 1 query to your forumhome, but you won't be able to show the quotes anywhere else. Why should we use your hack and not one of the two other quote hacks? Mine is extremely easy (_I_ made it, and I'm a n00b!) but, more importantly, it doesn't allow your users to enter quotes nor does it put it on two silly lines (no offense Lesane, but that aspect, I found absolutely horrid). This is useful if you have a lot of users and don't feel like spending 4 hours a day moderating all new quote-submissions your members made. Or, if you just want full control. Instructions: Step 1: run this query on your vBulletin database (I suggest in phpMyAdmin): PHP Code:
PHP Code:
PHP Code:
Step 2 b: if you want this to appear only on your forumhome, open root/index.php and find this line: PHP Code:
PHP Code:
That's it. I left it up to you entirely where and how you add the quote and quoter, seeing as how people will place it in different places entirely. Attached is a small selection of my own quotes database. Not all of it, for a: it'd be quite a lot, and b: it took me a lot of work to get those quotes together and into a database, neatly, and I'm not done processing my entire collection yet so I'm not making my entire quotes database publicly available. To add these 100 quotes to your database, run the contents of 100quotes.sql as a query in phpMyAdmin on your database. In the second post, I will add a screenshot. This hack is really basic, Kura, I'm sure you can do more with this! What's your plan, my man? Self-imployed vote of confidence, woohoo! *cough* anyway, yeah this is actually just the first part of a rather big hack I have in mind, though not yet in true development. What I'm Planning to create, is a quote index very similar to the memberlist, but then about quotes. You'll have noticed that the structure of the `quotes` table that this hack adds, includes a "letter" column. This is solely for the purpose of making the quotes table searchable by letter, later on. Like, when you click on members, you'll have the option to select all members by a single letter. Same with the quotes list I am working on (in my mind mostly, thus far). (edit: this quotes listing is now done. Contact me if you want an early release) UPDATE IN POST #20: Admin Panel Addition for easy Quotes adding! [high]* KuraFire awaits response again... [/high] Edit: credit goes out to Lesane for being the first one to have made a quote hack, of course, but this one is different, and I think it's good for people to be able to have a choice. Show Your Support
|
Comments |
#12
|
||||
|
||||
Quote:
|
#13
|
||||
|
||||
Quote:
Quote:
Quote:
|
#14
|
||||
|
||||
Quote:
|
#15
|
||||
|
||||
money, donations, that green stuff...
you can't counter my first reason, can you? |
#16
|
||||
|
||||
Man, why argue on this? If I want the function of having my users submit quote I choose Lesane's. If I just want just the quote function I use Kura's. Ironically, the reason I went with this one instead was not because my board was too big but too small. Most of my users are not proactive and just swing by to read anything new. I doubt they would really use it, hell the PM function hardly gets used. But already someone commented on how they liked the quotes.
|
#17
|
||||
|
||||
The main reason I want it is because not all quotes added by users are particually that good or different enough to add to the posting. And how do you tell one user that their post is good enough to add and yet tell another user that theirs isn't without causing a lot of hard feelings along the way? This way, it is up to the Admin to post what THEY like and not have to worry about hurting anyone's feelings ot having to justify themselves.
Just my 2 cents worth. :nervous: |
#18
|
|||
|
|||
would it be possible to make links to 1 like graphic text my just putting the html tag inside of what would be the quote?
|
#19
|
|||
|
|||
Quote:
|
#20
|
||||
|
||||
Zarith, I'm not quite sure I follow you. What exactly do you want??
|
#21
|
||||
|
||||
How to add quotes easily through your Admin Panel
(also known as Hack Update to version 1.0.5 ) Step 1: open your admin/index.php and find this line: PHP Code:
PHP Code:
Done. |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|