![]() |
What is wrong or inaccurate about it? ORDER BY RAND() has worked since MySQL 3.23.3 and initialization was dubugged in 3.23.56. Select RAND() might have some other issues:
http://www.sitepoint.com/forums/show...01&postcount=3 What makes it more server friendly? Regards, Matt |
I have added a to this addon and given it the ability to have a button in each post that will submit the post to the quote database for approval. What happens is that you see the button in the post, I have a button by the 'edit post' button and the user presses the button. They are then sent to the 'add quote' page with the username/quote text all filled in from the post. The user can then proofread the submission and then hit the submit button. All works great, and you dont have to worry about search bots automatically submitting quotes this way either.
Here is what you'll need to do. Find this in quotes.php PHP Code:
PHP Code:
First open quote_addquote Find Code:
<input type="text" class="bginput" name="author" size="25" maxlength="75" /></td> Code:
<input type="text" class="bginput" name="author" size="25" maxlength="75" value="$author" /></td> Code:
<td class="alt1"><textarea name="quote" rows="10" cols="50"></textarea> Code:
<td class="alt1"><textarea name="quote" rows="10" cols="50">$quote</textarea> Find Code:
<if condition="$post['editlink']"> Code:
<a href="/forum/quotes.php?do=post&postid=$post[postid]"><img src="$stylevar[imgdir_button]/quoteit.gif" alt="Submit post for quote database" align="middle" border="0"> Questions/Problems, shoot me a PM. |
Very well done. Also like CtrAltDel's addition, should be added into v2 in my opinion.
I have a problem; my add quote page does not put the input author box next to the author; for some reason, it sits above it. Here's the template code: Quote:
Thanks, rich http://x.russbo.com/vb/index.php |
Quote:
|
Quote:
|
Thanks. That was fast. It was in the install file. Love your addition, with respect to the postbit. Do you have any idea why my tables are screwed up in the "add quote" section?
You can see it in action at http://x.russbo.com/vb/index.php rich |
I'd try and help but maybe you could post a screenshot of your issue, since you have to register to get to see that on your site.
|
I believe that this:
Quote:
Quote:
And, to keep the colors consistent, I make this: Quote:
This seems to work for me. |
Has anyone tried to use this with 3.0.3?
|
Quote:
|
All times are GMT. The time now is 01:54 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:
|