PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Classifieds Support > Classifieds Bug Reports

Classifieds Bug Reports Post any problems you may be having with Classifieds here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old January 3rd, 2013, 06:34 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jun 2003
Posts: 42
VB3 enhanced templates

Hello,

I've noticed in a lot of vb3enhanced templates there is

class="$fillcolor[$x]}"

which should be

class="$fillcolor[$x]"

without the curly brace. I think some refactoring went wrong somewhere. I have been through all my templates and fixed it but that's from a live 5.23 copy.

Thanks!
Russ_T is offline   Reply With Quote
Old January 3rd, 2013, 06:51 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
Yes I show 6 templates in that set which had that and that has been corrected thanks.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old January 4th, 2013, 03:04 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jun 2003
Posts: 42
Off to work so no chance to be more thorough now, but I searched for

}" width

and it turned up a few more I think, I've yet to fix them yet.

Thanks
Russ_T is offline   Reply With Quote
Old January 4th, 2013, 07:30 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
well there are some variables that should be surrounded with brackets just to let you know. LOL
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old January 4th, 2013, 11:59 AM   #5 (permalink)
Member
Verified Customer
 
Join Date: Jun 2003
Posts: 42
Heh, I started to have that feeling this morning.

I'll just do the six templates that you mentioned and see if I bump into anything else

Thanks
Russ_T is offline   Reply With Quote
Old January 4th, 2013, 12:07 PM   #6 (permalink)
Member
Verified Customer
 
Join Date: Jun 2003
Posts: 42
Just fyi, if I search in the root templates folder I find 7 files to fix.

Thanks
Russ_T is offline   Reply With Quote
Old January 4th, 2013, 12:42 PM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
what do you mean by root templates folder as there are no files in the root of templates

I already fixed anything related to this in any templates folder in my build.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old January 4th, 2013, 01:49 PM   #8 (permalink)
Member
Verified Customer
 
Join Date: Jun 2003
Posts: 42
I mean in the folder above the vb3enhanced folder, so the templates folder itself.

I'm sure you're right, but when I extract a fresh 5.23 I find matches in

templates\forumstyle\bids.tmpl
templates\vb3enhanced\bids.tmpl
templates\vb4enhanced\bids.tmpl
templates\vb3enhanced\showproduct.tmpl
templates\vb3enhanced\showproduct1.tmpl
templates\vb3enhanced\showproduct2.tmpl
templates\vb3enhanced\showproduct3.tmpl
templates\vb3enhanced\showproduct4.tmpl
templates\forumstyle\feedback.tmpl
templates\mobile\feedback.tmpl
templates\classfieds\feedback.tmpl
templates\vb3enhanced\feedback.tmpl
templates\vb4enhanced\feedback.tmpl
Russ_T is offline   Reply With Quote
Old January 4th, 2013, 01:50 PM   #9 (permalink)
Member
Verified Customer
 
Join Date: Jun 2003
Posts: 42
Oh and congratulations on your 70k post
Russ_T is offline   Reply With Quote
Old January 4th, 2013, 02:10 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
Those are not root of templates those are subfolders and yes I already searched and found all those so thanks.

yeah I post alot and the sad thing is we already pruned a couple years from the database here.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old January 4th, 2013, 08:37 PM   #11 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2011
Posts: 16
If I am not mistaken, (and that happens plenty of times ) wouldn't it be better to leave the curly braces on rather then off. It should help with some ambiguity to the parser.

Last edited by tbworld; January 4th, 2013 at 08:47 PM.
tbworld is offline   Reply With Quote
Old January 4th, 2013, 09:23 PM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
No not at all both are valid

{$fillcolor['$x']}

and

$fillcolor[$x]

Part of the new versions was making variables more user friendly and the templating not being so PHP heavy handled but more straight html so users could understand and work with it more.

See how much simpler the second one is rather than the old way of doing it.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
I love the PPPro vB3 Enhanced. When can we have the reviewpost vB3 Enhanced?? batmon ReviewPost Installation & Upgrades 8 March 9th, 2005 03:28 PM
vb3 enhanced WYSIWYG kewl1uk Classifieds Installation & Upgrades 0 March 6th, 2005 07:37 AM
VB3 enhanced -> different ad types are all using 0 templates Mikan Classifieds Bug Reports 5 January 30th, 2005 04:16 PM
vb3 enhanced templates?? jdearing Photopost Pro Installation & Upgrades 4 January 20th, 2005 08:11 PM
4.8.5 vb3 enhanced 7thgencivic.com Photopost Pro Installation & Upgrades 2 November 19th, 2004 02:11 PM


All times are GMT -5. The time now is 07:17 AM.

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