Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 09-29-2008, 08:20 PM
dbreh's Avatar
dbreh dbreh is offline
 
Join Date: Dec 2004
Location: K.S.A
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How to move [Similar Mod] to be after first post

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
Reply With Quote
  #2  
Old 09-29-2008, 09:46 PM
SEOvB's Avatar
SEOvB SEOvB is offline
 
Join Date: May 2007
Location: Indianapolis
Posts: 2,451
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dbreh View Post
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
Quote:
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.
Reply With Quote
  #3  
Old 09-29-2008, 09:53 PM
dbreh's Avatar
dbreh dbreh is offline
 
Join Date: Dec 2004
Location: K.S.A
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FRDS View Post
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 [DATE]1222747033[/DATE] at [TIME]1222747033[/TIME] ---------------

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?
Reply With Quote
  #4  
Old 10-04-2008, 07:42 PM
dbreh's Avatar
dbreh dbreh is offline
 
Join Date: Dec 2004
Location: K.S.A
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #5  
Old 10-15-2008, 02:32 PM
lazydesis lazydesis is offline
 
Join Date: Sep 2006
Posts: 234
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 ..
Reply With Quote
  #6  
Old 10-16-2008, 04:56 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 .
Reply With Quote
  #7  
Old 12-20-2008, 09:43 PM
MadK's Avatar
MadK MadK is offline
 
Join Date: Feb 2008
Location: Canada
Posts: 109
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dismounted View Post
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:

PHP Code:
<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.
Reply With Quote
  #8  
Old 12-21-2008, 02:49 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:21 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07649 seconds
  • Memory Usage 2,235KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete