News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)

Started by Charles Hill, June 16, 2008, 03:33:34 PM

Previous topic - Next topic

W. Riker

Is it compatible with smf 1.1.4

Charles Hill

I dont know.  But if you're still running a forum at 1.1.4 you should really consider upgrading to 1.1.6... There are several security vulnerabilities that have to be corrected.

W. Riker

Do I need to uninstall first all mods and later install them again or i can upgrade my smf directly without uninstalling all mods?

Charles Hill

You can use an upgrade package.  Some of the changes you've made to your sources files might cause problems, but you should be able to make the necessary changes manually if you encounter any problems.  Upgrading won't undo your currently installed mods.

W. Riker

Quote from: Charles Hill on September 20, 2008, 04:14:34 PM
I dont know.  But if you're still running a forum at 1.1.4 you should really consider upgrading to 1.1.6... There are several security vulnerabilities that have to be corrected.

Thanks for advice. I just finished my upgrade. I had some problems so i was forced to upgrade it manually. All mods are working fine, just for two of them ("nneonneo's AJAX ShoutBox" and "SMF 1.0.13 / 1.1.5 / 2.0 b3.1 Update") it displays like there are not installed but they work normal. In a fact shoutbox works normal and i even don't know where form appeared the second one!? Is it a problem?

Kindred

once you upgraded, the version of some mods that you have installed may not be supported under the new version...   so there is no uninstall option. The mod is still installed, you'll just have to uninstall it manually if youd ecide to get rid of it.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

W. Riker


mathmission

Using the "Note" theme for 1.1.6. Installed fine, and works in IE. In Firefox, the link to the blog is placed as the second button, but doesn't actually appear as a button, rather it's just floating text. In Opera, it appears at the end, not as a button, but as text, but in an appropriate spot. Let me show some screen shots:


Charles Hill

I suppose I should use the theme link tree function to show the blog link tree.  Would make compatibility between themes a lot easier :)

I have not used your theme, so I couldn't tell you how to fix that.  I am not the best person to ask about CSS problems.

mathmission

That's ok. At least you know what it does with this newer theme.

Smoky "Rider" Blue

Can you post up what the code is that you modified for the blog here, and please use the [ code ] code [/ code ] tags? :)
**Take the time to remember friendships and family.. Sometimes it's all we have, and missed very much**

mathmission

CSS;

/* Normal, standard links. */
a:link
{
   color: #476C8E;
   text-decoration: none;
}
a:visited
{
   color: #476C8E;
   text-decoration: none;
}
a:hover
{
   text-decoration: underline;
}

/* Navigation links - for the link tree. */
.nav, .nav:link, .nav:visited
{
   color: #000000;
   text-decoration: none;
}
a.nav:hover
{
   color: #cc3333;
   text-decoration: underline;
}

/* Tables should show empty cells. */
table
{
   empty-cells: show;
}

/* By default (td, body..) use verdana in black. */
body, td, th , tr
{
   color: #000000;
   font-size: small;
   font-family: verdana, sans-serif;
}

/* The main body of the entire forum. */
body
{
    background:url(images/bodybg.jpg)repeat;
   background-color: #E5E5E8;
   margin: 0px;
   padding: 12px 30px 4px 30px;
}

/* Input boxes - just a bit smaller than normal so they align well. */
input, textarea, button
{
   color: #000000;
   font-family: verdana, sans-serif;
}
input, button
{
   font-size: 90%;
}

textarea
{
   font-size: 100%;
   color: #000000;
   font-family: verdana, sans-serif;
}

/* All input elements that are checkboxes or radio buttons. */
input.check
{
}

/* Selects are a bit smaller, because it makes them look even better 8). */
select
{
   font-size: 90%;
   font-weight: normal;
   color: #000000;
   font-family: verdana, sans-serif;
}

/* Standard horizontal rule.. ([hr], etc.) */
hr, .hrcolor
{
   height: 1px;
   border: 0;
   color: #666666;
   background-color: #666666;
}

/* No image should have a border when linked */
a img
{
   border: 0;
}
/* A quote, perhaps from another post. */
.quote
{
   color: #000000;
   background-color: #D7DAEC;
   border: 1px solid #000000;
   margin: 1px;
   padding: 1px;
   font-size: x-small;
   line-height: 1.4em;
}

/* A code block - maybe even PHP ;). */
.code
{
   color: #000000;
   background-color: #dddddd;
   font-family: "courier new", "times new roman", monospace;
   font-size: x-small;
   line-height: 1.3em;
   /* Put a nice border around it. */
   border: 1px solid #000000;
   margin: 1px auto 1px auto;
   padding: 1px;
   width: 99%;
   /* Don't wrap its contents, and show scrollbars. */
   white-space: nowrap;
   overflow: auto;
   /* Stop after about 24 lines, and just show a scrollbar. */
   max-height: 24em;
}

/* The "Quote:" and "Code:" header parts... */
.quoteheader, .codeheader
{
   color: #000000;
   text-decoration: none;
   font-style: normal;
   font-weight: bold;
   font-size: x-small;
   line-height: 1.2em;
}

/* Generally, those [?] icons.  This makes your cursor a help icon. */
.help
{
   cursor: help;
}

/* /me uses this a lot. (emote, try typing /me in a post.) */
.meaction
{
   color: red;
}

/* The main post box - this makes it as wide as possible. */
.editor
{
   width: 96%;
}

/* Highlighted text - such as search results. */
.highlight
{
   background-color: yellow;
   font-weight: bold;
   color: black;
}

/* Alternating backgrounds for posts, and several other sections of the forum. */
.windowbg, #preview_body
{
   color: #000000;
   background-color: #FFF;
}
.windowbg2
{
   color: #000000;
   background-color: #FFF;
}
.windowbg3
{
   color: #000000;
   background-color: #FFF;
}
/* the today container in calendar */
.calendar_today
{
   background-color: #CBCBCB;
}

/* These are used primarily for titles, but also for headers (the row that says what everything in the table is.) */
.titlebg, tr.titlebg th, tr.titlebg td, .titlebg2, tr.titlebg2 th, tr.titlebg2 td
{
   color: black;
   font-style: normal;
   background-color: #FFF;
   border-bottom: solid 1px #9BAEBF;
   border-top: solid 1px #FFFFFF;
   padding-left: 10px;
   padding-right: 10px;
}
.titlebg, .titlebg a:link, .titlebg a:visited
{
   font-weight: bold;
   color: black;
   font-style: normal;
}

.titlebg a:hover
{
   color: #404040;
}
/* same as titlebg, but used where bold text is not needed */
.titlebg2 a:link, .titlebg2 a:visited
{
   color: black;
   font-style: normal;
   text-decoration: underline;
}

.titlebg2 a:hover
{
   text-decoration: underline;
}

/* This is used for categories, page indexes, and several other areas in the forum.
.catbg and .catbg2 is for boardindex, while .catbg3 is for messageindex and display headers*/
.catbg , tr.catbg td , .catbg3 , tr.catbg3 td
{
   background: url(images/catbg.jpg) #88A6C0 repeat-x;
   color: #ffffff;
   padding-left: 10px;
   padding-right: 10px;
}
.catbg2 , tr.catbg2 td
{
   background: url(images/catbg.jpg) #A1BFD9 repeat-x;
   color: #ffffff;
   padding-left: 10px;
   padding-right: 10px;
}
.catbg, .catbg2, .catbg3
{
   border-bottom: solid 1px #375576;
}
.catbg, .catbg2
{
   font-weight: bold;
}
.catbg3, tr.catbg3 td, .catbg3 a:link, .catbg3 a:visited
{
   font-size: 95%;
   color: white;
   text-decoration: none;
}
.catbg a:link, .catbg a:visited , .catbg2 a:link, .catbg2 a:visited
{
   color: white;
   text-decoration: none;
}
.catbg a:hover, .catbg2 a:hover, .catbg3 a:hover
{
   color: #e0e0ff;
}
/* This is used for tables that have a grid/border background color (such as the topic listing.) */
.bordercolor
{
   background-color: #ADADAD;
   padding: 0px;
}

/* This is used on tables that should just have a border around them. */
.tborder
{
   padding: 1px;
   border: 1px solid #696969;
   background-color: #FFFFFF;
}

/* Default font sizes: small (8pt), normal (10pt), and large (14pt). */
.smalltext
{
   font-size: x-small;
   font-family: verdana, sans-serif;
}
.middletext
{
   font-size: 90%;
}
.normaltext
{
   font-size: small;
}
.largetext
{
   font-size: large;
}


/* Posts and personal messages displayed throughout the forum. */
.post, .personalmessage
{
   width: 100%;
   overflow: auto;
   line-height: 1.3em;
}

/* All the signatures used in the forum.  If your forum users use Mozilla, Opera, or Safari, you might add max-height here ;). */
.signature
{
   width: 100%;
   overflow: auto;
   padding-bottom: 3px;
   line-height: 1.3em;
}

/* Sometimes there will be an error when you post */
.error
{
   color: red;
}

/* definitions for the main tab, active means the tab reflects which page is displayed */
.maintab_first, .maintab_back, .maintab_last, .maintab_active_first, .maintab_active_back, .maintab_active_last,
.mirrortab_first, .mirrortab_back, .mirrortab_last, .mirrortab_active_first, .mirrortab_active_back, .mirrortab_active_last {
   color: #333;
   vertical-align: top;
}
.maintab_back, .maintab_active_back,
.mirrortab_back, .mirrortab_active_back {
   color: #333;
   text-decoration: none;
   font-size:  9px;
   font-family: Arial, Helvetica, sans-serif;
   padding: 5px 10px 5px 10px;
}
.maintab_first,.mirrortab_first {
   display: none;
}
.maintab_back,.mirrortab_back {
   background: #cbcbcb;
   color: #222;
}
.maintab_last,.mirrortab_last {
   display: none;
}
.maintab_active_first, .mirrortab_active_first {
   display: none;
}
.maintab_active_back, .mirrortab_active_back {
   background: #FFF;
   color: #1A1A1A;
}
.maintab_active_last, .mirrortab_active_last {
   display: none;
}
/* how links behave in main tab. */
.maintab_back a:link, .maintab_back a:visited, .mirrortab_back a:link, .mirrortab_back a:visited,
.maintab_active_back a:link, .maintab_active_back a:visited, .mirrortab_active_back a:link, .mirrortab_active_back a:visited {
   color: #000;
   text-decoration: none;
   font-family: Arial, Helvetica, sans-serif;
   font-weight: 700;
   text-transform: uppercase;
}
.maintab_back a:hover, .maintab_active_back a:hover,
.mirrortab_back a:hover, .mirrortab_active_back a:hover {
   color: #1A1A1A;
   text-decoration: none;
}
/* template menu */
#container{padding: 0px 10px 0 10px;background:#CBCBCD;}
ul#simple-menu{list-style-type:none;width:100%;position:relative;height:27px;font-family:"Trebuchet MS",Arial,sans-serif;font-size:13px;font-weight:bold;margin:0;padding:11px 0 0 0;}
ul#simple-menu li{display:block;float:left;margin:0 0 0 4px;height:27px;}
ul#simple-menu li.left{margin:0;}
ul#simple-menu li a{display:block;float:left;color:#fff;background:#EAEAEB;border-top:#696969;border-left:#696969;border-right:#696969;line-height:27px;text-decoration:none;padding:0 17px 0 18px;height:27px;}
ul#simple-menu li a.right{padding-right:19px;}
ul#simple-menu li a:hover{background:#cbcbcb;}
ul#simple-menu li a.chosen{color:#222;background:#FFF;}
ul#simple-menu li a.chosen:hover{color:#1A1A1A;background:#000;}     
ul#simple-menu li.chosen a{color:#1A1A1A;background:#FFF;}

#footer
{
clear:both;
color:#000; 
padding: 13px;
font-family: verdana,arial,sans-serif
}
#footer a
{
color:#000;
}
#footer a:hover
{
color:#CBCBCB;
}

#header     
{
clear:both;
width:925px;
padding:25px 0 0 25px;
height:260px;
background-image:url('images/img/head_black.jpg'); background-repeat:repeat-x;
padding-top:30px;
}
#logo 
{
width:100%;
height:125px;
background-image:url('images/pixellogo.png');
background-repeat:no-repeat;
padding-top:0px;
}

.wrapper
{   
background: #cbcbcb;   
width: 70%;   
color: #192B40;   
border: 1px solid #192B40;   
margin: auto auto;   
padding: 20px;   
text-align: left;
}

/* The AJAX notifier */
#ajax_in_progress
{
   background: #32CD32;
   color: white;
   text-align: center;
   font-weight: bold;
   font-size: 18pt;
   padding: 3px;
   width: 100%;
   position: fixed;
   top: 0;
   left: 0;
}


/* Blog stuff... start */
td.mirrortab_divider, .mirrortab_divider
{
   text-transform: uppercase;
   vertical-align: bottom;
   font-size:8px;
   color:#CACACA;
   padding:0;
   padding-bottom:3px;
   background: url(images/mirrortab_back.gif) repeat-x;
}
td.maintab_divider, .maintab_divider
{
   text-transform: uppercase;
   vertical-align: top;
   font-size:8px;
   color:#CACACA;
   padding:0;
   padding-top:4px;
   background: url(images/maintab_back.gif) left bottom repeat-x;
}
tr.windowTitle td
{
   font-weight:bold;
}
tr.blogSideWindowHeader td
{
   font-size:13px;
   font-weight:bold;
   padding:3px;
}
tr.blogRowTitle td, div.blogRowTitle
{
   font-weight:bold;
   padding:5px;
   white-space:nowrap;
}
tr.blogRowTitle td a, div.blogRowTitle a
{
   color:#9DA5A8;
}
tr.blogRowTitle td a:hover
{
   color:#000000;
}
td.blogTopicAuthor
{
   text-align:center;
   vertical-align:middle;
   margin:0;
   padding-bottom:2px;
}
div.msgOptionsDropDown
{
   float:right;
   text-align:center;
   z-index:100;
}
div.msgOptionsDropDown div.alwaysDisplay
{
   padding:3px;
   background-color:#E7F2FF;
   border:1px solid #D3DEEF;
   visibility:visible;
   vertical-align:middle;
   width:40px;
}
div.msgOptionsDropDown:hover div.alwaysDisplay
{
   color:#656565;
   background-color:#ffffff;
   border-color:#D3DEEF;
   visibility:hidden;
   vertical-align:middle;
}
div.msgOptionsDropDown div.displayOnHover
{
   display:none;
   position:absolute;
   z-index:100;
   padding:0;
   margin:0;
   margin-right:13px;
   color:#656565;
   border:1px solid #ABB9CF;
   background-color:#ffffff;
   text-align:center;
   white-space:nowrap;
}
div.msgOptionsDropDown div.displayOnHover a
{
   padding:0;
   margin:0;
}
div.msgOptionsDropDown div.displayOnHover img
{
   padding:5px;
   vertical-align:middle;
   text-align:center;
}
div.msgOptionsDropDown:hover div.displayOnHover
{
   display:block;
}
tr.commentsHeader td
{
   padding:6px;
   color:#737373;
}
tr.commentWrittenBy td
{
   padding:4px;
}
tr.commentSpecial td, span.commentSpecial
{
   padding:4px;
   color:#AAAAAA;
}
span.commentSpecial
{
   color:#AAAAAA;
}
.internalLink
{
   color:#9B9B9B;
}
.internalLink:hover
{
   color:#000000;
}
tr.commentBody td
{
   padding:4px;
}
td.windowHeaderPageIndex
{
   white-space:nowrap;
   font-weight:normal;
}
td.windowHeaderPageIndex a
{
   color:#fff;
}
td.windowHeaderPageIndex a:hover
{
   color:#2C537F;
}
div.unapprovedAlert img
{
   text-align:center;
   margin:8px;
}
td.blogArticleHeader h1
{
   font-size:14px;
   text-align:center;
   font-weight:bold;
}
div.blogHelpText
{
   text-align:left;
   margin:12px;
   line-height:120%;
}
div.img_float_left img
{
   margin: 4px 12px -2px 0;
}
div.img_float_right img
{
   margin: 4px 0 -2px 12px;
}
/* Blog stuff... end */


and the index.template.php.... well that might be more efficiently displayed by looking at:This = manual instructions for installation for 1.1.6


qubbah

For TP - how can i only show left ang right block in all blog sections?

Smoky "Rider" Blue

Quote from: mathmission on September 22, 2008, 04:01:13 PM

and the index.template.php.... well that might be more efficiently displayed by looking at:This = manual instructions for installation for 1.1.6


no!! you do not mess with the css..

as for the button not showing up correct.. what i am saying is to look at how i coded the buttons for the rest.. if you use the default way of coding, of course it will be screwy and not match the theme i created.

first you do the theme edits for the index.template.php file.. when you get down to the bottom of the file, you will see:

// Show the [help] button.

this is where the blog button will be going!! "after" the help button,

for the default theme it should look like this:

// Show the [Blogs] button.
echo ($current_action=='blog' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'blog' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=blogs">' , $txt['b1a'] , '</a>
</td>' , $current_action == 'blog' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';


and for the theme "note" it will be this:

// Show the [Blogs] button.
echo '<li', $current_action == 'blog' ? ' class="chosen"' : '', '><a href="', $scripturl, '?action=blog">' , $txt['b1a'] , '</a></li>';


i hope this helps you and any moore issues, post them up as well.. also, if you would like to show the theme off, please post a link for that as well..

thanks!!  :)
**Take the time to remember friendships and family.. Sometimes it's all we have, and missed very much**

Smoky "Rider" Blue

Quote from: qubbah on September 22, 2008, 08:05:07 PM
For TP - how can i only show left ang right block in all blog sections?

if you look in the blog control panel (admin>blog control panel) you will see it under the admin only options:

Blog index side bar 

and just chose the option you wish.. ;)

**Take the time to remember friendships and family.. Sometimes it's all we have, and missed very much**

Charles Hill

Smoky, I think he was asking about how to disable only some of the Tiny Portal blocks when viewing blog community pages.

At the moment you can't do that.  I suppose I could add that functionality though.

Smoky "Rider" Blue

**Take the time to remember friendships and family.. Sometimes it's all we have, and missed very much**

Angelotus

Charles, do you have a few SSI function, such like latest blogs, recently added or som. like that?

Abavagada

#478
I had installed SMF Blog, then found this one. I uninstalled SMF Blog (with some errors, which I foolishly didn't check manually afterwards), and installed this Blog Community, with no errors.  I am running SMF 1.1.6.

The blogs worked fine, as far as I can tell. I only have a problem when I click on "Blog Control Panel" in the Admin side panel. It gives me back:

An Error Has Occurred!
Unable to load the 'main' template.

I'm quite capable of editing the code, but I have no idea where to start on this, since the mod said it installed without errors. Any ideas?

Also, are the attachments supposed to work? I can't get them to display. I also can't find a way to add tags.

Thanks for this great Mod! Even without the admin controls, it works fine, but I would like everything working fully.

Charles Hill

Quote from: Angelotus on September 23, 2008, 05:20:34 AM
Charles, do you have a few SSI function, such like latest blogs, recently added or som. like that?

No there aren't any SSI functions yet.  You could help me out by giving me some ideas for SSI functions that you would like to have.


@Abavagada... No attachments don't work yet.  You need to change the Blog Control Panel anchor's href.  You can find this in Sources/Subs.php.  The link should be http://www.yoursite.com/index.php?action=blogControlPanel.  You add tags when you write a new article.  They are created automatically for you.

Advertisement: