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)

I.G.O.T.A. 09-15-2014 09:38 AM

Just updated now, and the issue I see is the comments. Can't see them that well. Any ideas?

Action-N 09-15-2014 12:26 PM

Fasted way would be edit the style variable, however I don't see where else it'd be used on your site to know what it'd look like there.

Go to Style Variable Editor > Comments > postbitlite_header_color an change it to the white font for your black background theme an black for the two white themes. Might even get away with saving them with no color an see if they inherit the main font color.

Alternative would be edit the css for each theme, find:
Code:

.commentbit_head {color: {vb:stylevar postbitlite_header_color}; text-align:{vb:stylevar left};margin-left: 90px;}
and change '{vb:stylevar postbitlite_header_color}' to the color you need.

I.G.O.T.A. 09-15-2014 01:16 PM

Changed that at the CSS level.

We have 3 themes. Hate it, lol. On the more details what is the text color for that in the css? We can see it on the dark theme, but not the light themes we have.

Action-N 09-15-2014 11:56 PM

I'll make a demo video on how to find out the css tag an where to change them. In your case it looks like your ride in question on your website. Looks to me you added a font color when you wrote the description. Edit your ride an take out the font color code an you'll be fine.

Did you upload any files with this latest version? The image count is wrong so if you haven't you should upload the 'vbrides_stats.php' to the cron directory. Other than that file maybe just the vbrides an vbrides_usercp files where updated. Was trying to keep track of what I worked on in the files but forgot which ones I worked in. Also the stars.gif has a transparent background to take out the white edge on the blue stars then darkened the grey area so they show better in white themes.

Was gonna ask if there is anyone else creating a ride on the site cause I don't see but just the two. Thought I should make sure you know that new rides are moderated an need approved before there live. Then I saw it'd cost me $45 to make a ride so maybe not many can.

I.G.O.T.A. 09-16-2014 12:27 AM

We have changed that to all premium members for just right now. Our memberships get t-shirts, hoodies and so on with them. There is a lot in involved with our memberships and we have over 150,000 plus members. We want to figure out the program before we open it to everyone.

I don't remember putting that code in there for the color. Duh on my part sorry, lol.

What do you mean image count? I also uploaded the vbrides_stats.php' to the cron directory. What did that do?

Also the social media icon box you can't see the number in it.

Action-N 09-16-2014 12:57 AM

Well I figured out why I could still see the report ride icon on your site. I did a export plugin from my dev site an put that in the upload, an apparently it wasn't totally updated. I'm doing a file compare now to see what I need between the install script I manually edit. Both files had the code to change the stats to update every ten minutes. Your stats say 1 image, but you have one extra photo an the two main images. The new counter should have counted to three. Is there anyway you can view the file on the server to see what is there? This time I changed the version number in the top description.

Holy crap that's a lot of members to manage. I've been online almost three years now an think the only real member I got was the my friend from high school I begged to signup out of pity. This garage was the last part I needed before I got serious about promotion.

I.G.O.T.A. 09-16-2014 10:24 AM

Where is that stat at?

I.G.O.T.A. 09-18-2014 12:12 PM

Also went to upload to another site we own and it crashed. Seems the files are messed up.

Can you check that out?

Action-N 09-18-2014 12:28 PM

Was it like something was missing error or like a file had a coding error? Was it when using the install xml? That one in the 1.0.4 was the one I got from exporting from the product page an might not right. I usually just re-upload the new files onto my online server. I'll try deleting it first an see if I'm not putting something in the zip.

I was working on another version to fix the report icon code not getting updated. I'm also going through the widget code since that didn't seem to work right. I even spell checked the phrases for this one an it did need it. Give me a little more time on the widget stuff an to make sure the instal script is write this time. What you could try is using the install xml from 1.0.3 to see if it works.

I.G.O.T.A. 09-18-2014 08:02 PM

I tried both ways and it crashed. The program was just crashing out. Nothing worked, but when I looked at some of the files some were new and others were old so I'm lost on this one.

The one working on igotasti.com works great, but when we tried to add one to igotacummins.com it bombed.

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.

Action-N 10-01-2014 04:11 PM

Let's see, go to your templates an under vbrides group look for template names in red. Click to edit then open a html editor or notepad program. Copy the template name an paste it in the editor. Next copy all the text an paste it in the editor under the name so you know they are together. Do that for any templates in red in the group. Other than vbrides group the other template would be under cms grpup with rides in the name. Once done save the text in the editor as edited backup. Then i believe if you have already installed the latest version you can still just click revert next to the template edit link an it'll revert to the latest template. After that you can see what you edited from the old template to change it in the new template.

Btw igotsti, i see the new garage posted has the hard coded white font too. Are they doing that on purpose or is it automatic in that style. Might need to make a mention not to since your styles use different color backgrounds.

I.G.O.T.A. 10-01-2014 08:31 PM

Just updated two of the sites.

Everything seems to be working correctly. Go ahead and check it out.

Action-N 10-01-2014 10:06 PM

It's getting added as a font color tag when you edit the garage itself. I can select an view page source an see it. Dang wysiwyg editors, that's what i was refering to in previous post.

I.G.O.T.A. 10-02-2014 12:07 AM

Quote:

Originally Posted by Action-N (Post 2517320)
It's getting added as a font color tag when you edit the garage itself. I can select an view page source an see it. Dang wysiwyg editors, that's what i was refering to in previous post.

Got it. On another note everything seems good so far.

I.G.O.T.A. 10-02-2014 11:26 AM

What also would be nice is if you could comment back to the person who left you comment and they would get a pm. :)

Action-N 10-03-2014 02:41 AM

1 Attachment(s)
I have a importer for VB Pro Garage Timeslips 3.0.9 I just finished. It's working on my localhost, so I'm posting it for testing. I can't say if older versions work, but considering what little there is to import it might. The images an database is not modified so your old garage files will still be there. If your rides product already had stuff in it the importer adds to them, so nothing gets cleared. A new category named 'Imported' is also made that holds the new rides that are placed in inactive or hidden mode. So the owners can find them in the Usercp under my rides. Almost forgot upload the file to the admincp folder an link to the file directly.

Once I know it's working for people I'll post it in the downloads in the main posting.

I.G.O.T.A. 10-17-2014 12:51 AM

How's it coming along?

Action-N 10-17-2014 02:21 AM

Haven't really done much since posting the importer. All I had planned next was to get something designed for drag strip information an ability to link to a blog category (aka Blog build progress). An I suppose your idea for comment notification is possible. Have you seen any issues with 1.0.5 yet?

Past few weeks I guess I've been getting back on my real life car, have a 77 Camaro in bare metal.

I.G.O.T.A. 10-18-2014 10:10 AM

Haven't seen any issues yet so far. :)

77 Camaro nice.

Hendrik83 10-25-2014 04:59 PM

Hi,

I have this database error when i try to install.

Code:

Database error in vBulletin 4.2.2:

Invalid SQL:

        SELECT COUNT(images.id) AS images_num, image.id, image.logo
        FROM vbrides_photos AS images
        LEFT JOIN vbrides_rides AS image ON(images.rideid = image.id);

MySQL Error  : Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) with no GROUP columns is illegal if there is no GROUP BY clause
Error Number  : 1140
Request Date  : Saturday, October 25th 2014 @ 07:53:55 PM
Error Date    : Saturday, October 25th 2014 @ 07:53:55 PM
Script        : http://...../admincp/plugin.php?do=productimport
Referrer      : http://...../admincp/plugin.php?do=productadd
IP Address    : *.*.*.*
Username      : Hendrik
Classname    : vB_Database
MySQL Version : 5.0.51a-community


Action-N 10-26-2014 01:41 AM

1 Attachment(s)
I'll have you try the attached install file. It installed with no error for me, but since I didn't have the error before I don't know if this will work.

Hendrik83 10-27-2014 12:01 PM

Quote:

Originally Posted by Action-N (Post 2520072)
I'll have you try the attached install file. It installed with no error for me, but since I didn't have the error before I don't know if this will work.

It worked with product-vbrides.xml.

Thx.

gijsje 10-30-2014 07:54 PM

I have this error comming in.
Changed some things to xxx

Database error in vBulletin 4.2.2:

Invalid SQL:
SELECT COUNT(id) AS ownerrides FROM 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
Request Date : Thursday, October 30th 2014 @ 08:42:18 PM
Error Date : Thursday, October 30th 2014 @ 08:42:18 PM
Script : http://www.xxx.nl/showthread.php?xxx
Referrer :
IP Address : xxx
Username : xx
Classname : vB_Database
MySQL Version : 5.5.37-cll

I.G.O.T.A. 10-31-2014 11:44 AM

Today someone put something in quotes and the program added extra characters.

Any ideas what this may be?

Action-N 10-31-2014 04:12 PM

In which section igota, the main description or one of the fields. Guess i can just look on your site huh. Looks like I'll be working on an update version.

Gijsje the error code is missing the userid value, looking into that too. I'm on a phone at work so not sure, but if if that error is crashing the site look if i but an option in admin settings to turn off that in postbit. Otherwise you can go to manage plugins an turn off the one relating to postbit count for now.

I.G.O.T.A. 11-03-2014 01:12 PM

Quote:

Originally Posted by Action-N (Post 2520779)
In which section igota, the main description or one of the fields. Guess i can just look on your site huh. Looks like I'll be working on an update version.

Gijsje the error code is missing the userid value, looking into that too. I'm on a phone at work so not sure, but if if that error is crashing the site look if i but an option in admin settings to turn off that in postbit. Otherwise you can go to manage plugins an turn off the one relating to postbit count for now.

In the short summary if someone uses " it shows this > &quot;

romaszek 11-05-2014 05:16 PM

Hi, thank you for the great plugin. It is wonderful. I want to disable mandatory fields (Year, Make and Model) how to do it?

Is it possible to "Short Summary" add character count?

Thanks.

Action-N 11-06-2014 01:43 AM

romaszek, there isn't gonna be an easy way to disable those, would at least require deleting some code from the template. I looked into adding a character count, didn't get anything solid yet.

The year, make, an model are added together to make the title, so if you where to eliminate them how would you suggest coming up with a title.

romaszek 11-06-2014 04:52 AM

I have a music portal, your wonderful plugin I want to adapt to CV for musicians. It is perfect for my purposes, I adopt only those fields if you agree. That's why I want to disable the forced field. Can you help me to do it in code?
Thank you very much.

The problem with the audio. I added an mp3 file but no player...

Sorry bad english ...

romaszek 11-10-2014 07:40 PM

Hi,
I made a primitive character count for Short Summary.

1. Create a file: sign_limit.js

HTML Code:

function SignLimit(tab,max)
{
var oSpan = document.getElementById( 'counter' );
oSpan.innerHTML = ( ( tab.value.length ) ) +'/' + max;
if ( tab.value.length = max )
{
input = tab.value.substring(0,max - 1);
tab.value = input;
}
}

2. Upload file to your server sign_limit.js (eg. a folder vbrides)

3. Template: 'vbrides_addedit_ride'

find:
HTML Code:

<textarea name="smalldesc" style="width:100%;height:100px;">{vb:raw smalldesc}</textarea>
replace with:

HTML Code:

<textarea name="smalldesc" style="width:100%;height:100px;" id="smalldesc" onkeyup="SignLimit(this,255);" cols="\&quot;25&quot;">{vb:raw smalldesc}</textarea>
<small>...<strong><span style="color:red;font-weight:bold;" id="counter">0/255</span></strong> ...</small>

4. In the first line of the template, insert:

HTML Code:

<script src="http://yourdomain/vbrides/sign_limit.js" type="text/javascript"></script>
The limit must be set in the code.
This is very primitive but for me it works.


All times are GMT. The time now is 05:52 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.01317 seconds
  • Memory Usage 1,845KB
  • 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
  • (2)bbcode_code_printable
  • (4)bbcode_html_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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