vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Add-On Releases - CND Garage - Timeslips (https://vborg.vbsupport.ru/showthread.php?t=217751)

EcoCav 09-09-2009 02:38 AM

I found a few other things, not sure if they are bugs or not.

When you go to the garage main page (/forum/garage.php) the Top Timeslips block are listed slowest to fastest. Would it be possible to add the members name to the timslip block too? If there are more then 5 slips, it removed the fastest slips.

On the "Latest Vehicle Comments" block it says "Posted Date" but lists the car owners name.

Another problem I found was the Top Rated Vehicles. No matter how many times someone votes on a members car, it wont go above 10.00/10, if you vote a lower number, it still stays at 10.00/10.

Would it be possible to have a larger "Add Vehicle" button on the main page? Many of my users where unable to see the Add Vehicle link.

Dylanblitz 09-09-2009 06:06 AM

Quote:

Originally Posted by EcoCav (Post 1881870)
I found a few other things, not sure if they are bugs or not.

When you go to the garage main page (/forum/garage.php) the Top Timeslips block are listed slowest to fastest. Would it be possible to add the members name to the timslip block too? If there are more then 5 slips, it removed the fastest slips.

In the ACP, under the CND Garage left menu pane you can change the sort order. The problem with adding the user to that block is there is a lot of data in it and everything would get squished. But if you want it I can give you directions on what to edit :)

Quote:

Originally Posted by EcoCav (Post 1881870)
On the "Latest Vehicle Comments" block it says "Posted Date" but lists the car owners name.

On the includes/garage_func_var.php on line 2262 Change
'ThirdCol' => $vbphrase['garage_thead_posteddate']
to
'FourthCol' => $vbphrase['garage_thead_posteddate']

Quote:

Originally Posted by EcoCav (Post 1881870)
Another problem I found was the Top Rated Vehicles. No matter how many times someone votes on a members car, it wont go above 10.00/10, if you vote a lower number, it still stays at 10.00/10.

10 out of 10 is the highest, not sure why you would want it to go higher? As to it not going down, I'm not sure why it's doing that. On my dev system it's working correctly. I'll see if I can figure out what's going on.

Quote:

Originally Posted by EcoCav (Post 1881870)
Would it be possible to have a larger "Add Vehicle" button on the main page? Many of my users where unable to see the Add Vehicle link.

I'll try and think of something better then having it on the main menu bar. It does blend in a little too much. I tried having it on the row with the vehicles but if you have more then 5 vehicles it would screw up the layout.

Big Kahuna 09-16-2009 05:44 PM

I installed and tried to upload the first vehicle and got the message

Quote:

Your submission could not be processed because a security token was missing.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.

Dylanblitz 09-16-2009 06:04 PM

If it's a new install, you might have another mod that is taking care of CSRF protection. You can go to the ACP and disable it on my mod.
ACP -> vBulletin Options -> vBulletin Options -> Garage General Settings
Set CSRF Protection to disabled

2k05gt 09-17-2009 07:06 PM

I have a question, if I install this version and next month purchase the full version, will it upgrade or do I need to uninstall then re-instal the full version?

Dylanblitz 09-17-2009 07:30 PM

Quote:

Originally Posted by 2k05gt (Post 1886584)
I have a question, if I install this version and next month purchase the full version, will it upgrade or do I need to uninstall then re-instal the full version?

Technically you uninstall and reinstall the full.

The uninstall doesn't delete any tables/data so you would uninstall the product, move the commercial files over and install the upgrade from free script. This will modify the tables to match the commercial product.

I did it this way so I could get rid of all the vb templates/phrases/plugins/etc while retaining the data.

2k05gt 09-18-2009 03:24 AM

While posting a timeslip for the first time I got this error

Fatal error: Call to undefined function CheckIfNumber() in /home/public_html/forum/includes/garage_func_var.php on line 147

cellarius 09-18-2009 04:53 AM

1 Attachment(s)
Hi, I'm the developer of photo popup (see sig) and have been approached to issue a new config file.

To do that, I just tried to install this. First of all: My testbed runs on PHP 5.3.0 - this mod is not yet ready for that version. See this post on what to do, it's an easy change, really.

Now, I followed the installation and post installation instructions to the letter (and I think I'm quite able to do that :D - you may prove me wrong there, tho), but all I get is, well, see screenshot. Note that there is no menu bar for cnd.

This is a rather virginal 3.8.4 testbed, running PHP 5.3.0 and MySQL 5.1.37

Dylanblitz 09-18-2009 05:11 AM

Quote:

Originally Posted by 2k05gt (Post 1886783)
While posting a timeslip for the first time I got this error

Fatal error: Call to undefined function CheckIfNumber() in /home/public_html/forum/includes/garage_func_var.php on line 147


Sorry about that. The function didn't get moved over. I created it after I found out vb doesn't do well with cleaning non English language numbers.
In includes/garage_func_var.php at about line 700 you'll find

PHP Code:

function NotifyUsers($subject$from_id$to_id)


Before that put

PHP Code:

function CheckIfNumber($number)
{
$lang_number preg_match
  
('/^[+-]?'
  
'(((([0-9]+)|([0-9]{1,4}(,[0-9]{3,4})+)))?(\\.[0-9])?([0-9]*)|'
  
'((([0-9]+)|([0-9]{1,4}(\\.[0-9]{3,4})+)))?(,[0-9])?([0-9]*))'
  
'(e[0-9]+)?'
  
'$/'
  
$number) == 1
    if (
$lang_number != 1)
    {
    
$number 0;    
    }
return 
$number;



Dylanblitz 09-18-2009 05:22 AM

Quote:

Originally Posted by cellarius (Post 1886802)
Hi, I'm the developer of photo popup (see sig) and have been approached to issue a new config file.

To do that, I just tried to install this. First of all: My testbed runs on PHP 5.3.0 - this mod is not yet ready for that version. See this post on what to do, it's an easy change, really.

Thanks for the info on that. Seems easy enough heh.


Quote:

Originally Posted by cellarius (Post 1886802)
Now, I followed the installation and post installation instructions to the letter (and I think I'm quite able to do that :D - you may prove me wrong there, tho), but all I get is, well, see screenshot. Note that there is no menu bar for cnd.

This is a rather virginal 3.8.4 testbed, running PHP 5.3.0 and MySQL 5.1.37

I've never seen that problem before. It's like it's not recognizing even basic vb commands like construct_phrase.


All times are GMT. The time now is 09:35 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.01190 seconds
  • Memory Usage 1,760KB
  • 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_php_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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