Thread: Add-On Releases - VB Pro Garage Timeslips
View Single Post
  #924  
Old 08-28-2012, 01:11 AM
ssoc ssoc is offline
 
Join Date: Oct 2011
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You may remember a while back, I posted a bug report here: https://vborg.vbsupport.ru/showpost....&postcount=785

I fixed the profile that was showing the error at the time, but that was clearly a temp fix. I never got to the bottom of what actually caused it to happen as I'm reluctant to edit any of the core plugin files.

Anyway, a couple of months on and it's happened again. This time to three users.
Not sure if this is just coincidence, but two out of the three users currently have " (quote) signs in their garage titles. See below:

Attachment 140807

Attachment 140806

It's possible that the other user did at some stage too, so perhaps this is what's causing this problem to crop up? Just a suggestion.

Anyway hopefully you can find out what the issue is and rectify it in your next update.


-----------------------------

In the meantime, anyone else having this problem; it's quite time consuming but here's how to repair each user:

1. Goes without saying.. backup the database first!
2. Login to PhpMyAdmin and locate the 'Userfield' table.

Some important notes: You'll find the next steps easier if you sort them by 'user id'. Remember, 'userid' is just that - the forum user id. This is different from the garage id, which you'll need to change in a later step.

To find the 'user id', hover the users name on the forums and the user id is listed at the end of the URL.

To find the 'garage id', go to that users garage and look in your browser address bar. The number at the end of the URL is the garage ID.

3. First open up a user who has a garage, and does NOT have the error displaying on the front end, in a new tab (by clicking 'edit').
Now scroll to the bottom and you'll see some code like this:

Attachment 140804

^This is good code.. how it should look. However every users' code is a little different, since they have different garage ID's, garage names, and obviously different car images (in this case, the thumbnail that appears when you click the 'vehicles' drop-down link from the users postbit).

4. Highlight, right click, and 'copy' that good code.
5. Now open another user in phpmyadmin (one who's got the error on the front end).. again, by opening in a new tab clicking the 'edit' link. Scroll to the bottom and you'll see 'bad code', like so:

Attachment 140803


6. Now delete that bad code and paste the good code in its place.
7. We then need to edit three things, as pointed out in this pic:

Attachment 140805

Here's how to get them:

The garage ID - as I described earlier in this post.
The thumbnail url - go to the users garage, and the image that's under their username is the one which is used as the thumbnail, so open it in a new tab and copy the URL from the browser address bar. You don't need the first part of it, just from images/ ...onwards.
The garage title - get this from the users garage. It's at the top.

8. Double check the code you're able to save and make sure you're editing the correct user
9. Click save

Now check the front end to make sure you've done it correctly. If you have, give yourself a pat on the head :up:
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01463 seconds
  • Memory Usage 1,791KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete