vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   vB Timeslip Database - for Automotive websites (https://vborg.vbsupport.ru/showthread.php?t=110717)

BOSS 302 04-11-2007 09:48 AM

Well look who it is. ^ LOL

I have problems installing this feature for my vbulletin because I had it installed on an older version. I upgrade my version of vbulletin a long time and forgot to uninstall the hack first. Thus, the timeslip database is stuck in my server and I can't uninstall it using the install.php.

How can I delete it from my database and start fresh?

And yes I tried overwriting with the new xml, it won't work, basically because the data already exists.

BOSS 302 04-11-2007 11:45 AM

Here's the error message when uploading the xml file.

PHP Code:

Database error in vBulletin 3.6.5:

Invalid SQL:
INSERT INTO profilefield (profilefieldid,required,hidden,maxlength,size,displayorder,editable,type,data,height,def,optional,searchable,memberlist,regex,form,htmlVALUES 
(50,0,0,'20','20','50','1','input','','0','0','0','0','0','0','','0');

MySQL Error  Duplicate entry '50' for key 1
Error Number 
1062
Date         
WednesdayApril 11th 2007 07:43:20 AM
Script       
http://www.mustangmafia.com/forum/admincp/plugin.php?do=productimport
Referrer     http://www.mustangmafia.com/forum/admincp/plugin.php?do=productadd
IP Address   : ******
Username     : ******
Classname    vb_database 


0ptima 04-11-2007 09:17 PM

Quote:

Originally Posted by BOSS 302 (Post 1224820)
Well look who it is. ^ LOL


I have problems installing this feature for my vbulletin because I had it installed on an older version. I upgrade my version of vbulletin a long time and forgot to uninstall the hack first. Thus, the timeslip database is stuck in my server and I can't uninstall it using the install.php.

How can I delete it from my database and start fresh?

And yes I tried overwriting with the new xml, it won't work, basically because the data already exists.


I posted some rough instructions how to upgrade this hack
https://vborg.vbsupport.ru/showpost....&postcount=560

centralss 04-12-2007 02:52 AM

Can anyone help me with this? Not sure why it keeps giving me the error!

Database error in vBulletin 3.6.5:

Invalid SQL:
SELECT COUNT(*) AS users
FROM user AS user, userfield AS userfield

WHERE userfield.field55>0
AND user.userid = userfield.userid;

MySQL Error : Unknown column 'userfield.field55' in 'where clause'
Error Number : 1054
Date : Wednesday, April 11th 2007 @ 10:52:08 PM

BOSS 302 04-12-2007 03:26 AM

Quote:

Originally Posted by 0ptima (Post 1225350)
I posted some rough instructions how to upgrade this hack
https://vborg.vbsupport.ru/showpost....&postcount=560

I don't understand most of that. Where is the real support for this? :/

yellowjacketgt 04-13-2007 12:01 PM

I have vb 3.6 . I installed the 3.6 timeslips and made the recomended hacks.
The import worked . Database tables created. I
The only problem is vehicle profile phrases are not recognized.

I will get the source for “Submit your timeslip” except since the phrase can not be found the there is no visible link <a href=”profile.php?&do=edittimeslip”></a>

Edit vehicle profile does not show up in user cp.

Timeslip navigation doe s not show up .

Headers (i.e. sort by, Vehicle profile data etc)



When I fat finger the ref’s in all works fine. I can enter data, it shows up in timeslips.



It all boils down to not recognizing vehicle profile phrases.



Any ideas.

yellowjacketgt 04-13-2007 12:23 PM

Quote:

Originally Posted by deathemperor (Post 1206341)
go to phrase and language manager, search for "timeslips", choose edit and just press save (without modifying anything). This will rebuild your phrases so that it will show up correctly. I did rebuild it on my php code but I don't know why it's not working.

This solved my issue. Thanks...

The only thing I have left is:
UserCP
The Edit Vehicle Profile does not appear in left navigation. Control Pannel/Settings and options

02TrueBlu 04-13-2007 02:50 PM

the only problem i am getting is the the icon the users click on the view the timeslip gives me the infamous "RED X" any clues on how to fix this?

BackSideSA 04-13-2007 02:51 PM

Yellowjacketgt,

Always save a copy of each template you work on incase something goes wrong!!!


Admin CP -> Styles & Templates -> Style Manager -> select edit Templates on the drop down -> User Control Panel Templates -> Double click USERCP_SHELL


AFTER

Code:

<tr>
        <td class="$navclass[profile]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_profile]</a></td>
</tr>




Also, can anyone help me with the timeslip images not being shown on mine?!


ADD

Code:

<tr>
        <td class="$navclass[vehicleprofile]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=edittimeslip">$vbphrase[edit_timeslip]</a></td>
</tr>
<tr>

Click Save.

If you have multiple skins, repeat for each



Also, my users uploaded timeslips dont show and for some reason it shows the users avatar. Any ideas?

02TrueBlu 04-13-2007 03:00 PM

^^^^^
i had the same problem at first.. go back and make sure that the image.php is correct. if you added it in the wrong place it'll pull the picture from the wrong place.


All times are GMT. The time now is 01:24 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.01571 seconds
  • Memory Usage 1,756KB
  • 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
  • (1)bbcode_php_printable
  • (3)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