![]() |
Quote:
Also, I've noticed a couple of you have implemented this into your portals. Perhaps a few other people could benefit? If you'd like, you could post the modifications required here as per which portal (vbIndex, vBadvanced, etc..) and I could provide a link to them in the first thread. Or, you could release them in the Add-On section. I have an upgrade coming out soon, which will include the moderating of posts, list sorting and user options toggle. I've decided to release these now, as their pretty much completed rather than waiting for v2.0. Instead, v2.0 will have a few more configurations and user/admin-options and from the response so far, categories, lol. ;) DrkFusion, I like your idea of incorporating RSS feeds. That's a great idea. :D |
Quote:
|
v1.1 -> v1.2 UPGRADE INSTRUCTIONS
1. Download quoteit1.2.zip from the first post and uncompress it. 2. Upload quotes.php to your forum ROOT directory, overwriting the existing one. 3. Upload quoteadmin.php to your ADMINCP directory. 4. Run the following SQL queries: [SQL] INSERT INTO `setting` (`varname` , `grouptitle` , `value` , `defaultvalue` , `optioncode` , `displayorder` , `advanced` , `volatile` ) VALUES ( 'moderatequotes', 'forumhome', '0', '0', 'yesno', '6', '0', '1'); [/SQL] [SQL] INSERT INTO `phrase` ( `phraseid` , `languageid` , `varname` , `text` , `phrasetypeid` ) VALUES ( '', '0', 'setting_moderatequotes_title', 'Disable Quote Moderation?', '5000'); [/SQL] [SQL] INSERT INTO `phrase` ( `phraseid` , `languageid` , `varname` , `text` , `phrasetypeid` ) VALUES ( '', '0', 'setting_moderatequotes_desc', 'Selecting "No" will require all quotes to be approved before being displayed.', '5000' ); [/SQL] [SQL] INSERT INTO `phrase` ( `phraseid` , `languageid` , `varname` , `text` , `phrasetypeid` ) VALUES ( '', '0', 'quote_x_has_been_approved', 'Quote ({1}) has been approved.', '9000' ); [/SQL] [SQL] INSERT INTO `phrase` ( `phraseid` , `languageid` , `varname` , `text` , `phrasetypeid` ) VALUES ( '', '0', 'quote_x_has_been_deleted', 'Quote ({1}) has been deleted.', '9000' ); [/SQL] [SQL] INSERT INTO `phrase` ( `phraseid` , `languageid` , `varname` , `text` , `phrasetypeid` ) VALUES ( '', '0', 'moderate_quotes', 'Moderate Quotes', '9' ); [/SQL] [SQL] INSERT INTO `phrase` ( `phraseid` , `languageid` , `varname` , `text` , `phrasetypeid` ) VALUES ( '', '0', 'no_quotes_awaiting_moderation', 'No Quotes awaiting moderation', '2' ); [/SQL] 5. Make the following FILE edits: 5a. In INDEX.PHP: Find: PHP Code:
PHP Code:
Find: PHP Code:
PHP Code:
You will now have a new option under the "Moderation" category in the AdminCP, titled "Moderate Quotes". Quote moderating can be toggled via vBulletin Options -> Forums Home Page Options -> Disable Quote Moderation? |
hey i get this error while trying to do an install
Code:
Parse error: parse error in /home/###/public_html/forum/admincp/install_quoteit.php on line 325 |
Quote:
|
vbindex integration..
in vbindex.php (or whatever you renamed it to) find: Code:
'vbindex_customblock_6' Code:
'vbindex_customblock_6', Code:
// ## USERS IGNORE ## Code:
$result_quote = $DB_site->query(" Code:
$showrandomquote Code:
$home[news] |
Nice one, Giveit!
Any ideas about the category option? |
Quote:
|
where i can place the query code in vbadvance homepage ?
I'm not sure iditing adv_index.php, can you help me ? |
Quote:
You'll need to fiddle with it, because like I said, I don't use vBadvanced. |
Quote:
Thanx ;) |
Can't stop coming and looking at my forums after that hack was installed, magnus.
Never had any problems with it, works smoothly. I thought of a suggestion just now. My forum's quote database is basically an archive of irc quotes, and the only two features now I really need are: the ability to search, and the numbering of quotes. It's kind of hard to describe, but if you go to bash.org, you'll se what i mean. Every quote has it's own number, and it would come very usefull in this hack. For example, when refering to some particular quote, you could make it look like that: http://www.forumaddress.com/quotes.php?14 where 14 is the number of the quote. If you follow that link, you'd see the requested quote there. Also, you could add the number display right beside the quote, like bash.org has. wooh, regards :) |
Quote:
Just so you know, quotes are numbered, have you upgraded to at least v1.1? They can be accessed via http://www.forumaddress.com/quotes.p...view"eid=1 As for the search, that's been added to v2.0 as well as sorting. Look for it soon. ;) |
The feature of viewing quotes seperately is news to me, but concerning the numbering, i meant the possibility of showing the quote number next to the quote on forumhome.
Format suggestion: #1 +(63)- [E|X] magnus Where #1 is the quote number, +(63)- is the rating, + and - are the buttons to rate the quote up or down, ideally it would be that registed users can rate only once, and the information on whether the user has rated or not would be stored in the database, guest rating could be turned on\off, the limitation would be applied to the ip. [X|E] are the quick edit (E) and delete (X) buttons. magnus is the username of the one, who submitted the quote. |
Quote:
|
I dunno what it is...I can not see the Moderate quotes in my admin panel...nor can I see the options to add or delete quotes on the forumhome :(
Any suggestions? Great hack! |
Goto Phrases, and just click edit on any phrases and then click save.. you don`t need to actually edit anything but you need to do that to update the phrases cache...
|
in gold no working
|
Quote:
So, would you care to elaborate on what specifically isn't working? |
Working fine for me on Gold.. Make sure you've edited, saved and uploaded the changes..
|
Quote:
|
Quote:
|
the language didnt install correctyl
|
Quote:
|
Ok, here comes my suggestion.
What I would be using this for is to display member quotes....things that the members have posted and are "quote worthy." I think it would be great to have a small icon in each postbit that allows you to add a member quote to the database. You would copy the relevent part of a members post, and click an icon. The next screen would only have a textarea to paste in the quote, since the name would be the user who posted the comment you are quoting. Additionally, in the actual displayed quote, I would like a link to the original post so people can view the quote in context. Of course people could still add random quotes as well by clicking "add quote" in the quote display area. If they use this link, THEN they are allowed to add a name. If they add a quote via a post, then the name is generated automatically. I can probably add this myself if needed, but I figured I'd post here in case you wanted to add it to your release. :) Nice job, magnus. Edit: Oh, and it would be nice if you re-worded your AdminCP. The current wording seems backwards and confusing: Disable Quote Moderation? Selecting "No" will require all quotes to be approved before being displayed" I would suggest using: Moderate Quotes? Selecting "Yes" will require all quotes to be approved before being displayed" |
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Quote:
Thanx :) |
Quote:
Clicking on one of the phrases only made the moderation link show up. |
Quote:
|
Quote:
Now I can only moderate and decide if I'm going to disable moderation. |
Quote:
When I go to phpmyadmin, I can't find showquote anywhere. Funny, since I had the quoteIt up an running before the ungrade. |
That was strange.
I ran the query for showquote from phpmyadmin and the option in admincp reappeared. |
Quote:
|
Quote:
Don't know why that happens, but it seems to be the common error. |
It only shows: "Disable Quote Moderation?" in the admincp and not "Display Random Quote?" after upgrading to gold. I've edit and saved a phrase as suggested but no quotes on forumhome. :(
--edit-- whooT..this is wierd. "setting etc. VALUES ('showquote', 'forumhome whas gone (???) Re-add it and now it's working |
You have to go to Phrases and just click save on anything...it will work!
I know! |
All times are GMT. The time now is 12:51 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:
|