vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   New Thread Button (https://vborg.vbsupport.ru/showthread.php?t=103061)

edbri871 12-16-2005 06:01 AM

New Thread Button
 
When clicking the "New Thread botton in a forum it goes to "site/newthread.php?do=newthread&f=**".
I would like to know how to make it link to another url on our forum...

Thanks.

Sam Granger 12-16-2005 09:09 AM

Which url would you like it to go to?

Borgs8472 12-16-2005 10:48 AM

Find the appropriate code on your FORUMDISPLAY template and replace it with the location you really want.

You may have to use some kind of if(forumid == X) show alternative new thread link else normal thread link

edbri871 12-16-2005 02:08 PM

I would like it to go to a posting script that weve added as a plugin. As for using FORUMDISPLAY Ive looked in there before but wasnt able to find it so far. Is there a search criteria I could use like the forum number or something. Im a bit confused as to what code to place in there and what...

Well Ive narrowed down the link to create the search to
Code:

http://www.site.com/vb3/search.php?do=getnew&f=10&page=1&pp=40&sort=threadstarted&order=desc&daysprune=-1
This almost works but still show the threads by "Last Post" and not by "Thread Start" for some reason. Maybe someone can find what Im missing on this or whats out of place...

Thanks.

edbri871 12-20-2005 07:34 AM

Nobody has any clue on this I guess. I was thinking something in the thread start hack was missing from the seach. I cant think of anything else. Ive tried a varity of things including making the entire forum default to thread start date and cant get it to sort as it should...

Chris M 12-20-2005 12:48 PM

I'm not sure anyone understands what you are trying to achieve...

Chris

edbri871 12-23-2005 08:39 AM

Maybe I can make it simpler like this...

This link will find all new post in vB3.5 Modifications by creating a froum search...
https://vborg.vbsupport.ru/search.ph...c&daysprune=-1
Code:

https://vborg.vbsupport.ru/search.php?do=getnew&f=109&page=1&pp=40&sort=threadstarted&order=desc&daysprune=-1
I want the list thats created to be by Thread Start Date not Last Post so that bumps wont show first. This should work since weve added where you can sort any Forum or Advanced Search by Thread Start yet when the search is created it still shows by Last Post even though as you can see "sort=threadstarted" is in the link. Hope that clears it up somewhat.

edbri871 01-09-2006 02:13 AM

Guess its unknown what should be in the url so it sorts by Thread Start Date perhaps...


All times are GMT. The time now is 01:31 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.01117 seconds
  • Memory Usage 1,724KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete