The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
QuoteIt! 2.0 - Quote Management System Details »» | |||||||||||||||||||||||||||
QuoteIt! 2.0 - Quote Management System
Developer Last Online: May 2010
QuoteIt! version 2.0 QuoteIt! allows you to have a database of quotes integrated with your forum. Users submit quotes that can then be voted on by the other users, using your choice of two rating systems. The average installation will show a random quote on the forum home page, but you can include it on any vBulletin page. This was developed on vBulletin 3.0.7, but should work on 3.0.0 and above. You can see a demo on forums.monkeycrap.com. Instructions for adding a random quote to vBadvanced and vBindex are in this post. Features (features new to 2.0 are in yellow) Random Quote - a random quote can be shown on any vBulletin powered page - the administrator can set a default rating threshold that quotes must meet before showing up as the random quote - the quote shown is much more random than in previous versions Quote Database - quotes can only be edited or deleted by an administrator - quotes can be viewed individually or listed on several pages - quotes can be sorted by total score, average score, author, submitter, or date added - quotes now have a "context" field that can be turned on or off to include more information about the quote - each post and private message now has a "Submit to Quotes" link that allows users to quote things said on your forum more easily Quote Ratings System - quotes can be rated either plus/minus or on a scale from 1 to 5 - quotes below a certain total score or average score can be filtered out Quote Management - quotes can either be automatically approved or moderated - the administrator can now edit quotes - the quote moderation que is now more like the que for posts, enabling the moderation of several quotes at once Don't forget to click This hack is based on QuoteIt! 1.2, originally by magnus. The "submit post" feature was inspired by an addon by CtrlAltDel. The location code is based on a post by Acido. You may release translations of this hack as long as the original credits are included. Otherwise, you not redistribute this hack without permission from me. Show Your Support
|
Comments |
#102
|
|||
|
|||
Voting (1-5) from the random quotes box is not working for me.
Also, would be nice to have a way to edit/reset the votes for a quote. Great hack, though! [high]* Torqued clicks install[/high] |
#103
|
||||
|
||||
Yep, you found another typo. I guess you're the first person to use the 1 to 5 rating style.
To fix it, replace your quote_randomquote template with this updated version: HTML Code:
<style type="text/css"> .vote { color:$stylevar[smallfont_fgcolor]; font-family:'trebuchet ms',helvetica,sans-serif; font-size:110%; font-weight:bold; background-color:$stylevar[button_bgcolor]; <if condition="$vboptions[ratequote]==1"> width:25px; height:25px; </if> border-top-color:$stylevar[alt2_bgcolor]; border-left-color:$stylevar[alt2_bgcolor]; border-right-color:$stylevar[alt1_bgcolor]; border-bottom-color:$stylevar[alt1_bgcolor]; filter:progid:DXImageTransform.Microsoft.Gradient (GradientType=0,StartColorStr='#aa$gradient1',EndColorStr='#aa$gradient2');} } </style> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="$stylevar[tablewidth]" align="center"> <thead> <tr> <td class="tcat"> $vbphrase[random_quote] </td><td class="tcat" align="right"> <div align="right"> (<a href="$vboptions[bburl]/quotes.php?do=addquote">$vbphrase[add_a_quote]</a> <if condition="$bbuserinfo['permissions']['adminpermissions']"> | <a href="$vboptions[bburl]/quotes.php?do=delquote"eid=$randomquote[quoteid]">$vbphrase[delete_this_quote]</a> | <a href="$vboptions[bburl]/quotes.php?do=editquote"eid=$randomquote[quoteid]">$vbphrase[edit_this_quote]</a> </if> | <a href="$vboptions[bburl]/quotes.php?do=list">$vbphrase[view_all_quotes]</a>) </div> </td><td class="tcat" style="width:15px;"> <div style="float:right;" align="right"> <a href="#top" onclick="return toggle_collapse('forumhome_randomquote')"><img id="collapseimg_forumhome_randomquote" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_forumhome_randomquote].gif" alt="" border="0" /></a></div> </td> </tr> </thead> <tbody id="collapseobj_forumhome_randomquote" style="$vbcollapse[collapseobj_forumhome_randomquote]"> <tr><td class="alt1" width="30%"></td> <td class="alt1"><div style="font-style:italic;margin-right:10%;"> <p>"$randomquote[quote]"</p> <p style="font-weight:bold;margin-left:25%;">- $randomquote[author]<if condition="$randomquote[context]"> ($randomquote[context])</if></p> </div> </td><td class="alt1" valign="top"> <a style="float:$stylevar[right];" href="$vboptions[bburl]/quotes.php?do=view"eid=$randomquote[quoteid]">#$randomquote[quoteid]</a> </td> </tr> <if condition="$vboptions[ratequote]==3"> <tr><td class="alt1" align="left" colspan="3"> $vbphrase[total_rating]: $randomquote[rating] - $vbphrase[average]: $randomquote[average] </td> </if> <if condition="$vboptions[ratequote]==1"> <tr><td class="alt1" align="left"> $vbphrase[total_rating]: $randomquote[rating] - $vbphrase[average]: $randomquote[average] </td> <td class="alt1" align="right" colspan="2">$vbphrase[rate_this_quote]: <form name="rateplus" action="$vboptions[bburl]/quotes.php"> <input type="hidden" name="do" id="do" value="rate" /> <input type="hidden" name="quoteid" id="quoteid" value="$randomquote[quoteid]" /> <input type="hidden" name="vote" id="vote" value="plus" /> <input type="submit" value="+" class="vote" /> </form> <form name="rateminus" action="$vboptions[bburl]/quotes.php"> <input type="hidden" name="do" id="do" value="rate" /> <input type="hidden" name="quoteid" id="quoteid" value="$randomquote[quoteid]" /> <input type="hidden" name="vote" id="vote" value="minus" /> <input type="submit" value="-" class="vote" /></form> </td> </if> <if condition="$vboptions[ratequote]==2"> <tr><td class="alt1" align="left"> $vbphrase[total_rating]: $randomquote[rating] - $vbphrase[average]: $randomquote[average] </td> <td class="alt1" align="right" colspan="2">$vbphrase[rate_this_quote]: <form name="voting" id="voting" action="$vboptions[bburl]/quotes.php"> <input type="hidden" name="do" id="do" value="rate" /> <input type="hidden" name="quoteid" id="quoteid" value="$randomquote[quoteid]" /> <select name="vote" id="vote" onchange="document.voting.submit();"> <option value=""></option> <option value="1"> 1 </option> <option value="2"> 2 </option> <option value="3"> 3 </option> <option value="4"> 4 </option> <option value="5"> 5 </option> </select> </form> </td> </if> </tr> </tbody> </table><br /> |
#104
|
|||
|
|||
quote_randomquote is a template or a php file? sorry I am still rather new to hacking you have to talk like I am stupid when it comes to updates.
|
#105
|
||||
|
||||
It's a template. Just go into your style manager, edit the quote_randomquote template and replace it with the code in the post above.
|
#106
|
|||
|
|||
Coolness. All updated.
While I am thinking about it. in my quote display box on my forum home, the spacign seems funny. the quotes themselves start just left of center. leaveing over a 150 empty pixels of space to the left of the begining of the quote. Is there a way to make it more centered inside the display box? To see what I am talking about you can visit my site at www.now-n-then.net/forum |
#107
|
||||
|
||||
In your quote_randomquote template, find:
HTML Code:
<tr><td class="alt1" width="30%"></td> <td class="alt1"><div style="font-style:italic;margin-right:10%;"> <p>"$randomquote[quote]"</p> <p style="font-weight:bold;margin-left:25%;"> |
#108
|
|||
|
|||
Thank you so much. I am sorta a neat freak. I prefere centered on certian things. I even have the sigs auto-centered cause i can't stand them on the default left. lol
|
#109
|
||||
|
||||
Well, if you really want it all centered (I'm warning you, though, it looks terrible) find this in your quote_randomquote template:
HTML Code:
<tr><td class="alt1" width="30%"></td> <td class="alt1"><div style="font-style:italic;margin-right:10%;"> <p>"$randomquote[quote]"</p> <p style="font-weight:bold;margin-left:25%;">- $randomquote[author]<if condition="$randomquote[context]"> ($randomquote[context])</if> HTML Code:
<tr> <td class="alt1" colspan="2"><div style="font-style:italic;text-align:center;"> <p>"$randomquote[quote]"</p> <p style="font-weight:bold;">- $randomquote[author]<if condition="$randomquote[context]"> ($randomquote[context])</if> |
#110
|
|||
|
|||
I was able to "center" the logn quotes, which is what I was wiggin over. but thanks for going the extra mile. rock on. and happy mother's day to the women in you life.
|
#111
|
|||
|
|||
I would love to be able to put the quotes into categories and then browse quotes by category. Or only pull random quotes from a single category. This would be really cool to display random quotes in my image gallery for a specific theme/subject.
Here's my implementation of this mod: http://www.torqued.org/news |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|