vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Forum Home Enhancements - Latest X Posts on Forum Home (https://vborg.vbsupport.ru/showthread.php?t=142759)

SEOvB 04-09-2008 12:42 AM

I'm not sure what was causing it, But i changed the forumhome_start plugin to global_start and disabled the forumhome_complete plguin and it works wonderfully

(and on all pages as i intended to do with it :0)

Michael Biddle 04-09-2008 04:24 AM

The reason that I have not made this on global_start is for a few reason. The biggest being that it adds a query to every single page. Also, their was a bug when I made it set to global, it was acting wierd. It was taking threads out of the actual forum listings.

SEOvB 04-09-2008 05:09 AM

I figured it'd add the query to all the pages, but i've got a design(or lack thereof) going where the latest posts are in the footer but you already know about that snazz :D

Actually you've just given me a better idea for it :D ty :D

synisterk 04-20-2008 12:13 AM

Is there a way to change $latest on either this or your threads one so that both can be used?

silver_wing 04-27-2008 07:19 PM

I have tried this on VB 3.7, and it is not showing up.

Quote:

Originally Posted by synisterk (Post 1494838)
Is there a way to change $latest on either this or your threads one so that both can be used?

I would like to know this too.

blebetanje 05-03-2008 06:50 PM

make one for 3.7x, this is something that user realy want

Sushubh 05-03-2008 08:27 PM

i upgraded to 3.7 with this installed and it seems to be working fine on the new version.

ngkong 05-08-2008 08:15 PM

you should add 'AND thread.visible = 1' to the sql query, because posts still visible even the threads are soft deleted.

Code:

SELECT post.postid, post.pagetext, post.userid, post.username, post.visible,
post.dateline AS date, thread.forumid, thread.title as thread_title, thread.threadid,
forum.forumid, forum.title as forum_title
FROM " . TABLE_PREFIX . "post as post
LEFT JOIN " . TABLE_PREFIX . "thread as thread on (post.threadid = thread.threadid)
LEFT JOIN " . TABLE_PREFIX . "forum as forum on (thread.forumid = forum.forumid)
WHERE post.visible = 1 AND thread.visible = 1 AND $platest_and AND $platest_and_1
ORDER BY postid DESC
LIMIT $limit

thanks

Pocket Aces 05-17-2008 05:46 PM

I changed plugin to global_start. Since then an error occurs on the advance search key word field auto-generate a value of "Resource id #22". Whats that Resource id #22 error mean and how to fix it??

Piratos 05-30-2008 02:20 PM

hello
i tested on 3.7.1 and nothing added !!! it installed correctly but i don't saw the last news on forumhome!

Any help ??

Piratos 05-30-2008 02:25 PM

sorry i selected the [Auto Location] Yes & it work!

heheh:P

Michael Biddle 05-30-2008 06:20 PM

Please click install if you use.

jbldesign 05-31-2008 12:11 PM

Is it possible to make one particular post always on top like a sticky post?

I have a post every month I would like to be on top for 10 days, maybe like announcements always on top of the "Latest post" is that possible ?

Something like:

1. announcement post
2. announcement post
3. latest post
4. latest post
5. latest post
5. etc

deta 06-07-2008 08:33 AM

Hello!
Great...

Please see the Picture!

If it was not better if per Thread always only the last entry is indicated and not, as well as now it is which was written if 3 times in the same Thread, three times one after the other it is indicated.

Only the last entry per Thread should be indicated!

cu Deta

jbldesign 06-07-2008 09:20 AM

Quote:

Originally Posted by deta (Post 1542976)
Hello!
Great...

Please see the Picture!

If it was not better if per Thread always only the last entry is indicated and not, as well as now it is which was written if 3 times in the same Thread, three times one after the other it is indicated.

Only the last entry per Thread should be indicated!

cu Deta

I would love that as an option too :-)

carteretpeople 06-10-2008 12:52 PM

Hi i installed this add on and when ever ther is a video posted from youtube it screws up the latest threads in my forum

It makes the size of the complete forum crazy. After i remove that post everything goes back to normal.

This only happens when a video post is in the latest post.

vb 3.7

Michael Biddle 06-12-2008 06:26 AM

How is it posted in the post? Does it use youttube code, or bbcode or what?

slinky 06-16-2008 12:31 PM

Weird - even if I paste $latest into a template it doesn't appear but if I use the autoplacement options like under navbar it works.

Shawn385 06-23-2008 05:10 AM

I don't know...I can't get this thing to show up anywhere...It's says just import product and that's all....I didn't know you had to be a coder to make it work :(

Shawn385 06-23-2008 06:01 AM

Hey nevermind...I got it to work and you really don't have to be a coder =]

basketmen 06-25-2008 04:53 AM

guys anybody can help :

i want to put this latest x post in showtread, not in forumhome, what i need to do??

i had try put $latest in showthread but its not working, not showing at all

please reply if you have clue

Michael Biddle 06-25-2008 05:26 AM

It will only work in forumhome.

onnenkolikko 06-26-2008 07:36 PM

Would be nice if it were striped like other forums. Would match better :). Anyway, I like it.

basketmen 06-27-2008 08:07 AM

Quote:

Originally Posted by whitemike (Post 1558294)
It will only work in forumhome.

maybe you should consider to put it in showthread too, it is great to increase pages impresions from guest and its mean more clicks and revenue from adsense


live demo is like this http://www.digitalspy.co.uk/forums/s...d.php?t=677135


i have create a thread looking similar to hack like that, and this hack is the most simillar to it

sparklywater 07-04-2008 01:48 AM

How can I set a 'cutoff' on the number of characters of the THREAD-TITLE displayed before the '...' is placed in automatically? I know that a cutoff can be placed on the number of characters of the post content shown before the '...' is inserted, but I would like to also use a cutoff on the thread-title to prevent the length of the title moving onto a new line.

schlottkej 07-10-2008 08:07 PM

manual entry doesnt work, only thing that does is below navbar..

sparklywater 07-13-2008 11:19 PM

Quote:

Originally Posted by sparklywater (Post 1566352)
How can I set a 'cutoff' on the number of characters of the THREAD-TITLE displayed before the '...' is placed in automatically? I know that a cutoff can be placed on the number of characters of the post content shown before the '...' is inserted, but I would like to also use a cutoff on the thread-title to prevent the length of the title moving onto a new line.

someone please help...? :(

Scandal 07-28-2008 08:43 PM

Quote:

Originally Posted by schlottkej (Post 1572221)
manual entry doesnt work, only thing that does is below navbar..

Use $platest NO $latest :)



-petros

Akakios1 08-02-2008 03:08 PM

Works fantastic! Thanks very much. Installed

Spybot S&D 08-02-2008 06:28 PM

Is there any way you can make this AJAX powered? Thanks!

Michael Biddle 08-05-2008 04:07 AM

I would look into vbispy if you want instant updates.

VB-Fanatiker 08-05-2008 10:55 PM

Quote:

Originally Posted by deta (Post 1542976)
Hello!
Great...

Please see the Picture!

If it was not better if per Thread always only the last entry is indicated and not, as well as now it is which was written if 3 times in the same Thread, three times one after the other it is indicated.

Only the last entry per Thread should be indicated!

cu Deta

I would love that as an option too :-)

Michael Biddle 08-06-2008 02:09 AM

It is updated in my newer version that is released under the 3.7.x. It should work on 3.6.x as well though.

VB-Fanatiker 08-07-2008 01:51 AM

Quote:

Originally Posted by Michael Biddle (Post 1592321)
It is updated in my newer version that is released under the 3.7.x. It should work on 3.6.x as well though.

Perfect! Thanks! :up::up::up:

GDA 08-29-2008 11:44 PM

is their anyway this can be placed as a sidebar?

svoeric 08-31-2008 05:05 PM

I'm searching, but not finding it... is there a way to add this to a non-forum page ?

Thanks

sparklywater 09-01-2008 10:04 AM

Everything works well except I've noticed that if the query trims the thread-title at a speech-mark ( " ) , instead of displaying the speech-mark in the result it shows &quot... instead. But if I increase the cut-off by a few more characters then the speech mark is displayed correctly. How can I make the query display the speech-mark without it displaying '&quot...' at certain lengths of cutoff?

Here is the query to trim the thread-title:

PHP Code:

if (strlen($row['thread_title']) > $vbulletin->options['latest_trimplusthree'])
       {
        
// adds the cutoff ... with substr
        
$row['thread_title'] = substr($row['thread_title'], 0$vbulletin->options['latest_trim']) . '...';
       } 


legionofangels 09-06-2008 09:19 PM

Is there anyway we can get a somewhat and excuse the word, generic version of the code in HTML or PHP so that we can put it on our website home page and not on the form home page?

As we are trying to do in this thread:

https://vborg.vbsupport.ru/showthread.php?t=190140

Thank you for your assistance.

Legion of Angels

chris1979 09-16-2008 03:02 PM

Does this work for 3.7.3?

I have it installed and the table appears but with no posts listed. I have it enabled and set to show the latest 20 posts.

Have a look: http://www.alt-psychology-nlp.com/

d90 09-27-2008 05:44 PM

me too, it works when logged out but not when logged in....


All times are GMT. The time now is 06:36 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.01499 seconds
  • Memory Usage 1,819KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (7)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
  • (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