Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)

Reply
 
Thread Tools Display Modes
  #11  
Old 06-26-2002, 09:24 AM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by squawell


1.full path=<img scr=http://localhost/squawell/images/XXX.gif>

is it right??i test it on my localhost!!

2.i already replace my forumid!!

and Logician the problem still exist!!

i think maybe my first step wrong.........so what is the problem?
1- put address in double quotes like:
<img scr="http://localhost/squawell/images/XXX.gif">

2- Check if your image path is correct: Call the address http://localhost/squawell/images/XXX.gif from your browser to see if you can see the image. If you cant, find the correct address of the image first and make sure you applied the correct address to the hack code.

3- I dont think there is anything wrong with the hack code. It seems ok. So check your image first..
Reply With Quote
  #12  
Old 06-26-2002, 01:26 PM
squawell's Avatar
squawell squawell is offline
 
Join Date: Oct 2001
Posts: 681
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Logician

1- put address in double quotes like:
<img scr="http://localhost/squawell/images/XXX.gif">

yes i already check it and its ok.....
Quote:
2- Check if your image path is correct: Call the address http://localhost/squawell/images/XXX.gif from your browser to see if you can see the image. If you cant, find the correct address of the image first and make sure you applied the correct address to the hack code.
i check it too and it can show up
Quote:
3- I dont think there is anything wrong with the hack code. It seems ok. So check your image first..
but the problem still here whats the problem u think??
Reply With Quote
  #13  
Old 06-26-2002, 01:34 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok post the HTML code (relevant part only) of the page and lets see..
Reply With Quote
  #14  
Old 06-26-2002, 04:02 PM
squawell's Avatar
squawell squawell is offline
 
Join Date: Oct 2001
Posts: 681
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

PHP Code:
if ($forumid==2) {$my_button='<img scr="http://squawellftp.dns2go.com/squawell/images/installed.gif">';}
else {
$my_button='<img scr="http://squawellftp.dns2go.com/squawell/images/newthread.gif">';}

// draw nav bar
$navbar=makenavbar($threadid,"thread",0); 
the code here....
Reply With Quote
  #15  
Old 06-26-2002, 06:35 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no I meant the HTML code of your page not hack code.

Load the page which does not work (the one you took the screenshot) and choose source view in your browser, then post here the code (not all of them, just the section around the image tag we are trying to switch)

BTW. why is your URL "squawellftp.dns2go.com"? Shouldnt you refer to your local host with a line smt. like that:
http://localhost/squawell/images/installed.gif
Reply With Quote
  #16  
Old 06-26-2002, 09:27 PM
squawell's Avatar
squawell squawell is offline
 
Join Date: Oct 2001
Posts: 681
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Logician
no I meant the HTML code of your page not hack code.

sorry..i misunderstand what u mean.....now i post the file see attachment file....
Quote:
BTW. why is your URL "squawellftp.dns2go.com"? Shouldnt you refer to your local host with a line smt. like that:
http://localhost/squawell/images/installed.gif
oh...i builded the forum in my localhost...if i want people visit my

forumi must use the url.....if not use the localhost url....
Attached Files
File Type: zip showthread.zip (16.8 KB, 4 views)
Reply With Quote
  #17  
Old 06-26-2002, 09:38 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by squawell

oh...i builded the forum in my localhost...if i want people visit my
forumi must use the url.....if not use the localhost url....
And this is your problem..

Here is your source code:

PHP Code:
<a href="newthread.php?s=&action=newthread&forumid=2"> <img scr="http://squawellftp.dns2go.com/squawell/images/newthread.gif"></a
See? the hack produced the code exactly as it should. Your problem is the link to your image is broken. I dont know what's wrong with that URL, but it's certain that it links a orphaned image. Anyway hack is working ok..
Reply With Quote
  #18  
Old 06-27-2002, 12:58 AM
squawell's Avatar
squawell squawell is offline
 
Join Date: Oct 2001
Posts: 681
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Logician


And this is your problem..

Here is your source code:

PHP Code:
<a href="newthread.php?s=&action=newthread&forumid=2"> <img scr="http://squawellftp.dns2go.com/squawell/images/newthread.gif"></a
See? the hack produced the code exactly as it should. Your problem is the link to your image is broken. I dont know what's wrong with that URL, but it's certain that it links a orphaned image. Anyway hack is working ok..
so the problem is my url link right?

anyway Logician...thnakz for ur help.........
Reply With Quote
  #19  
Old 06-27-2002, 12:58 AM
squawell's Avatar
squawell squawell is offline
 
Join Date: Oct 2001
Posts: 681
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Logician


And this is your problem..

Here is your source code:

PHP Code:
<a href="newthread.php?s=&action=newthread&forumid=2"> <img scr="http://squawellftp.dns2go.com/squawell/images/newthread.gif"></a
See? the hack produced the code exactly as it should. Your problem is the link to your image is broken. I dont know what's wrong with that URL, but it's certain that it links a orphaned image. Anyway hack is working ok..
so the problem is my url link right?

anyway Logician...thnakz for ur help.........
Reply With Quote
Reply

Thread Tools
Display Modes

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

Forum Jump


All times are GMT. The time now is 04:32 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04249 seconds
  • Memory Usage 2,268KB
  • Queries Executed 14 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (4)bbcode_php
  • (9)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (1)postbit_attachment
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete