![]() |
|
#1
|
|||
|
|||
|
Hi,
I searched but didn't see this anywhere, but is it possible with the Recent Thread Module, to have it display part of the first post? something like My Thread Title blah blah blah, my firstpost text is here Read More >>> Has this been done before? |
|
#2
|
|||
|
|||
|
Just increase the word count and the module will do pretty much what you want.
|
|
#3
|
|||
|
|||
|
This doesn't work, the only word count you can increase is the title. The module doesn't currently display anything from the message part of the thread.
|
|
#4
|
|||
|
|||
|
anyone know how to do it?
|
|
#5
|
|||
|
|||
|
Are there any other modules out there that will do this?
|
|
#6
|
||||
|
||||
|
If you hold your mouse over the thread title then you should see a preview of the first post. If you want that shown on the page without having to hold your mouse over the title then you could edit your 'adv_portal_recthreads' template and change the code in there.
__________________
Frequently Asked Questions CMPS Users Manual For vBadvanced software assistance, please use the support forums. Unsolicted PMs, IMs, and email will not be responded to. If you have a non-software related question or problem with your account, please submit a support ticket. |
|
#7
|
|||
|
|||
|
What template do I change?
I did a search for adv_portal_recthreads and 3 come up; adv_portal_recthreads_exp: adv_portal_recthreads_exp_head: adv_portal_recthreads_lean: any suggestions on what I need to add to the template? |
|
#8
|
|||
|
|||
|
I can't remember the exact code offhand. In the templates find the thread title. It's called thread[title]. Then move $thread[preview], which is near it, to wherever you want it to be.
For example, in v3 (the version I'm using; I can't speak for v4): Code:
<a href="$vboptions[bburl]/showthread.php?$session[sessionurl]t=$thread[threadid]" title="$thread[preview]"><if condition="$show['gotonewpost']"><strong>$thread[title]</strong> <else />$thread[title]</if></a> <br><small>$thread[preview]</small> |
|
#9
|
|||
|
|||
|
Quote:
Is there other code needed to display that variable? |
|
#10
|
||||
|
||||
|
Are you running vB3 or vB4? If you're running vB3 the variable would be $thread[preview], and if you're running vB4 it should be {vb:raw thread.preview}.
__________________
Frequently Asked Questions CMPS Users Manual For vBadvanced software assistance, please use the support forums. Unsolicted PMs, IMs, and email will not be responded to. If you have a non-software related question or problem with your account, please submit a support ticket. |
|
#11
|
|||
|
|||
|
Quote:
I have another question, is there a way to limit the amount of characters that I display on the homepage? I don't want to modify the actual hover preview in the forums. Just the text on the portal page. |
|
#12
|
|||
|
|||
|
This is what I was looking for as well. Although, didn't worked for me, or I did it wrong... I'm editing the adv_portal_recthreads_lean, but nothing...
|
|
#13
|
|||
|
|||
|
Were you not able to get the preview to appear at all, or were you not able to reduce the amount of text displayed?
|
|
#14
|
|||
|
|||
|
Well, I edit, but I don't have much experience with this Java code thing... Everything is the same, nothing happens with the Lean version. With the Expanded version of the CMS, I do see some text... But I can't controll how much appear, and the BBcodes does't work...
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to display complete first post in recent threads | veenuisthebest | "How Do I..." Questions | 1 | 10-04-2008 10:50 PM |
| Recent threads module: display 1st post, 1st attachment | sfnet | Module & Modification Discussion & Requests | 0 | 01-10-2008 05:54 PM |
| Recent Threads > Go to Last Post | Gord | Troubleshooting & Problems | 4 | 09-12-2006 09:58 AM |
| Recent Threads fo to Last Post | RaceJunkies | "How Do I..." Questions | 3 | 12-14-2005 12:20 PM |