vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vB Timeslip Database -for Automotive websites (https://vborg.vbsupport.ru/showthread.php?t=60945)

jadel 03-07-2005 05:30 AM

Quote:

Originally Posted by EvilLS1
jadel,
I just checked the vb 3.0.7 image.php and the code is there. Make sure you're looking in forums/image.php and not forums/admincp/image.php.

EvilLS1,

Thanks. I had first copied the admincp/image file and when I copied the correct one and pasted over the other is did not copy. I was still working on the wrong one. *slaps forehead*

Jpax 03-15-2005 09:49 AM

Im getting this error when people edit the car profile.

Warning: Invalid argument supplied for foreach() in /includes/functions_user.php on line 584

What would cause this?

EvilLS1 03-15-2005 01:19 PM

Jpax,
The instructions call for some large chunks of code to be added to functions_user.php.. One of them probably wasn't pasted correctly. Try carefully re-applying the edits to that file and it should fix it.

dmark101 03-19-2005 01:47 AM

man, have i been lax on keeping up with updates of this hack.

just updated to 2.1, since i have vB 3.0.6 now and i like it. i did have to remove the original add-on hack for the ET limit before requiring a timeslip link though.

good work!

is there a way to have a validation for the type of vehicle, like the ET?

EvilLS1 03-19-2005 02:00 AM

Thanks. You can add a little javascript to check and make sure the vehicle field isn't empty, if thats what you mean.. But since users can specify anything they want in the vehicle field I don't think it would be possible to validate specific types. You'd need to make the vehicle field a drop down box with specific types preset. Even then it wouldn't be easy.

dmark101 03-19-2005 02:17 AM

Quote:

Originally Posted by EvilLS1
Thanks. You can add a little javascript to check and make sure the vehicle field isn't empty, if thats what you mean.. But since users can specify anything they want in the vehicle field I don't think it would be possible to validate specific types. You'd need to make the vehicle field a drop down box with specific types preset. Even then it wouldn't be easy.

drat. that's kind of what i was hoping could be done: a drop-down listing with preset vehicle types, or at least some sort of check to prevent (as an example) a motorcycle from being posted on a car site's timeslip listing.

jeff bourman 03-19-2005 10:47 AM

I will admit to being a complete n00b at this and it's all been a cut'n'paste exercise.
When I click on the Submit timeslip link ( http://192.168.0.5/profile.php?&do=edittimeslip) it just comes up blank. I don't expect you to tell me exactly where the problem is ( but it would be great :D ) but can you tell me which step would be the best place to start. I don't want to reload the site ( although it is a test site ) if at all possible.

the link in the address bar = http://192.168.0.5/profile.php?&do=edittimeslip

I looked in profile.php but it looks pretty well as it should be.

btw, the hack rocks!!! .. I have seen it elsewhere

Protoman 03-19-2005 03:33 PM

not sure how to help, but if you want people to try out your site they need an external IP to your server. the address you have is your local network IP, nobody on the internet can access that directly

EvilLS1 03-19-2005 05:02 PM

Jeff,
Check the 2nd edit to profile.php and make sure all of the code was pasted.. If so, check to make sure you added the modifytimeslip template.. Also check the spelling of the template name. If you use more than one style make sure the templates were added to all of them. One of those things should fix it.

jeff bourman 03-20-2005 07:35 PM

Quote:

Originally Posted by corollasbest
not sure how to help, but if you want people to try out your site they need an external IP to your server. the address you have is your local network IP, nobody on the internet can access that directly

Thanks but I realise it was an internal IP. Whilst it is accessible via the internet I didn't want anyone to waste their time doing it for me .. rather I wanted an indication of where to look to find it myself. That was I can learn how to fix things :) When I really screw it up I wlll beg for help :P

EvilLS1, thanks .. I will troll though it and see what I missed


All times are GMT. The time now is 11:36 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.01786 seconds
  • Memory Usage 1,741KB
  • 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
  • (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