vBulletin Modifications

finding a line...

Welcome to vBHackers.com! - vBHackers Updates:

Go Back   vBulletin Modifications > General vBulletin Section > General vBulletin Support

Reply
 
LinkBack Thread Tools
Old 09-27-2006, 11:02 AM   #1
Coder
G_man's Avatar
Join Date: Feb 2006
G_man is on a distinguished road

Default finding a line...

When you get an error, like blah blah in Line 385...

How do you find that line???




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 09-27-2006, 11:15 AM   #2
Coder
BigJohnny's Avatar
Join Date: Jul 2006
BigJohnny is on a distinguished road

Default

if you get an error in the editor, i copy the code from the template im working on and paste it into an editor that shows line numbers..... then i find the line.
If you get an error on a page, then you need to right click, view source, and copy that source into said editor..... then when you find the line number and the piece of code with the error, you need to know which template it came from so you can go to that template and edit the error.

vB puts its pages together from many templates, so an error on line 900 of page source, will not be line 900 in a template.

Also if you dont know which template the error is in, you can copy the chunk of code from the page source, and in your ACP do a search in the templates for that chunk.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-27-2006, 07:18 PM   #3
Coder
G_man's Avatar
Join Date: Feb 2006
G_man is on a distinguished road

Default

Quote:
Originally Posted by BigJohnny
if you get an error in the editor, i copy the code from the template im working on and paste it into an editor that shows line numbers..... then i find the line.
If you get an error on a page, then you need to right click, view source, and copy that source into said editor..... then when you find the line number and the piece of code with the error, you need to know which template it came from so you can go to that template and edit the error.

vB puts its pages together from many templates, so an error on line 900 of page source, will not be line 900 in a template.

Also if you dont know which template the error is in, you can copy the chunk of code from the page source, and in your ACP do a search in the templates for that chunk.
ahh... figured most of that out the hard way!! LOL

Didn't think about searching in the ACP though. Nice trick.

Any good cheap/free editors out there that have line numbers?


*** edit - how rude of me... cheers for the info. ***




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-27-2006, 09:07 PM   #4
Coder
Senna's Avatar
Join Date: Mar 2005
Location: LalaLand
Senna is on a distinguished road

Default

you don't even need linenumbers:

copy it to notepad, press ctrl+g (go to) and then enter the linenumber, the line where the cursor moves to is the line you normally need




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-27-2006, 09:15 PM   #5
Coder
G_man's Avatar
Join Date: Feb 2006
G_man is on a distinguished road

Default

Quote:
Originally Posted by Senna
you don't even need linenumbers:

copy it to notepad, press ctrl+g (go to) and then enter the linenumber, the line where the cursor moves to is the line you normally need
ahh.. Cool.

Cheers.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-28-2006, 03:04 PM   #6
Coder
BigJohnny's Avatar
Join Date: Jul 2006
BigJohnny is on a distinguished road

Default

wtf ..... wow i wish i knew that before lol

html-kit is a good fre editor.... handles php as well.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-28-2006, 03:05 PM   #7
Coder
BigJohnny's Avatar
Join Date: Jul 2006
BigJohnny is on a distinguished road

Default

go to is greyed out for me,.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-28-2006, 03:20 PM   #8
vBulletin Guru
Nick R's Avatar
Join Date: May 2006
Real Name: Nick
Location: Cyberspace, UK
Nick R is on a distinguished road

Default

that's because you forgot to pay your microsoft tax ;)




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-28-2006, 04:14 PM   #9
Coder
G_man's Avatar
Join Date: Feb 2006
G_man is on a distinguished road

Default

Quote:
Originally Posted by BigJohnny
wtf ..... wow i wish i knew that before lol

html-kit is a good fre editor.... handles php as well.

Cheers! I'll have to check that out.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
User Cp Critical Error Nick R Site Feedback 6 08-03-2006 10:39 AM
User Notes xfile vBulletin Modification Requests 5 05-28-2006 07:02 PM
how is om line in messenger solong vBulletin Modification Requests 0 09-11-2005 02:12 PM


All times are GMT -3. The time now is 09:31 PM.


SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc. (Patent Pending)