PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   How Do I? - vBulletin 3.7x / 3.8x (http://www.photopost.com/forum/how-do-i-vbulletin-3-7x-3-8x/)
-   -   How to place custom fields into other pages? (http://www.photopost.com/forum/how-do-i-vbulletin-3-7x-3-8x/140361-how-place-custom-fields-into-other-pages.html)

Misuzu June 27th, 2009 11:18 AM

How to place custom fields into other pages?
 
How do I place custom fields and the value that each photo hold into another page, for example, browseimage? I would also like to know how to make it so only a certain usergroup can see this using the conditionals. Thanks for help in advance.

Chuck S June 27th, 2009 01:49 PM

You would need to create some type of code modification for that. There is no way through the program to do this as those custom fields are per category.

Misuzu June 27th, 2009 02:19 PM

So I would have to post this in the mod section?

Chuck S June 27th, 2009 02:31 PM

Yes that would be an appropriate thing to see if anyone has done this.

Misuzu June 29th, 2009 09:53 AM

Hello Chuck,

When you mentioned that the custom fields are per category what did you mean? What I'm trying to do is add a custom field "Price", which I did. When I upload photos and enters a price on each item, it shows the price of each item on the showimage page. The problem is I want to bring the price out to the browseimage page.

I tried posting in the mod section but it seems that forum is very inactive of late. Do you think you can help me get started?

Chuck S June 29th, 2009 12:03 PM

Misuzu the custom fields work as they are designed to and as such they dont show on browseimage script.

I can assist with support on the base code and tell you how something operates or assist if there is something wrong with the code but just like vbulletin company policy is we do not support code modifications thats why I suggested you could post there so if any users wanted to assist they could. I only work in support as I do not assist in the code mod forums.

Misuzu June 29th, 2009 12:58 PM

Then do you think you can advise me on which template it is that displays the page with all the thumb nails in a category? I can't seem to find it.

Chuck S June 29th, 2009 01:21 PM

sure its ADV_GALLERY_BROWSEIMAGES

Misuzu June 29th, 2009 01:57 PM

Sorry, I know I'm being a bother. But these would probably be my final ones if I can get this to work. Basically, is there a way to stop the files from renaming itself to lower case letter when I do bulk uploading? For example, 102-0489-P would be renamed to 102-0489-p. If that wasn't possible, is there a way for me to use a variable to get the url of the picture in showimage out to the browseimage? What I wanted to do is open the showimage picture directly into a new window, instead of going to the showimage page with the description and everything.

Chuck S June 29th, 2009 03:31 PM

You would need to actually try editing your browseimage script and define such variables. There is not a variable you can copy from script to script since variables are defined in each script themselves.

Misuzu June 30th, 2009 03:54 PM

For some reason, the login.php replacements on both navbar and footer (or where ever else) puts an extra / after http://, like this http:///. It doesn't happen with any of the other link replacements, only login.php any idea why?

Oh, this only happens in IE also, it doesn't happen in firefox.

Edit: I was wrong, it doesn't just happen for login.php it happens for every replaced url. But it still only happens in IE, both 7 and 8.

Chuck S June 30th, 2009 07:12 PM

In IE thats weird maybe a BROWSER THING

How about posting a url and a test login

Misuzu June 30th, 2009 09:37 PM

EDFORCE Stainless Steel
user: test
pw: testing

For now I've hardcoded the login form and logout link to point to the right places. But if you look at the other links, there's an extra '/' in it.

Chuck S July 1st, 2009 07:26 AM

I dont see extra slash anywhere things look just fine from what I am seeing link wise that is. Your login replacement needs to be in the header and footer since your not using that custom stylesheet and there is no navbar.

Misuzu July 1st, 2009 08:42 AM

The replacements are in the right places, and only the links replaced are showing an extra '/'. This only happens in IE, I tried it on 2 separate computers and both is the same. None of this happens in firefox.

I took out the forumdisplay.php on the footer (marked forums read) and the link is no longer replaced and no longer showing the extra '/' while the others, showgroups.php, sendmessage.php, archive, is all showing the extra '/'.

Logged in, registered or admin account, or as guest makes no difference. Even on default skin with no changes made, and no changes has been made to any vb or vbgallery php files.

EDIT: Also just tried it on google chrome, and it doesn't happen. So this problem was limited to IE only.


All times are GMT -5. The time now is 03:03 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97