Status
Not open for further replies.

Footman

Customer
I went in and commented out a few lines of code to make things look a little cleaner in my eyes. Of course some members thought it might be a good idea to see this information.

So I'm now looking for the section of code that I commented out to hide the camera info panel. But alas, I cannot find a single comment out. I can't imagine I deleted the code. I purposely comment things out for this exact reason.

I'm using the vbStyle for the Gallery and I'm looking in the 'dbtech_gallery_view_image_vb' template but I simply do not see the section of code for the camera info.

I'm hoping you can tell me what I'm looking for or if in fact it is missing for some reason that you can give me the code so I can replace it.

Thank you guys,
 
No, I did comment out the three link code parts as well.

Code:
<!-- <div style="margin-bottom: 15px; margin-top: 15px;">
							<div id="gallery_image_link_url">
								{vb:rawphrase dbtech_gallery_ref_dir_link}:<br />
								<input class="primary textbox" type="text" name="link_url" size="53" value="{vb:raw image_data.link_url}" readonly="readonly" onfocus="highlight(this); onchange="highlight(this);" />
							</div>
							<div id="gallery_image_link_bbcode">
								{vb:rawphrase dbtech_gallery_ref_bbcode_link}:<br />
								<input class="primary textbox" type="text" name="link_bbcode" size="53" value="{vb:raw image_data.link_bbcode}" readonly="readonly" onfocus="highlight(this); onchange="highlight(this);" />
							</div>
							<div id="gallery_image_link_bbcode">
								{vb:rawphrase dbtech_gallery_ref_bbcode_img}:<br />
								<input class="primary textbox" type="text" name="img_bbcode" size="53" value="{vb:raw image_data.img_bbcode}" readonly="readonly" onfocus="highlight(this); onchange="highlight(this);" />
							</div>
						</div> -->

But I just don't see the code for the camera info. Am I going nuts? It should be there right? lol
 
If that is the template you removed or commented out the code from, just revert the template in your style, and then comment out the three link codes again.
 
Well that didn't work, I guess the camera info box isn't there in the vBstyle layout. However I did get the "Add to favorites" button... that's cool.
 
Yes, the 'dbtech_gallery_image_edit' I commented out the camera input fields. But I found that after doing that I could no longer 'save' anything. So I UNcommented them and I can now save photos to the gallery.
 
You know, no one has caught that yet. I just checked and the camera info is not showing in the vb style template.

If you edit the template
dbtech_gallery_view_image_vb

Find
PHP:
                        {vb:raw template_hook.dbtech_gallery_after_img_info}

after that add

PHP:
                        {vb:raw cam_info_data}

                        {vb:raw template_hook.dbtech_gallery_after_cam_info}

And you should see the cam info
 
Ok, at least I'm not going crazy... lol

Thank you Dylan! I've entered the info and tested it out. The camera info panel only shows up if there's information added in the edit photo page otherwise the panel is not visible. Which is perfect actually.
 
Status
Not open for further replies.

Similar threads

Legacy DragonByte Gallery

vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
865
Customer rating
0.00 star(s) 0 ratings
Back
Top