TheCripZone SMF Themes Site
All Things Public => Theme Support => Topic started by: sdkid on Dec 26, 10, 03:46:32 PM
Hey Crip...
I'm using BlackRain at http://greatplainsvoices.com. I made small css color changes to it, and the Members seem happy with it! :)
I've been hitting some snags with mods though, as some of your code is substantially different than what the mod expects to find in various files. Example: I want to add a mod called "good Post/Bad Post" (here: http://custom.simplemachines.org/mods/index.php?mod=1890) and I am having trouble doing some manual edits since the auto install failed.
This "seems" to be a sticking point, and I have no clue how to make it work:
In /Theme/Default/DisplayTemplate.php... one of the edits is this:
find:
<div class="', $message['approved'] ? ($message['alternate'] == 0 ? 'windowbg' : 'windowbg2')
Replace with:
<div', $gpbp_action == 'hide' ? ' id="gpbp_hidden_' . $message['id'] . '"' : '' ,' class="', $message['approved'] ? ($gpbp_action == 'hide' ? 'gpbp_hider ' : '') . ($gpbp_badPost && $gpbp_action != 'none' ? 'gpbp_greyed' : ($message['alternate'] == 0 ? 'windowbg' : 'windowbg2'))
The code used in BlackRain (I think??) is:
<div class="clearfix ', !$is_first_post ? 'topborder ' : '', $message['approved'] ? ($message['alternate'] == 0 ? 'windowbg' : 'windowbg2') : 'approvebg', ' largepadding">';
What do you think?
Should I be using a different version of Black Rain? Is there a newer version that is a bit more "mod friendly"? Am I doing something else really wrong here? Sorry in advance for my code-lameness!
thanks for looking. O0
BR => RC4 ?
Demo of BR_Alt Curve templates not Core templates may be easier with mods.
RC4:'
http://www.jpr62.com/demos/index.php?theme=38
Oops--- yeah sorry-- RC4. Probably helps if I'd tell you what the hell I'm running. :uglystupid2:
sdkid,
Crip is saying that the Blackrain_alt theme may be easier to edit for Mods if you are using SMF 2.0 RC4 because it is based on the SMF 2.0 Curve templates --> New Blackrain_alt for 2.0 RC4 Curve Alternative version!
Right now, the Blackrain_alt theme is only available for download at the SMF Themes site at this link --> http://custom.simplemachines.org/themes/index.php?lemma=118
ZarPrime
Well said ZarPrime.
Just a little update...
I got my forum up to RC5, and I am using DarkModern now. AWESOME theme there Crip. I have advanced reputation system running now, and everything seems smooth as silk! Great job on that theme.