![]() |
Problem with img/ubb code not showing(FIXED) I've enabled UBB code (Show UBBCode on Photo page set to "yes") yet the box does not display. Playing with the templates it appears that the variable $imgurl is null and has no data. What settings do I need to change to resolve this? Thanks. |
Any ideas? |
Well I can not explain why your $imgurl variable would be empty as it makes no sense since thats what we use to display the photo but I have seen this on a couple systems. There is a little edit one can make. I think most users I have encountered with this are on Vbulletin and I think they have a hack installed that must intefere with the variable. In showphoto.php find this Code: Content visible to verified customers only.if ( $Globals['showubb'] == "yes" && $imgurl != "" ) { change to this if ( $Globals['showubb'] == "yes" ) { |
That did the trick, thanks. |
Actually, users are still reporting issues: Quote:
Quote:
|
How is an img tag not be right. You have an example. I show no issue with this here is a tag I get. Your not going to be able to see it since I have the data thing locked down but the url is indeed right Code: Content visible to verified customers only. |
Chuck, Here's how... example url from ubb code http://www.scubaboard.com/gallery/da...ue_springs.jpg actual url (view source from the photo display page): http://www.scubaboard.com/gallery/wa...e=15969&size=1 Mind you water marks are turned off |
I'm having the same problem here, with UBB 6.5.1.1 and PhotoPost 5.13 At the begining I had no link, even do I put YES on the option (like Ted S) Then I use Omegatron fix and now I have the display link, but it's not doing any good. This is the link: Code: Content visible to verified customers only.(see this page: http://www.imigrar.com/forum/showthr...&vc=#Post39956 |
Are you protecting your data directory ;) this doesnt seem to exist on your server although I am sure it does http://imigrar.com/photo/data/502/me...biaGlacier.jpg remember image protection and image display arent mutually exclusive |
That was it... I didn't even realize there was a photo protection option in the configuration area. Thanks |
Actually we still have a problem... If the image being viewed is a medium image it will not work. See http://www.scubaboard.com/gallery/sh...00/ppuser/8823 which tries to show http://www.scubaboard.com/gallery/da.../occytext1.jpg but should show http://www.scubaboard.com/gallery/da.../occytext1.jpg |
why should it not show it. It is coded to show the medium Sorry this feature always shows the medium image and it is not coded to show a fullsize image. if thats what your after alter your code in showphoto. |
It should show a path that works, it isn't. If the image has no medium version, the link works fine. If the image has a medium version, the link to that image is wrong. The problem is that the code isn't displaying the appropriate link for images, no changes have been made to the source php files. |
try linking them to either the thumbnail or large $ubburl = "{$Globals['datadir']}/$storecat/$bigimage"; $showcode = " Code: Content visible to verified customers only. |
| All times are GMT -5. The time now is 08:25 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0