PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   ReviewPost Bug Reports (http://www.photopost.com/forum/reviewpost-bug-reports/)
-   -   Programmer found some bugs (http://www.photopost.com/forum/reviewpost-bug-reports/145738-programmer-found-some-bugs.html)

byalik May 1st, 2011 11:01 AM

Programmer found some bugs
 
My programmer just sent me this email:


1. Open these pages
lawyerhelpers.com/reviews/showcat.php/cat/500/ppuser/1
lawyerhelpers.com/reviews/member.php/uid/1/username/byalik
Both samples are user's pages, for EACH user new page will be generated)

We have broken images:
lawyerhelpers.com/reviews/member.php/uid/1/username/images/styles/legalhelp/misc/menu_open.gif

Look at the path, system will see this image for every user
lawyerhelpers.com/reviews/member.php/uid/1/username/...images/styles/legalhelp/misc/menu_open.gif
lawyerhelpers.com/reviews/member.php/uid/2/usernameanother/...images/styles/legalhelp/misc/menu_open.gif

Same was with a logo, but I rewrote the logo's path and made it absolute in the vb templates. I cannot do the same with menu_open.gif because this img is hardcoded into JS and php files.

This is a script's bug, they should help you.

2. lawyerhelpers.com/reviews/member.php/uid/1/username/byalik

user's page. I need to know how to edit a footer part of this page (what template(s)?) Normally, they'll answer this question

byalik May 1st, 2011 12:17 PM

More:

Menu (main menu) isn't editable, it's imported part from the vb, but as you can see links are broken. Some links we can fix with htaccess file, but links from user's section... I doubt, cause for each user system generate a different links

Regarding missing images: just view the paths of them and you'll see what I mean. And these images are part of the main theme. It's the same issue as above: wrong links.

Chuck S May 1st, 2011 12:38 PM

Not trying to bust your programmers bubble here but if he should know this already.

These are not script bugs. These are custom style and vb mod issue bugs your using relative links to images and links in your style and you can not do. Your talking vbulletin mods and images here not our code so it can not be a bug in our code. We auto rewrite any normal vbulletin program and image links in a normal install which is why you would never see issues running a default vb.

Same with your menu you need to edit where ever in vbulletin and correct any relative links to mods custom menus etc. You can not have relative links and expect those links to work over another directory.

We are not talking a default vb code or reviewpost code issue here. These issues would all come from custom vb mods and styles.

Most vb style issues are corrected by placing full urls in the custom style directory setup. However any hard coded image links in templates plugins etc that do not rely on using any vb defined misc style variable or vbulletin forum url variable would need to be hand edited in your custom style or mod and a full url used so it can be found.

You will see issues using normal urls and a custom style but using spider urls which use a path translation of / will compound any path issues in your custom stuff.


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

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