![]() |
This looks like fun. I'd like to see three additional fields for classic quotes
1) Who said it 2) Date of quote 3) Link to quote in context Who submitted the quote doesn't matter so much to me... Regards, Matt |
Quote:
Great Hack! |
[high]* TwinForMe clicks install. :)
[/high] Love it! I modified the global.php instead of the index.php, then changed the Forumdisplay, Forumhome, Showthread, and search_results templates. I also took out the 2 /br's at the end of the navbar template and I took out the final /br from the randomquote template so my forums and threads don't get too pushed down. Plus I took out the "Random Quote" bar in the table of the randomquote template. You can take a look here: http://www.twinteresting.com/forums/index.php? |
nice job.
I think admin should be able to - list all of quotes in AdminCP - edit/delete quote in AdminCP - set a quote status active/inactive (bring an active quote back to moderating list) - select and delete multiple quotes in AdminCP and, the quote manager in AdminCP right now, just list only one quote at a time? I think all quotes (waiting for moderated) should listed Right now, you (admin) can delete quote in the quote list, but that shouldnt be the place where you manage things though :) and, sometime, people just have some typo, or you want to change something, you should be able to change both quote and author |
Quote:
Edit template quotelistbit add HTML Code:
<tr> I would suggest to use alt1 and alt2 for each quote too, just like they are for posts. :) |
Is there anyway to have two different quote boxes pulling qoutes from separate databases of quotes?
|
Anyone got this working in 3.03?
|
Yes, works great on mine!
MTHA: Thanks for that!! -Jason |
i wrote my own quote hack for 2.x and i had a button that allowed people to submit a post for a quote. do you plan on adding this to your hack or should i just add it onto it?
|
ok after looking at this the code used to pick the random quote is flat out wrong
Code:
SELECT * FROM quotes WHERE approved=1 ORDER BY rand() LIMIT 1 Code:
SELECT *, rand() AS r FROM quotes WHERE approved='1' ORDER BY r LIMIT 1 |
All times are GMT. The time now is 08:57 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:
|