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)

0ptima 06-20-2007 10:53 PM

Quote:

Originally Posted by SinCityRT (Post 1272701)
I have been running Timeslips v2.1 on vB 3.0.3 for a couple of years on my automotive website - I have pages upon pages of timeslips entered for many of my users. I just upgraded to vB 3.6.7 and just like many other people here, I found that I can't just import the .xml file because the user profiles already have timeslip data fields. I see a few instances where people have chosen to wipe out their existing timeslip fields and started over from scratch, but I'd really rather avoid that since I have so many valid slips.

What can be done to use this newer version with an upgraded vB forum without purging the old slips? Help!

Several pages back I posted a rough guideline on how I converted my 3.0.x timeslips to 3.6.x

joeychgo 06-21-2007 07:49 PM

Need help --

Im trying to upgrade from 3.0 to 3.67

Problem I have - the instructions say to find this

Quote:

// *********************
// CUSTOM PROFILE FIELDS
$profilefields = $db->query_read_slave("
SELECT profilefieldid, required, type, data, def, height
FROM " . TABLE_PREFIX . "profilefield
WHERE form = 0 " . iif(!($permissions['genericpermissions'] & $vbulletin->bf_ugp_genericpermissions['canseehiddencustomfields']), "
AND hidden = 0") . "
ORDER BY displayorder
");

and change it to this

Quote:


// CUSTOM PROFILE FIELDS
$profilefields = $db->query_read_slave("
SELECT profilefieldid, required, type, data, def, height
FROM " . TABLE_PREFIX . "profilefield
WHERE profilefieldid NOT IN (50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65) AND form = 0 " . iif(!($permissions['genericpermissions'] & $vbulletin->bf_ugp_genericpermissions['canseehiddencustomfields']), "
AND hidden = 0") . "
ORDER BY displayorder
");


But - member.php has this ---

Quote:

// CUSTOM PROFILE FIELDS
$profilefield_categories = array(0 => array());
$profilefields_result = $db->query_read_slave("
SELECT pf.profilefieldid, pf.profilefieldcategoryid, pf.required, pf.type, pf.data, pf.def, pf.height
FROM " . TABLE_PREFIX . "profilefield AS pf
LEFT JOIN " . TABLE_PREFIX . "profilefieldcategory AS pfc ON(pfc.profilefieldcategoryid = pf.profilefieldcategoryid)
WHERE pf.form = 0 " . iif(!($permissions['genericpermissions'] & $vbulletin->bf_ugp_genericpermissions['canseehiddencustomfields']), "
AND pf.hidden = 0") . "
ORDER BY pfc.displayorder, pf.displayorder
");

Help????

BlueBulletRL 06-22-2007 01:32 AM

someone really needs to take the time and code an update I'm still sitting on the old version of the DB like 1.0 cause I never got it to upgrade to 1.2 so there for I have no idea whats going on. Someone who knows what there doing please help. I'll def throw up some money to motivate someone to do it so the rest of us can get this fixed.

SinCityRT 06-22-2007 02:59 PM

Quote:

Originally Posted by 0ptima (Post 1272787)
Several pages back I posted a rough guideline on how I converted my 3.0.x timeslips to 3.6.x

Oops! I had glanced at your post, but didn't really read through the code - for some unknown reason my impression was that you were wiping the old data and setting it up new. I went back through your note and got it to work - thanks!

calgdsm 06-22-2007 11:47 PM

Everthing installed fine but the edit timeslip link does not show up. timeslip.php is there and works fine but theres nowhere to enter the information. can someone help?

and this was a fresh install not an upgrade. but none of the links are showing up.

heres the link to the page and seem to be working, theres just no way to add your information.
http://www.calgarydsm.com/forum/timeslips.php

Sidewindr 06-25-2007 12:06 AM

Zachariah was going to rewrite the whole thing but I think he thought it was now being maintained in this thread which it clearly is not. I will speak to him about it again :)

USAMustangs.com 06-25-2007 08:07 PM

EDIT: Nevermind. I fixed it.

USAMustangs.com 06-25-2007 08:30 PM

Quote:

Originally Posted by TotalTorque.net (Post 1235784)
How do I change the word 'Ride' to 'Car' ..... because in the UK 'Ride' is associated with a less tasteful type of driver....lol

Please.

Admin CP > Style Manager > Edit Templates (Under the style you are using) > timeslips

Find in template....

Code:

<td class="thead" align="center">$bracket11<b>Username</b>$bracket12</td>
        <td class="thead" align="center"><b>Ride</b></td>


Change "Ride" to whatever you want and then save.

sflmkv 06-26-2007 07:06 PM

hey great hack and works fine with the exception of this small issue on my members page...

Warning: Invalid argument supplied for foreach() in /member.php on line 580

any ideas how to remove or should I do away with the members.php hack add on

check it out here...
http://www.sflmkv.com/forum/member.p...astposter&f=69

thanks

also, how can I allow only a certain usergroup to have access to it uploading? is that possible yet.

calgdsm 07-14-2007 06:50 PM

Quote:

Originally Posted by calgdsm (Post 1274284)
Everthing installed fine but the edit timeslip link does not show up. timeslip.php is there and works fine but theres nowhere to enter the information. can someone help?

and this was a fresh install not an upgrade. but none of the links are showing up.

heres the link to the page and seem to be working, theres just no way to add your information.
http://www.calgarydsm.com/forum/timeslips.php


I still need help with this


All times are GMT. The time now is 11:35 AM.

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.01854 seconds
  • Memory Usage 1,751KB
  • 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_code_printable
  • (7)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