News:

Wondering if this will always be free?  See why free is better.

Main Menu

Message index like vbulletin

Started by babjusi, September 16, 2008, 08:39:00 AM

Previous topic - Next topic

babjusi

Link to Mod

This is a simple modification that will make the index message of your forum look like that of a vbulletin forum.

I made this modification as requested at this topic by someone whose forum I recently converted from vbulletin to smf. And I though it to submit it here as well.

http://www.simplemachines.org/community/index.php?topic=261298.0

The screenshot attached will show how the mod looks like in action

Smoky "Rider" Blue

sweet!! i know this is a good one Babjusi!! congrats!! ;)
**Take the time to remember friendships and family.. Sometimes it's all we have, and missed very much**


Gollem99

Great mod, it failed on install for me though. If you have the sticky mod installed then this mod fails to find the second part. I readded th code needed for the sticky mod after i manually installed this one and they now both work great:

The stick mod code is below:

';
$first_topic = current($context['topics']);
echo $first_topic['is_sticky'] ? $txt['sticky_topics'] : '' ,'


and it sits in the following:

// Are there actually any topics to show?
if (!empty($context['topics']))
{
echo '
<td width="9%" colspan="2" class="catbg3">';
$first_topic = current($context['topics']);
echo $first_topic['is_sticky'] ? $txt['sticky_topics'] : '' ,'</td>

<td class="catbg3"><a href="',

fiveflat

Can I get this to work with the simple portal block "recent topics" as well?

seeson

installed perfectly (no errors) on 1.1.8 with a custom theme but nothing changed. any help?

babjusi

Quote from: seeson on February 09, 2009, 06:17:08 PM
installed perfectly (no errors) on 1.1.8 with a custom theme but nothing changed. any help?

It seems like the custom theme you are using has its own MessageIndex.template.php file. All you have to do is apply the changes to that file and you should be all set :)

Smoky "Rider" Blue

Babjusi left me in charge of his mods, so if anyone has an issue, please see my site where I can give better support.

Thanks! ;)

http://smf.houseofsmoky.com
**Take the time to remember friendships and family.. Sometimes it's all we have, and missed very much**

TheListener

This is an excellent way to make use of unwanted space.

Installed with no problems on a forum using blackrain v2 theme on 2.0 rc1-1

dgf

Can't seem to install this on a 2.0 RC 1.2

TheListener


babjusi

Quote from: dgf on August 03, 2009, 06:15:50 PM
Can't seem to install this on a 2.0 RC 1.2

What errors do you get?

Kat9119

Works great.

1 question...

How can I add "Started by" before the linked username?

lolicute

#13
Hello

En el siguiente codigo:

<small>', $topic['first_post']['member']['link'], '</small>


Modifica despues <small>

<small>Started by: ', $topic['first_post']['member']['link'], '</small>


Saludos!

PalmBeachPreps

Quote from: babjusi on August 04, 2009, 10:14:43 AM
Quote from: dgf on August 03, 2009, 06:15:50 PM
Can't seem to install this on a 2.0 RC 1.2

What errors do you get?
Installations actions for "Message index like vbulletin":
Installing this package will perform the following actions:
Type Action Description
* 1. Execute Modification ./Themes/default/MessageIndex.template.php Test failed
1. Replace ./Themes/default/MessageIndex.template.php Test successful
2. Replace ./Themes/default/MessageIndex.template.php Test failed
Install in Other Themes
To use this modification in themes other than the default, the package manager needs to make additional changes to the other themes. If you'd like to install this modification in the other themes, please select these themes below.
Blue Steel
* Execute Modification ./Themes/blue_steel/MessageIndex.template.php Test failed
1. Replace ./Themes/blue_steel/MessageIndex.template.php Test successful
2. Replace ./Themes/blue_steel/MessageIndex.template.php Test failed

TheListener

The files which state test failed will need to be manually edited.

Joker™

any update on it to make it to work for RC2.0
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

babjusi

It already as a default feature in 2.0 rc 2.

Joker™

Quote from: babjusi on December 06, 2009, 11:00:23 AM
It already as a default feature in 2.0 rc 2.

bro do i have to enable some option for it coz in my site its not as vb...

plz have a look at attached pic
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

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

Advertisement: