phpBBHacks.com - Category Modifications
Bad Boy Blog, an unofficial Diddy and Bad Boy fan blog
StatsForums Home   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in
FAQFAQ   SearchSearch   MemberlistMemberlist   TutorialsTutorials   ContactContact Us
Username:    Password:
Remember Me?    
   I Lost My Password!
Bookmark and Share
Post new topic   Reply to topic    phpBBHacks.com Support Forums Forum Index -> phpBB 3 Style and Design Support and Development
 See a User Guidelines violation? Please contact us.
Author Message

DanV
New User

Joined: 30 Jul 2010
Posts: 4

PostPosted: July 30th 2010, 7:38 am    Post subject: Category Modifications Reply with quote

Hi

Recently I asked at the phpBB forum for help in changing the color of a particular category. They were very helpful and the result can be seen in this image:



Once this had been done I thought that the category would remain this color throughout the forum's different pages but this is not the case as the forum color reverts to the main color. When I asked the person about this they did not know how this could be done saying that the index page is forumrow whereas the viewforum page is the topicrow, so the forumrow.FORUM_ID code won't work, and topicrow.FORUM_ID doesn't exist. So, from what they said, it seems that the code of one template will not necessarily carry over into another one.

What I then considered were alternatives like a forum image associated witht the forum but there too that disappears after the index and it just breaks up the look of the forum row. Then I thought about a banner (Green Forum') and this image shows where I'd like it to go:



Now, keep in mind that I'd like the banner to show not on the index page but on the pages after that deal with that specific category and so I thought if there was a way to get the banner specific to a category.

When I asked the same person about this they said I'd need to get the same 'IF' statement working in order to display that banner. The "same" refers to how he showed me to modifiy said statement in order to add extra, colored categories in case I ever needed more. While I think I have that aspect of different category colors for future use, I simply do not have the knowledge of PHP for me to go tweaking the code to do this.

So, is there anyone who may have a suggestion as to how what I have noted here can be accomplished whether it be continuity of the category color or at least a banner to signify a particular forum beyond the index page?

I hope I have noted and explained this properly.

Thank You

Dan
Back to top
View user's profile Send private message

~HG~
Dedicated User

Joined: 08 Nov 2003
Posts: 3913
Location: Australia

PostPosted: July 30th 2010, 3:16 pm    Post subject: Reply with quote

The changes you have made to the index page to achieve what you want would also have to be made to viewforum (php and html) and again to viewtopic if you wish to continue it through to the topic itself.

I dont know if you made changes to your css files or not, but if you did then you would need to also keep the changes going through that file as well.
_________________
~HG~

|| rodneyangell.com || || phpbb-tutorials.com ||My Hacks
Back to top
View user's profile Send private message Send e-mail Visit poster's website

DanV
New User

Joined: 30 Jul 2010
Posts: 4

PostPosted: July 30th 2010, 4:44 pm    Post subject: Reply with quote

HG

Thank you for the reply.

Yes, changes or rather an addition of a css class was added. I have no problem adding css to fit the need but it's the aspect of keeping the changes going through viewtopic that are apparently complicated due to what was noted in the previous post about a "topicrow.FORUM_ID" not existing and thus no way to specifically "tag" the forum for change, or in this case continuity.

If nothing like that exists then that's why I thought of alternatives like the banner mentioned and forum image. Basically, something on that forum page that denotes the particular forum since the forum-rows will not be green like in the index page.

Question: Can a banner such as the one shown be coded into viewtopic.html? From my end I can do the wrap, div, css and whatever else but I need to know the location on the template where it can be placed.

Thank You

Dan
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    phpBBHacks.com Support Forums Forum Index -> phpBB 3 Style and Design Support and Development All times are GMT - 6 Hours
Page 1 of 1
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Links: Big Message Boards - Free JavaScript - phpBB2 - phpbb styles - Suporte phpBB - phpBB Česky - phpBB Turkiye - phpBBArabia.com - phpBB-fr.com - Romanian phpBB online community - phpBB-TW.net - phpBBservice.nl - phpBB Brasil - phpBB Portugal - phpBBpersian.com

Network: iFroggy Hosting - PhotoshopForums.com - Managing Online Forums - ManagingCommunities.com - CommunityAdmins.com - KarateForums.com - Bad Boy Blog - SodaRatings.com - Patrick O'Keefe

< Advertising - Contact Us - Disclosure Policy - Staff - User Guidelines >

Copyright © 2001-2012. iFroggy Network, phpBBHacks.com. All Rights Reserved. Privacy Policy. We Support phpBBHacks.com (of course!).
Powered by phpBB © phpBB Group. phpBB SEO. We are in no way affiliated with the phpBB Group. phpBB is copyright to the phpBB Group.