vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Mini Mods - BFC-Quote (https://vborg.vbsupport.ru/showthread.php?t=212175)

Excalibur82 04-25-2009 10:00 PM

BFC-Quote
 
ALL MODS HAVE GONE BACK TO STEVE M AS I AM NOT MEANT TO CODE LIKE I CURRENTLY AM DOING.

SwollenCranium 04-25-2009 11:35 PM

Warning: require_once([path]/includes/functions_download.php) [function.require-once]: failed to open stream: No such file or directory in [path]/admincp/quotes.php on line 22

Fatal error: require_once() [function.require]: Failed opening required '/*******/public_html/forums/includes/functions_download.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/*******/forums/admincp/quotes.php on line 22

Sweeks 04-26-2009 12:11 AM

Will install once all clear is given.

Excalibur82 04-26-2009 02:25 AM

Sorry, forgot to include the funtion files. I will update soon with files.

Excalibur82 04-26-2009 02:52 AM

Updated and fixed. I was testing something with my download system and the quote system so needed to use the functions file but forgot to remove that line from the admin file. It should work for ya now.

Sweeks 04-26-2009 08:58 AM

Trying this out now ;) Thank you :) Im hoping theres a way to moderate all quotes.

Sweeks 04-26-2009 09:12 AM

Installed, the sidebar in the usercp doesnt stay the same when you click on the quotes section to add a new quote.

Sweeks 04-26-2009 09:15 AM

Also I am getting:

"Could not find phrase 'bfc_quote_added'." after adding a quote. and the quotes are not showing where I placed the variable. Just an empty box with the username on the right and two "" where I think the quote should be. Disabled until fixed.

The Realist 04-26-2009 09:52 AM

Installed and the first quote posted 100%.

When I try and post another it comes back with the following database error?

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's birthday but never remembers her age.', username = 'Realist'' at line 2
Error Number : 1064
Request Date : Sunday, April 26th 2009 @ 09:58:58 AM
Error Date : Sunday, April 26th 2009 @ 09:58:58 AM
Script : http://www.xxxxxxx.co.uk/xxxxxxxxx/q...php?do=doaddqt
Referrer : http://www.xxxxxxx.co.uk/xxxxxxxxx/quotes.php?do=addqt
IP Address :
Username : Realist
Classname : vB_Database
MySQL Version : 5.0.77-community

The Realist 04-26-2009 09:55 AM

Found the problem, it was in the quote I used.

The quote was: A diplomat is a man who always remembers a woman's birthday but never remembers her age.

And if I remove the (') from the word woman's the quote posts ok.

Any ideas why?

Excalibur82 04-26-2009 08:18 PM

Realist: Hmmmm, I'll check a few things regarding the ' when adding a new quote.

Hrm, stupid phrase, I'll get it fixed.

Sweeks: Realist found the problem that you ran into so I'll fix it ASAP. Currently is not setup for moderating of quotes, will probably add that to next release.

The Realist 04-26-2009 08:32 PM

ok, thanks.

Sweeks 04-26-2009 09:57 PM

Great thank you. I look forward to the moderation of them too.

KrU$ty 04-27-2009 04:38 AM

Im wondering if you plan on putting in usergroup permissions? I want to be the only one that can add quotes. Also a way to remove the users name from the quote, so that it dosn't look like it is quoting me, when it is quoting someone else.

Excalibur82 04-27-2009 05:01 AM

KrU$ty: I am currently working on a version to release tomorrow that has moderate quotes through ACP. I will add a permissions based one on the release of 1.3 Actually was thinking about doing that today, glad you said something, just made up my mind for me. lol

I was thinking of using the username field if a quoted person's name was not entered that way there is no blank field. Haven't quite decided. I might include a separate page to pull those quotes without a username so members can see them.

Sweeks: I will have the new version ready tomorrow. Having a problem getting the page to display a redirect when no entries to approve and not redirect when you have entries that need approval.

KrU$ty 04-27-2009 05:33 AM

Quote:

Originally Posted by Excalibur82 (Post 1799758)
KrU$ty: I am currently working on a version to release tomorrow that has moderate quotes through ACP. I will add a permissions based one on the release of 1.3 Actually was thinking about doing that today, glad you said something, just made up my mind for me. lol

I was thinking of using the username field if a quoted person's name was not entered that way there is no blank field. Haven't quite decided. I might include a separate page to pull those quotes without a username so members can see them.

Sweeks: I will have the new version ready tomorrow. Having a problem getting the page to display a redirect when no entries to approve and not redirect when you have entries that need approval.

Great.

I was thinking concerning the username, that perhaps when you enter a quote, have a separate text box for the username, and if it is left blank it uses the username of the person that entered it.

In that way, i can add the name of a person who i am quoting, for example Thomas Jefferson or someone else who is not a user on the forum. Just a thought.

thanks for your work.

Excalibur82 04-27-2009 06:17 PM

There you go, new version released with moderation included. 26th or 27th shall be the release of v1.3 with usergroup perms. Forgot to mention, I did fix the phrase error.

rainyleaves 04-28-2009 04:51 AM

Quote:

Database error in vBulletin 3.8.2:

Invalid SQL:
SELECT * FROM `****_quotes` WHERE unapproved = 0 ORDER BY username ASC;

MySQL Error : Unknown column 'unapproved' in 'where clause'
Error Number : 1054
I updated 1.2.
I got this error when I click 'Manage Quotes' button.

smirkley 04-28-2009 05:48 AM

Yes, I like this, and would love the idea of allowing or disallowing selected usergroups from using or seeing this in their User CP.

starman? 04-28-2009 07:30 AM

Too many problems for me with this right now. Database error and forum failed to display at all. I had to disable the product. It's a shame as it has got load of potential. Running 3.8.2

Excalibur82 04-28-2009 02:47 PM

rainyleaves: I know the problem right off hand, I forgot to include the new database alter. I'll get that updated now.

smirkley: Working on the usergroup perms now.

starman: There is only one error and if you did everything right and use the variable $quote then it should work fine.

Excalibur82 04-28-2009 03:10 PM

Ok updated zip file with product xml file to add the new column to the quotes table.

rainyleaves 04-28-2009 04:18 PM

Thanks, Excalibur82.
Works very good. :)

Excalibur82 04-28-2009 05:11 PM

Great to hear.

odln018 04-28-2009 05:40 PM

Hmmm, I'm not seeing the "Add quote" option in my user cp

disregard. ID10T error.

Excalibur82 04-28-2009 06:46 PM

LOL, glad it's there for you. I was about to get concerned there for a sec.

odln018 04-28-2009 06:52 PM

Yea, I installed it on my test board, and then tried to find it on my production one.

Excalibur82 04-28-2009 07:21 PM

LOL, I do that when working on my test board and I keep jumping to my live board.

SwollenCranium 04-28-2009 11:58 PM

Still not working as you describe:

See here, try an add a quote via the usercp and you get a working "submit quote" button but NO text field in which to enter quote text.

http://swollencranium.com/forums/pic...pictureid=1215

Excalibur82 04-29-2009 02:27 AM

Ok I am gonna setup a separate test site and install a fresh version to see what is missing. Then update accordingly.

Excalibur82 04-29-2009 03:52 AM

SwollenCranium: Ok I believe I found the problem. I take it your installing this on a custom style correct? If so then make sure you have Enable Standard & WYSIWYG Controls enabled under Message Posting Interface Options. Make sure you have BFC-Quote Templates in your Styles and Template Manager, expand that group and open bfc_quote_new and make sure there is $messagearea in the template.

I've installed this on a fresh install of vBulletin and didn't run into the same issue so I'm assuming its an issue with your custom style.

nightbloom 04-29-2009 08:50 PM

I love this mod first of all. I want it to work. I have several problems.

When I try to alter a quote in the AdminCP, I get an SQL error. I also cant delete quotes unless they are already approved which is clunky. The BB codes show up in the editor, but not in the quote itself.

And yes please, add usergroup permissions to this because the general public on forums is 99% retarded and needs direct supervision.

ex quote: WHAT DOES THIS THING DO? - RandomGuy

SwollenCranium 04-29-2009 09:14 PM

Quote:

Originally Posted by Excalibur82 (Post 1800998)
SwollenCranium: Ok I believe I found the problem. I take it your installing this on a custom style correct? If so then make sure you have Enable Standard & WYSIWYG Controls enabled under Message Posting Interface Options. Make sure you have BFC-Quote Templates in your Styles and Template Manager, expand that group and open bfc_quote_new and make sure there is $messagearea in the template.

I've installed this on a fresh install of vBulletin and didn't run into the same issue so I'm assuming its an issue with your custom style.

Yep.

Enable Standard & WYSIWYG Controls = Yes.


make sure there is $messagearea = Yep

PHP Code:

<!-- message area -->
              
$messagearea
        
<!-- / message area --> 


I'll assume that it simply will not work for me and uninstall.

Thanks.

nightbloom 04-29-2009 10:36 PM

Can I also add a question. What is the point of the whole "approved" thing? They are immediately shown and have no "not yet approved" queue. Is it just my installation that is like that?

Excalibur82 04-30-2009 07:37 PM

*Smacks forehead* Oops think I left out some checks for deleting and when adding quotes. Now with the editor not showing, can't say for sure whats up with that.

SwollenCranium: Do you have a link to the style you have installed? I want to install it on my test forum and see if that is the problem. Also, switch to your default style and see if shows up?

Sweeks 04-30-2009 08:23 PM

Hope to get this installed soon :)

SwollenCranium 04-30-2009 09:29 PM

Quote:

Originally Posted by Excalibur82 (Post 1802056)
SwollenCranium: Do you have a link to the style you have installed? I want to install it on my test forum and see if that is the problem.

Can't share the link, I purchased the style.


Quote:

Originally Posted by Excalibur82 (Post 1802056)
Also, switch to your default style and see if shows up?


Nope, tried that on day one, does not work for me at all, most likely due to another hack.

No worries, I just will not use it.

Excalibur82 04-30-2009 09:30 PM

SwollenCranium: List all hacks you have installed, I'll find out what it is. Don't want to keep people from using it due to a hack, I'll do a work around if necessary.

Prisim 05-01-2009 04:47 AM

Got Database error When i edit any of members quote

Any Solution ?

Prisim 05-01-2009 04:47 AM

Error is invalid Sql Command Edit Quot check ur command


All times are GMT. The time now is 01:05 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
  • Page Generation 0.01395 seconds
  • Memory Usage 1,819KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete