Warning: The author of this contribution does not provide support for it anymore.

Recent topics

X-Treme Purple Edits, & Changes are Here! - Recent topics

X-Treme Purple Edits, & Changes are Here!

by PiperB » Tue Jul 04, 2017 12:03 pm

++++++++++++++

I really thought this does not look right in X-Treme styles, and especially X-Treme Purple, so I made several formatting changes and improvements to the template (basically reformatted the entire thing) plus some more decent tweaks to get it to work better with this style. Moved the pagination and counts to fit inside of the entire thing instead of outside of it (Screenshot below).

Also made 1 tiny bonus add on.

One is included with the file and the changes and is the link for marking forums read, it migrates if you have the recent topics enabled or disabled. It returns to the original location if the recent topic mod is disabled and puts it back to the top of recent topics category when the mod is enabled.

So here go about the changes....

Open: styles/X-Treme/templates/forumlist_body.html

Find: (The second instance of)
Note: This edit makes it so that if we disable the recent topics the "mark forums read" link still reappears in it's original place.

Code: Select all

			<!-- IF not S_IS_BOT and U_MARK_FORUMS --><h6><a class="navf" href="{U_MARK_FORUMS}">{L_MARK_FORUMS_READ}</a>&nbsp;&nbsp;</h6><!-- ENDIF --></td>
Replace with:

Code: Select all

			<!-- IF not S_IS_BOT and U_MARK_FORUMS and not RECENT_TOPICS_DISPLAY --><h6><a class="navf" href="{U_MARK_FORUMS}">{L_MARK_FORUMS_READ}</a>&nbsp;&nbsp;</h6><!-- ENDIF --></td>
Save the file.

Open: styles/X-Treme_Purple/theme/stylesheet.css

Find:

Code: Select all

.gensmall2 {
  color: #EA80FF;
	margin: 1px 1px;
	font-size: 1em;
}
Add After: (On a new blank line)

Code: Select all

.gensmall3 {
	background-color: #141414;
	color: #fff;
	margin: 1px 1px;
	font-size: 1em;
	padding: -1px !important;
}
Find:

Code: Select all

.nav {
	margin: 0;
	color: #FFFFFF;
	font-weight: bold;
}
Add After: (On a new blank line)

Code: Select all

.nav2 {
	background-color: #141414;
	color: #fff;
	margin: 1px 1px;
	font-size: 1em;
	padding: -1px !important;
	font-weight: bold;
}
Save the File.

Here is the changed template file from the mod that need to be added or overwritten depending on whether or not you have this mod already installed.
x-treme purp recent topics.zip
(1.75 KiB) Downloaded 10 times

Upload the file named recent_topics_body.html to your styles/X-Treme/template folder. Overwrite the old one if you have this mod installed. Trust me, you'll be thanking me afterwards.

Clear your cache and refresh your templates.

Now for the screen shot....
Note: user names, topic titles, and other identifying information have been blurred out of this screenshot, hence why it looks blurry in some areas. Just imagine how it looks without the blur, you will see the main design anyhow. (Click the image to view full size.
1.png

Enjoy! ;)

__________________________________
Disclaimer: I decided to share my edits, fixes, addons, companion mods, e.t.c. for "wiki" type purposes and for those out there like me who are on older versions of phpbb3 still. Also for those who still have or wanted this mod to have a new feature or a fix this is for you! :)
<!-- IF U_LOVE_NOTEPAD++ -->
[td class=statement]I Notepad++ ![/td]
<!-- ENDNEVER --> <!-- tee hee --> :P
Whoa ooo whoa ooo whoa I'm a Lady!
User avatar
PiperB
Registered User
Posts: 167
Joined: Mon Nov 07, 2016 6:54 pm

Re: X-Treme Purple Edits, & Changes are Here!

by PiperB » Wed Jul 05, 2017 3:19 pm

+++++

The collapsible version is here. I decided to not go with the other mod for collapsing but rather some stand alone javascript customized by muah.

Similar to collapsible categories mod except it works instantly and doesn't need to hold anything in the database. Contains all of my previous changes that the above file has in the previous post.
recent_topics_body_X-Treme_Purp_CE.zip
(1.89 KiB) Downloaded 14 times
Enjoy! :)
<!-- IF U_LOVE_NOTEPAD++ -->
[td class=statement]I Notepad++ ![/td]
<!-- ENDNEVER --> <!-- tee hee --> :P
Whoa ooo whoa ooo whoa I'm a Lady!
User avatar
PiperB
Registered User
Posts: 167
Joined: Mon Nov 07, 2016 6:54 pm


cron