Log in

View Full Version : How to move [Similar Mod] to be after first post


dbreh
09-29-2008, 08:20 PM
Hello,
1- I'm locking for a hack or modification on a templates, that could show [Similar Mod] right after first post, like in vbulletin.org

2- Also I'm looking for hack that tells inactivated member, that he still not yet activate his account, under (Welcome) in loge in area

best regards to all

SEOvB
09-29-2008, 09:46 PM
Hello,
1- I'm locking for a hack or modification on a templates, that could show [Similar Mod] right after first post, like in vbulletin.org

You can use the similar threads feature for this. Its built into vBulletin

2- Also I'm looking for hack that tells inactivated member, that he still not yet activate his account, under (Welcome) in loge in area

best regards to all

You can use the notices manager for this, its built into vBulletin 3.6.10 and above i beleive.

dbreh
09-29-2008, 09:53 PM
You can use the similar threads feature for this. Its built into vBulletin.

I want to move [Similar Mod] templates to be just under first post

--------------- Added 1222747033 at 1222747033 ---------------

Normally similar threads [Similar Mod] appears in the bottom of the forum,
But in vbulletin.org similar threads appears below first post,
How to do this change?

dbreh
10-04-2008, 07:42 PM
Normally similar threads [Similar Mod] appears in the bottom of the forum,
But in vbulletin.org similar threads appears below first post,
How to do this change?


Still waiting for answer?

lazydesis
10-15-2008, 02:32 PM
such questions are never answered in this site ... i have asked similar questions .. like how to get some functionality similar to as in vbulletin.org

no one ever replied .. and i am sure no one will ever reply for this one either. i guess its just that people do not want to share their *secrets* i guess ..

aah well at least we get a lot of help on other issues ..:) and lots of mods and styles available here ..

Dismounted
10-16-2008, 04:56 AM
Similar threads are actually loaded AFTER posts are fetched. So you will need to load them before the posts are fetched, and add the variable to the template. I believe I've actually said this somewhere before, so anyone that searched would have already found it ;).

MadK
12-20-2008, 09:43 PM
Similar threads are actually loaded AFTER posts are fetched. So you will need to load them before the posts are fetched, and add the variable to the template. I believe I've actually said this somewhere before, so anyone that searched would have already found it ;).

Sorry for the bump, but how could we do that?

I've tried the following:

<if condition="$post['postcount'] % $vboptions['maxposts'] == 1">

$similarthreads

</if>

The similar threads box disappears. If I simply leave it to $similarthreads and move it before "post content", it appears above the post content table. All this was done in showthread template.

Dismounted
12-21-2008, 02:49 AM
All the posts to be shown on a page are fetched and put into one variable. That variable is then used in the SHOWTHREAD template. You will not be able put something after the first post there - it is far too late at that stage.

This requires some PHP coding, it is not a simple template edit.