Post Seperator (now Compatibility With "smf 2.0")

Started by islam2hamy, January 01, 2009, 05:05:42 PM

Previous topic - Next topic

balti27

i hope someone can do that, cose it is important for me.

Sabre™

#101
In every theme I create, I make this standard.
It's a personal choice, and I prefer the layout.


I haven't tested the attached package, I quickly wrote it up before I go to lunch for those requesting.
It's a bit bare bones, but I've left a couple notes in the style sheet to point you in a direction, and get your imagination flowing ;)

Enjoy. :)

islam2hamy, I'll remove it when you request buddy :)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


balti27

Comon bro, u can do it, dont give me thise empty files. Im am not a coder. Put the needet code inthere. Belive me alots of people are going to be greatfull for doing thise.  ;)

I just want to have thise functioning in rc3.

Sabre™

What are you on about, and who are you talking to?
What empty files do you refer to?  I see none in this thread, or on the mod side.
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


balti27

Quote from: Sabre™ on May 24, 2010, 11:11:33 PM

I haven't tested the attached package, I quickly wrote it up before I go to lunch for those requesting.
It's a bit bare bones, but I've left a couple notes in the style sheet to point you in a direction, and get your imagination flowing ;)

If it is bit bare bones so do it, not everyone here is coder. I wanted to stimulate so thise mode can be done ;)

Sabre™

Oh ok, well I did do it bro, it's attached to the 4th post up from this one.. [Click Here].
Give it a try and see how it goes. ;)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


balti27

It may separate the postst, but if the template is white u actualy dont see the diference.
The module does great job in smf 1.1.11 and i thoght it wold do the same in smf rc3 version to.


Sabre™

Quote from: balti27 on May 27, 2010, 01:38:38 PM
It may separate the postst, but if the template is white u actualy dont see the diference.

Are you sure?  I see it..
[CLICK]

If you want to enhance the gap, place a border around it
[CLICK]

Quote from: balti27 on May 27, 2010, 01:38:38 PM
The module does great job in smf 1.1.11 and i thoght it wold do the same in smf rc3 version to.

In my opinion it does, but to each their own.
Anyways..  You're Welcome :)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


MATTEK

#108

Hey guys. I uploaded the package, installed it and it said it went through perfectly with no errors. Later when I went to my package manager I looked at the mods I had installed and beside Post Separator it gave the option to install. Why does it still give the option to install if it's already installed? It seems to bne working as I have a space between posts...

Quote from: Sabre™ on May 27, 2010, 07:30:15 PM
Quote from: balti27 on May 27, 2010, 01:38:38 PM
It may separate the postst, but if the template is white u actualy dont see the diference.

Are you sure?  I see it..
[CLICK]

If you want to enhance the gap, place a border around it
[CLICK]

Quote from: balti27 on May 27, 2010, 01:38:38 PM
The module does great job in smf 1.1.11 and i thoght it wold do the same in smf rc3 version to.

In my opinion it does, but to each their own.
Anyways..  You're Welcome :)

How do you add the border?  O:)
SMF 2.0.1

Like Comics, Books, Movies or T.V. Shows? Read about them here!!

Sabre™

Quote from: MATTEK on May 27, 2010, 09:27:18 PM
Hey guys. I uploaded the package, installed it and it said it went through perfectly with no errors. Later when I went to my package manager I looked at the mods I had installed and beside Post Separator it gave the option to install. Why does it still give the option to install if it's already installed? It seems to bne working as I have a space between posts...
I don't know why it says it isn't installed when it is. That's quite strange.

Quote from: MATTEK on May 27, 2010, 09:27:18 PM
How do you add the border?  O:)

If you installed the package I attached, you'll find this in your index.css
.seperate {
/* border: 5px solid #fff; thickness and color of box outline*/
margin: 7px auto;     /*to push the gap between the posts*/
}


change it to
.seperate {
border: 5px solid #fff; /*thickness and color of box outline*/
margin: 7px auto;     /*to push the gap between the posts*/
}


and change #fff to whatever colour you'd like. You can also change the 5px to whatever thickness you'd like.
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


MATTEK

I don't think it was working. Anyway, I deleted the package and attempted to re-upload and reinstall. Now I get this. (see screen shot).

Also...can u just check my forum to see if it's in effect as we speak. Cause now that I look at it there's more space between my posts than here and I'm using the the default theme.
SMF 2.0.1

Like Comics, Books, Movies or T.V. Shows? Read about them here!!

Sabre™

It's in your display template, but I couldnt see it in your css
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


shade3134

#112
I am having problems with this. I've installed it but it's not showing in my index.css or display.index.css.

I am getting "failed" results so I check and my code in the display.template is

// Get all the messages...
   while ($message = $context['get_message']())
   {
      $ignoring = false;
      $alternate = !$alternate;
      if ($message['can_remove'])
         $removableMessageIDs[] = $message['id'];

      // Are we ignoring this message?
      if (!empty($message['is_ignored']))
      {
         $ignoring = true;
         $ignoredMsgs[] = $message['id'];
      }

      // Show the message anchor and a "new" anchor if this message is new.
      if ($message['id'] != $context['first_message'])
         echo '
               <a id="msg', $message['id'], '"></a>', $message['first_new'] ? '<a id="new"></a>' : '';

      echo '
            <div class="', $message['approved'] ? ($message['alternate'] == 0 ? 'windowbg' : 'windowbg2') : 'approvebg', '">
               <span class="topslice"><span></span></span>
               <div class="post_wrapper">';



Yours is different. What do I do?

balti27


Sabre™

#114
Updated for RC4.
Will remove upon request as per usual :)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Sabre™

I just noticed I'm an additional author for this mod, and my packages have been put on the mod page lol
Quite flattering actually lol
I'll remove the attached packages from the 'support' area, as to stop any confusion.
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


islam2hamy


Arabic Translator - Web Designer
My Mods / My Themes  //  GfxLand





MarkLeevE

#117
Quote from: Sabre™ on May 27, 2010, 10:12:01 PM
Quote from: MATTEK on May 27, 2010, 09:27:18 PM
Hey guys. I uploaded the package, installed it and it said it went through perfectly with no errors. Later when I went to my package manager I looked at the mods I had installed and beside Post Separator it gave the option to install. Why does it still give the option to install if it's already installed? It seems to bne working as I have a space between posts...
I don't know why it says it isn't installed when it is. That's quite strange.

Quote from: MATTEK on May 27, 2010, 09:27:18 PM
How do you add the border?  O:)

If you installed the package I attached, you'll find this in your index.css
.seperate {
/* border: 5px solid #fff; thickness and color of box outline*/
margin: 7px auto;     /*to push the gap between the posts*/
}


change it to
.seperate {
border: 5px solid #fff; /*thickness and color of box outline*/
margin: 7px auto;     /*to push the gap between the posts*/
}


and change #fff to whatever colour you'd like. You can also change the 5px to whatever thickness you'd like.

sorry but i didn't see your index.css earlier.. how did you put the border? can you post the code again here?.. or what line to be modify on the css?  :)

live627


MarkLeevE

#119
is that SMF 1.1.x?

no i'm using smf 2  :)

Advertisement: