 | |  | |
June 27th, 2009, 12:18 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Apr 2005
Posts: 62
| 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.
|
| |
June 27th, 2009, 02:49 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 52,666
|
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.
|
| |
June 27th, 2009, 03:19 PM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Apr 2005
Posts: 62
|
So I would have to post this in the mod section?
|
| |
June 27th, 2009, 03:31 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 52,666
|
Yes that would be an appropriate thing to see if anyone has done this.
|
| |
June 29th, 2009, 10:53 AM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Apr 2005
Posts: 62
|
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?
|
| |
June 29th, 2009, 01:03 PM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 52,666
|
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.
|
| |
June 29th, 2009, 01:58 PM
|
#7 (permalink)
| | Member Verified Customer
Join Date: Apr 2005
Posts: 62
|
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.
|
| |
June 29th, 2009, 02:21 PM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 52,666
|
sure its ADV_GALLERY_BROWSEIMAGES
|
| |
June 29th, 2009, 02:57 PM
|
#9 (permalink)
| | Member Verified Customer
Join Date: Apr 2005
Posts: 62
|
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.
|
| |
June 29th, 2009, 04:31 PM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 52,666
|
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.
|
| |
June 30th, 2009, 04:54 PM
|
#11 (permalink)
| | Member Verified Customer
Join Date: Apr 2005
Posts: 62
|
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.
Last edited by Misuzu; June 30th, 2009 at 05:08 PM.
|
| |
June 30th, 2009, 08:12 PM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 52,666
|
In IE thats weird maybe a BROWSER THING
How about posting a url and a test login
|
| |
June 30th, 2009, 10:37 PM
|
#13 (permalink)
| | Member Verified Customer
Join Date: Apr 2005
Posts: 62
| 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.
|
| |
July 1st, 2009, 08:26 AM
|
#14 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 52,666
|
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.
|
| |
July 1st, 2009, 09:42 AM
|
#15 (permalink)
| | Member Verified Customer
Join Date: Apr 2005
Posts: 62
|
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.
Last edited by Misuzu; July 1st, 2009 at 10:09 AM.
|
| | |
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 08:27 AM. | |