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)

Michael Biddle 03-23-2007 03:37 PM

Okay g00gl3r sorry about this.

I had the plugin location in forumhom_complete, I moved to a global position.

Please re-download and reupload. $latest should work In any location now (just tested footer)

ALSO

I cached it up as requested before

BuzuL 03-23-2007 04:09 PM

Quote:

Originally Posted by whitemike (Post 1209929)
just add a condition to the if is_member_of($user, 6); for admins only

if i'd know to add " if is_member_of($user, 6); " code I'd do this myself but i don't know where should I add this code

giotmuadong 03-23-2007 04:22 PM

how come my shows the "last reply" in Latest 5 Posts instead of the title itself?

Michael Biddle 03-23-2007 04:23 PM

Can I have a site, So i can see what you are talking about.

giotmuadong 03-23-2007 04:24 PM

sure, http://www.giotmuadong.com/

kafi 03-23-2007 05:36 PM

Is there any chance to redo this nice add-on with better forumgroup option?

I imagine this as a block with css tab browsing between different forumgroups tabs.

Lets say that we have tabs 3.5|3.6| - OR - coding|design|chitchat| and within those tabs to have last x threads....
This will be very handy for big forums so that users can quickly find threads of their interest.... Lets say I am not interested in coding threads so I simply click on "design" tab and will see latest threads of my interests....

Michael Biddle 03-23-2007 06:22 PM

that would not be too hard to do I suppose. Just add a where thread.forumid = w/e , but I am not doing it in CSS, I am keeping it as is, because it goes along with vbulletins table structures, so it will work on all skins

kafi 03-23-2007 06:34 PM

Thanks whitemike, can you be more specific on how to achieve this? If not css, Is there a way to reload lastposts table with ajax so that only this tab will reload instead of entire webpage?

Michael Biddle 03-23-2007 06:56 PM

I guess what I am trying to say, Is yes, It can be done in CSS, but for the sake of the public, I am keeping it as is layout, due too everyone normally uses thead, tcat, etc. To help blend with colors, but yes, you can customize it.

kafi 03-23-2007 07:11 PM

hmm I do not really care about css or table, what I want to do is that I want to have more than last x threads option

I want to offer last x threads from certain forums group (user can click which one) not from entire forum. But I do not know how to achieve this.
Say that there will be 4 forum groups (topics) setted by admin and then user will click on forumhome-lastpoststable which he wants to see.

dbirosel 03-25-2007 12:04 AM

Before i install, i got a few questions...

When idling on forum home, everytime someone make sa new thread/post it will automatically update?

Is there on/off switch to show Number of post and threads?

Is i don't want guests to see this, is there a way to disable it for them?

Michael Biddle 03-25-2007 04:17 AM

yes their is an on off switch and an if in the plugin would allow certain usergroups to see it

sebbo 03-26-2007 08:13 PM

Quote:

Originally Posted by whitemike (Post 1209929)
just add a condition to the if is_member_of($user, 6); for admins only

Where should i add it?

Michael Biddle 03-26-2007 10:31 PM

in the main coding plugin

ninjamaster 03-26-2007 10:46 PM

thanks m8

bryandailey 03-26-2007 11:14 PM

Great piece of software.

Anyone know what template to edit to remove the space between the "Latest X Posts on Forum Home" and the navbar above it? I want to use this feature but the space is taking up valuable real estate. See the photo.

Michael Biddle 03-27-2007 02:12 AM

Well right now it adds it directly under the navbar. Read through this thread, I show how to remove the auto ad, and how to add to a custom location

Please click install if you use ;)

I only offer support to people who installed

Michael Biddle 03-27-2007 04:45 AM

Quote:

Originally Posted by sebbo (Post 1213020)
Where should i add it?

Change the IF in the main code page to this

Code:

if ($vbulletin->options['latest_enabled'] and is_member_of($vbulletin->userinfo, 6))

Michael Biddle 03-27-2007 04:47 AM

Quote:

Originally Posted by dbirosel (Post 1211464)
Before i install, i got a few questions...


When idling on forum home, everytime someone make sa new thread/post it will automatically update?

Is there on/off switch to show Number of post and threads?

Is i don't want guests to see this, is there a way to disable it for them?

No, their is no ajax in this. it will update on page refresh

Yes their is an on off switch

In the main script change the top if to this:

Code:

if ($vbulletin->options['latest_enabled'] and !is_member_of($vbulletin->userinfo, 1))
That means guests cannot view it

Iskib 03-27-2007 05:31 AM

Would it be possible to display the thread title instead of the contents of thread for $pagetext ?

how would i change this ?

Smoothie 03-27-2007 02:27 PM

Wish someone would make a "Latest Threads" on forum home mod. The ones here aren't that great or coded for earlier versions or....etc.

Michael Biddle 03-27-2007 04:56 PM

Well I could make Latest Threads, its just a matter of changing the post table to the thread table

Iskib 03-27-2007 05:38 PM

What about showing the thread title instead of the contents for $pagetext ...is that pretty easy to change if so can you explain ?

sebbo 03-27-2007 06:48 PM

ok, now i managed to add that code BUT i can´t read my forum normally if this mod is on. It won´t show any threads or just new threads from one forum. So the main page is ok, but that´s all.

This is a great mod, but layout could be much better. For example now message is a link. So every message is underlined and difficult to read. There could be message and under that a link to the "real" message.

Michael Biddle 03-27-2007 09:04 PM

Quote:

Originally Posted by sebbo (Post 1213813)
ok, now i managed to add that code BUT i can?t read my forum normally if this mod is on. It won?t show any threads or just new threads from one forum. So the main page is ok, but that?s all.

This is a great mod, but layout could be much better. For example now message is a link. So every message is underlined and difficult to read. There could be message and under that a link to the "real" message.

Sebbo, I also found this bug, I updated it, make sure you get the latest mod. Reason being was when i made it global. it made it go haywire, so I added it back to forumhome ;D. Make sure to update please

Smoothie 03-28-2007 12:58 AM

Quote:

Originally Posted by whitemike (Post 1213720)
Well I could make Latest Threads, its just a matter of changing the post table to the thread table

I'd be very interested in this.

Michael Biddle 03-29-2007 10:14 PM

Ok, well I did this and it works great. Will release in this post soon.

Iskib 03-29-2007 10:16 PM

If you haven't installed this mod/hack you need to and look for more from Mike. His code is good and if you have a problem / request he seems to work his hardest to solve and help you work for what you need!

coder a+++
code a+++
support a+++

Michael Biddle 03-31-2007 04:10 AM

Quote:

Originally Posted by Iskib (Post 1213752)
What about showing the thread title instead of the contents for $pagetext ...is that pretty easy to change if so can you explain ?

Redownload latest version. I fixed this

STT 03-31-2007 11:09 AM

Great mod, Mike, thanks.

Could you please advise if there is an easy way for the default action of the $latest box to be collapsed?

Cheers,

STT

unforsaken 04-02-2007 12:56 AM

love the mod...anyway it would be possible to allow it to use the special mods like {username} so it actually shows the users name instead of the code? Otherwise it is progressing great...add a few graphix and this would easily surpass any others I've looked at

Michael Biddle 04-02-2007 03:52 AM

Quote:

Originally Posted by unforsaken (Post 1217975)
love the mod...anyway it would be possible to allow it to use the special mods like {username} so it actually shows the users name instead of the code? Otherwise it is progressing great...add a few graphix and this would easily surpass any others I've looked at

Not quite sure what your asking to do. please explain better

Michael Biddle 04-02-2007 04:05 AM

After reading it 5 times through now, I think I know what you mean. Are you talking about like the /me, /you hack?

unforsaken 04-03-2007 02:14 AM

sry for the delay been out of town it actually goes to this hack that I am refering to Personalized Threads

Capper5016 04-03-2007 05:22 AM

I've tried everything I can think of, but this mod refuses to show up on my site......read every post in this thread, added the "$latest" under the navbar, nothing makes this mod show up

STT 04-03-2007 11:18 AM

Mike,

At the risk of repeating myself - is there a way to make the default action of the $latest box (which I've put under my main forum list) be collapsed?

Cheers,

STT

Michael Biddle 04-03-2007 04:17 PM

I will look into that one as default, But i know once you do close it, the cookies should save its closed and open status. Sorry for long reply. Host deleted my site, and I am frantically trying to get it where it was. :D

STT 04-04-2007 07:59 AM

Good luck with that Mike - I've had a few battles with my host over the years, I feel your pain.

BTW - you're right, the cookies do take care of it once you've taken the action.

elmati 04-23-2007 03:30 AM

hey!

nice hack!

clicks install!

WhiteEagle 04-23-2007 06:48 AM

Thanks, just what I was looking for!:biggrin:


All times are GMT. The time now is 04:14 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.01444 seconds
  • Memory Usage 1,814KB
  • 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
  • (2)bbcode_code_printable
  • (8)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