PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Installs and Upgrade - vBulletin 3.5.X (http://www.photopost.com/forum/installs-upgrade-vbulletin-3-5-x/)
-   -   Category Glitch (http://www.photopost.com/forum/installs-upgrade-vbulletin-3-5-x/122500-category-glitch.html)

Rob Locke January 24th, 2006 09:24 PM

Category Glitch
 
Hi PhotoPost vBGallery Team,

I have just noticed something very odd. I don't know how to explain it really, so perhaps you can follow these instructions and see for yourselves:

1) From the gallery homepage, click on any category HEADING. You'll notice the categories are displayed normally, followed by the 'Category Contains New Images'/'Category Contains No New Images' icon keys on the left and the category jump menu on the right. This is the because the link you are following points to /index.php?c=X.

2) Now click on any category, either from here or the homepage.

3) Now go to the breadcrumb table at the top of the page and click on the same category HEADING name as before. You'll see the same as described above, BUT now a table has appeared below the categories entitled "Images in Category: X", even though the category heading is NOT acting as a category and will never have any images in it.

I noticed in example 3 that the breadcrumb is calling on /browseimages.php?c=X, instead of /index.php?c=X as it should. In essence this glitch is making the main category act as a subcategory.

How do we correct this and get the breadcrumb to correctly point to index.php?c=X and not /browseimages.php?c=X as it does currently?

I hope this make some kind of sense.

Rob Locke January 30th, 2006 01:35 PM

Can anyone help?

Zachariah January 31st, 2006 10:22 AM

link ? Please
- I must be thick headed @ the moment :D

Rob Locke January 31st, 2006 03:15 PM

Sure...

From http://omnibilia.com, click on a category heading. For example, the first category heading Media Center (http://gallery.omnibilia.com/index.php?c=1). You'll see that section of categories listed correctly.

Now click on Site Uploads (http://gallery.omnibilia.com/browsei...hp?c=2&userid=) which takes you into that category.

IMPORTANT BIT: Go to the breadcrumbs and click back to Media Center (the link has changed to http://gallery.omnibilia.com/browseimages.php?c=1). Now you'll see that section of categories AND another table below it for Images in Category: Media Center with No images to display.

This second table shouldn't be there because Media Center is set to Act as Category: No in gallery admin. It's a category heading and will never contain images. Shouldn't there be some kind of condition in the code which prevents this from appearing if it's a not acting as a category but a heading (and does appear if it IS acting as a category)?

Hopefully this makes more sense now.

Thanks for the help,

Zachariah January 31st, 2006 06:02 PM

1 Attachment(s)
ya yes I see.
- This is something that vBulletin does. I have wanted to omit Cats w/o options to post threads or images since VB3.0.

Same thing happens in the Forums.

Parent
- Child (No posting)
-- Child 2

EX: How the forums is the same way.

http://www.gzhq.net/forums/forumdisplay.php?f=451
- Can not post here, but:

@ the bottem:
- There are no posts in this forum.
- Display Options
- Posting Rules
- Shows up in the breadcrumb / navbar

========================================
Related EX:
I have not looked in on this or worked on a "fix" to what I personaly think is a "bug" in a long time, but I got busy :rolleyes: . I might pick it up again and play with it.

Dec 11th 2003, 8:34pm @ vb.com
sub-forum links in each forum's display area

have it set to 1 level.
The problem is the place holder Cat. forum.

What would it take to remove "System Building" out of the subforum list ?

Act as Forum(Will act as category if no) is set to NO and Forum is Open (Set this to 'No' to prevent any new posts being made in this forum) is set to NO.

Is there an if / then statment if both of these are true pull it from the sub-forums listing ?

Image below may help.

Rob Locke February 1st, 2006 05:32 PM

I see what you are saying. I tried a similar test in vBulletin and the forum heading links are all forumdisplay.php?f=X. Looking at the FORUMDISPLAY template, there is a conditional <if condition="$show['threadslist']"> and clearly in the PHP the threadlist is told NOT to show if it's a forum category and only to show when the link is to showthread.php.

What is missing from BROWSEIMAGES is the conditional similar to <if condition="$show['threadslist']"> which tells the table not to appear if it's a category heading.

Zachariah February 1st, 2006 06:32 PM

Got ya.
- I'll poke around on this and see what I can come up with.

Rob Locke February 1st, 2006 09:18 PM

Many thanks. Your support is enormously appreciated.


All times are GMT -5. The time now is 03:39 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