vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   set specific forum have different button (https://vborg.vbsupport.ru/showthread.php?t=40256)

Logician 06-26-2002 09:24 AM

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..

squawell 06-26-2002 01:26 PM

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??

Logician 06-26-2002 01:34 PM

ok post the HTML code (relevant part only) of the page and lets see..

squawell 06-26-2002 04:02 PM

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....

Logician 06-26-2002 06:35 PM

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

squawell 06-26-2002 09:27 PM

1 Attachment(s)
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....

Logician 06-26-2002 09:38 PM

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..

squawell 06-27-2002 12:58 AM

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.........

squawell 06-27-2002 12:58 AM

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.........


All times are GMT. The time now is 09:25 PM.

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.01245 seconds
  • Memory Usage 1,749KB
  • 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
  • (4)bbcode_php_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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