Advertisement:
2by2host

Author Topic: Vbulletin Style Board Index  (Read 22919 times)

Offline DanToN_88

  • Newbie
  • *
  • Posts: 7
Re: Vbulletin Style Board Index
« Reply #140 on: January 24, 2012, 01:10:53 PM »
Yes, the only part that is not the same is this line with the theme I use

//Show Some Basic Information about the number of posts, and so on.

Offline Joker™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,549
  • Gender: Male
Re: Vbulletin Style Board Index
« Reply #141 on: January 24, 2012, 01:50:23 PM »
Attach the file over here.
My Mods
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 gets microwaved.

Offline DanToN_88

  • Newbie
  • *
  • Posts: 7
Re: Vbulletin Style Board Index
« Reply #142 on: January 24, 2012, 01:59:18 PM »
modified files  :D


Offline hcfwesker

  • SMF Hero
  • ******
  • Posts: 2,024
  • Gender: Male
  • SMF 2.0.4
Re: Vbulletin Style Board Index
« Reply #143 on: January 24, 2012, 03:08:34 PM »
From the screen shot, it looks like you removed the original coding that dealt with the "last post by ..."

Offline Joker™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,549
  • Gender: Male
Re: Vbulletin Style Board Index
« Reply #144 on: January 24, 2012, 03:09:49 PM »
Are you sure these the files of theme having the issue, as both of the files contains all of the edits required to make the mod work.
My Mods
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 gets microwaved.

Offline DanToN_88

  • Newbie
  • *
  • Posts: 7
Re: Vbulletin Style Board Index
« Reply #145 on: January 24, 2012, 03:40:09 PM »
you pass the original files

Offline Joker™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,549
  • Gender: Male
Re: Vbulletin Style Board Index
« Reply #146 on: January 24, 2012, 04:33:17 PM »
Try the attached file
My Mods
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 gets microwaved.

Offline DanToN_88

  • Newbie
  • *
  • Posts: 7
Re: Vbulletin Style Board Index
« Reply #147 on: January 24, 2012, 05:23:48 PM »
look

hxxp:picturestack.com/443/718/eLKSinttulo9DE.png [nonactive]

something is missing me

Offline Joker™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,549
  • Gender: Male
Re: Vbulletin Style Board Index
« Reply #148 on: January 24, 2012, 05:27:04 PM »
Well it seems that the mod never got installed on the theme.

Put the original file back in your forum and try to install the mod again. While installing the mod make sure to check the theme name in the themes listed on the mod installation page.
My Mods
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 gets microwaved.

Offline DanToN_88

  • Newbie
  • *
  • Posts: 7
Re: Vbulletin Style Board Index
« Reply #149 on: January 24, 2012, 05:39:35 PM »
ready

I get an error when installing the theme I use

DEFAULT

Code: [Select]
// Show some basic information about the number of posts, etc.
echo '
</td>
<td class="stats windowbg">
<p>', comma_format($board['posts']), ' ', $board['is_redirect'] ? $txt['redirects'] : $txt['posts'], ' <br />
', $board['is_redirect'] ? '' : comma_format($board['topics']) . ' ' . $txt['board_topics'], '
</p>
</td>
<td class="lastpost">';

THEME TO USE

Code: [Select]
// Show some basic information about the number of posts, etc.
echo '
</td>
<td class="lastpost windowbg">';

/* The board's and children's 'last_post's have:
time, timestamp (a number that represents the time.), id (of the post), topic (topic id.),
link, href, subject, start (where they should go for the first unread post.),
and member. (which has id, name, link, href, username in it.) */
if (!empty($board['last_post']['id']))
echo '
<p><span>', $board['last_post']['member']['link'] , ' ', $txt['in'], ' ', $board['last_post']['link'], '</span><br />
', $board['last_post']['time'],'
</p>';
echo '
</td>
<td class="stats">
<p><span>', comma_format($board['posts']), ' ', $board['is_redirect'] ? $txt['redirects'] : $txt['posts'], ' </span><br />
', $board['is_redirect'] ? '' : comma_format($board['topics']) . ' ' . $txt['board_topics'], '
</p>
</td>
</tr>';

that part is different

Offline Joker™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,549
  • Gender: Male
Re: Vbulletin Style Board Index
« Reply #150 on: January 24, 2012, 05:46:29 PM »
You can make the manual edits to the file using the link I provided few posts ago. (Make backup of file before editing it)

Please make sure that all of the edits are made properly in the concerning files. To verify you can see the mod code over here.
My Mods
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 gets microwaved.

Offline DanToN_88

  • Newbie
  • *
  • Posts: 7
Re: Vbulletin Style Board Index
« Reply #151 on: January 24, 2012, 07:06:34 PM »
Ready, I had to remove this line

Code: [Select]
echo '
</td>
<td class="stats">
<p><span>', comma_format($board['posts']), ' ', $board['is_redirect'] ? $txt['redirects'] : $txt['posts'], ' </span><br />
', $board['is_redirect'] ? '' : comma_format($board['topics']) . ' ' . $txt['board_topics'], '
</p>

Now it looks good. thanks  ;D

Offline Joker™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,549
  • Gender: Male
Re: Vbulletin Style Board Index
« Reply #152 on: January 25, 2012, 05:24:56 AM »
Glad you you got it all sorted out.
My Mods
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 gets microwaved.

Offline eric1234

  • Full Member
  • ***
  • Posts: 562
Re: Vbulletin Style Board Index
« Reply #153 on: January 27, 2012, 07:51:40 PM »
Edited
Everything alright?
Yeah, manage to solve it . >.< If you asked me how i did it, i will tell you that i dunno lol..somehow i try and try it just suddenly become fine :)

Thank you very much ! ^^

Offline Joker™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,549
  • Gender: Male
Re: Vbulletin Style Board Index
« Reply #154 on: January 28, 2012, 05:39:24 AM »
Yeah, manage to solve it . >.< If you asked me how i did it, i will tell you that i dunno lol..somehow i try and try it just suddenly become fine :)
That happens in most of times while coding.
My Mods
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 gets microwaved.

Offline eric1234

  • Full Member
  • ***
  • Posts: 562
Re: Vbulletin Style Board Index
« Reply #155 on: January 29, 2012, 02:18:35 AM »
Yeah, manage to solve it . >.< If you asked me how i did it, i will tell you that i dunno lol..somehow i try and try it just suddenly become fine :)
That happens in most of times while coding.
really? haha... so if the error occur again, i got no idea how to solve it already ! Thanks god until now no problem. Dare not go to mess with 
that 2 files' codes. haha

Online Draffi

  • Jr. Member
  • **
  • Posts: 127
Re: Vbulletin Style Board Index
« Reply #156 on: Yesterday at 03:48:49 AM »
I have this Mod installed in a fresh install of SMF 2.0.4 in my localhost-testground (before i go online...)

At first i installed "vB Style Board Index", then i install "Separate Replies and Views Colum".

During the installation of this Mod, i have an error in the MessageIndex.template.php

Can somebody have a look please?

Edit: my bad...wrong Mod, i`m mean your other Mod, sorry, @Joker!