vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How could this be done? (https://vborg.vbsupport.ru/showthread.php?t=58083)

Asterik 10-22-2003 01:35 AM

How could this be done?
 
How could i... when people click on a link, like Get New Announcements, it'll get the new threads from my announcement forum * id = 29 * I've been tryin for a good 15 mins but can't figure it out. Im runnin vB 2.3.2 help plz!

Velocd 10-22-2003 03:21 AM

From the post just above this one:

Quote:

Please DO NOT ASK vB QUESTIONS IN HERE. If you have a vB question, post in one of the forums above. Because traditionally unlicensed users have posted here, you may not receive any replies if you post a vBulletin question here.

Thank you.
Anyway. :rolleyes:

Your solution:

Make a link with the following parameters in the URL:

search.php?action=getnew&forumid=29

Then, you'll have to modify search.php in the getnew portion. Look for the boolean expression $_POST['action']=='getnew' or $HTTP_POST_VARS['action'] (can't remember if it's still outdated).

You'll have to modify the SQL query to take the forumid variable, and use it as an optional condition.

I'd show exactly how it should be done, but I don't have 2.3.2 on me.

Asterik 10-22-2003 04:08 AM

err well sorry bout that lol i couldn't find the appropriate forum i guess.

Velocd 10-22-2003 05:35 AM

Couldn't find the forum? Crap, there are like 4 of them. :tired:

The phrase "The Lounge" doesn't exactly shout out "vBulletin enquires go here!"

But what'evah. ^.^

ap0c 10-22-2003 08:39 AM

maybe the discription for this forum needs to be changed then. "Sit back in your lazy-boy recliner and chat away. Discuss anything related to vBulletin or life in general! "

RDX1 10-22-2003 10:54 AM

How could he miss the sticky :rolleyes:

Asterik 10-22-2003 11:13 AM

err uhh err........ well lol do u want me 2 prove i have a vBulletin license? :P

Zachery 10-22-2003 02:26 PM

read the stickies :) there important ;)


All times are GMT. The time now is 02:08 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.00968 seconds
  • Memory Usage 1,719KB
  • 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_quote_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