![]() |
Random Image works as direct link, but doesn't work in the IMG tag...
]Hello everyone... I used following script to push a random picture:
Code:
<?php Now... I went to my VBB forum and made a new VBB code : vB Code tag adminimgonly vB Code replacement <img src="{param}"> vB Code example [adminimgonly]http://www.google.com/images/logo.gif[/adminimgonly] vB Code explanation Adds an IMAGE to a signature for ADMINS only. Use {option} ? Yes No And tried it out in my signature as Code:
[adminimgonly]http://www.somewhere.com/pics/sig.php[/adminimgonly] But direct access Code:
[adminimgonly]http://www.somewhere.com/pics/1.jpg[/adminimgonly] In the source code I could clearly see plain html language Code:
< img src="http://www.somewhere.com/pics/sig.php" > Anyone have any ideas? :( |
Just a question but have you had any regular registered members try it to see if it works?
|
]nope I haven't... I tried it on another pc at the same home network - same result :(
|
I think personally that the direct link is plainly bypassing as an image tag like:
Code:
[*img]the image address[*/img] Code:
[adminimgonly]http://www.somewhere.com/pics/1.jpg[/adminimgonly] |
no, html/php + img tag is disabled... that's why I made new vBB code...
|
woolfe try this code in your sig.php file:
PHP Code:
|
]lemme try :)
(will edit this message as soon as I have tried :) ) |
erm....
$im = imagecreatefromjpeg($logos[$logo]<img src="https://vborg.vbsupport.ru/images/newsm/wink.gif" border="0" alt="">; ^^^^^^ ???? |
]well... I used script as u said and it didn't worked... then I changed
$im = imagecreatefromjpeg($logos[$logo]<img src="https://vborg.vbsupport.ru/images/newsm/wink.gif" border="0" alt="">; to $im = imagecreatefromjpeg($logos[$logo]<img src=" ; ) " border="0" alt="">; same result - doesn't work... Code:
Parse error: parse error, unexpected T_STRING in /blabla/sig.php on line 27 |
ups, seems vb has parsed a line as a smilie *gg*
try now |
All times are GMT. The time now is 12:32 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|