vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Major Additions - vbRides ? Garage (https://vborg.vbsupport.ru/showthread.php?t=313438)

dennisuello 09-19-2014 01:51 PM

Keep getting a number of these errors.

Quote:

Database error in vBulletin 4.2.2:

Invalid SQL:
SELECT COUNT(id) AS ownerrides FROM vb_vbrides_rides WHERE userid= AND active=1 AND status<>2 ORDER BY userid;

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 'AND active=1 AND status<>2 ORDER BY userid' at line 1
Error Number : 1064
They seem to come from "User:unregistered", so I'm guessing search engine crawler bots.

Action-N 09-19-2014 11:10 PM

Hey dennis, thanks for posting the error. From what you posted it's not getting the userid variable which comes right from the ride query. So I first thought it was getting the userid from the person viewing the page which made sense if their a bot. However coming from the ride query itself I can't see right off why. I'll keep looking, but what I see that's more an issue is your forum doesn't have the CMS installed does it? I styled this addon to blend into CMS using it's css style tags so people didn't have to custom modify css for each skin. That being the first site I've seen without it I'll have to change that somehow. Did you have any issues with the install file or php errors other than the one?

I.G.O.T.A. 09-23-2014 10:19 PM

The newest version seems to be working correctly. :)

Action-N 09-24-2014 05:01 AM

Oh interesting, must have just been that exported product xml. I'm working on a final 1.0.5 to release, I am reworking the css code so those not having cms or blog don't get a broken layout. Getting their so not much longer.

I.G.O.T.A. 09-24-2014 08:19 PM

Quote:

Originally Posted by Action-N (Post 2516339)
Oh interesting, must have just been that exported product xml. I'm working on a final 1.0.5 to release, I am reworking the css code so those not having cms or blog don't get a broken layout. Getting their so not much longer.

So you'll be able to turn that on and off then?

I.G.O.T.A. 09-25-2014 07:58 PM

Seems that when the picture size is bigger than 1meg the server times out. We're going to increase the file size to 3 meg see what happens.

Action-N 09-28-2014 06:10 AM

I uploaded an official 1.0.5 that should help fix the layout problems with those not having CMS or Blog systems. I started to add a no cms css separate that can be turned on by those needing it. Then the more I got into it I ended up switching the cms_widget over to use the forum sidebar code that gave the same layout. By the time I was finished I only had one tag I needed so I made new stylevar for it.

When updating copy your template edits an revert them back before upgrading. Then apply your changes afterwords so templates can be updated to 1.0.5.

I also looked at the image file size to see if it was working with the imagesize setting. If it's bigger than in the options it gives size exceeded redirect. Did let me find that I had the code converting the size to kb, but it needed to be bytes which it was already. Easy fix an works now, I tried a 3mb image against the 2mb default an got exceeded error.

BGN64 09-29-2014 09:19 AM

How easy/difficult would it be to use this mod for boats instead of cars?

Action-N 09-29-2014 12:25 PM

Everything should be phrased so in theory just a matter of editing the text through the phrase manager. I'd still try to keep them close to the comparable specification field since it uses certain ones to use in the auto signature. If your cool with referring to the boats as a ride you should just need to edit the spec fields, those with something else would have fun editing all the rides references. I'd defiantly back up the phrases afterwards, not sure if updates would overwrite them.

Actually what i can do is export the phrases now that they should be final. Then people can use the file for translations as well as rephrasing for different genre's like boats. Then i can post them here to share.

I.G.O.T.A. 10-01-2014 09:23 AM

Quote:

Originally Posted by Action-N (Post 2516711)
I uploaded an official 1.0.5 that should help fix the layout problems with those not having CMS or Blog systems. I started to add a no cms css separate that can be turned on by those needing it. Then the more I got into it I ended up switching the cms_widget over to use the forum sidebar code that gave the same layout. By the time I was finished I only had one tag I needed so I made new stylevar for it.

When updating copy your template edits an revert them back before upgrading. Then apply your changes afterwords so templates can be updated to 1.0.5.

I also looked at the image file size to see if it was working with the imagesize setting. If it's bigger than in the options it gives size exceeded redirect. Did let me find that I had the code converting the size to kb, but it needed to be bytes which it was already. Easy fix an works now, I tried a 3mb image against the 2mb default an got exceeded error.

How do I do the template? Don't quite understand.


All times are GMT. The time now is 06:18 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.01099 seconds
  • Memory Usage 1,743KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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