SRAVC - Separate Replies And Views Column (Fully Hook!)

Started by Hj Ahmad Rasyid Hj Ismail, May 02, 2010, 04:10:19 AM

Previous topic - Next topic

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

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

TheListener


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

frozenas

Hi. How can i implement this mod to my theme? Here's the part of the code, that needs to be changed:

// Show some basic information about the number of posts, etc.
echo '
</td>';
if (!$board['is_redirect'])
echo '
<td class="windowbg stats">
', $board['posts'], '<br />', $txt['posts'], '
</td>
<td class="windowbg stats">
', $board['topics'], '<br />', $txt['topics'], '
</td>';

else
echo '
<td class="windowbg" valign="middle" align="center" colspan="2" width="14%">', $board['posts'], ' ', $txt['redirects'], '</td>';

echo '
<td class="lastpost">';

Joker™

so which code didn't worked for you. i mean which code exactly are you trying to replace .
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

frozenas

Sorry, forgot to mention:

this code:
// 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">';
with this code:
// Show some basic information about the number of posts, etc. echo ' </td>'; if ($board['is_redirect']) echo ' <td class="windowbg" align="center" colspan="2" width="14%"><p>', $board['posts']. ' '. $txt['redirects'] , ' </p>  </td>  <td class="lastpost">'; else echo ' <td class="windowbg" align="center" width="7%">', comma_format($board['topics']),'</td>  <td class="windowbg" align="center" width="7%">', comma_format($board['posts']),'</td>  <td class="lastpost">';
In other words: 3rd code.

Joker™

have you made the other edits in your file ? If yes , attach the file here , i'll try to modify it for you , as 3rd and 4th code are related to each other
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

frozenas


Joker™

i asked for MessageIndex.template.php :) , also i think we are discussing on same file in my Started column mod also. If yes then give the file which is most recent for you.
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

frozenas

Oh yea, sorry, wrong file. Just copied a few files, click wrong one. Anyway, here it is.

Joker™

Quote from: frozenas on July 30, 2010, 03:11:01 PM
Oh yea, sorry, wrong file. Just copied a few files, click wrong one. Anyway, here it is.

ahh it happens , sometimes while working on RC3 i tend to go in directories of SMF 1.1x and after sometime come to realize that it's the wrong file i'm working on .

try the file attached
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

frozenas

Very nice, but it still has one more bug, because i'm using the mod Yet another global annoucements. And i have a request. Anyway, look at the photo for the 'bug' and the request is also in the photo.

Thanks for your help! :)

Joker™

does this help

http://www.simplemachines.org/community/index.php?topic=379308.msg2651453#msg2651453

it's late here , going to sleep . if that doesn't solve your problem reply here i'll look into it in morning :)
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

frozenas


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

frozenas

Nice, thank you. It repaired it.

Okay, i hope i am not annoying you, but the last thing i would you to do for me, is to move the columns like i pointed with arrows. basically just swap the places of 2x2 columns. Also i'm going to bed, try to get some sleep, it's 10AM here and i still haven't slept...

And congratulations on 1400th post. :)

Joker™

Quote from: frozenas on July 31, 2010, 02:53:34 AM
Okay, i hope i am not annoying you, but the last thing i would you to do for me, is to move the columns like i pointed with arrows. basically just swap the places of 2x2 columns. Also i'm going to bed, try to get some sleep, it's 10AM here and i still haven't slept...
i did that , but go get some sleep first , coz in sleepy condition we tend to make most mistakes .try the file attached
QuoteAnd congratulations on 1400th post. :)
TY  ;D , i just noticed after you said
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

frozenas

Nice, thank you! It's working perfect.

Going to check out your Avatar mod soon, one of the things i need too. ;) Nice job!

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: