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)

BlueBulletRL 04-16-2006 04:03 PM

Ok so this is what I had done to get it to work

1. Edit the products_timeslips.xml file. Find where it says
Code:

        $db->query("DELETE FROM " . TABLE_PREFIX . "phrase WHERE varname = 'setting_" . $title . "_desc'");
change it to:

Code:

        $db->query("DELETE FROM " . TABLE_PREFIX . "phrase WHERE varname = 'setting_" . $title . "_description'");
2. You will have to manually add the SQL Table into your database. To do so you can use this SQL query
Code:

CREATE TABLE `vb3_customfile` (
  `userid` int(10) unsigned NOT NULL default '0',
  `filedata` mediumtext NOT NULL,
  `dateline` int(10) unsigned NOT NULL default '0',
  `filename` varchar(100) NOT NULL default '',
  `visible` smallint(6) NOT NULL default '0',
  `filesize` int(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`userid`)
)

note you will probably see the allowtimeslips upload twice. I just ignored it and everything seems hunky dorry to me. PLEASE DO THIS AT YOUR OWN RISK. I am unaware as to how your code or sites run so it may or may not work for you.

ddolliver 04-16-2006 09:11 PM

Bump!

Still need multiple vehicle entries for a single user....anyone do this hack?

bouncer18 04-17-2006 01:08 AM

i cant seem to find a fix for it either...

too bad no one knows....

Sidewindr 04-18-2006 01:08 AM

Quote:

Originally Posted by BlueBulletRL
Ok so this is what I had done to get it to work

1. Edit the products_timeslips.xml file. Find where it says
Code:

        $db->query("DELETE FROM " . TABLE_PREFIX . "phrase WHERE varname = 'setting_" . $title . "_desc'");
change it to:

Code:

        $db->query("DELETE FROM " . TABLE_PREFIX . "phrase WHERE varname = 'setting_" . $title . "_description'");
2. You will have to manually add the SQL Table into your database. To do so you can use this SQL query
Code:

CREATE TABLE `vb3_customfile` (
  `userid` int(10) unsigned NOT NULL default '0',
  `filedata` mediumtext NOT NULL,
  `dateline` int(10) unsigned NOT NULL default '0',
  `filename` varchar(100) NOT NULL default '',
  `visible` smallint(6) NOT NULL default '0',
  `filesize` int(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`userid`)
)

note you will probably see the allowtimeslips upload twice. I just ignored it and everything seems hunky dorry to me. PLEASE DO THIS AT YOUR OWN RISK. I am unaware as to how your code or sites run so it may or may not work for you.


What are you trying to do with this modification?

tealv6 04-18-2006 07:20 PM

I've looked through the whole 11 pages.. is there a way to make "ride" a drop down menu with options I set?

Also, what is the easiest way to delete a timeslip for a user other than the control panel? I would recommend a delete option from the timeslip.php page that only the Admins can use, normal users/mods will not see it.

Thanks
Steve

BlueBulletRL 04-18-2006 11:05 PM

sidewinder this was for people who where trying to add the xml file and getting that error. However my issue now is since this is for a fresh install I tried copying over my old data into the new database but all my timeslip pictures are messed up. I tried editing the file timeslips.php to use my old table but that didn't work either. Anyone have any suggestions.

BlueBulletRL 04-19-2006 12:54 AM

Also question when viewing the details it has the HOmepage. How can I take that out it doesn't read correclty and I find it unnescarry

Sidewindr 04-19-2006 02:25 AM

Quote:

Originally Posted by BlueBulletRL
sidewinder this was for people who where trying to add the xml file and getting that error. However my issue now is since this is for a fresh install I tried copying over my old data into the new database but all my timeslip pictures are messed up. I tried editing the file timeslips.php to use my old table but that didn't work either. Anyone have any suggestions.

Just rename your old table timeslippic to customfile (I think).

BlueBulletRL 04-19-2006 03:29 AM

Alright awesome that worked. So yes now my problem is when viewing details it shows homepage I want that gone

Sidewindr 04-19-2006 04:03 AM

If the user does not have a homepage it will not be displayed.

As for where to remove this from the timeslip detail display I am not sure .. don't have time to look for it right now :D


All times are GMT. The time now is 03:34 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.01532 seconds
  • Memory Usage 1,746KB
  • 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
  • (6)bbcode_code_printable
  • (2)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