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 08-18-2008 11:47 PM

No. This is how it is intended for use. You would have to modify the query and change the templates.

directprint 08-19-2008 03:12 PM

Great Mod with heaps of parental to do things with, I am like others and would like to see "post icons", "Last Reply" and "Replies/Views", there seems to be plenty of room for this.

Not sure if the text is needed below the thread title, I removed it on my template as it just took up too much room at the top if showing 10 posts.

carlos54321 10-11-2008 09:59 AM

installed thankyou:)

boandmichele 10-13-2008 05:11 PM

michael, how would i write a simple php file to put $platest on a separate page by itself? my members are requesting a way to have the most recent 50 or so on a page by themselves, but i don't have the skills to do such a thing. (and 50 would make the index just a bit large ;))

Michael Biddle 10-15-2008 12:10 AM

If you want a standalone page would it vb considered a vbulletin page? (Same directory as index.php and global.php, etc.

boandmichele 10-15-2008 01:00 AM

Quote:

Originally Posted by Michael Biddle (Post 1645247)
If you want a standalone page would it vb considered a vbulletin page? (Same directory as index.php and global.php, etc.

yes it probably would, i just have no idea how to go about doing this. :confused:

Michael Biddle 10-15-2008 03:41 AM

You can try this:

It will show the latest 50 on this page: www.yoursite.com/misc.php?do=latest50

Note: It will use the same option as the latest x post value to either show/not show the page text.

boandmichele 10-15-2008 06:29 PM

Quote:

Originally Posted by Michael Biddle (Post 1645342)
You can try this:

It will show the latest 50 on this page: www.yoursite.com/misc.php?do=latest50

Note: It will use the same option as the latest x post value to either show/not show the page text.

you rule! thank you SO much. :D

boandmichele 10-15-2008 11:07 PM

Quote:

Originally Posted by Michael Biddle (Post 1645342)
You can try this:

It will show the latest 50 on this page: www.yoursite.com/misc.php?do=latest50

Note: It will use the same option as the latest x post value to either show/not show the page text.

lol okay just got home, and installed... lol im not sure what else to do though. heres the page http://www.thefullmailbox.com/forums...hp?do=latest50

do i need to put a hook in a template somewhere? (thanks again, pardon my ignorance)

boandmichele 10-15-2008 11:57 PM

Quote:

Originally Posted by Michael Biddle (Post 1646020)
Woops. Try this one (forgot to add templates)

:D :D :D now to reiterate, you rock. thanks so much again!

Mellymonster 10-19-2008 07:26 AM

Hmm, I have installed this, and been to "VbOptions" and set things, and it isn't showing anything, so I uninstalled it... and tried another one, and nothing seems to work. So is this made for 3.7.3?

Michael Biddle 10-19-2008 08:13 PM

Yes, if it is not working, then you can install it, and add the $platest into your forumhome template and it should work. might be a problem with a custom template.

Sarthek 11-30-2008 07:56 AM

How to get this mod to specific forums, for example we want for one forum to show only threads from its forum in specific forum if you know what I mean. Not on forumhome.

Sunka 11-30-2008 06:51 PM

Could someone explain me how to install this MOD?
It my first MOD, I upload .xml file, and I see under Product Manager that there is Latest X Post on Forum Home...

What to do now?
Step by step please.
Thanks

Found it ==> new option under vBulletin options

boandmichele 12-03-2008 01:02 AM

Quote:

Originally Posted by Michael Biddle (Post 1645342)
You can try this:

It will show the latest 50 on this page: www.yoursite.com/misc.php?do=latest50

Note: It will use the same option as the latest x post value to either show/not show the page text.

okay michael... that custom mod you made is broken somehow :(

any idea how to fix it?

here's what its showing me now: http://www.thefullmailbox.com/forums...hp?do=latest50

edit****** nevermind. fixed it. i had uninstalled the primary plugin, thinking i wasn't using it. duh. :D

haytham 12-03-2008 07:58 AM

It will just be like the screen shot? No scrolling text maybe?

Sarthek 12-06-2008 07:18 AM

How to cut words for shorter threads and forums?

Duncan Idaha 12-10-2008 09:03 AM

Installed it and it is a pain in the neck. It does show the latest posts, but clicking on the post only refreshes the page (ditto for clicking on the author) .. and messes it up big time. Buttons dissapear, I cannot get to posts and I cannot even log out!! I have to close IE, clear the cache and than log in again.
What is wrong here? Am using VB 3.7.4 PL1

lazyseller 12-24-2008 09:31 PM

Is it possible to display latest 50 posts on a vbadvanced page? or seperate php page inside the vbulletin folder?

Sunka 01-11-2009 12:09 AM

Is this MOD working on vBulletin v3.8.0?

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.. :(

Michael Biddle 01-29-2009 01:41 AM

Maybe it is due to the a custom template? Have you tried to add $platest into forumhome template?

RedHacker 01-29-2009 02:45 AM

I don't understand... :(

Michael Biddle 01-30-2009 01:33 AM

It should work with 3.8.x. Do not PM me with the same exact message of your post. That is the fast track to my ignore list.

boandmichele 01-30-2009 02:19 AM

Quote:

Originally Posted by Michael Biddle (Post 1722007)
It logs every single user out, or it logs the user out that clicks that link?

sorry for the late reply. i was having some sort of logout issues anyway with the forum, regardless of both of your products. it was something in the navbar. i reverted the template, then put the link for the last 50 back, and it worked. everything is fixed.

the reason i found this is because a member that used IE said that clicking 'log out' made her computer freeze up, so i went looking online and found that people who reverted the templates fixed the problem.

so, navbar template, something i did, im not sure what. :/

thanks for the reply, and again thanks for the mod :)

sparklywater 02-07-2009 06:42 PM

I have the latest posts displayed on my forum homepage.

However, when I close a particular thread on my forum, that thread gets totally removed from the list of latest posts.

Is it not possible to close the thread but still show that thread's posts in the list of latest posts?

Taragon 02-08-2009 03:43 AM

Quote:

Originally Posted by sparklywater (Post 1737239)
I have the latest posts displayed on my forum homepage.

However, when I close a particular thread on my forum, that thread gets totally removed from the list of latest posts.

Is it not possible to close the thread but still show that thread's posts in the list of latest posts?

Go to the Latest X Post on Forum Home > main code plugin and change
Code:

WHERE post.visible = '1' AND thread.visible = '1' AND open = '1' AND $platest_and AND $platest_and_1
to
Code:

WHERE post.visible = '1' AND thread.visible = '1' AND $platest_and AND $platest_and_1

sparklywater 02-08-2009 10:59 AM

thanks :)

AURFSCAN 02-17-2009 07:18 PM

Works great but smilies dont show, only smilie text ..any fix for that

thanks

Taragon 02-18-2009 08:30 PM

Quote:

Originally Posted by AURFSCAN (Post 1747183)
Works great but smilies dont show, only smilie text ..any fix for that

thanks

It is possible, although it would require to change the plugin from something like this:
Code:

// strips the bbcode out of the post
                $row['pagetext'] = strip_bbcode($row['pagetext'], $stripquotes = true, $fast_and_dirty = false, $showlinks = true);

to this: https://vborg.vbsupport.ru/showthread.php?t=82693

It 'd probably be best to wait for the author's reply for this question.

Michael Biddle 02-20-2009 12:34 AM

Well this mod strips the bbcode, so parsing it is not really an option. Reason it is stripped is if you use the cutoff, then it could cut out the end bbcode, so you would just have the starting bbcode shown.


All times are GMT. The time now is 12:51 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.01389 seconds
  • Memory Usage 1,839KB
  • 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
  • (6)bbcode_code_printable
  • (2)bbcode_html_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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