The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vB Timeslip Database - for Automotive websites Details »» | ||||||||||||||||||||||||||||
vB Timeslip Database - for Automotive websites
Developer Last Online: Jul 2011
Yes, finally I can release it here the converted version off Timeslips database for vbulletin 3.5.x. I made it as a product, try to change the file edits into plugin as best as I could but you still need to edit 2 files (optional). I can't think of an easy way to remove that but if anyone can, please pop in.
I've made the timeslips.php page XHTML valid. Of course the look has not been changed. Also made it fully phrased. The permission is granted here Please let me copy what EvilLS1 posted in the 3.0 hack Quote:
Files to edit: (2)- member.php (1), functions_user.php (2), image.php(2) Files to upload: (2)- timeslips.php, slipicon.gif Templates to edit: (2)- USERCP_SHELL, navbar Templates to add: 0 Phrases to add: 0 Why do I still have to edit files ? The reasons for those editions are because you don't want users to see the timeslips profile fields in the memberlist/member profile/edit profile and just that. So that means if you exclude those the hack will still work whatever Installation instructions: BACK UP EVERYTHING BEFORE INSTALLING ANY HACK Firstly please read the file Instructions.txt file on how to install this hack. the steps are: Import the product-timeslips.xml file. Do file and template editions. Upload files to correct folder. Then enjoy it ! I have tried all that I can by installing this hack on a fresh board and solved *almost* all the problem. But if you find any errors, please post it here (just do not duplicate things :P ). Upgrading I haven't had a chance to do the upgrade because I convert this for a fresh vb3.5 board. I've set up things that I think it's ready for the upgrade. I'm willing to test the upgrade on your board if anyone can give. For the upgrade to work, you must use the latest version of timeslips which can be taken from here: https://vborg.vbsupport.ru/showthread.php?t=60945 Support I'll try my best to give supports. But please understand due to my heavy busy I may miss your post. Please understand. Screenshots? The shots from its 3.0 version are fine. here's the link: https://vborg.vbsupport.ru/showthrea...ight=timeslips Changes Logs 03/18/2006: version 1.1 Fully phrased the hack. 03/19/2006: fix the problem showing your current timeslip image when editing your timeslip. To upgrade simply re-import product-timeslips.xml. 03/19/2006: fixed a few bugs in this post: https://vborg.vbsupport.ru/showpost....9&postcount=31 . Again to upgrade just reimport the product file. 03/20/2006: Hack version change to 1.1.3: Changed the field of field 52,53,55 to decimal (6,3). Added one more file editions into the instructions file to fix showing proper image. So bad to add another file edit but this is becaus there is no hook in image.php. this is how to do it: PHP Code:
03/23/2006: Update: fix a JS error when submitting the new timeslip. (Thanks Sidewindr). Also the new product will attempt to remove your old vb3.0 options then add the new ones, this is for upgrading from timeslips for vb3.0 to vb3.5 . I didn't test that tho. 12/05/2006: Version 1.2 for vb3.6 released. 12/09/2006: minor fix for missing adding field50. 12/12/2006: fix the error: Fatal error: Call to undefined function build_hiddenprofilefield_cache() in C:\Program Files\xampp\htdocs\folder\admincp\plugin.php(1468) : eval()'d code on line 6 Please click install if you use this hack for updates. https://vborg.vbsupport.ru/vborg_mis...hreadid=110717 This hack is free (why not?) but donation are welcome, my paypal is bloodynightcrawler@gmail.com . Thank you. end of presentation, hope I don't miss anything. Show Your Support
|
Благодарность от: | ||
too_cool_3 |
Comments |
#622
|
|||
|
|||
I recently upgraded to 3.6.7 PL1. In an attempt to fix a couple of problems, I reverted a couple of my templates and lost the navbar link to the Timeslip Hack.
In going through this thread, I downloaded the 3.6 version 1.2, unzipped the file, and attempted to import the XML file with overwrite checked and I receive a database error when doing so. I receive the following error... Quote:
Please advise. Thanks, Matt. |
#623
|
|||
|
|||
Quote:
The error is that you are inserting a duplicate record into the table, that requires it be a unique (primary key) all you need to do to put the link back into the nav bar is follow this in the instructions: PHP Code:
|
#624
|
|||
|
|||
Quote:
but I'd still like the permission of the author.. or an OK from a Moderator. I don't want to step on anyones toes. |
#625
|
|||
|
|||
Quote:
|
#626
|
|||
|
|||
I upgraded my 3.6.4 board to 3.6.8 and there are some differences in the vb code that you need to change.
In the 3.6.x hack it says: Code:
###### In image.php find: if ($_REQUEST['type'] == 'profile') // do not modify this $_REQUEST ###### REPLACE IT WITH: if ($_REQUEST['type'] == 'profile' or $_REQUEST['type'] == 'timeslip') // do not modify this $_REQUEST Code:
###### In image.php find: else if ($_REQUEST['type'] == 'profile') // do not modify this $_REQUEST ###### REPLACE IT WITH: else if ($_REQUEST['type'] == 'profile' or $_REQUEST['type'] == 'timeslip') // do not modify this $_REQUEST Code:
###### In member.php find: // ********************* // 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 "); ###### Replace it with: // ********************* // 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 "); Code:
###### In member.php find: // ********************* // 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 "); ###### Replace it with: // 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.profilefieldid NOT IN (50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65) AND pf.form = 0 " . iif(!($permissions['genericpermissions'] & $vbulletin->bf_ugp_genericpermissions['canseehiddencustomfields']), " AND pf.hidden = 0") . " ORDER BY pfc.displayorder, pf.displayorder "); |
#627
|
||||
|
||||
Everything works fine on my board with 3.6.7 except if I click a username to view their profile I get this error message.
Quote:
|
#628
|
|||
|
|||
There is a missing bracket on this line
PHP Code:
PHP Code:
|
#629
|
||||
|
||||
Sweet! Got it working now! Thanks! I also upgraded to 3.6.8 and because of all the posts about losing info in this thread, thought I would share what I do. I save a list of all my php edits in a seperate folder thats easy to read, each text file is the name of the php file in my database that needs to be changed (basically cut and paste the specific instructions from each mod). When a new version of vBB comes out, I edit all the php files before uploading to my server and never get a mishap or lose stuff.
|
#630
|
|||
|
|||
Does anyone know if there is a way to include an if statement in the members profile to display timeslip info?
|
#631
|
|||
|
|||
Quote:
Definitely.. I put it in the postbit template. here is my post with all the info filled in: http://www.chicagosvt.com/forums/sho...&postcount=127 and here are examples of various stages of completed info: http://www.chicagosvt.com/forums/sho...d.php3?t=23654 here's a snipet of my postbit template to get you started: Code:
<if condition="$post['field50']"> <p > <hr color="#000000" size="1" width="100%"> <div class="smallfont"> <if condition="$post['field50']"><b>Vehicle:</b> $post[field50]</if> <if condition="$post['field51'] and $post['field51'] != '0.0'"><b>HP:</b> $post[field51] </if> <if condition="$post['field66'] and $post['field66'] != '0.0'"><b>TQ:</b> $post[field66] </if> <if condition="$post['field55'] and $post['field55'] != '0.00'"><b>1/4 Mile:</b> $post[field55]</if><if condition="$post['field56'] and $post['field56'] != '0.00'">@ $post[field56] </if> </div> <hr color="#000000" size="1" width="100%"> </p> </if> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|