 | |  | |
April 2nd, 2005, 06:05 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Mar 2005
Posts: 34
| URL of the "Direct Link Code" wrong
I have a problem with the code in "Direct Link Code", "BB Image Code" and "<img> Tag Code". URL of files are wrong. They all have a '&c=' query string at the end (e.g. http://www.domain.com/files/1/file.jpg&c=).
I'm not sure if this is a bug or I'm just missing something.
|
| |
April 3rd, 2005, 01:53 AM
|
#2 (permalink)
| | Member Verified Customer
Join Date: Mar 2005
Posts: 34
| Re: URL of the "Direct Link Code" wrong
The URL of original images on the category view, index page, image view and possibly somewhere else, is wrong too.
I think this effects only those who have the "Open Original in New Window" option in the Admin CP enabled.
|
| |
April 3rd, 2005, 11:37 AM
|
#3 (permalink)
| | Guest | Re: URL of the "Direct Link Code" wrong
For anyone else who is having this problem, please download the package from here again and upload the /gallery/showimage.php and /forum/includes/functions_gallery.php files over your existing ones.
Then look in your 'adv_gallery_imagebit' template for 2 instances of this: Code: Content visible to verified customers only.
Replace both with this: Code: Content visible to verified customers only.
Then look in your 'ADV_GALLERY_SHOWIMAGE' template for 2 instances of this code: Code: Content visible to verified customers only.
Replace both with this: Code: Content visible to verified customers only.
And that should take care of the problem.
| |
| |
April 4th, 2005, 08:13 AM
|
#4 (permalink)
| | Member Verified Customer
Join Date: Mar 2005
Posts: 34
| Re: URL of the "Direct Link Code" wrong
Thanks, that took care of most of the wrong links. But the link to the original image in gallery/showimage.php is still wrong.
|
| |
April 4th, 2005, 12:19 PM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Mar 2005
Posts: 34
| Re: URL of the "Direct Link Code" wrong
Hey guess what? Everything works and I can't find any more bugs.
BTW, you may want to edit your post above (new code for the template is the same). |
| |
April 4th, 2005, 12:27 PM
|
#6 (permalink)
| | Guest | Re: URL of the "Direct Link Code" wrong
Whoops, guess it would help if I posted the correct code, huh? | |
| |
April 10th, 2005, 12:58 PM
|
#7 (permalink)
| | Ultimate Member Verified Customer
Join Date: May 2004 Location: Tempe, Arizona
Posts: 2,240
| Re: URL of the "Direct Link Code" wrong Quote: |
Originally Posted by Brian If you'll look in your showimage.php file for this code: Code: Content visible to verified customers only.
And replace it with this: Code: Content visible to verified customers only.
Then that should take care of the problem. | I just realized I had this same issue.. Worked like a charm. Thanks
|
| |
April 18th, 2005, 05:25 PM
|
#8 (permalink)
| | Guest | Re: URL of the "Direct Link Code" wrong Quote: |
Originally Posted by Brian And replace it with this: Code: Content visible to verified customers only.
Then that should take care of the problem. | there's a typo on 'if', is that why your first fix didn't work?
| |
| |
April 18th, 2005, 07:19 PM
|
#9 (permalink)
| | Guest | Re: URL of the "Direct Link Code" wrong
No, 'iif' is correct.
| |
| |
April 18th, 2005, 07:48 PM
|
#10 (permalink)
| | Guest | Re: URL of the "Direct Link Code" wrong
seriously??
| |
| |
April 18th, 2005, 07:54 PM
|
#11 (permalink)
| | Guest | Re: URL of the "Direct Link Code" wrong
Well do you think I would intentionally post the incorrect code, and then lie about it? | |
| |
April 18th, 2005, 08:06 PM
|
#12 (permalink)
| | Ultimate Member Verified Customer
Join Date: May 2004 Location: Tempe, Arizona
Posts: 2,240
| Re: URL of the "Direct Link Code" wrong Quote: |
Originally Posted by Brian Well do you think I would intentionally post the incorrect code, and then lie about it?  | well, you keep saying CMPS 2.0 is coming out.. |
| |
April 18th, 2005, 08:08 PM
|
#13 (permalink)
| | Guest | Re: URL of the "Direct Link Code" wrong
And it is... As soon as I get done adding new toys with it. | |
| |
April 20th, 2005, 06:36 PM
|
#14 (permalink)
| | Member Verified Customer
Join Date: Aug 2002 Location: TX
Posts: 45
| Re: URL of the "Direct Link Code" wrong
So, just to get this straight...am I supposed to make the changes listed in post #2 and post #4 and post #6?
I just want to be sure before I make the changes. Thanks.
|
| |
April 21st, 2005, 12:49 PM
|
#15 (permalink)
| | Member Verified Customer
Join Date: Feb 2005
Posts: 62
| Re: URL of the "Direct Link Code" wrong
Yeah, I have the same problem/doubt. Which edits do we apply?
|
| |
April 21st, 2005, 05:18 PM
|
#16 (permalink)
| | Guest | Re: URL of the "Direct Link Code" wrong
Sorry for the confusion. I've just updated the files on here to include the fixes so that those who are installing the script for the first time will not run into this issue, and modified the fix in post #3 here to include simpler instructions.
| |
| |
May 7th, 2005, 07:03 PM
|
#17 (permalink)
| | Guest | Re: URL of the "Direct Link Code" wrong
I've had no luck applying these fixes | |
| |
May 16th, 2005, 05:04 PM
|
#18 (permalink)
| | Guest | Re: URL of the "Direct Link Code" wrong
Not only can I not fix this, Brian has chucked my support thread regarding it after weeks of ignoring me!
| |
| |
May 16th, 2005, 07:57 PM
|
#19 (permalink)
| | Ultimate Member Verified Customer
Join Date: Nov 2003 Location: Raleigh, NC
Posts: 1,417
| Re: URL of the "Direct Link Code" wrong
It's a VERY simple fix to apply, so I don't know why you can't... Or, you can just wait on the next release to fix it. (This is a RC version, ya know?)
|
| |
May 18th, 2005, 03:50 PM
|
#20 (permalink)
| | Guest | Re: URL of the "Direct Link Code" wrong
Silly me, I must have not updated the showimage.php
However my image direct link codes are not prefixed by the full url like they should.
e.g. Code: Content visible to verified customers only.
rather than with the http://www.wordforge.net/ before hand
Fix around? | |
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 06:02 AM. | |