vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   New posts as posts, Instead of updated threads. (https://vborg.vbsupport.ru/showthread.php?t=77703)

AN-net 03-08-2005 10:41 PM

oh woops, ty to freddie. i got confused :D

Lionel 03-13-2005 03:03 AM

I've just installed and I am not too sure... if there are no posts, does it returned a blank page or an error message? I am getting a blank page...

Never mind, I was repeating search.php twice in the link.:rolleyes:

dwh 03-31-2005 03:52 AM

Interesting idea. Just peaked at the code. What happens when you delete a post/thread. Does it show up? Because it seems you're removing the deletionlog join which is how deleted threads are skipped.

Zachery 04-05-2005 12:06 AM

Quote:

Originally Posted by dwh
Interesting idea. Just peaked at the code. What happens when you delete a post/thread. Does it show up? Because it seems you're removing the deletionlog join which is how deleted threads are skipped.

It got moved to a differnt part of the query

akanevsky 04-05-2005 12:48 AM

Excellent idea. I will install this later. However, I think it would also be a good idea if every used was able to set an option "show news as new threads or new posts" in his user cp :)

lamur 04-05-2005 02:33 AM

Looking good, few questions for it though..

1) Can I edit some of the code to make it display the entire post, not just xxx amount of chars?

2) Can it display images and smilies too?

3) can it be made so that it does more than the standard amount of posts per page? I have posts set to 25 before the new page, but can this one specifically be set to say 50? 100?

Thanks soo much this is really nice!

Zachery 04-05-2005 03:22 AM

Quote:

Originally Posted by lamur
Looking good, few questions for it though..

1) Can I edit some of the code to make it display the entire post, not just xxx amount of chars?

2) Can it display images and smilies too?

3) can it be made so that it does more than the standard amount of posts per page? I have posts set to 25 before the new page, but can this one specifically be set to say 50? 100?

Thanks soo much this is really nice!

1) sure, its possible, i don't know how to do it though
2) you'd have to run it thought the bbcode parser, and that would add to the load significatnly I think
3) change the code :) where not sure, its in there somewhere. look for something like $perpage

Oblivion Knight 04-05-2005 07:08 AM

Quote:

Originally Posted by Dark Visor
Excellent idea. I will install this later. However, I think it would also be a good idea if every used was able to set an option "show news as new threads or new posts" in his user cp :)

It's pretty easy to do this one using a custom profile field.. :)

I had several users asking how they could use the "old" layout (meaning threads). So I created an option in the User CP for users to choose, and by default it's set to display by Threads.

akanevsky 04-05-2005 09:29 AM

But the search.php. code also has to include that option... -_- And not every1 knows how to edit the code...

Oblivion Knight 04-05-2005 12:08 PM

Quote:

Originally Posted by Dark Visor
But the search.php. code also has to include that option... -_- And not every1 knows how to edit the code...

No it doesn't.. As Zachery said, it provides an alternative to the old layout - not replace it.

You just need to edit the navbar template with the custom profile field. :)


All times are GMT. The time now is 04:54 PM.

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.01638 seconds
  • Memory Usage 1,737KB
  • 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
  • (4)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
  • (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