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)
-   -   Add-On Releases - VB Pro Garage Timeslips (https://vborg.vbsupport.ru/showthread.php?t=236888)

Dylanblitz 03-08-2012 07:09 AM

Quote:

Originally Posted by bposner (Post 2307005)
Yes, sir that far I got, after that I didn't know which field to actually with as I don't see anything related to your program :(

Ah sorry, it's field43. Depending on the first you first installed, could be blank.

Dylanblitz 03-08-2012 07:14 AM

Quote:

Originally Posted by gpinjason (Post 2307359)
I'm having the same issues when I edit a user profile, it jacks up the code in the field43 box... I have to rebuild the post bit after each profile edit... is there a fix for this?? I've already done all the code and template edits in previous posts pertaining to this matter.. I was getting the %1$s dropdown menu error as well, but it corrects itself after I rebuild the postbit...

Is all the code there or does it look like it's been cut off? If it looks like all the code is there (starting <div> has a closing </div>) then it might be the ACP is converting the special characters.
Have you tried editing the plugin
Garage Postbit Vehicle Dropdown

And change the end to look like

PHP Code:

if ($vbulletin->options['garage_pb_onoff'] && ((THIS_SCRIPT == 'showpost') || (THIS_SCRIPT == 'showthread')) && $post[field43])
{
    if (
$vbulletin->options['legacypostbit'] == 1)
    {
    
$template_hook['postbit_userinfo_right'] .= unhtmlspecialchars($post[field43]);
    } else {
    
$template_hook['postbit_userinfo_left'] .= unhtmlspecialchars($post[field43]);
    }



bposner 03-09-2012 02:16 AM

1 Attachment(s)
Quote:

Originally Posted by Dylanblitz (Post 2307369)
Ah sorry, it's field43. Depending on the first you first installed, could be blank.

Attached is the field as it sits. If I try to change the the field size it spits back wanting other things, and not sure what to put in it.

Dylanblitz 03-09-2012 02:55 AM

Quote:

Originally Posted by bposner (Post 2307716)
Attached is the field as it sits. If I try to change the the field size it spits back wanting other things, and not sure what to put in it.

It wants a title up in the top box. You can put whatever you want, it wont display on the page. It's just so you know what the field is for.

gpinjason 03-09-2012 05:26 PM

Quote:

Originally Posted by Dylanblitz (Post 2307370)
Is all the code there or does it look like it's been cut off? If it looks like all the code is there (starting <div> has a closing </div>) then it might be the ACP is converting the special characters.
Have you tried editing the plugin
Garage Postbit Vehicle Dropdown

And change the end to look like

PHP Code:

if ($vbulletin->options['garage_pb_onoff'] && ((THIS_SCRIPT == 'showpost') || (THIS_SCRIPT == 'showthread')) && $post[field43])
{
    if (
$vbulletin->options['legacypostbit'] == 1)
    {
    
$template_hook['postbit_userinfo_right'] .= unhtmlspecialchars($post[field43]);
    } else {
    
$template_hook['postbit_userinfo_left'] .= unhtmlspecialchars($post[field43]);
    }



Yes I did all of the "fixes" in the many pages of comments, starting on page 54.. changed the script above, changed the style id in garage_manage.php, changed the size of the text box...

brishi 03-09-2012 06:10 PM

Quote:

Originally Posted by Dylanblitz (Post 2307368)
You are kind of confusing me heh. The xml files on that page don't get uploaded. They get installed through the ACP from your local machine.
You said you have the forum installed on the root but you also have a forums directory? Do you mean the CMS is in the root and your forums are in /forums/?
If it's all installed in the root then you shouldn't have a forums folder.

Here is an example.
You have www.mysite.com which is where both the cms and forums are. So you would have www.mysite.com/admincp, www.mysite.com/includes, etc. So just dump all the files into www.mysite.com and don't worry about changing the garage_directory.php file.

If you have your CMS at www.mysite.com and your forums at www.mysite.com/forums then you'll have www.mysite.com/forums/admincp, ww.mysit.com/forums/includes, etc. Upload the files like in the instructions, with the folders in the first image going into the www.mysite.com/forums directory and the rest in www.mysite.com. The garage_directory.php file would need to be changed to the root of your forums directory, something like /user/myaccount/public_html/forums/
If you're not sure the correct path, look in the ACP
ACP->Maintenance->View PHP Info
scroll down to DOCUMENT_ROOT

Hope this helps.


Sorry for the confusion, I guess I shouldn`t be posting late at night while under medication LOL... OK, I have just upgraded to the vB Suite which will all be installed under a folder called `Test`or whatever for now until we are ready to go live and then all will be installed on the root. So I should be good with this, biggest concern was that the your program didn`t have any problems working on 4.1.11??? Also if or when we do purchase this is it easier to post questions here or on your website??

Dylanblitz 03-11-2012 04:11 AM

Quote:

Originally Posted by gpinjason (Post 2307970)
Yes I did all of the "fixes" in the many pages of comments, starting on page 54.. changed the script above, changed the style id in garage_manage.php, changed the size of the text box...

If you want to give me temp admin and let me know an account I can change to test on. You've done all the changes I know about to fix the problem. Not sure if something is off or it's a new problem I've never run into.

Dylanblitz 03-11-2012 04:13 AM

Quote:

Originally Posted by brishi (Post 2307989)
Sorry for the confusion, I guess I shouldn`t be posting late at night while under medication LOL... OK, I have just upgraded to the vB Suite which will all be installed under a folder called `Test`or whatever for now until we are ready to go live and then all will be installed on the root. So I should be good with this, biggest concern was that the your program didn`t have any problems working on 4.1.11??? Also if or when we do purchase this is it easier to post questions here or on your website??

A couple users have it running on 4.1.11 without issue. The minor version of vB doesn't make much difference. I don't hook into much of vB so unless the core database code changes, I usually don't have to make changes.

If you get the full version post questions on my site. There are differences between pro and lite and mixing up the support between the two isn't a good idea heh.

cdoyle 03-12-2012 03:15 PM

Hi,
I had a couple feature requests for you to consider, that I think will really make this even better.

Photo Descriptions: Give the user the option to add a brief description of the picture they are uploading. This description will display under the photo when other users view it.

Social Buttons: I mentioned this earlier and I think it would be a nice addition, add the Google +1 and FB like buttons to each users garage. This will also help bring in more users, and also helps in search results. Google keeps track of +1's and uses that in determining your ranking.

this is a great mod, I love having it on my forum

Oh is it possible to add the random vehicle image to a VBadvance portal page?
I would like to display it on here
http://www.caraudiocentral.net/

gpinjason 03-12-2012 09:37 PM

1 Attachment(s)
Quote:

Originally Posted by Dylanblitz (Post 2308460)
If you want to give me temp admin and let me know an account I can change to test on. You've done all the changes I know about to fix the problem. Not sure if something is off or it's a new problem I've never run into.

I'm afraid I cannot do that.. I don't have full administrative permissions on the site, I'm just an "assistant" LOL... BUT, I've checked some more, and it's not messing up the code in the postbit anymore, only in the "About Me" section on the member's profile.. ALSO, I've noticed that it's only visible by admins, so the regular members have no idea that it's messing up.

Is the vehicle drop down in the post bit supposed to be visible by everyone, or just admins? because currently it's only visibly by admins.

OH, one more thing, when adding a new vehicle, there is a blank drop down box under the mileage box. I've used Chrome to inspect the element, and it is showing that it's a dropdown for the fuel menus, but it shows up as a blank box. Is there a way to remove this?

HTML Code:

<select id="fuel_preference" name="fuel_preference">
<option value="1"></option><option value="2"></option><option value="3"></option><option value="4">
</option></select>

https://vborg.vbsupport.ru/attachmen...1&d=1331588514


All times are GMT. The time now is 06:32 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.01943 seconds
  • Memory Usage 1,777KB
  • 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_html_printable
  • (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
  • (3)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