![]() |
Magnus thx for sharing the hack. It is a big hit which is always requested. :)
I have a technical suggestion though: Using PHP Code:
|
I have modified this hack under vB 3.0.3 to allow administrators to edit a quote that is already in the database directly from the ForumHome.
I did it for my own forum, which uses a modified version of QuoteIt to post random lyrics in my forum, which is a discussion about Bob Dylan, so I would have to undo some changes to post it here. If you really really want it, PM me and I will post the intructions on how to add EDIT capability to this hack. |
Quote:
Code:
print_cells_row(array( |
I had the same issue as bitg - did the edit any phrase - save - then it was all there..
Awesome hack - thanks much to the creator :) |
Looks like a good hack.. wasn't there a similiar one for vb 2 at one time?
I'll likely install this when I get home tonight. |
""
( | | ) - I am getting this blank screen... :disappointed: and there seems to no option to edit or save. Is this version of hack incompatible with vB 3.0.3 ? |
<font size="7">Magnus please update your instructions</font>.............
And let people that are too lazy to search the thread know they have to manually go in, select the phrases and save it for the hack to work. I've seen numerous people post about how the hack doesn't work for them and I've seen the answer posted again and again. |
Any Mod like this one
https://vborg.vbsupport.ru/showthread.php?t=66265 for this? |
Quote:
|
This is good as a center block. Just go into add a module, call it quote
use quote.php as the file use randomquote as the template used |
it works gr8 !!! thanks
|
I finished the intructions but I don't see it anywhere on my homepage or forum...?
using vb version 3.0.3 |
Quote:
Clearifying a little, I don't see any thing where a user can add a quote anywhere. Nor any type of box where the quote would be shown. And for the record, I went through all 12 pages of this thread to see if there already was an answer to my problem, I`m blind now but at least I`m not repeating anything. |
To allow your administrator group to bypass being moderated (assuming that you have quotes moderation turned on in your ACP) make the following changes to quotes.php......
Find.... Code:
if (empty($author) OR empty($quote)) Code:
if (!$bbuserinfo['permissions']['adminpermissions']) Code:
$DB_site->query(" |
Quote:
Hmmm... that didn't seem to do it for me. No noticeable change. Entries by the admin (me) still are stuck in the moderate queue. I haven't looked into this much, but..... BTW - My account is a member of the administrators group, but that's NOT my primary usergroup. Dunno if that matters. |
Quote:
Edit: OK, I changed my first post above. I wasn't thinking abstract enough..... going by the explicit usergroup is too literal.... if you have permissions to moderate the quotes then there is no point in having your own submissions sent to moderation. Try the revised code above. :o |
Okay, that didn't work either. But what did work was changing
PHP Code:
PHP Code:
|
Quote:
|
Quote:
Just the first line. I can moderate, delete, etc with that same account. No problem. |
Quote:
|
Quote:
|
Okay, I seem to have hit a snag. Seems that the quotes aren't very random for me. I get the same quote each time. If I delete that quote, I'll get a new quote, but then that same new quote each time.
Anyone seen this? |
Quote:
|
I have about 35 entered so far.
|
Quote:
|
I've got about 300 now.
I would like this system a little better if there wasn't a "Random Quote" bar, and the whole business took up less space. It's nice, but it's pushing my forum lists downwards. :( |
Quote:
|
Quote:
This worked for me, thank you! |
Quote:
I am running CMPS and I followed this yet it still does not appear on the VB Homepage. I also added the module and designated ramdonquote for the template. Any help please? |
I'm not sure if it's already mentioned, but when you set '$perpage = 10' or whatever number you want it should show that number per page, but it doesn't, it even skips some quotes to be projected while they are there in the database!!!
any solution for this? |
i have installed this and it only works on one of my styles
i have edited the templates....i have the welcome panel installed too. please help. |
I need some help please..i sorted out my last post and all worked fine.
However i had some problems today on my forum and now it does not show at all. there is no option to turn it on in the admin panel options part. According to phpmyadmin all the tables are there.... please can anyone help me get it back... thanks |
Is there any chance of modifying this so when you are authenticating quotes it shows them in a editable box? Maybe I'm just a perfectionist but I hate it when a quote has words spelled wrong or has double quotations.
|
Hi, nice mod :)
Though, i'm having alittle trouble and i think it's with the phrases. I did all the edits and uploaded all the files but it's not displaying any text on the forum home page (http://eternal-realm.net/vb/ to see) and the option Moderate Quotes doesn't work. It's an empty slot and directs to an empty page. Any Idea's? thanks. |
Quote:
|
Try opening any phrases to edit it and then just save it. This worked for me when I had a few that wouldnt show.
|
I needed Quotes added to my vBadvanced Moderation module and since I couldn't find it anywhere, I kinda hacked one together.
I'm not a coder..and don't really 'get' php too well...but it worked for me, so here ya go. |
Excellent Hack! Installed
|
Quick question, is there a way to give users points for Ushop with this? I am unsure as to what the code would be to add +1 to the uttpoints column in the user table.
Thanks again, -Jason |
[QUOTE=Giveit2u43]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(" Quote:
|
All times are GMT. The time now is 10:19 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:
|