News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

VBBIS - VBulletin Board Index Style (Partially Hook!)

Started by Hj Ahmad Rasyid Hj Ismail, May 02, 2010, 04:08:37 AM

Previous topic - Next topic

NanoSector

I've installed this on my own forum and it seems to work fine.

Thanks!
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

Joker™

Quote from: PascalCX on November 24, 2010, 01:08:17 PM
Joker™
just not usual :)
You can say that :P, seriously tell me if you guys don't like the new column arrangement I'll change it back to previous one.
My aim was to show column with more number first, so as to give nice impression to guests ;).
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

#Pascal

Joker™
I change my mind, fist column with post count is better look
---
sorry for bad english =)

drvanitus

I like!

Now you only need to add one for VB style views/replies in board view :)

Joker™

Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

drvanitus

Quote from: Joker™ on February 04, 2011, 12:09:03 PM
Quote from: drvanitus on February 04, 2011, 12:47:21 AM
Now you only need to add one for VB style views/replies in board view :)
I think you are talking of this >> http://custom.simplemachines.org/mods/index.php?mod=2536 ;)

Haha, yes!!!!!!!!!!!! rock on brother!! This is awesome!

imno007

Thanks for the great mod, keep up the good work. 8)

imno007

Makes the site look good, but also makes it that much more obvious that topic and post counts on the index page are way off. Don't suppose you could make a mod that would allow counting of topics and posts for child boards that are nested more than one level deep? ;)

Joker™

Quote from: imno007 on February 07, 2011, 03:35:00 PM
Makes the site look good, but also makes it that much more obvious that topic and post counts on the index page are way off. Don't suppose you could make a mod that would allow counting of topics and posts for child boards that are nested more than one level deep? ;)
That's the way SMF is written. This mod don't make any change in core coding, I just manipulate the template.
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

imno007

Quote from: Joker™ on February 07, 2011, 10:12:03 PM
Quote from: imno007 on February 07, 2011, 03:35:00 PM
Makes the site look good, but also makes it that much more obvious that topic and post counts on the index page are way off. Don't suppose you could make a mod that would allow counting of topics and posts for child boards that are nested more than one level deep? ;)
That's the way SMF is written. This mod don't make any change in core coding, I just manipulate the template.

Hi, Joker, I know that, it was just a joke. Unless you really do have the knowledge and time to write such a mod. ;)

Arantor, I know the reason given, but I think it's a lame one. No offense to you. I made a recent post on this elsewhere, and I quote:

QuoteI would like to have an accurate topics count on the index page too. One of my main parent boards, for example, shows a topic count of 3,000+ on the index page, which  is a long way from the actual almost 14,000 topics in that board. I've been looking for a solution to this and the excuse that smf will index only child boards one level down for performance reasons is a little tired. Are we to believe that smf is coded worse than other forum platforms that DO allow you to do this by default? I've got an IPB 3.1 forum too, which does an accurate topic count on the index page, and I've got it running like a charm, so I don't see any reason why I couldn't do the same with smf (which is certainly less resource hungry than IPB). This should be an administrative option for the forum owner/admin, not a "this is the way it is, we do it for your own good" deal.

Joker™

I've not tested it, as I'm about to fall asleep (make backup of file before editing it)

Sources\Subs-BoardIndex.php
Find:
AND b.child_level BETWEEN ' . $boardIndexOptions['base_level'] . ' AND ' . ($boardIndexOptions['base_level'] + 1)),


Change "1" to 2(if you want one more level deeper child post count) and so on. If this code works, try to see site performance yourself.
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

imno007

#71
Quote from: Joker™ on February 08, 2011, 04:25:42 PM
I've not tested it, as I'm about to fall asleep (make backup of file before editing it)

Sources\Subs-BoardIndex.php
Find:
AND b.child_level BETWEEN ' . $boardIndexOptions['base_level'] . ' AND ' . ($boardIndexOptions['base_level'] + 1)),


Change "1" to 2(if you want one more level deeper child post count) and so on. If this code works, try to see site performance yourself.

I'd seen that edit posted before, or something very similar, the only problem was at least one person stated that it caused other problems and no one ever replied to his questions. But maybe I'll give it a go and see what happens. Thanks, I appreciate you taking the time.

EDIT: Okay, tried that and it seems to have basically doubled the post and topic count, which is a good start. However, beyond '+3' makes no difference, it won't count any boards nested any deeper. I've noticed no performance difference after the edit.

imno007

Quote from: Arantor on February 08, 2011, 07:11:13 PM
QuoteI've noticed no performance difference after the edit.

How many boards do you have?

Quite a few. And many are nested four or five deep. It's primarily book-related, so I have a lot of subject categories (parent boards), subdivided into genres, and again into authors (listed alphabetically).

Joker™

Quote from: imno007 on February 08, 2011, 04:54:46 PM
I'd seen that edit posted before, or something very similar, the only problem was at least one person stated that it caused other problems and no one ever replied to his questions. But maybe I'll give it a go and see what happens. Thanks, I appreciate you taking the time.

EDIT: Okay, tried that and it seems to have basically doubled the post and topic count, which is a good start. However, beyond '+3' makes no difference, it won't count any boards nested any deeper. I've noticed no performance difference after the edit.
Can you show me the post.

Actually I wrote the above code when I was in half sleep state, so I have not tested it at all. Can you tell in which child level it started to double the post?
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

imno007

#74
Quote from: Joker™ on February 09, 2011, 12:36:05 AM
Quote from: imno007 on February 08, 2011, 04:54:46 PM
I'd seen that edit posted before, or something very similar, the only problem was at least one person stated that it caused other problems and no one ever replied to his questions. But maybe I'll give it a go and see what happens. Thanks, I appreciate you taking the time.

EDIT: Okay, tried that and it seems to have basically doubled the post and topic count, which is a good start. However, beyond '+3' makes no difference, it won't count any boards nested any deeper. I've noticed no performance difference after the edit.
Can you show me the post.

Actually I wrote the above code when I was in half sleep state, so I have not tested it at all. Can you tell in which child level it started to double the post?
Quote from: Joker™ on February 09, 2011, 12:36:05 AM
Quote from: imno007 on February 08, 2011, 04:54:46 PM
I'd seen that edit posted before, or something very similar, the only problem was at least one person stated that it caused other problems and no one ever replied to his questions. But maybe I'll give it a go and see what happens. Thanks, I appreciate you taking the time.

EDIT: Okay, tried that and it seems to have basically doubled the post and topic count, which is a good start. However, beyond '+3' makes no difference, it won't count any boards nested any deeper. I've noticed no performance difference after the edit.
Can you show me the post.

Actually I wrote the above code when I was in half sleep state, so I have not tested it at all. Can you tell in which child level it started to double the post?

This is using just one parent board as an example, mind you. Me saying posts and topics almost doubled might have been a bit misleading. To be exact, the posts and topics at '+1' showed 11,817 posts and 3,677 topics; at +2 it was 18,134/5,911 - and at +3 it went to 18,645/6,055. The greatest increase was at +2, likely because that's where most of the topics are to be found that smf can count. There's only a very small increase at +3, but most of the third-tier child boards are just letters of the alphabet, boards for listing authors by name. 

Thanks!

EDIT: Arantor, you're undoubtedly right about performance, I just don't think it will make enough of a difference for me personally. For one thing, I'm on a fairly decent server, not some $3.95 a month deal. Second, I've imported the smf board to IPB 3.1 (just to test it out) and the IPB board runs pretty smooth - keeping accurate post and topic counts on the index page. I just think it's likely that if I can have a fast site with the IPB version, the same site running on smf probably won't be any worse. But I could be wrong.  8)

TheListener

#75
Joker

For some reason this and the avatar on board mods are conflicting.

If I install this the avatars go to one side of the forum and everything else disappears.

Is there a way out of this?

Edit:

I uninstalled this mod and reinstalled the Avatar on board mod.

All was ok. I then unticked the portal blocks I wanted to show on the left side of the forums index page then reticked.

All is now as it should be.

Joker™

AFAIR I sorted this out in some post here on SMF. Right now I'm in a bit of hurry, will see into this later after coming back.
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

TheListener

Joker I made an edit to my previous post explaining what I did to get it back.

AllanD

installed this and how do you add a border around or make it an image.

http://mympz.com/test/index.php
Check out this great sites.
KnD Hosting

Joker™

Make backup of your file before editing it

Go to

themes\<theme you are using>\css\index.css

Code (Find:) Select
tr.windowbg td, tr.windowbg2 td, tr.approvebg td, tr.highlight2 td {
    padding: 0.3em 0.7em;
}



Code (replace it with:) Select
tr.windowbg td, tr.windowbg2 td, tr.approvebg td, tr.highlight2 td {
    border: 1px solid #281406;
    padding: 0.3em 0.7em;
}
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Advertisement: