vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Forum Home Enhancements - Latest Posts (https://vborg.vbsupport.ru/showthread.php?t=185636)

Michael Biddle 01-11-2009 01:08 AM

I upgraded my board and it still works, so I will give it a yes, it is 3.8.x compatible.

boandmichele 01-18-2009 09:59 PM

michael, after upgrading to 3.8.0, i have a sudden problem. if i click on a recent post on my last 50 posts page, it does indeed take me to that post, but it logs all my users out in the process. any ideas?

Michael Biddle 01-23-2009 07:26 AM

It logs every single user out, or it logs the user out that clicks that link?

Taragon 01-24-2009 05:20 PM

After making some template modifications I seem to be having some custom rewrite difficulties for [minicode]$ppostid[/minicode] (go to last post).

Code:

http://die16-clan.com/forum/showthread.php?p=85186
http://die16-clan.com/forum/entertainment/4712-what-last-movie-you-saw-15.html#post85186

Code:

http://die16-clan.com/forum/showthread.php?p=85212
http://die16-clan.com/forum/entertainment/3433-what-you-listening-right-now-post85212.html

Can you perhaps tell if I might be overlooking something?
[s]Could it be because of the [minicode]?[/minicode] character at the end of "What are you listening to right now?" perhaps? (Other special characters does seem to get stripped)[/s]

forumhome_latest
HTML Code:

<div class="cat-top_lft1"></div><div class="cat-top_rht1"></div><div class="cat-top_x1">
        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_latest')"><img id="collapseimg_forumhome_latest" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_latest].gif" alt="" border="0" /></a>
        $vboptions[latest_title_name]
</div>
<div id="collapseobj_forumhome_latest" style="$vbcollapse[collapseobj_forumhome_latest]">
        $latest_post_bits
</div>
<div class="cat-btm_x"><div class="cat-btm_lft"></div><div class="cat-btm_rht"></div></div>

forumhome_latest_bit
HTML Code:

<div class="tborder" style="padding:0px 1px 1px 1px">
        <div class="alt2 smallfont" style="padding:5px">
                <h3><a href="$vboptions[bburl]/showthread.php?$session[sessionurl]t=$pthreadid" class="smallfont">$pthreadtitle</a></h3>
                <if condition="$vboptions['latest_cut'] != '0'"><p>$ppagetext</p></if>
                <div align="right">Posted by <a href="$vboptions[bburl]/member.php?$session[sessionurl]u=$puserid">$pusername</a>,</div>
                <div align="right"><if condition="$vboptions['latest_date']">$pdate $ptime</if> in <a href="$vboptions[bburl]/forumdisplay.php?$session[sessionurl]f=$pforumid">$pforumtitle</a> <a href="$vboptions[bburl]/showthread.php?$session[sessionurl]p=$ppostid"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a></div>
        </div>
</div>


Edit:

Strange, it only seems to happen when hovering a thread. After submitting the link it automatically gets rewritten to #post85186

Could this still cause duplicate content you think?

cooltechie 01-24-2009 09:10 PM

Is there an option to only show this for members only and not for guests?

itsbobtista 01-25-2009 02:20 AM

The problem I have with 3.8 is...

Lets say I post in a thread. Then someone replies. It will show his reply in the latest posts, but not mine.

Taragon 01-25-2009 02:18 PM

Quote:

Originally Posted by itsbobtista (Post 1723863)
The problem I have with 3.8 is...

Lets say I post in a thread. Then someone replies. It will show his reply in the latest posts, but not mine.

It always shows the latest post from a thread.

You could change

[minicode]$vboptions[bburl]/showthread.php?$session[sessionurl]p=$ppostid[/minicode]

to

[minicode]$vboptions[bburl]/showthread.php?$session[sessionurl]t=$pthreadid[/minicode]

in the Latest X Post on Forum Home > main code plugin, however the date and time shown will be from the latest post, not from the first post.

(Michael's Latest X Threads on Forumhome might be a better alternative for you. Or you can try both.)

Taragon 01-25-2009 02:26 PM

Quote:

Originally Posted by cooltechie (Post 1723702)
Is there an option to only show this for members only and not for guests?

The easiest way would be to add this in your forumhome_latest template
Code:

<if condition="$show['member']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
        <thead>
        <tr>
            <td class="tcat" colspan="3">$vboptions[latest_title_name]</td>
        </tr>
            <tr>
                        <td class="thead" width="$vboptions[latest_post_width]">
                                <phrase 1="$vboptions[latest_number]">$vbphrase[latest_posts]</phrase>
                        </td>
                        <td class="thead" width="$vboptions[latest_forum_width]">
                                $vbphrase[latest_forum]
                        </td>
                        <td class="thead" width="$vboptions[latest_user_width]">
                                <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_latest')"><img id="collapseimg_forumhome_latest" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_latest].gif" alt="" border="0" /></a>
                                $vbphrase[latest_author]
                        </td>
                </tr>
        </thead>
        <tbody id="collapseobj_forumhome_latest" style="$vbcollapse[collapseobj_forumhome_latest]">
                $latest_post_bits
        </tbody>
</table>
<br />
</if>


tanha 01-27-2009 04:21 AM

thanks............

RedHacker 01-29-2009 01:05 AM

This mod doing for 3.8.1 ??? Why put import and not see any Post in Forum.. :(


All times are GMT. The time now is 10:08 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01315 seconds
  • Memory Usage 1,761KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (2)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete